225 Commits

Author SHA1 Message Date
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
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
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
833a5ee3ab Yet even more open-coded dialog state-saving cleanup. 2025-08-11 20:36:23 +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
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
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
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00
Jeff Young
de1376e369 Cleanup. 2025-07-14 23:46:02 +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
Jeff Young
eafa1a7af0 Fix double-delete.
The JSON_SETTINGS stuff makes copies of the
JOBSET_DESTINATION.  That ends poorly when it
contains just a naked C++ pointer.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21227
2025-07-01 21:02:27 -06:00
Jeff Young
0464cc18b1 Progress reporting for Run Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19629
2025-06-28 16:23:34 -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
Jeff Young
18e107529a Don't force callers of GetAppSettings to implement exception processing. 2025-06-14 20:25:59 +01:00
Mark Roszko
4bfeddcc8d Fix assert on construct of jobset page 2025-06-14 14:05:36 -04:00
Jeff Young
dd39a50a14 Autocomplete for OUTPUT_TMP_PATH_VAR_NAME.
(Along with a list of other env vars in use.)
2025-06-06 20:34:05 +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
Jeff Young
d8a935be1c Tidy spacing in dialog. 2025-05-31 11:00:45 +01:00
dsa-t
004645db32 Unset PCM button to avoid crash on close.
(cherry picked from commit 6a003b94d6c93cbdebccde344ecf7bf8f3557486)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-05-29 12:29:55 +03:00
Jeff Young
327cca9de5 Coverity fixes. 2025-05-25 20:01:18 +01:00
Jeff Young
c452fe9686 REMOVED: HPGL plotting.
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
2025-05-10 17:31:59 +01:00
Jeff Young
e85d0d9d22 Paths look odd in italic. 2025-05-03 18:27:46 +01: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
c5093a5df0 ADDED: path info to job destination panel. 2025-04-17 14:37:16 +01:00
Jeff Young
9a1e42f228 Autocomplete for Execute Command job.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19735
2025-03-20 16:59:40 +00:00
Jeff Young
ea9cece5fe Button margins.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20207
2025-03-04 13:26:46 +00:00
Jeff Young
92b4b7187e Fix job run-log sizing issues.
wxLIST_AUTOSIZE_USEHEADER doesn't work on
some
platforms, and using OnSize was having seizures
on Mac.
2025-03-03 21:38:14 +00:00
Jeff Young
1808fcec78 Fix job run log sizing issues.
wxLIST_AUTOSIZE_USEHEADER doesn't work on
several platforms, and dynamic sizing of the
list columns falls apart on Mac.
2025-03-03 21:38:14 +00:00
Jeff Young
d8cdb69831 Jobset Output -> Destination. 2025-03-03 18:34:33 +00:00
Jeff Young
481e467968 Formatting; code brevity. 2025-03-01 21:58:31 +00:00
Jeff Young
ef75f63f10 Consistent spacing. 2025-03-01 21:58:31 +00:00
Jeff Young
26871b56f0 Provide easier on-ramp for jobsets.
1) Perform initial save of new jobset.
2) Add default output folder to new jobset.
2025-02-28 18:49:26 +00:00
Dmitry Rezvanov
ee614161d7 Added enum COL_ORDER for jobset panel's columns 2025-02-22 14:07:08 +00:00
Dmitry Rezvanov
0c2a5b72ec Fixed description column number in PANEL_JOBSET::OnGridCellChange.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20030
2025-02-22 14:07:08 +00:00
Alex Shvartzkop
0201e7286c Vertically center text in cells in jobsets table. 2025-02-20 14:23:35 +03:00
Alex Shvartzkop
cf2a98c05a Jobsets: make Execute Command job dialog usable for long strings.
Using a dummy string to keep decent sizing on high-DPI monitors.
2025-02-18 23:07:20 +03:00
Mark Roszko
74b174e4f0 Add "source" field for jobsets to discern SCH & PCB jobs 2025-01-31 08:16:26 -05:00
Jeff Young
b582f178dd nullptr safety 2025-01-18 16:13:32 +00:00
Jeff Young
3a3e2fe835 Clear status at start of jobset run. 2025-01-18 14:33:03 +00:00
Jeff Young
232542f42b Re-work filtering of temp-dir messages in jobset outputs.
(Also rationalises some of the output reporting
for consistency.)
2025-01-17 15:58:21 +00:00
Jeff Young
af38f76f01 Don't double-create new folders in project tree. 2025-01-16 16:47:58 +00:00