10287 Commits

Author SHA1 Message Date
Wayne Stambaugh
5c8f4697ca Common folder housekeeping part 1. 2025-01-12 12:06:45 -05:00
Marek Roszko
6ec00f879c Add PROJECTNAME resolution into project's resolver 2025-01-12 11:43:10 -05:00
Jeff Young
08677d3cb6 Attempt to fix non-clang (or maybe just MSW) builds. 2025-01-12 14:14:35 +00:00
Jeff Young
4049b622f9 Fix writing/parsing of pdf plot params.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19446
2025-01-12 13:43:33 +00:00
Jeff Young
e3e7a4c97a More consistent file/class naming. 2025-01-12 12:47:00 +00:00
Marek Roszko
db56d51838 Fix output paths for jobs again 2025-01-11 19:05:45 -05:00
Marek Roszko
47fb4686c3 Add text var expansion in output paths 2025-01-11 19:05:44 -05:00
Jon Evans
37a3c6f8cf Infobar close buttons also need to react to theme changes 2025-01-11 18:53:58 -05:00
Seth Hillbrand
1bce0b733e Make infobar sensitive to color changes 2025-01-11 15:39:06 -08:00
Marek Roszko
06a61e773f Fix bg/fg fed to GetInfoBarColours 2025-01-11 16:26:02 -05:00
Jon Evans
17c746c00a Make Windows hacks dependent on using KiCad-shipped interpreter 2025-01-11 12:24:44 -05:00
Jon Evans
25e7b29ad1 Fixup 37d0d5f1 to pass env vars correctly 2025-01-11 12:24:44 -05:00
Jon Evans
37d0d5f118 Use PYTHON_MANAGER to launch actions and capture trace output 2025-01-11 11:47:08 -05:00
Marek Roszko
2123c03fa1 Shift gerber job to lseq instead 2025-01-10 22:24:28 -05:00
Marek Roszko
6692f39d6f Save layer job params using canonical name arrays instead of layer id ints
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19532
2025-01-10 22:23:45 -05:00
Jon Evans
d9e1d3725e Do not try to install source packages in python environments 2025-01-10 21:51:49 -05:00
Jon Evans
54e8233b36 Don't scan for API plugins if server is disabled 2025-01-10 21:46:51 -05:00
Seth Hillbrand
e8167f33d7 Grab GTK default colors for infobar
This implements the wxWidgets fix for KiCad.  We can't wait for distros
to update their wx libs so until then, we'll roll our own.

Nicely, this also implements the MacOS setting that was an ifdef
previously

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19506
2025-01-10 17:32:51 -08:00
Seth Hillbrand
7516e3a190 Update docs link
Instead of the hard-coded docs website, we use the redirect container to
keep the links valid and do forward-planning (e.g. 9.99)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19570
2025-01-10 15:19:21 -08:00
Seth Hillbrand
65d8af4483 Font caches need to account for size
Fonts are rendered from FT into a scaled output before being
triangulated.  If the original scaled output is very small, the cache
ends up being a distorted scaling when expanded to larger font sizes

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18870
2025-01-10 13:03:47 -08:00
John Beard
3b490cdd3b Eeschema: yeet wire-with-plus icon
This icon was only used for auto-starting a wire, which was
inconsistent with auto-starting a bus or graphic line.

Also the plus sign is a little confusing as it could also be
interpreted as the origin marker (which is really bottom left),
which is also plus-shaped.
2025-01-11 00:34:48 +08:00
Jon Evans
c6d8f4a62e Fix wiping out non-controlled GAL layer visibility
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19544
2025-01-10 08:37:11 -05:00
Jon Evans
ab5bdd2882 Fix project settings not actually saving after migration 2025-01-10 08:26:32 -05:00
jean-pierre charras
80303b4caa Kicad manager: make zip archive working on Windows.
curr_fn.MakeRelativeTo(curr_prjdir) works only if curr_fn and curr_prjdir
use the same long path adjustement (no long path of both use long path)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19577
2025-01-10 13:28:16 +01: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
Dhinesh
e02b6be4c9 Fix error-marker highlighting for multiple markers at the same location
Previously, if multiple error markers were placed at the same location,
the selected marker was not visually differentiated from the unselected
ones, even if one was at the top of the stack. To fix this, Need to pass
overlapping markers to the FocusOnItems() function instead of calling
FocusOnItem() with only the selected marker.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9778
2025-01-09 23:41:02 +00:00
Sam Schweigel
373d9c9281 Disable touch events on OSX only, allowing them on GTK and Windows
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14374
2025-01-09 23:00:53 +00:00
Jeff Young
dd7c076bc9 Use std::optional for pad connection overrides.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19555
2025-01-09 17:32:05 +00:00
Marek Roszko
1ebcd24944 Forward declarations are your friends
Why leak gl headers into most of kicad
2025-01-09 09:03:08 -08:00
Seth Hillbrand
09e30adbb1 Move GL_CONTEXT_MGR into PGM_BASE singleton
This is the second try at 5326c36a5f.  The difference here is that we
have moved GL_CONTEXT_MGR into kicommon first which will hopefully
address some of the Windows linkage issues

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-09 09:03:08 -08:00
Seth Hillbrand
d48c40ba26 Move GL_CONTEXT_MANAGER to kicommon 2025-01-09 09:03:08 -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
6858561731 Fixes for building against recent wxWidgets 3.3 2025-01-09 08:38:49 -05:00
Seth Hillbrand
954e194f77 Add default paste special hotkey
Most applications will define paste special as Ctrl-Shift-V
2025-01-08 09:23:34 -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
0d1fcd2c54 Cleanup. 2025-01-08 15:50:08 +00:00
Jeff Young
5524ff3770 Formatting. 2025-01-08 15:39:47 +00:00
John Beard
ce140faf2d CI: let KICAD_RUN_FROM_BUILD_DIR work from archived CI build environments 2025-01-08 21:58:55 +08:00
Jon Evans
7ce0f55305 Don't auto-save local settings when migrating
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19540
2025-01-08 08:43:28 -05:00
John Beard
d0d4c4065b Make run from build dir work for debug executables
When using KICAD_RUN_FROM_BUILD_DIR, at least on Linux, not all
executables can assume executable/.. is the build directory - instead
iterate upwards until a CMakeCache.txt file in encountered.

Without this, for example, the PNS log viewer complains about missing
JSON schema files.
2025-01-08 20:23:31 +08:00
Jon Evans
8df29a78e1 Use named render layers in local settings 2025-01-08 00:15:56 -05:00
Jon Evans
96f87b5b83 Move layer presets to use named render layers
Add a migration to account for KiCad 8 render
layer id numbers

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18718
2025-01-08 00:15:56 -05:00
Marek Roszko
fdfeda7b72 Ensure mkdir with bom export job
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19520
2025-01-08 00:07:26 -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
Jon Evans
31cce8930a Fix conflict with Windows API 2025-01-07 19:22:10 -05:00
Jeff Young
102997d6d8 Slightly less busy layout for embedded files. 2025-01-07 18:04:21 +00:00
John Beard
4765d17d0c Show UUIDs in msg panel with an advanced config
This is useful when confirming matches for items in the
debugger or from a file without having to carefully check
individual parameters.
2025-01-07 20:01:44 +08:00
Alex Shvartzkop
8a059c05cb Slightly reduce row height in LIB_TREE on GTK. 2025-01-07 13:53:28 +03:00
Jon Evans
08f866fae1 Hide console on Windows when launching actions 2025-01-06 18:13:05 -05:00