1660 Commits

Author SHA1 Message Date
Seth Hillbrand
e1436d3597 Fix inheritance for git_common
Avoids repo type pointer issues when casting from void

(cherry picked from commit 676dd4ceec4dc3d3e0c921c93147561f03915683)
2025-03-16 18:04:47 -07:00
Seth Hillbrand
6104651613 Adjust git handling
- Utilize scoped deletion for individual git_*_free() calls
- Protect against multiple usage when updating icons
- Reduce frequency of git update calls

(cherry picked from commit 26c331a83704bcc1f221e67fe6757a07dc9e920b)
2025-03-16 18:03:16 -07:00
Graham Keeth
38dcfdc350 capitalize Git in display strings
(cherry picked from commit 68869f6439b6e600db18cf13d0a464f9567e541e)
2025-03-14 16:54:45 -07:00
Jeff Young
12fcf31dc5 Fix failure to increment job number.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20034

(cherry picked from commit 2304d108790d97124d5b4b09b4a401f2a2afa043)
2025-03-13 16:55:32 +00:00
Jeff Young
6aa274bc0d Formatting.
(cherry picked from commit 52648497b2c226a31cb15e6d259dbdeba258933f)
2025-03-06 16:15:23 +00:00
Jeff Young
0d9daa372e Keep user-defined common layers order.
(And use it when plotting.)

(And don't shadow it with a second variable.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20214
2025-03-04 23:37:02 +00:00
Jeff Young
9025f04f20 Button margins.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20207
2025-03-04 12:39:33 +00:00
Mark Roszko
622a3f5bad Restore the page size mode behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20014


(cherry picked from commit b6743653f32d73f1e1cf4e04d22142003738c555)

Co-authored-by: Marek Roszko <mark.roszko@gmail.com>
2025-03-04 04:16:07 +00:00
Jeff Young
66bf97bc0f Fix SCH plot to PDF for jobsets.
(Fix for CLI bug #19522 broke it for jobsets.)
2025-03-03 20:39:06 +00:00
Jeff Young
42a18ad3b6 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 20:19:50 +00:00
Jeff Young
afd35001cb 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 19:23:38 +00:00
Jeff Young
cbc964fb94 Jobset Output -> Destination.
(cherry picked from commit d8cdb69831b1625646331cfbc9d2ad84d4658b7a)
2025-03-03 18:36:14 +00:00
Jeff Young
97b0e6d403 Persist some missing jobset arguments.
Also adds some missing CLI arguments.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20116

(cherry picked from commit b0eef3ee289fc90cc7e79d0a2b31698b40ab13dc)
2025-03-02 19:28:01 +00:00
Jeff Young
89226575c6 Deprecate (instead of remove) --plot-invisible-text
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20171

(cherry picked from commit 307798ac9278fde062c31639e6f1baaa37ebf003)
2025-03-02 19:27:52 +00:00
jean-pierre charras
2504195e6e Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header

(cherry picked from commit b0fe4df3c565027801cbbac56c6ee0da254bd74a)
(cherry picked from commit 0acdabd1eb1a2d5ab9b6aa9f71df31c8cf088de8)
(cherry picked from commit eaa1e6d59464e8356d24afd1d29148335010f67a)
2025-03-02 16:13:11 +01:00
Jeff Young
ae96cf1715 Provide easier on-ramp for jobsets.
1) Perform initial save of new jobset.
2) Add default output folder to new jobset.

(cherry picked from commit 26871b56f072b013009dd04456b26b558c823c56)
2025-03-02 09:10:21 +00:00
Jeff Young
203ddb7b47 Code brevity.
(cherry picked from commit f951497a4fdf47e7c839f71df7a1b06660540ec9)
2025-03-01 22:23:30 +00:00
Jeff Young
0ec82b65be Formatting; code brevity.
(cherry picked from commit 481e46796809cdef9db5388cc765d4fb3ea4b8ac)
2025-03-01 22:18:35 +00:00
Jeff Young
09c63ea1ec Consistent spacing.
(cherry picked from commit ef75f63f101eaef57ff9db6c8fd43cc664449797)
2025-03-01 22:18:31 +00:00
Seth Hillbrand
3f984704be Prevent fetch without repo
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20152

(cherry picked from commit 18ac99d838136735b69e12ad21b1f1333a4eafe3)
2025-02-28 08:35:58 -08:00
Seth Hillbrand
c7afa8ce87 Fix windows build
(cherry picked from commit 9211136953289f09c0caf98fb59780d473036ae8)
2025-02-26 18:15:44 -08:00
Seth Hillbrand
cc2ca441fa Adjust git timing parameters
Move most of the update firing to the file system watcher (except for
windows network shares that still need timed updated).  Gate the repo
status for sync

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20133

(cherry picked from commit 5027a562e4d2845fa0b0c3d7d78b3925a406965a)
2025-02-26 16:17:49 -08:00
Seth Hillbrand
8d1f1fd4f5 Fix git flicker on Windows
(cherry picked from commit aa1baec06230ba066c3a548dd6dcdb6c25ac6c5c)
2025-02-26 16:17:43 -08:00
Jon Evans
377476df1d Fix export SVG mode logic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20089


