10226 Commits

Author SHA1 Message Date
Marek Roszko
02b3d03c23 Fix ctest for windows with env shim that is disabled for non windows, for now.
Also stuff a dummy fontconfig file to silence the dumb error on stdout, which interferes with testing
2025-01-04 22:08:58 -05:00
Marek Roszko
cb948302e2 Guard the cwd change for gui only 2025-01-04 19:25:05 -05:00
Marek Roszko
4dfedf4fb4 Set the cwd to the active project path 2025-01-04 19:22:29 -05:00
Ian McInerney
43a7868994 Fix reading old plot layer settings into new layer IDs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19475
2025-01-04 21:38:37 +00:00
Wayne Stambaugh
34fcda224c Minor dialog layout improvements. 2025-01-04 12:34:32 -05: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
Jeff Young
ad513345fe Ugh. Once more into the breach to try and get our terminology consistent. 2025-01-04 15:41:05 +00:00
Jon Evans
1fa432b029 API: add GetKiCadBinaryPath 2025-01-04 10:14:17 -05:00
Marek Roszko
154634b1f6 Remove dynamic portions of execute/copyfiles description 2025-01-04 10:06:26 -05:00
Jon Evans
3bebf24015 Add another SWIG wrapper for BOX2I
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19485
2025-01-04 08:42:01 -05:00
Marek Roszko
afd2406adc Fix erc/drc output paths in cli
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19474
2025-01-04 08:10:20 -05:00
Marek Roszko
2ee3ee341a Fix sch plot output path handling
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19483
2025-01-04 08:10:20 -05:00
Jon Evans
4177cfb93a Remove leftover AC key 2025-01-04 07:28:10 -05:00
Alex Shvartzkop
9cac8725fa Fix build error. 2025-01-04 11:30:33 +05:00
Alex Shvartzkop
1be6ecd972 Fix --background option in kicad-cli pcb render. 2025-01-04 11:21:45 +05:00
Seth Hillbrand
074e6df3bc Revert "Move thread pool to singleton class"
This reverts commit 361f61a02380881efb59b1cebfdc3e73322b3d3c.
2025-01-03 21:22:44 -08:00
Seth Hillbrand
d4d0189157 Revert "Add Advanced Config parameter for thread count"
This reverts commit 2e0f688b97dcae1a08a1e2f982332b01bd342d5d.
2025-01-03 21:22:43 -08:00
Seth Hillbrand
f38e661a02 Revert "Move GL Context into Singleton class"
This reverts commit 5326c36a5ff8a3a465d386cc31172aa90847a9e9.
2025-01-03 21:22:37 -08:00
Seth Hillbrand
5326c36a5f Move GL Context into Singleton class
The GL context lock needs to be shared across kifaces.  Otherwise, we
can end up blocking the lock from one kiface.  Unfortunately, I can't
find the issue in GitLab right now for where the footprint viewer shows
a blank screen after opening too many contexts.  But that's what this
fixes.
2025-01-03 17:26:23 -08:00
Jon Evans
1a1120435f Rework how Python processes are launched
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19465
2025-01-03 17:21:03 -05:00
Seth Hillbrand
2e0f688b97 Add Advanced Config parameter for thread count
Allows us to limit the threading state manually without recompiling
2025-01-03 14:00:07 -08:00
Seth Hillbrand
361f61a023 Move thread pool to singleton class
Having thread pool as its own singleton in the library meant that each
kiface had its own threadpool, leading to many multiples of the threads
being started.  Placing a singleton class in PGM_BASE ensures that all
kifaces use the same thread pool.

