Marek Roszko
5da88d1d0e
Move UTF8 to core
2 years ago
Marek Roszko
7505fd0f37
Profile can live in core
2 years ago
Alex Shvartzkop
83afdd297e
Use UTF-8 encoding in test_io_mgr.cpp.
2 years ago
Alex Shvartzkop
79c86445d2
QA: add plugin type tests for EasyEDA.
2 years ago
Alex Shvartzkop
e6f0a3d91b
QA: add test files for EasyEDA.
2 years ago
Marek Roszko
5c62b98e7c
observable can live in core
2 years ago
John Beard
78c8de9b08
Fix oval pad snapping
Previously the snap points computed for oval pads didn't get all the
points correct. This breaks out the "find snap points for ovals"
into a function, reworks the logic, adds some tests.
Also adds "extremum points" when the oval isn't exactly H/V.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15594
2 years ago
Jeff Young
7a2a2e2df0
Remove error-prone SetReporter() API.
2 years ago
Marek Roszko
911266fe02
Fix cli test for plot one arg
2 years ago
Jeff Young
41e274684c
Make sure pads with no net get assigned Default netclass on board open.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15562
2 years ago
Jeff Young
0002eca70b
Fix missing string-to-int conversion.
2 years ago
Jeff Young
f08370b3dc
Remove no-longer-used guard.
2 years ago
Jeff Young
81117d2217
Fix memory leak from double-allocation.
2 years ago
Jeff Young
05135eed66
Extra debugging info for pns regression tests.
2 years ago
Jeff Young
ac778163ab
Support net queries in PNS_LOG_PLAYER_KICAD_IFACE.
2 years ago
Jeff Young
c049e1e90d
Formatting (no functional changes).
2 years ago
Alex Shvartzkop
f2403804db
Add test for GuessPluginTypeFromLibPath.
2 years ago
Alex Shvartzkop
e128896ba6
Schematic plugins refactoring, fixes for PCB plugins.
- Move PLUGIN_FILE_DESC to common.
- SCH_PLUGIN: rename Load -> LoadSchematicFile, Save -> SaveSchematicFile.
- Use PLUGIN_FILE_DESC and CanRead* in schematic plugins.
- Return none/unknown types from Find/GuessPluginType functions.
- Iterate over file types for file wildcards.
- Clean-up header checking in IO plugins.
- Use PCB plugin list in IO_MGR::GuessPluginTypeFromLibPath.
2 years ago
Jeff Young
4b22b1e831
Debugging aid.
2 years ago
Jeff Young
aeb8374ae5
Fix presumed typo in collision reporting.
(The format string contains two %d items, but is only passed a
single int.)
2 years ago
Jeff Young
ac7ceb03ee
Fix warning message typo, empty wxString::Format, and formatting.
2 years ago
Jeff Young
9e309d1d83
Coding standards and wxS() safety.
2 years ago
Jeff Young
f24cf2250e
Make sure we have a BOARD when trying to read nets.
Also fixes a nullptr bug when trying to write nets when we don't
have a NODE.
2 years ago
Wayne Stambaugh
1026596964
Allow symbols to be derived from other derived symbols.
[CHANGED] Symbols can now be derived from other derived symbols removing
the requirement to derive from root symbols.
2 years ago
Jon Evans
e118d2fca0
DbLib: Map multiple footprints to footprint filter list
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13587
2 years ago
Seth Hillbrand
a6073ae566
Revert pns_log_file.cpp change to compile
2 years ago
Jeff Young
6166a96b8e
Update PSN logger to new NET_HANDLE architecture.
2 years ago
Seth Hillbrand
b9936b6d8a
Fix fat-finged correction in c5f97421
2 years ago
Seth Hillbrand
c5f9742153
Fix PNS QA compile
2 years ago
Jeff Young
76cd637895
Make the net identifier opaque to PNS router.
This also improves performance as we don't have to look up the
netcodes in a map.
2 years ago
Jeff Young
55a7b9e6bf
More consistent naming.
(Also better differentiates the PCBEXPR_ classes from PCB_
objects.)
2 years ago
Jeff Young
3cade7fc47
Don't use string compare for A.NetClass == B.NetClass.
(or A.NetName == B.NetName, or != of either)
2 years ago
Jon Evans
0c529411d7
Update SHAPE_POLY_SET API to not hide virtual functions
2 years ago
Thomas Pointhuber
c2a91caacf
altium: verify that file contains "Compound File Binary Format" magic bytes, as we do not support the ASCII format
2 years ago
Jeff Young
f2a8c25084
Update Eagle gold files for spoke angle fixes.
2 years ago
Alex Shvartzkop
918ada9b16
Fix CI build.
2 years ago
Roberto Fernandez Bautista
dbfb7880b5
Add IO_MGR::FindPluginTypeFromBoardPath (+QA tests)
2 years ago
Roberto Fernandez Bautista
8d5ebf5e30
QA: Add dummy board files (should fail header checks)
2 years ago
Roberto Fernandez Bautista
fb3e8ef8f1
QA: Add example P-CAD file
Supplied by evanshultz in gitlab issue 3993
2 years ago
Roberto Fernandez Bautista
0b0c50471a
QA: Add example KiCad legacy PCB files
legacy_demos based on commit e4fdce4a47
2 years ago
Roberto Fernandez Bautista
1c95762534
QA: Add example EAGLE PCB file - Adafruit-AHT20-PCB
Source: https://github.com/adafruit/Adafruit-AHT20-PCB
2 years ago
Roberto Fernandez Bautista
87959a4625
QA: Add simple CADSTAR PCB file
2 years ago
Alex Shvartzkop
a0d96cea9f
Rename Save -> SaveBoard, Load -> LoadBoard in PLUGIN.
2 years ago
Marek Roszko
64a7bad56e
Use fn_str with std file streams
This uses the MSVC-only wchar_t overload
2 years ago
Roberto Fernandez Bautista
fd7781510e
PNS Log Viewer: Add Open / Save as GUI functions
2 years ago
Roberto Fernandez Bautista
6ba250a4e6
PNS Log Viewer: Refactor loading/saving functions
2 years ago
Roberto Fernandez Bautista
54bcd1d5ca
PNS Log Viewer: Fix crash on exit
m_board needs to be deleted before m_logFile
2 years ago
Jon Evans
93b7862615
PNS Log viewer: open project read-only
2 years ago
Marek Roszko
97fbbceae7
Fix pns_debug_tool build due to font metrics change
2 years ago
Jon Evans
103eb556f7
PNS: Make sure log viewer uses the actual design settings
2 years ago