Jeff Young
4a274709e7
Go back to using QuasiModal for TextBox Properties.
...
Also removes auto-closing of blocking dialogs when inserting
symbols from the Symbol Editor or Chooser, preventing the bug
that QuasiModel was removed for earlier.
Also fixes a non-initialized parent pointer when the TextBox
Properties dialog was called from DrawShape().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14777
(cherry picked from commit 5a9ed66cfd
)
2023-05-28 19:19:50 +01:00
Jeff Young
c6e4f18d99
Hook up text variable auto-complete for PCBNew.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14777
(cherry picked from commit 14f004d2a5
)
2023-05-28 18:46:39 +01:00
Wayne Stambaugh
0e5155ae2f
Fix clipped combobox entry in board editor text box dialog.
...
The layer combobox color swatch was clipped when the combobox was
closed when the dialog was launched. Setting the minimum width
resolved the issue. This may have been a GTK only issue.
(cherry picked from commit a13a49f45a
)
2023-05-28 18:43:32 +01:00
Jeff Young
19e5a231a7
Don't run onPageChanged() event handler during initialization.
...
(cherry picked from commit 3f44c811c7
)
(cherry picked from commit f35ed59868
)
2023-05-28 19:38:27 +02:00
Jeff Young
01fcb2276b
Move remainder of Board Setup to lazy loading.
...
(cherry picked from commit 03c9b1c202
)
(cherry picked from commit 3cd87c2a44
)
2023-05-28 19:38:27 +02:00
Jeff Young
19b4e98ee7
Lazy loading of Schematic Setup panels.
...
(cherry picked from commit ddc6ecf7be
)
(cherry picked from commit 6cbc10db81
)
2023-05-28 19:38:27 +02:00
Jeff Young
77c76bbc8a
Insta-prefs.
...
(cherry picked from commit 9ae8255202
)
(cherry picked from commit 4c28070449
)
2023-05-28 19:38:27 +02:00
Seth Hillbrand
fa56b17c88
Revert "Fix clipped combobox entry in board editor text box dialog."
...
This reverts commit 7ea907c343
.
2023-05-24 08:54:16 -07:00
Seth Hillbrand
7e39411910
Revert "Insta-prefs."
...
This reverts commit 4c28070449
.
2023-05-24 08:54:16 -07:00
Seth Hillbrand
2f3659e7ac
Revert "Lazy loading of Schematic Setup panels."
...
This reverts commit 6cbc10db81
.
2023-05-24 08:54:16 -07:00
Seth Hillbrand
c0567aa011
Revert "Move remainder of Board Setup to lazy loading."
...
This reverts commit 3cd87c2a44
.
2023-05-24 08:54:16 -07:00
Seth Hillbrand
9b310ab955
Revert "Don't run onPageChanged() event handler during initialization."
...
This reverts commit f35ed59868
.
2023-05-24 08:54:16 -07:00
Jeff Young
f35ed59868
Don't run onPageChanged() event handler during initialization.
...
(cherry picked from commit 3f44c811c7
)
2023-05-23 09:40:32 +01:00
Jeff Young
3cd87c2a44
Move remainder of Board Setup to lazy loading.
...
(cherry picked from commit 03c9b1c202
)
2023-05-23 09:40:32 +01:00
Jeff Young
6cbc10db81
Lazy loading of Schematic Setup panels.
...
(cherry picked from commit ddc6ecf7be
)
2023-05-23 09:40:32 +01:00
Jeff Young
4c28070449
Insta-prefs.
...
(cherry picked from commit 9ae8255202
)
2023-05-23 09:40:32 +01:00
Wayne Stambaugh
7ea907c343
Fix clipped combobox entry in board editor text box dialog.
...
The layer combobox color swatch was clipped when the combobox was
closed when the dialog was launched. Setting the minimum width
resolved the issue. This may have been a GTK only issue.
(cherry picked from commit a13a49f45a
)
2023-05-22 12:06:13 -04:00
qu1ck
874191bd8d
Don't disable reload button in action plugins preferences
...
(cherry picked from commit a86aa6fc3e
)
2023-05-11 01:13:42 +00:00
Jon Evans
ef7b3c1715
Use constraints to determine netclas width
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14190
(cherry picked from commit 61d30ee5bc
)
2023-05-10 16:10:30 +00:00
Jeff Young
97be02356f
CLang can't do a dynamic_cast across the KiWay.
...
Rely on DRC for text readability instead.
(Fixes Sentry KICAD-R4 on Mac, and the assert when opening
Preferences from a non-PCBNew-module window.)
(cherry picked from commit 245c3ba6e4
)
2023-05-09 11:15:00 +01:00
Jeff Young
e28b50e8d6
Fix a bunch more issues with sheetpaths and allowExtraText.
...
A sheetpath is required to correctly resolve text variables.
Depending on currentSheet is rife with bugs.
There are many places where we do *not* want to be prepending
field names to the field values, such as netlisting,
building PDF hypertext menus, etc.
Also, Find/Replace needs to work on unresolved text, as
that's what we're going to display (and if replace nuked
your variable references you wouldn't be happy).
(cherry picked from commit b41d446f58
)
2023-05-05 18:02:59 +01:00
Jeff Young
a51475a094
Performance improvement for GetShownColumns.
...
(This needs to be fast as it's called from OnUpdateUI events.)
(cherry picked from commit 8e29a054f3
)
2023-04-13 13:47:21 +01:00
Jeff Young
927b5ae707
Use enums for column ids.
...
(The nickname, in particular, is no longer column 1.)
Fixes https://gitlab.com/kicad/code/kicad/issues/14291
2023-04-02 15:28:11 +01:00
Seth Hillbrand
85038c2b46
Prevent PCB Editor from opening multiple board_setup
...
ShowBoardSetup can be called multiple times from multiple locations,
resulting in duplicate board setup dialog boxes. This is confusing and
should be prevented. We use the established patter from the symbol
picker to ensure that only one copy of the dialog is ever opened at a
time
(cherry picked from commit 7695d510d6
)
2023-03-30 15:34:42 -07:00
Jon Evans
23b03fd6ab
Properties: Rename methods to better reflect their purposes
...
(cherry picked from commit 65193487a6
)
2023-03-26 19:48:46 -04:00
Marek Roszko
5dc683c968
Fix crash editing footprint editor defaults
...
Missing one level of GetParent()....use a dynamic_cast to sanity check it in debug
Fixes sentry crash KICAD-R4
(cherry picked from commit d49562a7aa
)
2023-03-22 22:41:57 +00:00
jean-pierre charras
7b4dd2f7f5
DIALOG_BOARD_REANNOTATE: ensure indexes are not out of bound.
2023-03-13 20:25:54 +01:00
Jeff Young
74da0043b4
Move automatic dimension processing inside PCB_DIMENSION_BASE.
...
Also move dimension precision to an enum so it can get a proper dropdown
in the properties inspector.
(cherry picked from commit 461def2719
)
2023-03-12 21:04:09 +00:00
Jeff Young
c0ddca12df
Add Property Inspector support for dimension objects.
...
Includes changing the class hierarchy so that dimension objects inherit
from PCB_TEXT rather than containing a PCB_TEXT member variable.
(cherry picked from commit 23accffc6d
)
2023-03-12 21:03:58 +00:00
Wayne Stambaugh
2c7f44f78d
Coverity fixes and code cleaning.
...
(cherry picked from commit 789bf6455a
)
2023-03-04 13:14:59 -05:00
qu1ck
90eb5e9c31
PCM: auto reload global libs after dialog is run
...
This adds Reset() method to KIFACE to reload global libs stored in
global static vars.
Also refactors some lib reload code in various frames to have
common MAIL_RELOAD_LIB handler.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12500
(cherry picked from commit 2975f53647
)
2023-02-28 16:48:28 -05:00
Marek Roszko
5d793193e0
Fix crash by using a shared_mutex to read/write lock the nickIndex
...
Fixes sentry kicad-ax
2023-02-18 13:02:25 -05:00
Jon Evans
60a45241e6
Properties: introduce validators; re-enable zone hatch settings
...
(cherry picked from commit eb240fda9a
)
2023-02-14 21:10:42 -05:00
Jon Evans
d20f49b58b
Fix handling of PPI when loading embedded images
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13884
(cherry picked from commit 473979d686
)
2023-02-15 00:42:30 +00:00
Jeff Young
7816652078
Account for border when calculating text margin for text boxes.
...
Also fixes some unnoticed issues with the textbox dialogs (probably
dating from the move to wxWidgets 3.2).
Fixes https://gitlab.com/kicad/code/kicad/issues/13877
2023-02-13 17:07:42 +00:00
Jon Evans
e066454c61
Zones: use metric defaults and limits instead of mixed units
...
Update testcases to reflect new defaults
2023-02-11 07:39:29 -05:00
Seth Hillbrand
fda3feaf3f
Revert "Add doc link to custom rules syntax help."
...
This reverts commit 7874735810
.
2023-02-10 15:33:03 -08:00
jean-pierre charras
6b5eeeb861
Preferences dialog: try to reduce its width, in non English languages.
...
Remove some useless spacers, and do not force some widgets to have a to
large size (by removing empty areas).
Work in progress: one panel is still too big.
2023-02-04 14:36:14 +01:00
Wayne Stambaugh
e20c86ad5e
Minor dialog layout improvements.
2023-02-02 16:54:52 -05:00
Jeff Young
7874735810
Add doc link to custom rules syntax help.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13727
2023-02-01 23:40:53 +00:00
Alex
7d6218acb4
Unify checkbox borders in Interactive Router Settings.
2023-02-01 07:46:42 +03:00
Jon Evans
d04cda35c5
Handle hidden attribute in fp-lib-table
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13689
2023-01-28 09:23:25 -05:00
kliment
a3e3231605
Pcbnew: Increase the default size of the board setup dialog
2023-01-27 22:00:39 +00:00
Alex
a872ed11bf
Fix paths for Copy default global library table.
2023-01-27 09:24:52 +03:00
Simon Richter
05198b896f
Move PCB_EDIT_FRAME::ExchangeFootprint to pcb_edit_frame.cpp
...
No idea why it was in the dialog file, but there is no good reason for that.
2023-01-24 12:54:05 +00:00
Jeff Young
8eae75e8d6
Suppress handling of selection events until delete is done.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13451
2023-01-24 00:07:40 +00:00
Seth Hillbrand
efe12f2da5
Cleanup variable naming
...
Also remove ancient/unused code for lazy resolving
2023-01-23 22:21:12 +00:00
Seth Hillbrand
a9ed47f06c
Update KICAD6->KICAD7
2023-01-23 22:21:12 +00:00
jean-pierre charras
e0111f709b
Fix minor cosmetic issues in Print dialogs
...
Fixes #13629
https://gitlab.com/kicad/code/kicad/issues/13629
2023-01-23 09:21:23 +01:00
Alex
1aca216f18
Add DRC suggestions for Via_Type
2023-01-23 05:14:06 +03:00