11124 Commits

Author SHA1 Message Date
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
Seth Hillbrand
f2b6ac5d18 Refactor git calls into their own namespace 2025-07-31 08:32:07 -07:00
Seth Hillbrand
01cf01981f Add more generalized pull for non-origin remotes 2025-07-31 08:32:07 -07:00
Seth Hillbrand
261d31c9e8 Handle case where there is no parent in the commit 2025-07-31 08:32:06 -07:00
Seth Hillbrand
7af404af43 Fix improper boolean check
This was assigning a boolean 1 or 0 to the error instead of the git
error code
2025-07-31 08:32:06 -07:00
Jeff Young
b0663d84cb ADDED: Paste tabular contents to parent table.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21109
2025-07-31 14:15:13 +01:00
Jeff Young
6ac5ca7fc4 Don't clip table borders. 2025-07-31 13:45:55 +01:00
Jeff Young
b1e686be97 Bump short-form-mm from 2 digits after decimal to 2-1/2.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21357
2025-07-31 12:29:00 +01:00
Mark Roszko
4b70e20250 Add support for check zones before plot to plot jobsets 2025-07-30 20:49:07 -04:00
Seth Hillbrand
5b3d4fc91d Put PCH behind a cmake flag
Allows developers to turn it off if they don't like/don't want it
2025-07-30 17:04:06 -07:00
Seth Hillbrand
2aad11e3e7 Refactor some git routines into utility class 2025-07-30 16:59:41 -07:00
Seth Hillbrand
3d4afcc051 Handle bad init in libgit2 2025-07-30 16:20:11 -07:00
Mark Roszko
b0b07bbc41 Add option to save the pcb during drc cli (but with refill-zones required in parallel) 2025-07-29 21:12:31 -04:00
dsa-t
7616b7aed8 Fix DPI value in Cairo printing on MSW.
Linux will need a different fix.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20477 on MSW


