jean-pierre charras
f8ec23db00
WX_PT_ENTRY_DIALOG: enhancements: fix min size and add reset button.
It is used to enter a point position and a grid origin.
The new button (only in grid origin dialog) allows reset the position.
7 months ago
Mike Williams
40058ebe80
actions: move all basic selection operations to common actions
7 months ago
Jeff Young
8ff0aafbb8
Handle groups in footprints when filtering selection.
7 months ago
Jeff Young
a0ec7f59c4
When pulling children out of footprints don't format them wrong.
If we leave a footprint parent pointer then we'll
format as fp_line, fp_arc, etc. instead of gr_line,
gr_arc, etc.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20537
7 months ago
Jeff Young
901ad3064d
Remove assert that fires when applying preset.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20467
7 months ago
Jeff Young
db911c0d91
Improve debugging.
7 months ago
Jeff Young
967bf1d0a1
m_root is not guaranteed to be non-null.
7 months ago
Mike Williams
05e9772d54
groups: extract common class methods into EDA_GROUP base class
7 months ago
Mike Williams
8b69ec4761
dialog_group_properties: move to common
7 months ago
Mike Williams
5fd294cad2
eda frame: hoist FocusItem calls up a layer
Prep for SCH_GROUPs
7 months ago
Mike Williams
f40b24d04a
groups: move actions to common actions
7 months ago
Mike Williams
43e432f9ad
sch_group: add basic class implementation + test
7 months ago
jean-pierre charras
76929808d3
PCB_TEXTBOX:: Rotate: fix size change for rotation by not 90deg
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20529
7 months ago
Jeff Young
7f9a277594
Remove unsafe C-style casts.
7 months ago
Jeff Young
0573a32f36
Fix first tab having no effect after changing grid value.
7 months ago
Jeff Young
a1fe0f7faf
Don't process grid-change events when we're rebuilding the grid.
The selection has already changed and it's too
late to update any values.
Also regularises the event.Skip() handling from
8a1347d2c8
.
7 months ago
Jeff Young
6f6ef8e626
Reset status popup.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20489
7 months ago
Jeff Young
5e0beb97ee
Nullptr safety.
KICAD-7DX
7 months ago
Jeff Young
7b76aa4992
Move HasMessageOfSeverity to base class.
KICAD-HPP
7 months ago
Jeff Young
2ce7535318
Stack objects should not have parents or groups.
KICAD-KXY
7 months ago
Jeff Young
22769b9159
Once the selection has changed, we can't commit changes.
KICAD-6Y9, among others.
7 months ago
JamesJCode
9920751eb7
Fix net inspector thaw location to not break selection on MSW
7 months ago
JamesJCode
1202838135
Freeze net inspector data view when rebuilding the list of nets
Attempt to fix #20521 but it is very hard to reproduce
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20521
7 months ago
Jeff Young
6e566b2819
Remove shadowed type (DRILL_MARKS).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20522
7 months ago
Steven A. Falco
688448f9ab
Fedora 43 will need python 3.14 support
7 months ago
Wayne Stambaugh
ef5cd6bb28
Merge PAD::addPadPrimitivesToPolygon() into PAD::MergePrimitivesAsPolygon().
It was only used in MergePrimitivesAsPolygon() and it was only a few lines
long.
7 months ago
jean-pierre charras
c8b57c50dc
DIALOG_SYMBOL_FIELDS_TABLE: fix a ugly look issue specific to wxMSW
The recent change use a two lines title in a widget. It works fine on Linux
and MAC, but is not supported on Windows.
So, on Windows, a one line title is used.
7 months ago
Jeff Young
822e188d55
Knockout entire hatched shape when filling zones.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20510
7 months ago
Wayne Stambaugh
d52d0d0aad
Don't clobber SCH_SCREEN paths when adding new sheet from existing file.
The screen path will always be the correct absolute path. Otherwise it
would not be possible to load it.
Don't reset the first sheet file path to relative if the user did not
request it.
Don't use results of a failed call to wxFileName::MakeRelative() to set
sub-sheet file paths.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20502
7 months ago
Jeff Young
9b71102dd8
Don't presume there are at least two footprint text
defaults.
Yes, we ship that way, but a user could delete one
or edit their json file.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20398
7 months ago
Jeff Young
14ca6e7b08
Clearer column titles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20509
7 months ago
Jeff Young
4ae4f9ea87
Wait for wxWidgets to destroy window.
7 months ago
JamesJCode
141097549c
Fix incorrect iterator container comparison
Fixes Coverity warning CID 548258
7 months ago
Jeff Young
582aef0220
Don't assume a hypertext link is a cross-sheet reference.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20511
7 months ago
Wayne Stambaugh
2b0d082df5
Move all PAD object methods to into PAD object source file.
No functional changes. Just make it easier to find all of the PAD object
methods.
7 months ago
jean-pierre charras
d729b34986
Eeschema, DIALOG_FIELD_PROPERTIES: fix a strange bug specific to wxMSW.
wxStyledTextCtrl, SetExtraAscent() + SetExtraDescent() methods, when set
to a value not 0 generate a strange bug: the text is not always shown
(when enter a char, once the text is shown, once the text is not shown)
(Perhaps a wxMSW bug) and this call is not needed on WXMSW
7 months ago
Jeff Young
9066ad3620
Report global physical_clearance issues before moving on to layers.
Also fixes a bug in reading m_LayerSource.
Also simplifies Edge_Cuts handling to better match
actual DRC checks.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20498
7 months ago
Carsten Presser
33ee9e99fe
Improve rectifier demo
This demo project used old symbols that don't match the current style of
the library. Replace them with the correct ones.
But also move them to the project library again.
Add a workbook that has the simulation traces selected.
7 months ago
jean-pierre charras
79fbae00ce
FP editor preferences: Fix crash when closing (by OK) the dialog if no FP loaded.
After opening the PANEL_FP_EDITOR_FIELD_DEFAULTS panel, due to a null pointer
when no FP loaded in FP editor, closing the dialog by OK button crashed Pcbnew.
7 months ago
jean-pierre charras
97e1c107c9
PANEL_FP_EDITOR_FIELD_DEFAULTS: fix incorrect behavior.
One could not change the default layers for new fp texts
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20505
7 months ago
JamesJCode
906c24bc6d
Unify length calculation between router, board / frame, and DRC
7 months ago
Jon Evans
12861345d3
API: Brute-force fix for footprint modifications
7 months ago
JamesJCode
7a4325e610
Net inspector groups should be case insensitive
7 months ago
Jeff Young
60a26308ae
COMMIT lifetime safety.
If we pass a COMMIT to a posted action, the COMMIT
may no longer exist when the action is run.
Equally problematic, if another COMMIT is pushed
in between we'd probably also run into trouble.
We still allow the API to do this because we don't
have a better solution at present. But we need
one.
7 months ago
Jeff Young
4f115b12a4
Fix format string.
7 months ago
Jeff Young
b62f00912e
Remove debug assert that's clogging up Sentry.
7 months ago
Jeff Young
408d3a0170
Code clarity.
7 months ago
Jeff Young
baaf341d0d
Remove debug assert.
Yes, it does indeed fire (a lot, as Sentry can
tell us).
7 months ago
Jeff Young
4783bc4cfd
Don't respond to net navigator events while we're updating the wxTreeCtrl.
7 months ago
Jon Evans
31f3c44520
API: Clear footprint caches when making changes
7 months ago