1216 Commits

Author SHA1 Message Date
Jeff Young
53c90b0469 Upgrade ShowPlayer re-entrancy guard (KICAD-XAC). 2025-07-10 17:54:42 +01:00
Jeff Young
479daa37c5 Shutdown safety. (Potentially KICAD-TJK.) 2025-07-08 18:05:34 +01:00
Mark Roszko
5b599213f6 Unbind the onsize event from the parent while destructing the child
Fixes KICAD-RJA
2025-07-07 20:58:40 -04:00
Mark Roszko
69e2c55291 Fix crash because the infobar button doesn't have a window yet (because the infobar was not shown yet on Windows), fixes sentry KICAD-X9Z 2025-07-05 13:48:09 -04:00
Alex Shvartzkop
4a5039c2cf Remove some unused variables. 2025-07-02 16:48:26 +03:00
Jeff Young
709c0f8c72 Nullptr safety.
(Potentially KICAD-372.)
2025-06-27 12:48:40 -06:00
Jeff Young
a7fdea9b6f Attempt to fix destruction order crash (KICAD-6KC). 2025-06-24 11:52:29 -06:00
Jeff Young
1faa9800dc Row height consistency.
Rats.  Also got tangled up in another commit which
removes some dead code.
2025-06-19 14:29:37 +01:00
Mark Roszko
95000ce62f Use generic progress dialog on windows built with wx3.3 to get dark mode compatible dialogs 2025-06-15 10:06:59 -04:00
Mark Roszko
50eae8fff9 Fix stc cell editor heights on win32 under wx 3.3 2025-06-15 09:59:01 -04:00
Alex Shvartzkop
199c5bafb9 Tweak AUI pane caption size on high-DPI for wx 3.3 on MSW. 2025-06-15 01:50:42 +03:00
Mark Roszko
bdfd1e0601 Silence WX_INFOBAR asserts on wx3.3 2025-06-14 15:28:48 -04:00
aris-kimi
cf5d4df78a Sim:Fix an unescaped while loop 2025-06-12 01:07:38 +01:00
Jeff Young
e045def6f7 Correct underline spacing in dialogs; flatten origins & axes. 2025-06-09 12:53:11 +01:00
Jeff Young
c6ff846af6 Don't leak design blocks. 2025-06-08 16:33:05 +01:00
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
2025-06-04 17:49:17 +01:00
Jeff Young
06dcb64ad8 Harden progress reporter API against misuse.
Also, titles are nouns, not verbs.  (Messages
*inside* reporters are verbs.)

Also implements progress reporter for Altium
schematic import.
2025-06-01 19:38:24 +01:00
Alex Shvartzkop
8550394cca Remove outdated GTK hack.
It is no longer needed with wx 3.2, and causes problems on themes like Adapta.

See https://gitlab.com/kicad/code/kicad/-/issues/9019
2025-05-29 20:44:56 +03:00
Jeff Young
27abe86e0e Comments for wxBitmapCombobox hack.
(And a small increase in the fudge factor.)

(Note: this whole bailiwick is under review and
may get reverted.)
2025-05-29 12:25:30 +01:00
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.)
2025-05-29 11:45:02 +01:00
Jeff Young
9601db4c97 Localizations must be done in real-time for language menu to work. 2025-05-29 11:45:01 +01:00
Jeff Young
c5947d8901 Fix Scintilla vertical scrolling issue.
(At least on MacOS.  *May* also fix GTK.)
2025-05-28 13:54:01 +01:00
Jeff Young
1237756b4a More performance improvements. 2025-05-25 20:53:07 +01:00
jean-pierre charras
134e3140ff Simulator fix error message or crash in user-defined signal dialog
It happens when deleting all chars using backspace key

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20991
2025-05-25 17:36:27 +02:00
Seth Hillbrand
0a547d89b0 Don't pass temporary references
auto will provide an rvalue reference here, which disappears before
being used in CallAfter.  Instead, explicitly form the value and pass
it to the lambda
2025-04-27 16:38:47 -07:00
Jeff Young
2b33a03954 Make Edit Text & Graphics dialogs more similar.
Also a bunch of cleanup for dialog heading
format and info sizes.

Also fixups for consistency of syntax help
(should be a link, not a button)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20790
2025-04-27 17:34:18 +01:00
Jeff Young
90e17ecabd Make various menu button presentations consistent.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20783

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20774
2025-04-26 22:15:30 +01:00
Jeff Young
be4a851186 Allow embedded files to come from components
as well as parent containers.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20530
2025-04-23 15:14:58 +01:00
Jeff Young
53e509326c Don't put null value in map as a side-effect of using []. 2025-04-18 13:41:19 -07:00
JamesJCode
eb17ebee4e Implement time-domain length tuning
- Adds time and delay units
- Adds time domain tuning parameters entry and storage
- Adds pad-to-die delay property
- Adds time domain parameter interface for length / delay calculations
- Adds unit tracking for numerical constants through LIBEVAL
   - Will need future work to truly propagate through binary expressions
- Adds time domain tuning to meander placers
- Adds time delay display to net inspector panel
- Modifies DRC to handle time domain constraints
2025-04-17 21:46:56 +01:00
Jeff Young
0820e90c73 Fix button sizing.
Hack appears to be no longer needed, and is causing
the side and bottom to clip (at least on MacOS).
2025-04-17 14:37:16 +01:00
Damjan
2d2f443aa4 pcbnew: Multi-line text in table cell 2025-04-14 14:07:36 +00:00
Jeff Young
eece18f4a8 Formatting. 2025-04-13 18:23:52 +01:00
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
2025-04-09 17:46:07 +01:00
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
2025-04-07 17:00:48 +01:00
Jeff Young
db911c0d91 Improve debugging. 2025-04-02 13:06:40 +01:00
Jeff Young
0573a32f36 Fix first tab having no effect after changing grid value. 2025-04-01 16:27:35 +01:00
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
8a1347d2c899edc12b46a070b3c75f4f066cc31c.
2025-04-01 15:26:56 +01:00
Jeff Young
7b76aa4992 Move HasMessageOfSeverity to base class.
KICAD-HPP
2025-04-01 12:19:53 +01:00
Jeff Young
22769b9159 Once the selection has changed, we can't commit changes.
KICAD-6Y9, among others.
2025-04-01 12:19:46 +01:00
Mike Williams
a90b8ec57a pcb: merge RunOnChildren/Descendants into one function with a mode 2025-03-27 13:16:09 -04:00
Jeff Young
34f12dc4be ADDED: fieldname template reordering.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20420
2025-03-26 11:11:09 +00:00
Jeff Young
0d6838b803 Add support for mixed-state checkboxes in grids.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17730
2025-03-21 13:49:07 +00:00
Mike Williams
e11cf94a3e design blocks: add PCB design blocks behind advanced config
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2508
2025-03-20 15:13:52 -04:00
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
2025-03-20 12:25:58 +00:00
Jeff Young
8994f6abd7 Leave navigation controls active.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20378
2025-03-19 10:20:43 +00:00
Jeff Young
3328dc48be Don't leave dangling event handler.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20380
2025-03-19 10:14:24 +00:00
Jeff Young
5094f750df Adjust GTK STC margins. Yes, again.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16685
2025-03-17 17:33:23 +00:00
Jeff Young
858f6b0fc2 Adjust GTK STC margins.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16685
2025-03-17 17:00:25 +00:00
Jeff Young
17712ba321 Improve text alignment in grids and one-line Scintilla controls.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16685
2025-03-17 13:56:10 +00:00