1198 Commits

Author SHA1 Message Date
Seth Hillbrand
e346139301 Add more parent safety checks
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21317
2025-08-23 14:14:05 -07:00
Seth Hillbrand
26f0c03e61 ADDED: support for 45 degree crosshairs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6047
2025-08-23 06:20:00 -07:00
Seth Hillbrand
09cdca876c Add embed option to standard file dialog for 3dmodels
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20025
2025-08-20 08:28:00 -07:00
Jeff Young
5fa635602b Fix accidentally-deleted functionality. 2025-08-19 18:33:18 +01:00
Seth Hillbrand
ddae938aa4 Allow grouping tuning pattern with tracks
Any object that shares a name should be able to be handled in a group
2025-08-15 10:54:23 -07:00
Jeff Young
33c73d7db4 Fix crashes when settings manager doesn't exist yet. 2025-08-14 11:33:25 +01:00
Jeff Young
661be06168 Use TransferDataToWindow() to init controls. 2025-08-09 21:52:08 +01:00
Jeff Young
a45f8bc2f7 Don't store m_severities. It won't follow save control state. 2025-08-09 19:11:27 +01:00
Jeff Young
4819487ea2 Save/restore state of UNIT_BINDER and other textboxes. 2025-08-08 13:54:27 +01:00
Seth Hillbrand
416e54f0d5 Update template selector to modern webview
Allow more attractive templates.  Start of building singular
template+new project layout

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15987
2025-08-04 22:20:54 -07:00
Seth Hillbrand
4aa2047f45 Replace alg::delete and alg::delete_if with std c++20 2025-08-04 09:03:16 -07:00
Jeff Young
95da436ddd Focus second column control after property grid navigation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20651
2025-08-03 23:17:09 +01:00
Jeff Young
34e075e112 Rework libtree SearchTerms to honour shownColumns.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21419
2025-08-03 20:32:19 +01:00
Seth Hillbrand
558627289b Add WebView widget for future use
This is mostly for testing Thunderdome but we will be using this for
future template rendering as well
2025-08-03 12:28:43 -07:00
Jeff Young
25ad1f051e Attempt to fix non-Clang builds. 2025-08-02 22:56:52 +01:00
Jeff Young
5accdc2d94 Move search handlers to std::shared_ptr. 2025-08-02 22:04:53 +01:00
Jeff Young
8c85cd43f3 Copy c'tor / operator= safety.
Also fixes a memory leak of search pane handlers.
2025-08-02 22:04:53 +01:00
Jeff Young
6ac5ca7fc4 Don't clip table borders. 2025-07-31 13:45:55 +01:00
Jeff Young
875fcffdf9 Mac has no fallback graphics. 2025-07-28 19:38:39 +01:00
Seth Hillbrand
ff9d2e616b Missed one more Mac-specific change 2025-07-28 09:50:22 -07:00
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
2025-07-27 20:22:59 -07:00
Jeff Young
1b8119056f More code sharing. 2025-07-26 21:24:37 +01:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
Seth Hillbrand
322c08d5f0 Pass hotkeys from search pane to frame
If the search pane doesn't handle the key, push it through the frame
hotkey handling system

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12474
2025-07-24 13:14:31 -07:00
Seth Hillbrand
f14ba983d6 Allow scrolling by keyboard in search panel
Lets you quickly scroll through elements in the board, zooming and
selecting each
2025-07-24 11:47:17 -07:00
Jeff Young
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00
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
2025-07-23 14:35:37 +01:00
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
2025-07-20 19:06:40 +01:00
Seth Hillbrand
9cb3a37b6f Prevent command line applications handling dark mode
Double-check before getting background color from invalid m_parent also

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21317
2025-07-15 08:56:51 -07:00
Jeff Young
f0c3f469a1 Quiet wxWidgets assert (KICAD-HRE). 2025-07-13 15:25:10 +01:00
Jeff Young
2d2ba268ae Quiet wxWidgets assert (KICAD-XJ2). 2025-07-13 15:25:10 +01:00
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.
2025-07-11 13:21:04 +01:00
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