Jan Wichmann
36e38cd60a
ADDED: Sort the templates alphabetically, leaving the default template at the top.
2025-09-13 03:15:44 -07:00
Seth Hillbrand
fcf40deae2
Scale down icons that are too big
...
In template view, if the icon is too big, try to fit to our size
2025-09-10 21:58:02 -07:00
Seth Hillbrand
6e2b20ed0e
Update BS Threadpool to 5.0
2025-09-10 13:02:24 -07:00
Seth Hillbrand
aac15f4596
Encapsulate libgit commands into single backend
...
Sets stage for allowing alternate backends for version control
2025-09-08 21:04:31 -07:00
Jeff Young
dedc10a163
The Include "Exclude from BOM" setting is for editing, not exporting.
...
There's no reason to put items marked "Exclude
from BOM" into the BOM.
2025-09-08 20:44:32 +01:00
Jeff Young
330361d0cb
Fix typo.
2025-09-08 20:44:32 +01:00
Seth Hillbrand
09c40a0e0f
Make KiCad default template the default
...
Should clear up new project questions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21651
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21675
2025-09-08 12:16:59 -07:00
Jeff Young
0b102fc085
Use WX_GRID::ClearRows() to avoid assertions.
...
Fixes KICAD-VM1.
2025-09-08 18:37:47 +01:00
Seth Hillbrand
9342aea7fa
Move new project to templates
...
If the baseline default project doesn't exist on disk, create it and use
that as an empty project. Allows the designer to modify the default new
project used or select from existing templates
2025-09-03 15:52:05 -07:00
Seth Hillbrand
d4b08f0a8a
When unarchiving a project, open it also
...
Just a little convenience for getting projects open
2025-09-02 21:11:54 -07:00
Jeff Young
98b63389c1
Give Mac dock icon menu a kick.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17596
2025-09-01 22:04:59 +01:00
Jeff Young
ce140d8dfc
Formatting.
2025-09-01 22:04:59 +01:00
Seth Hillbrand
82c61efcbd
Revert "When re-launching on MacOS, create a new instance"
...
Needs to launch without jumping back in and allow switching
This reverts commit 1885f4bdee6656d988bf088b048fbfbb70ac0f3d.
2025-09-01 06:39:34 -07:00
Adrián García
5fb55ccb30
jobsets: fix Replace button to overwrite existing files ( #19900 )
2025-09-01 01:13:23 +00:00
Seth Hillbrand
1885f4bdee
When re-launching on MacOS, create a new instance
...
Allows people to run multiple copies of KiCad. Only launches new copies
if the TLW is already shown. Otherwise, sticks with the default MacOS
behavior of raising the running window
2025-08-31 12:54:55 -07:00
Seth Hillbrand
f5904cf2ac
Prevent main KiCad window from expanding based on DPI events
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21602
2025-08-31 11:54:53 -07:00
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
2025-08-30 20:57:41 +00:00
Mark Roszko
9bc463606a
More redundant LOCALE_IO
2025-08-27 20:11:26 -04:00
Seth Hillbrand
9dc76f658d
Help is always valid
...
Return 0 and no error, just help when the --help flag is present
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21538
2025-08-24 07:37:23 -07:00
dsa-t
01991fed53
Prevent jobs from affecting each other via reporters when running jobsets from CLI.
...
(cherry picked from commit 44a3bb9274845593db733464aa3f68288e3eb150)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-22 17:42:16 +03:00
dsa-t
03fa5fdebc
Record execute command job input and error streams in the log.
...
Also print the resolved command.
(cherry picked from commit 91e5e81bb483ff58072f8b2fdf0a6aedb06ea4a1)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-20 13:58:30 +03:00
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