(cherry picked from commit 52e86303c0b324469f6b7b5fcd5f4336069f2095)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-02-26 22:31:44 +00:00
Seth Hillbrand
038b927cfa Thread git checks
Push the git checks from the main thread into child threads to prevent
resource contention in some cases where Windows machines might have many
files in git that are _also_ being managed by Google Drive

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20078

(cherry picked from commit 2c54ab277b0081f2fa41ac2925c5d37106c8f611)
2025-02-25 16:09:56 -08:00
Jon Evans
0fccad7183 PCM: Prompt to enable IPC API when required
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20062


(cherry picked from commit 3525731a4eebc47a82bd96499687f8dd7eacf8eb)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-02-23 23:07:30 +00:00
Connor Goss
870807fbad Add IPC-D-356 Export to kicad-cli
ADDED: Added IPC-D-356 exporting to kicad-cli.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13951

(cherry picked from commit 5a5759c41adc401095d65418dda877076bff7849)
2025-02-22 13:01:22 -08:00
Jon Evans
8a3086652a Added enum COL_ORDER for jobset panel's columns
(cherry picked from commit ee614161d71c68174055086ff072e2b22783f0c0)

Co-authored-by: Dmitry Rezvanov <dmitry.rezvanov@yandex.ru>
2025-02-22 14:07:51 +00:00
Jon Evans
2103f303b7 Fixed description column number in PANEL_JOBSET::OnGridCellChange.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20030


(cherry picked from commit 0c2a5b72ec111ea201cd68189c5f5bc2d58e5e52)

Co-authored-by: Dmitry Rezvanov <dmitry.rezvanov@yandex.ru>
2025-02-22 14:07:42 +00:00
Jeff Young
a60f0b3782 MOVED subtract-mask-from-silk to general section.
(Was Gerber-specific.)

(cherry picked from commit 80e7698131bd0bb4f21a02d66bec3e60292c1daa)
2025-02-20 13:37:25 +00:00
Jeff Young
7cc2b47d2e REMOVED force-plot-invisible-items.
It's dangerous as the router and DRC will have been
run without regard to invisible items.

(See #19420.)

(cherry picked from commit 4fa02690f820a4ca3517dfe5344b4da48a078f0e)
2025-02-20 13:37:22 +00:00
Jeff Young
93fdd52d14 IPC-2581 has a hyphen in it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19770

(cherry picked from commit 40daacbeebe18b6b0c22612cd9a6961666700ff9)
2025-02-20 13:14:17 +00:00
dsa-t
cc77cb4252 Vertically center text in cells in jobsets table.
(cherry picked from commit 0201e7286cfc4800e42c955494ea5f8fcd6e2f13)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-02-20 11:39:00 +00: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
Alex Shvartzkop
3f62ff25d2 Jobsets: expand environment variables in Copy Files job source. 2025-02-18 22:15:50 +03:00
Seth Hillbrand
f6c507bff9 Fix git issue with file separators
In some cases, GetPath will not return the trailing `/` leading to
inability to commit any files in git
2025-02-18 10:00:54 -08:00
Connor Goss
9aec923862 Set output filename in GenCad CLI job from the --output parameter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19968
2025-02-16 23:34:35 +00:00
Jon Evans
a1f0adcc11 CLI: Set correct flag for DXF plotter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19966
2025-02-15 17:22:00 -05:00
Jon Evans
0ca9791577 Fix some GCC build warnings 2025-02-14 22:20:20 -05:00
Seth Hillbrand
ba208fd5c9 Suppress git remove if not at head
Don't offer to remove the .git directory if we are not looking at the
base of the git repository for safety

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19889
2025-02-12 14:43:08 -08:00
Seth Hillbrand
088a90cf68 Prevent committing bad files
Avoid backup, lock, autosave files
Avoid files that are not visible to KiCad (outside of the project
directory/sub-directories)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19891
2025-02-12 13:44:08 -08:00
Alex Shvartzkop
dc4708cdb7 Hide "Unable to load repository url" message when repository fetching is cancelled.
(cherry picked from commit 020376937ea3ef7e64512e32c66cc4de171ad073)
2025-02-11 18:57:17 +03:00
Jon Evans
5426bfcdcd Don't autosave future formats of project settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19910

(cherry picked from commit 7d689e0c616c8af4b056f20ce3c95c37624e3df7)
2025-02-10 19:20:56 -05:00
Ian McInerney
a15becf032 Remove arguments that aren't actually used by the gencad exporter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19785
2025-02-09 21:06:32 +00:00
Jon Evans
8af6defafe Git: allow making the first commit in a branch 2025-02-08 17:30:55 -05:00
Jon Evans
c6b9ab174d Git: suppress error message when loading brand new repo 2025-02-08 17:09:48 -05:00
Jon Evans
f59c5a9a26 Git: handle new-but-already-staged files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19893
2025-02-08 17:03:42 -05:00
Jon Evans
172b77039f Git: fix error message formatting 2025-02-08 16:49:56 -05:00
Jon Evans
df70ce72b4 Git: do not try to get branch info if there isn't a repo 2025-02-08 16:34:08 -05:00
Jeff Young
9ab4fef369 Remove duplicate short-form argument.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19798
2025-02-02 19:58:56 +00:00