1779 Commits

Author SHA1 Message Date
Jeff Young
e841ca1906 Add spacing for Mac file dialog custom controls. 2025-08-19 12:52:21 +01:00
dsa-t
df86056f99 Wrap command text control in execute command job dialog.
(cherry picked from commit eb4f9fa093923ed52876fd5f48f7d58632ffd878)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-18 17:06:50 +03:00
Seth Hillbrand
2ded7b87af Ensure archives without ext are given .zip
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21423
2025-08-15 13:25:36 -07:00
Seth Hillbrand
17d9ff4fe7 Add the ability to edit advanced config
If you set the env var KICAD_EDIT_ADVANCED_CFG=1, you get a new menu
option in the KiCad project window's Edit menu.  Lets you modify the
settings for advanced config graphically without having to
remember/lookup the magic incantation
2025-08-14 15:37:02 -07:00
Jeff Young
33c73d7db4 Fix crashes when settings manager doesn't exist yet. 2025-08-14 11:33:25 +01:00
Jeff Young
833a5ee3ab Yet even more open-coded dialog state-saving cleanup. 2025-08-11 20:36:23 +01:00
Seth Hillbrand
1b0ed24558 Minor cleanup logic 2025-08-11 11:03:31 -07:00
Seth Hillbrand
ac7ae87495 Parse gitignore when building new project from template
Avoids cloning the .git subdirectory and will also avoid any files
listed as ignored in the .gitignore file.  It will copy both gitignore
and gitattributes into the new project

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16507
2025-08-11 10:06:39 -07:00
Jeff Young
cf5c00bcf2 Make more use of shared dialogs. 2025-08-10 21:32:10 +01:00
jean-pierre charras
33826b4af3 DIALOG_TEMPLATE_SELECTOR: fix minor issues Windows specific.
- deselect the string showing the folder path (selected at opening the dlg)
- replace a linear-gradient HTML data not handled by wx webview library
standard build version on MSYS2 (MSYS2 specific)
2025-08-08 17:19:03 +02:00
jean-pierre charras
9c051a8138 DIALOG_TEMPLATE_SELECTOR: fix a panel min size.
A min size panel was already set, but for some reason did not work.
Setting the min size of the sizer containing this panel works better.
2025-08-08 09:52:39 +02:00
Seth Hillbrand
762aa66d62 Try again to fix template assert
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21438
2025-08-07 05:18:25 -07:00
Seth Hillbrand
8f34543569 Make sure there is a valid parent
I _thought_ Detaching removed the parent but turns out not.  Set the
panel to temporary, known-good parent and reparent later after adding
the new page

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21438
2025-08-06 17:03:55 -07:00
Jeff Young
2e629ca55c ADDED: follow-pcb and follow-plot-settings to render job settings.
Also added Follow-board-stackup-colors to both
render job settings and render CLI arguments

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21341
2025-08-05 18:01:50 +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
9ea088f83f Add git shutdown command
Will allow interrupting long commands during the update message
2025-08-02 20:31:40 -07:00
Seth Hillbrand
c9e9a4e073 Allow git init to succeed without remote 2025-08-02 16:39:11 -07:00
Jeff Young
d91cce930f Don't allow default copy c'tor to copy arrays of pointers.
Fixes KICAD-SJ2.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21408
2025-08-01 21:27:12 +01:00
Jeff Young
6c6c02a329 Don't assume a tree root.
Fixes KICAD-Y72.
2025-08-01 16:46:50 +01:00
Seth Hillbrand
f2b6ac5d18 Refactor git calls into their own namespace 2025-07-31 08:32:07 -07:00
Mark Roszko
4b70e20250 Add support for check zones before plot to plot jobsets 2025-07-30 20:49:07 -04:00
Seth Hillbrand
2aad11e3e7 Refactor some git routines into utility class 2025-07-30 16:59:41 -07:00
Seth Hillbrand
da19b87cb1 Be sure to clean up remote pointer 2025-07-30 16:18:57 -07:00
Seth Hillbrand
949021dc35 Fix potential crash if git_repository_init fails
Don't wrap smart pointer before init
2025-07-30 16:15:55 -07:00
Mark Roszko
b0b07bbc41 Add option to save the pcb during drc cli (but with refill-zones required in parallel) 2025-07-29 21:12:31 -04:00
Jeff Young
875fcffdf9 Mac has no fallback graphics. 2025-07-28 19:38:39 +01:00
Jeff Young
32afe5285e Finish off WX_GRID code sharing exercise. 2025-07-28 19:37:52 +01:00
Seth Hillbrand
0271047b26 Add a method to force KiCad to software rendering
There are enough cases of problematic OpenGL implementations to need a
way to avoid calling OpenGL in the first place.  This provides a
temporary method for people experiencing crashing KiCad or starting
KiCad over a remote terminal to temporarily enforce software rendering
2025-07-27 17:23:53 -07:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
jean-pierre charras
93d90962e5 FOOTPRINT_CHOOSER_FRAME: add tool-tips to buttons; PROJECT_TEMPLATE: fix strings
Translated strings must use Printf to be built, and cannot be created by
concatenating sub strings that fixes the word ordering (that should be
depending on language)
2025-07-25 10:09:47 +02:00
Mark Roszko
dc6e0223c7 Add cli option for zone refill before drc
Note: Does not save yet
2025-07-24 20:40:45 -04:00
Jeff Young
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00
Seth Hillbrand
094870e7a4 String fixes
- Clarify wording in a couple places
- Fix missing 'not' and remove non-standard dashes
- Standardize on single-quote for strings in strings
2025-07-23 17:36:51 -07:00
Jeff Young
da8abffea4 Code clarity. 2025-07-21 20:59:26 +01:00
Jeff Young
f1686cc568 Formatting. 2025-07-21 20:59:26 +01:00
Jeff Young
dc4f639c61 Make sure selected item is still valid before activating (KICAD-18S). 2025-07-14 23:46:03 +01:00
Jeff Young
338c414933 Let wxWidgets clean up its own child windows.
Potentially KICAD-P6J.
2025-07-14 23:46:02 +01:00
Jeff Young
de1376e369 Cleanup. 2025-07-14 23:46:02 +01:00
Mark Roszko
c594e1da5c Quote the relaunch command string 2025-07-12 19:23:15 -04:00
Jeff Young
860fb9cabb Attempt to prevent random DRC crashes. 2025-07-12 10:18:17 +01:00
Mark Roszko
bb45c6c5b5 Add a file explorer dialog shortcut for project actions 2025-07-11 23:17:39 -04:00
Mark Roszko
2c9f189441 Fix the relaunch command 2025-07-11 18:33:58 -04:00
Jeff Young
3ec557cf4a Nullptr safety (KICAD-S1B). 2025-07-11 21:26:19 +01:00
Graham Keeth
5d05c36d2e add missing STEP optimization arg to STEPZ export 2025-07-11 12:56:46 -07:00
jean-pierre charras
f6fd54498d Re-add missing include 2025-07-11 15:07:31 +02: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
fa00626512 Upgrade ShowPlayer re-entrancy guard (KICAD-XAC). 2025-07-10 17:54:42 +01:00
Jeff Young
7a91441a82 Formatting. 2025-07-10 17:54:42 +01:00
Mark Roszko
743988bd57 Add support for SHAddToRecentDocs on windows with app model id 2025-07-09 20:12:30 -04:00