Jeff Young
6bc9653029
Make sure footprint chooser has correct board.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20669
6 months ago
jean-pierre charras
eaa1e6d594
Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
8 months ago
Jeff Young
f951497a4f
Code brevity.
8 months ago
Jeff Young
7583c0e69d
Retire DIALOG_FOOTPRINT_CHOOSER.
8 months ago
Jeff Young
9d051d096e
Add tool framework to fp preview widget.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17107
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19651
9 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Jeff Young
a3f69046ba
Fix double-click in footprint chooser.
Also fixes the assert when closing the chooser after the 3D
view was shown.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18107
10 months ago
Jeff Young
b93104f8bb
Minor layout fixes.
10 months ago
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
10 months ago
Andrej Valek
3ad92bc8db
ShowModal: override method in DIALOG_SHIM
All DIALOG_SHIM dialogues which should be modal, has a problem on OSX
that parent could be lost. So call ReparentModal to fix this before
calling the base ShowModal method. This should fix the problem when
modal window has been hidden when windows were switched.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/3765
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17460
12 months ago
Jeff Young
6ff79ae78a
Fix typo.
1 year ago
Jeff Young
94f995c49e
Reduce dependency on dynamic_cast.
(Especially where it is no-worky on MacOS.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17245
1 year ago
Seth Hillbrand
cc850d0da0
Split out LSEQ/LSET from LAYER_ID
Separate the layer grouping classes for easier modification
1 year ago
Jeff Young
931de12072
Use wxWidgets to track DPI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
1 year ago
Jeff Young
e3f77cd410
Handle DPI_CHANGED events for 3D canvases.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
1 year ago
Seth Hillbrand
60f59ae851
Keep FP chooser on top of KiCad but not system
We don't need to float the window over other programs, so setting to
parental floating keeps it focused just the right amount
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16840
1 year ago
Alex Shvartzkop
16e3692e71
Build time optimizations.
1 year ago
Jeff Young
7218d501d4
Better locality-of-reference for footprint chooser filters.
2 years ago
aris-kimi
d7abed2d60
Footprint Chooser dialog: Allow toggle buttons to work simultaneously
2 years ago
Jon Evans
f00f47df13
wxWidgets 3.3 compatibility: explicit wxString conversion
2 years ago
jean-pierre charras
3b47fd1503
FOOTPRINT_CHOOSER_FRAME: add option to show the 3D in a separate viewer.
If a separate viewer frame is selected, the footprint chooser always shows
the footprint and the 3D shape is shown in a 3D viewer frame if the 3D view
is enabled.
2 years ago
Jeff Young
72ba31ba27
Pass symbol's netlist to footprint preview widget.
This allows us to show the pin functions on the corresponding
pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17349
2 years ago
jean-pierre charras
1ee49cca5e
FOOTPRINT_CHOOSER_FRAME: rework on bottom panel to allow a long string in
the check box for filter by FP names to be displayed without overlapping other
widgets.
2 years ago
jean-pierre charras
005affd473
FOOTPRINT_CHOOSER_FRAME: Fix a UI problem specific to Linux
On the bottom on the frame, some widgets were not correctly placed.
Fixes #17217
https://gitlab.com/kicad/code/kicad/-/issues/17217
2 years ago
jean-pierre charras
ed4a4ec8ec
Add option to Footprint Chooser to switch between the selected fp or its 3D view
Fixes #16173
https://gitlab.com/kicad/code/kicad/-/issues/16173
2 years ago
Alex Shvartzkop
6347cb043e
Add bottom panel to have correct background in fp/sym chooser frames.
See https://gitlab.com/kicad/code/kicad/-/issues/15810
(cherry picked from commit 97ff48b426
)
2 years ago
Alex Shvartzkop
5578b2c954
Hide unused message panel in footprint/symbol chooser frames.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15810
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15889
(cherry picked from commit badc4e7411
)
2 years ago
Jeff Young
3efc191aa9
Implement ESC processing for choose footprint dialog.
Also steals copy processing for details pane from symbol chooser.
2 years ago
Jeff Young
78e00ade7a
Clearer naming.
2 years ago
Jeff Young
72c985bc07
Rewrite scoring algo again. (Third time's the charm?)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16042
2 years ago
Jeff Young
92ae0f4793
Save Footprint chooser size and location.
(We're using a FRAME to mimic a dialog, so we need some of the
DIALOG_SHIM logic inside it.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15807
2 years ago
Jeff Young
9b60e99660
Use wxSTAY_ON_TOP instead of wxFRAME_FLOAT_ON_PARENT for choosers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15808
2 years ago
Jeff Young
9d678e96cd
Improve spacing.
2 years ago
Jeff Young
06446bb80e
Only expand lib tree when filtering.
2 years ago
jean-pierre charras
7bc2d69ab7
Fix a typo and a Coverity warning
2 years ago
Jeff Young
fa11e9138d
ADDED support for pin and fp filtering in FOOTPRINT_CHOOSER.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7176
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