(cherry picked from commit 2a36da6723c4ed33a917783887e13cf24ec42cc1)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-07-29 17:08:13 +03:00
Jeff Young
875fcffdf9 Mac has no fallback graphics. 2025-07-28 19:38:39 +01:00
Jeff Young
325570eeec Coverity tweaks. 2025-07-28 19:37:52 +01:00
Jeff Young
32afe5285e Finish off WX_GRID code sharing exercise. 2025-07-28 19:37:52 +01:00
Seth Hillbrand
ff9d2e616b Missed one more Mac-specific change 2025-07-28 09:50:22 -07:00
Seth Hillbrand
25616cdeed Remove Mac option for fallback antialiasing
This was hidden behind a flag and missed in the previous commit
2025-07-28 09:14:51 -07:00
Seth Hillbrand
66f37beff7 Move canvas selection to common
Makes all canvases obey the same rendering parameter.  Also keeps the
canvas selection with the anti-alias selection, which makes logical
sense.  Reduce the antialias selection to a single choice rather than
two different choices for different canvases
2025-07-27 20:22:59 -07:00
Seth Hillbrand
0271047b26 Add a method to force KiCad to software rendering
There are enough cases of problematic OpenGL implementations to need a
way to avoid calling OpenGL in the first place.  This provides a
temporary method for people experiencing crashing KiCad or starting
KiCad over a remote terminal to temporarily enforce software rendering
2025-07-27 17:23:53 -07:00
Jeff Young
a191d4e6e5 Handle undo when changing new item before placing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21391
2025-07-27 15:56:16 +01:00
Jeff Young
8a1669dc53 Coverity tweaks. 2025-07-27 13:55:16 +01:00
Seth Hillbrand
53f8ccef22 Suppress warnings in MSVC/gcc 2025-07-26 16:57:04 -07:00
Seth Hillbrand
42ed78cf69 Fix PCB for gcc 2025-07-26 16:40:40 -07:00
Seth Hillbrand
267b21d81c Added precompiled header support
- PCBNew
- Schematic Editor
- Common libs
2025-07-26 15:33:42 -07:00
Jeff Young
1b8119056f More code sharing. 2025-07-26 21:24:37 +01:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
Mark Roszko
dc6e0223c7 Add cli option for zone refill before drc
Note: Does not save yet
2025-07-24 20:40:45 -04:00
Seth Hillbrand
d538f8d848 Avoid unmapped layers
ViewGetLayers returns the item layer even if it is invalid.  We filter
this out at the base and skip items that cannot be displayed in the
view.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21368
2025-07-24 13:41:09 -07:00
Seth Hillbrand
322c08d5f0 Pass hotkeys from search pane to frame
If the search pane doesn't handle the key, push it through the frame
hotkey handling system

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12474
2025-07-24 13:14:31 -07:00
Seth Hillbrand
f14ba983d6 Allow scrolling by keyboard in search panel
Lets you quickly scroll through elements in the board, zooming and
selecting each
2025-07-24 11:47:17 -07:00
Seth Hillbrand
e064a3481d Add Rule Area selection filter in schematic editor
Allows rule areas to be ungrouped from the "Other Items" when selecting
2025-07-24 11:03:38 -07:00
Jeff Young
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00
Seth Hillbrand
8d65217fda Force trimming whitespace in env vars
Nothing good can come of leading or trailing whitespace in environment
variables.  They don't resolve correctly and you can't see why
2025-07-23 17:36:51 -07:00
Seth Hillbrand
d195e93ebe Don't protect arbitrary paths
We only need to protect our predefined variables, not ones that the user
might create that uses the same pattern
2025-07-23 17:36:51 -07:00
Seth Hillbrand
094870e7a4 String fixes
- Clarify wording in a couple places
- Fix missing 'not' and remove non-standard dashes
- Standardize on single-quote for strings in strings
2025-07-23 17:36:51 -07:00
Jeff Young
8c72711662 Increase contrast on grid origin over grid.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13532
2025-07-24 00:11:27 +01:00
Seth Hillbrand
e387953490 ADDED refdes tracker
Provide an option to track ever reference designator ever used in the
project to prevent its reuse even if the component has been removed

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13052
2025-07-23 14:28:33 -07:00
Jeff Young
ec155c00f3 Comboboxes for units and body styles.
Also for pin-types in pad properties.

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
2025-07-23 14:35:37 +01:00
Seth Hillbrand
4dab336f95 One more pass at optimizing the board outline gen
Instead of iterating through the segment list each time, we use a kdTree
structure to efficiently query a 2d point cloud for the nearest
neighbors

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21352
2025-07-22 12:49:13 -07:00
Jeff Young
9d074c1679 See if we can't fix the ever-growing window bug.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20120

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10609
2025-07-21 17:24:29 +01:00
Jeff Young
d0fe69bcda Formatting. 2025-07-21 16:29:50 +01:00
Jeff Young
55a36c1ce7 CHANGED: retire the select-lib-table dialogs.
We now allow the user to specify which in the
New Library dialog.

Also retires the "Export power symbols too" dialog.

Also gives a bunch of file and library dialogs
more explicit titles.

Also removes separate code-paths for Export to
Library and Export to New Library.  The regular
code path has a "New Library..." button now.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
2025-07-20 19:06:40 +01:00
Seth Hillbrand
53b659dadc Update languages
Allow translators to view their work in the master branch
2025-07-18 08:08:33 -07:00
Jeff Young
e1a6261df5 Fix one more missing addParamsForWindow(). 2025-07-17 16:50:35 +01:00
Jeff Young
beb83e87ea Must use addParamsForWindow to init WINDOW_SETTINGs structs. 2025-07-17 16:26:50 +01:00
Jeff Young
e230d5164d Honour renderSettings' default font.
This still leaves a few things out in the cold,
such as hit-testing and polygon generation.
But at least it allows us to plot with a default
font.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19031
2025-07-17 09:35:21 +01:00
Seth Hillbrand
1066595a2c Add wallclock timeout to PNS walkaround
WALKAROUND::singlestep is used by both shove and walkaround modes and
can bog down when applied to clusters with many objects.  In these
cases, we are unlikely to find a viable solution and it is beter to
allow the user to find a different ending position

(cherry picked from commit d9cfb942812a57238d5ed6bbaa2c1d22a8676071)
2025-07-15 15:24:36 -07:00
Seth Hillbrand
ab5aa661e9 Fix a few more stagglers for floating point
Update banned functions to better catch these

- page size
- erc/drc reports
- x/y position files
- color alpha
- footprint reports
- specctra
2025-07-15 13:27:45 -07:00