Seth Hillbrand
4aa2047f45
Replace alg::delete and alg::delete_if with std c++20
3 months ago
Seth Hillbrand
e379e91081
Store hierarchy expansion/collapse state
Defaults to fully expanded but stores the names for nodes that are
collapsed in project local settings. Because project local settings are
generally changed by modifying views or selection filters, these should
be saved on close rather than only when the project is saved
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19276
3 months ago
Jeff Young
5accdc2d94
Move search handlers to std::shared_ptr.
3 months ago
Jeff Young
707d668a01
Fix selection filter GBPositions in symbol editor.
3 months ago
Jeff Young
59caea4344
Shutdown safety (KICAD-N5Y).
3 months ago
Seth Hillbrand
66f37beff7
Move canvas selection to common
Makes all canvases obey the same rendering parameter. Also keeps the
canvas selection with the anti-alias selection, which makes logical
sense. Reduce the antialias selection to a single choice rather than
two different choices for different canvases
3 months ago
Seth Hillbrand
0e83bf9bc4
Fix position of hidden locked filter
3 months ago
Seth Hillbrand
e064a3481d
Add Rule Area selection filter in schematic editor
Allows rule areas to be ungrouped from the "Other Items" when selecting
3 months ago
Jeff Young
ec155c00f3
Comboboxes for units and body styles.
Also for pin-types in pad properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19904
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
3 months ago
Jeff Young
55a36c1ce7
CHANGED: retire the select-lib-table dialogs.
We now allow the user to specify which in the
New Library dialog.
Also retires the "Export power symbols too" dialog.
Also gives a bunch of file and library dialogs
more explicit titles.
Also removes separate code-paths for Export to
Library and Export to New Library. The regular
code path has a "New Library..." button now.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
3 months ago
Emmanuel Vera
b5df0ad3eb
Update power filter for power symbols placement
3 months ago
Jeff Young
5d4eb2cce6
Wait for chooser to finish initializing before enabling char hook (KICAD-BJ0).
3 months ago
Jeff Young
05fcfdaf87
Symbol chooser has different canvases.
3 months ago
Jeff Young
fc0bcdc8a3
Remove double-assert.
(getPropertyFromEvent() already asserts if it can't find one.)
3 months ago
Jeff Young
5b91a24380
Retire WINDOW_FREEZER in favour of wxWindowUpdateLocker.
Also pulls out previous fix to a Sentry issue I can
no longer find, at least until I figure out what
went wrong.
3 months ago
Jeff Young
53c90b0469
Upgrade ShowPlayer re-entrancy guard (KICAD-XAC).
3 months ago
Jeff Young
479daa37c5
Shutdown safety. (Potentially KICAD-TJK.)
3 months ago
Jeff Young
ee097a7073
ADDED: row height and column width property inspector properties.
(This time for SCH tables.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21224
4 months ago
Alex Shvartzkop
4a5039c2cf
Remove some unused variables.
4 months ago
Jeff Young
62d9d7d4e1
Nullptr safety.
(Potentially KICAD-N6C.)
4 months ago
Jeff Young
0a59ca7590
Can't use EndModal() to cancel a modal dialog that hasn't been shown yet (KICAD-6YE).
(This particular case happens when the user cancels
the progress dialog while loading symbols before the
symbol picker has been displayed. 3.5K people have
done this 13K times on MSW.)
4 months ago
Jeff Young
18e107529a
Don't force callers of GetAppSettings to implement exception processing.
4 months ago
Jeff Young
7fbf51b17c
Be more pedantic about RECURSE_MODE.
Also fixes an invalid iterator bug.
Also adds mirroring support for PCB_GROUPs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21107
4 months ago
Jeff Young
4678000a0e
ADDED: DNP, etc. attributes to SCH rule areas.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14037
4 months ago
Jeff Young
c6ff846af6
Don't leak design blocks.
4 months ago
Jeff Young
1968d67bf3
Prefer const& to passing by value.
5 months ago
Jeff Young
ee2cf47f23
CHANGED: Use FILTER_COMBOBOX for label names.
Also pushes some of the implementation down a level
so that it can be shared between this and the
SYMBOL_FILTER_COMBOBOX.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20943
5 months ago
Jeff Young
8dadbc1c5c
Insert a cover for wxBitmapCombobox.
(This will allow us to hack-fix wxWidgets' bug
for determining the height when fonts are scaled.
This commit includes such a fix, but I have no
idea if this particular one will work or not.)
5 months ago
Jeff Young
7679d6d96d
Formatting & naming conventions.
5 months ago
Mike Williams
8e480445bc
groups: add search handlers
5 months ago
Mike Williams
9ca881112b
design blocks: as place as group functionality to schematic
6 months ago
Graham Keeth
63c13d2e93
fix typo passvie -> passive in error string
6 months ago
Jeff Young
98ec2d7ba2
ADDED: metadata searching.
Symbol and footprint search panels can now optionally
search library links, descriptions and keywords.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10602
6 months ago
Jeff Young
702d802b22
Show library info for components in search panels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19721
6 months ago
Jeff Young
3def4afaec
ADDED: menu item to control searching of hidden fields.
Applies to both PCBNew & Eeschema search panels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20370
7 months ago
Mike Williams
40058ebe80
actions: move all basic selection operations to common actions
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
7ba07a3bb0
Use action to change current sheet.
That way it gets into the navigation hierarchy,
the current zoom gets saved, etc.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20466
7 months ago
Mike Williams
e11cf94a3e
design blocks: add PCB design blocks behind advanced config
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2508
7 months ago
Jeff Young
1b7f92f4c5
Refresh search when showing pane.
(Events will have been ignored while it is
hidden.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20009
7 months ago
jean-pierre charras
b7fd26e026
PANEL_DESIGN_BLOCK_CHOOSER: use the same draw engine type as in main frame.
This is not always the Opengl GAL_TYPE
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20386
7 months ago
Jeff Young
b4640cdc55
Search all fields, hidden or not.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20370
7 months ago
Jeff Young
5996cffabc
EE -> SCH (no functional changes)
7 months ago
Jon Evans
95e6ca44c6
Don't use size events for persistence
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20060
7 months ago
Jeff Young
7401b57fcb
Warning messages for simulation tuning.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20274
7 months ago
Seth Hillbrand
aff0ad971f
Update search dialog
Allow regular expression in search and replace
Allow searching netnames including nets contained in buses
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12156
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17102
8 months ago
Jeff Young
c5bb59468d
Get rid of assumptions about field order.
8 months ago
Seth Hillbrand
2e93fb7a24
Prevent crash when importing over existing project
If the hierarchy navigator is open and expanded, we have references to
the existing sheets. These need to be cleared when importing a new
sheet over top
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20004
8 months ago
jean-pierre charras
7e0d2f2ef4
Eeschema, DESIGN_BLOCK_PANE: ensure the panel is shown before saving its size.
Otherwise, incorrect config saving happens, and not only for this panel.
8 months ago
Jeff Young
bf4c10923f
Save search & design block panel heights/widths.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19845
8 months ago