Jeff Young
a99377c1ec
The user can cancel the opening of many editors.
Don't play dice with the devil.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17989
2 years ago
Alex Shvartzkop
2babd574be
Refactor autosave prefix into FILEEXT.
2 years ago
Marek Roszko
8fb4901d4b
Fix more utf8 comparisons
2 years ago
qu1ck
441b2686d3
IPC_API: fix crash in PLUGIN_AVAILABILITY_CHANGED event handler
2 years ago
JamesJ
a321a86f38
Update net inspector after connectivity update when loading board
Fixes issue where if the net inspector was open when a board was
loaded, the track data would not be updated until a board edit
action triggered an update.
2 years ago
Jon Evans
1dbe78c68b
Add QA tests and expand serialization for API
2 years ago
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2 years ago
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
3 years ago
Mike Williams
48b3b4697a
PCB: update footprint field when changing footprints
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17598
2 years ago
JamesJ
a763d613e5
Move Net Inspector dialog to a widget panel in pcbnew
Introduces some updates to the inspector, and a number of bug fixes:
- Correctly handles changes in board stackup
- Correctly handles unit change events
- Correctly handles language change events
- All layout / panel settings are stored to the project settings
- Retains ability to create net report
- Simple filter searches on net name and net class name (stored in settings)
- Allows hide / show of columns (stored in settings)
- Grouping by netclass (stored in settings)
- Optional filtering by net name (stored in settings)
- Optional filtering by net class (stored in settings)
- Custom grouping by net name match
2 years ago
Jeff Young
1bf24da385
Schematic editor Table Properties and commenting for QuasiModal usage.
2 years ago
JamesJ
66b378087a
Remove close button from pcbnew search panel
For consistency with the other panels, removes the circular 'x' close
button from the search panel. Toggling visibility remains possible
through the View menu
2 years ago
Marek Roszko
0c8e08ed58
Move some language changes to a event on the frame
2 years ago
Jeff Young
e445249720
ADDED: PCB tables.
2 years ago
Jeff Young
9ff66d0e71
Don't capture references to local variables for CallAfter.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934
(cherry picked from commit 9d40374baf )
2 years ago
Alex Shvartzkop
f1caa262a6
Separate actions for single track and differential pair length tuning.
2 years ago
Jeff Young
1ff36f23b8
Clean up stale TODOs.
2 years ago
Jeff Young
1597882c1f
Allow creation of groups with a single member.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16586
2 years ago
Marek Roszko
7c8ee26a38
FromDIP the pcb aui sizes
2 years ago
Marek Roszko
b4bfdf95d3
Explicitly add 48, 128, 256 to icon bundles for each app
2 years ago
Marek Roszko
d0236ca751
Make DRC exclusions work in cli & python DRC
The way exclusions work is actually silly, and you can end up with your project file losing them too.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11562
2 years ago
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Jon Evans
7d25675e2b
Fix handling of dimensions in footprint updater
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16448
2 years ago
Jeff Young
1b0cc82c56
Move a couple of stragglers to BOARD_COMMIT.
2 years ago
Jeff Young
66a15f6acf
Re-factor frame pointer out of generator API.
2 years ago
Jeff Young
1df84f4d92
Move some PCB_GENERATOR special-cases to propMgr listeners.
2 years ago
Wayne Stambaugh
8687d5092f
String and dialog layout fixes.
2 years ago
Jon Evans
8a474879c5
Make sure DRC engine works at startup
If we wait to initialize this until later, some
routing operations will not work properly as the
constraints will be empty
2 years ago
Jeff Young
6d43ef5678
Don't specify sizes when we don't need to.
However, in some places we *do* have to because otherwise wxWidgets
will pick a minimum size for us (and it's rather large).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16039
2 years ago
Alex Shvartzkop
847ab093c8
ADDED: Project chooser dialog for EasyEDA Pro import.
2 years ago
Jeff Young
791aa64950
Functionally it's a "reference image".
The implementation happens to be a "bitmap".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15932
2 years ago
Jeff Young
d5d07e64c9
Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible.
4 years ago
Jeff Young
1b676985f6
Retire length tuning tool in favour of first-class meanders.
2 years ago
Alex Shvartzkop
a4832dd3c8
ADDED: Interactive meander objects for length tuning.
2 years ago
Alex Shvartzkop
546c7ed218
Introduce GENERATOR_TOOL.
2 years ago
Alex Shvartzkop
be72e07e61
Introduce PCB_GENERATOR.
2 years ago
Jeff Young
e1c51ed192
A few performance improvements from profiling.
Most of them are very small; the removal of the Fracture() in
DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones() is the only
significant one.
2 years ago
Jeff Young
974da4ea7c
Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER.
Includes a dialog wrapper (DIALOG_SYMBOL_CHOOSER) and a frame
wrapper (SYMBOL_CHOOSER_FRAME).
2 years ago
Jeff Young
1047130046
Push most of footprint chooser into PANEL_FOOTPRINT_CHOOSER.
Create 2 wrappers for it: DIALOG_FOOTPRINT_CHOOSER and
FOOTPRINT_CHOOSER_FRAME. The first now gets called from wxGrid
editors, text button editors (such as Change Footprints), etc.
Retire FOOTPRINT_VIEWER_FRAME_MODAL. FOOTPRINT_VIEWER_FRAME still
exists, but has very few uses at this point.
2 years ago
Jeff Young
bf493f32f5
Nullptr safety for various panels.
Also moves preference saving out to parent as different parents
save different settings.
2 years ago
Jeff Young
c2c71facb1
Tidy up shutdown of APPEARANCE_CONTROLS.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15024
2 years ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Jeff Young
ef92429ac2
Implement changed notifiers for textvar, netclasses and severities.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15440
2 years ago
Jeff Young
5842e9c57e
Smarten the UpdateAllItemsConditionally() tests in SetActiveLayer().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15329
2 years ago
Marek Roszko
7505fd0f37
Profile can live in core
2 years ago
Josue Huaroto
cef0f176d3
Add Unselect all in menu
2 years ago
Jeff Young
4fefd95e0c
Move grid definitions to Prefs and grid origin to a separate dlg.
Grid origin is document-wide, while grid definitions are app-wide.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2262
2 years ago
Alex Shvartzkop
b1b66f66f4
Prevent crash when a python script tries to use pcbnew too early.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15414
2 years ago
Mike Williams
d9c2e0ab54
PCB: start of grid overrides
Only works for moves.
2 years ago
Jeff Young
cf22d5b99b
Preferences setting for force-show-fields-when-fp-selected.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15215
2 years ago