The singleton class can be extended to provide single instance
guarantee for any element across kifaces
2025-01-03 13:51:11 -08:00
Jeff Young
beda29856d Hide DesignBlock Migrate Libraries button (for now).
There aren't (yet) any legacy libraries to migrate.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19360
2025-01-03 21:28:19 +00:00
Jeff Young
40ade0b9f1 Long live jobsets! 2025-01-03 13:36:48 +00:00
Jeff Young
25d794b405 Read old job output specs with no ids. 2025-01-03 13:32:07 +00:00
Jon Evans
89a50a3dcf Fix some issues calling Python on Windows systems 2025-01-02 22:45:24 -05:00
Seth Hillbrand
2eea14ea58 Skip hidden files in backup
We don't need to parse hidden files/directories for backup targets.
This can be very large (in the case of .git directories) and thus
slow when working over NAS.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18341
2025-01-02 16:25:56 -08:00
Jeff Young
757a16b4bf Remember open jobsets. 2025-01-02 23:44:09 +00:00
Jon Evans
bdb2c3a025 DbLib: Use case-insensitive lookup for column caching 2025-01-02 12:59:15 -05:00
Jeff Young
48bb6b137c Limit length of search strings to prevent lockups.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19464
2025-01-02 17:04:22 +00:00
John Beard
527faddbfd GAL: provide constants for LoD HIDE/SHOW and a scale helper
Saves a mishmash of local HIDE/SHOW defs along with various literals.

Also provide a function that computes the scale at which a given
IU size becomes (notionally) a certain size on screen. While this
is a simple division, it's a bit opaque in terms of meaning.

Also it means the divide by zero case can be more universally
defended-against, which has traditionally been a bug opportunity.
2025-01-02 22:59:31 +08:00
Jeff Young
9ed3c8eb82 Naming consistency for jobs. 2025-01-02 13:20:31 +00:00
Marek Roszko
6aa25093da Add missing files from last commit 2025-01-02 06:48:28 -05:00
Marek Roszko
1a0427a375 Add initial but not yet working correctly copy files job 2025-01-01 23:57:46 -05:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Seth Hillbrand
d8733b2d4f Happy New Year
For this year's resolution, we will streamline our copyright statements.
These are applied to files in the repository and are not needed
separately as part of the compiled about box
2025-01-01 14:12:04 -08:00
Marek Roszko
5864d705c3 Partially fix running special execute
It was a early implementation that got forgotten about hah
2025-01-01 15:10:35 -05:00
Jeff Young
a3c29a1343 Allow resizing of Output Properties dialog.
Also fixes a bug where the GenDrill dialog returned a fixed
result.
2025-01-01 20:10:07 +00:00
JamesJCode
96082a63a8 Add a new GAL layer for shape backgrounds
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12393
2025-01-01 19:46:33 +00:00
Jeff Young
c5ae32c51c Auto-edit job properties and then description after creation. 2025-01-01 19:17:11 +00:00
Jeff Young
530a66a489 More job-specific option dialog titles. 2025-01-01 19:17:07 +00:00
Marek Roszko
72acbe1de4 Add missing options dialog title
https://gitlab.com/kicad/code/kicad/-/issues/19452
2025-01-01 14:04:33 -05:00
John Beard
e9f8b2ba77 Pcbnew: apply same IPC rule in properties panel as in dialog
This means when you switch a pad to be roundable (round rect or
chamfered-with-round), you get the same behaviour as in the dialog
(and an IPC-compliant pad by default).

Also fixes the radius visibility in the properties panel for
chamfered pads (which can have radii).
2025-01-02 00:42:31 +08:00
Jeff Young
d7eed69831 Job-specific option dialog titles. 2025-01-01 16:33:57 +00:00
Jon Evans
9086c5694b Fix layout issue in plugin settings page 2025-01-01 10:54:59 -05:00
Marek Roszko
6c43c25b4c Move two things to kicommon 2025-01-01 00:14:34 -05:00
Marek Roszko
8f750baa79 Deprecate and support using the more normal "plot" logic for dxf and svg. 2024-12-31 23:10:24 -05:00
Jon Evans
d8b8d8aa3c API: Add GetNetClassForNets; handle implicit netclasses 2024-12-31 17:51:19 -05:00
Marek Roszko
9fb8de959c Fix windows builds broken by 8aa0b3e16cd8f18db404e3909624c0ff09670a95 2024-12-31 15:41:05 -05:00