1800 Commits

Author SHA1 Message Date
Alex Shvartzkop
88b56413d5 Fix crash when closing project manager during KiCad update check.
Also: allow to terminate the KiCad update check.
Also: update the status label when jobs are removed.
(cherry picked from commit 19890b7f99808a5c3f172c4dbffcf553ba0aed5b)
2025-01-22 20:56:03 +03:00
Alex Shvartzkop
4eaadcae5c Fix PCM logger format string usage. 2025-01-22 13:52:28 +03:00
Seth Hillbrand
5a57e5cfd4 Handle SSH keys better
OpenSSH will iterate through a series of keys.  Additionally, there may
be a key specified in the ssh/config file that we need to account for.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18864
2025-01-21 15:59:07 -08:00
Seth Hillbrand
427d7d2dad Move git password management to local password control
Don't keep passwords in plain text config files that may be checked into
version control.  Passwords stored in system-specific password managers

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18053
2025-01-20 17:33:55 -08:00
Alex Shvartzkop
e0c61e6069 Fix error with ARG_LIGHT_SIDE_ELEVATION in CLI. 2025-01-19 02:44:10 +03: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
a1fbff35e8 Formatting. 2025-01-17 22:07:07 +00:00
Jeff Young
044fe24293 Remove ability to specify fp sides for position file jobs. 2025-01-17 19:37:12 +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
Jeff Young
d1411e2c69 Don't report filepath messages for jobs.
(They'll just point to temp files anyway.)

Also moves schematic netlist fetching to
MAIL_SCH_GET_NETLIST.
Eeschema's generateSchematicNetlist() hasn't
worked in some time.

Also suppresses parity error counts when parity
not run due to failure to find or load schematic.

Also writes out ERC/DRC reports even when they're
set to fail the job.
2025-01-16 13:12:25 +00:00
Jeff Young
3b07401912 Formatting. 2025-01-16 13:12:25 +00:00
Jeff Young
2af80d2fc8 Refresh project tree after generating outputs. 2025-01-16 13:12:25 +00:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
Jeff Young
799dadeeec Save bom & bom_fmt preset names for jobs.
Also re-fronts Kicad manager frame after editing
job settings.

Also fixes a bug where group-by (but non-shown)
fields didn't get restored.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19627
2025-01-14 14:38:58 +00:00
Jeff Young
62041fdb69 Naming consistency. 2025-01-12 20:24:33 +00:00
Jeff Young
9322397933 Cleanup. 2025-01-12 20:24:33 +00:00
Jeff Young
08677d3cb6 Attempt to fix non-clang (or maybe just MSW) builds. 2025-01-12 14:14:35 +00:00
Jeff Young
e3e7a4c97a More consistent file/class naming. 2025-01-12 12:47:00 +00:00
Jeff Young
b7cdbbba9f Front Kicad manager frame after running job(s). 2025-01-12 12:47:00 +00:00
Jeff Young
ab571be525 Don't depend on knowing the lifetime of a wxWindow. 2025-01-12 12:47:00 +00:00
Marek Roszko
47fb4686c3 Add text var expansion in output paths 2025-01-11 19:05:44 -05:00
Marek Roszko
16d10dc76e Squash the pdf handling for the old path into the new like dxf/svg 2025-01-09 23:43:40 -05:00
Marek Roszko
afe7c893d5 Squash dxf job path for single/multi like svg 2025-01-09 23:43:40 -05:00
Marek Roszko
ecfc868832 Combine/move svg plot job to single path 2025-01-09 21:21:09 -05:00
Seth Hillbrand
8f9b7ca757 Hide the AUI notebook tabs if we only have 1 2025-01-09 13:39:41 -08:00
Seth Hillbrand
452e69de85 Move thread pool into true singleton
Thread pool needs to be stored in a single location for all of KiCad
otherwise each kiface will spin up its own pool of persistent threads
2025-01-09 09:03:08 -08:00
Jon Evans
846f6127fd More fixes to autosaving migrated projects
- Disable jobsets memory when opening migrated project
- Add WasMigrated to project file

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19540
2025-01-08 12:09:47 -05:00
Jeff Young
a797f4ce95 Remove fairy dust from copyfiles. 2025-01-08 15:39:47 +00:00
Alex Shvartzkop
883b615fef Cancel "Fetching repository" job properly when PCM is opened. 2025-01-08 15:29:27 +05:00
Marek Roszko
c931f2e16a Fix output paths for sch plots again
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19522
2025-01-07 20:29:37 -05:00
Jeff Young
ed12e1ee79 Set grid cursor as well as selection row.
I haven't a clue why this is required.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19509
2025-01-07 23:33:43 +00:00
Jeff Young
f665760a8e Don't skip every other jobset when closing. 2025-01-07 18:04:21 +00:00
Alex Shvartzkop
d989a3ec69 Focus on OK button in update check prompt. 2025-01-07 14:17:33 +05:00
Jeff Young
17157b82b0 Blacklist for project file copying.
Also fix it to use the output path, if specified.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19479
2025-01-06 21:28:55 +00:00
Jeff Young
2118850bca Add handler for grid cell change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19509
2025-01-06 19:11:17 +00:00
Wayne Stambaugh
3755b77b92 Dialog string capitalization and layout fixes. 2025-01-06 14:01:00 -05:00
Jeff Young
56aacbd661 Go back to row selection mode for jobs list.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19502
2025-01-06 15:36:57 +00:00
jean-pierre charras
8097b69b1f Kicad manager, jobset: Ensure save changes when closing kicad are made.
After made changes on a jobset, when closing Kicad, the dialog asking for
save changes was not honored when the save changes was accepted after a
yes answer.
Fix also a minor compil warning.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19450
2025-01-06 12:41:46 +01:00
Jon Evans
3f7e459d62 API: add a schema for plugin config files
Also flip the dependence between json_schema_validator and kicommon,
and create a shared JSON_SCHEMA_VALIDATOR so that we don't have to
copy/paste the schema loading code as much
2025-01-05 17:08:33 -05:00
Ian McInerney
6be3401b92 Add more global extensions and switch archiver to use them 2025-01-05 21:59:53 +00:00
Maciej Małecki
b03eff1ec7 cli: add --drill-shape-opt to pcb export dxf
ADDED: add support for specifying drill shape ("drill marks" in the UI)
on the CLI when exporting DXF files of PCBs.

This standarizes on "actual size" for the drill marks, as do PDF and SVG
exporters, while the current, undefined and undocumented default,
appears to be "small marks".

Oddly enough, this option appears to only have effect in `--mode-new`.
I would appreciate guidance on what to do about this fact.
2025-01-05 16:01:35 +00:00
Alex Shvartzkop
9a3d7594d9 Add pivot/pan/rotation/lights controls to PCB render dialog. 2025-01-05 11:42:58 +05:00
Marek Roszko
adf7c7a456 Show the pcb/sch windows because macOS can't handle keeping them invisible
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19462
2025-01-04 18:18:01 -05:00
Jeff Young
32b7fe7ae9 Pencil -> gear. 2025-01-04 22:56:43 +00:00
Andrea Greco
ee255fb389 ADDED: Default font option to cli schematic plot exports 2025-01-04 16:51:09 +00:00
Jeff Young
fcf546516a Copyfiles job needs a cwd (at least on OSX).
Also, don't infinitely recurse when given "*".
2025-01-04 15:41:05 +00:00
Alex Shvartzkop
feb56ff6b5 Center cell text vertically in jobs panel grid. 2025-01-04 16:55:17 +03:00
Jeff Young
59b99c4b27 Adjust borders (again). 2025-01-04 13:41:31 +00:00