48947 Commits

Author SHA1 Message Date
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
Seth Hillbrand
da19b87cb1 Be sure to clean up remote pointer 2025-07-30 16:18:57 -07:00
Seth Hillbrand
949021dc35 Fix potential crash if git_repository_init fails
Don't wrap smart pointer before init
2025-07-30 16:15:55 -07:00
Jeff Young
3eb66e1b3d Similar local labels on different sheets are fine
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21334
2025-07-30 18:03:50 +01:00
Jeff Young
15468c86b9 Formatting. 2025-07-30 17:56:45 +01:00
Jeff Young
0b90d941d3 ADDED: Find/Replace for symbol editor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21397
2025-07-30 16:42:23 +01: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
Jeff Young
707d668a01 Fix selection filter GBPositions in symbol editor. 2025-07-29 23:29:03 +01:00
Jeff Young
fa7d67d80a Prevent stale selections. 2025-07-29 23:11:19 +01:00
Jeff Young
7a4107b985 Formatting. 2025-07-29 23:11:19 +01:00
Jeff Young
606a5c7d21 Hide dialog before running picker tool.
(If the user were to close the dialog in between,
we'd be in a world of hurt.)
2025-07-29 23:11:19 +01:00
Jeff Young
0128fb2eaf Formatting. 2025-07-29 23:11:19 +01:00
Seth Hillbrand
ff5a309386 Show inherited fields in symbols
When working with derived symbols, make sure that we show all of the
fields, not just the ones that are defined in the current level since
they are all attached to the output.

Inherited fields are shown in italics until changed

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11422
2025-07-29 13:23:23 -07: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
d7b5456dfb Honour board's PAGE_INFO when plotting drill maps.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21393
2025-07-28 20:09:15 +01:00
Jeff Young
875fcffdf9 Mac has no fallback graphics. 2025-07-28 19:38:39 +01:00
Jeff Young
8de16736d3 Improve spacing, add colons to labels as necessary.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20322
2025-07-28 19:37:53 +01:00
Jeff Young
51e244d7d4 Don't remove nonexistent entries from wxArrayStrings (KICAD-PG7) 2025-07-28 19:37:52 +01:00
Jeff Young
325570eeec Coverity tweaks. 2025-07-28 19:37:52 +01:00
Jeff Young
59caea4344 Shutdown safety (KICAD-N5Y). 2025-07-28 19:37:52 +01:00
Jeff Young
6cfe5ecc94 Improve debugging (KICAD-XS0). 2025-07-28 19:37:52 +01:00
Jeff Young
37b0ba6273 Fix bad format statements (KICAD-Y1N). 2025-07-28 19:37:52 +01:00
Jeff Young
7b5603503e Fix typo. 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
Jeff Young
65f4524164 Cleanup (KICAD-XZP). 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
jean-pierre charras
76c5e256a7 Fix a name ( INPUT ) conflicting with a windows header, creating compil warnings
This name is just renamed, without actual code change
2025-07-28 15:19:38 +02: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
7f46f2a8d1 Remove unused variables 2025-07-27 17:23:53 -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
046c36d060 Fix padstack/boundingbox issue.
Earlier fix to stop clearing the boundingRadius
for each unique layer also cleared it for
ERROR_INSIDE (when we aren't rebuilding it).

Re-order whole routine to make this more clear.
2025-07-27 13:55:16 +01:00
Jeff Young
8a1669dc53 Coverity tweaks. 2025-07-27 13:55:16 +01:00
Jeff Young
755537ad8c Fix some std::move() of a reference parameter issues.
Also some coding standard fixes for member variable
names.
2025-07-27 13:55:16 +01:00
Seth Hillbrand
4a07154ba3 Restrict pcbnew PCH to clang 2025-07-26 17:59:35 -07: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
7a94a61cfb Fix MSVC build 2025-07-26 16:40:27 -07:00
Seth Hillbrand
6b44c4cbae update qa config to new data 2025-07-26 15:58:08 -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
60ec152d90 Fix deficient c'tors and operator=. 2025-07-26 19:18:16 +01:00
Jeff Young
c58b1146de Honour pad holes when hit-testing.
They may be bigger than the pad.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21331
2025-07-26 18:37:16 +01:00
Seth Hillbrand
f875fd1d60 Add support for chamfering larger sizes
If we are only chamfering opposite corners, we can support up to 100%
chamfer

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13567
2025-07-26 10:33:36 -07:00
Seth Hillbrand
dd41e2b00b Don't prompt for rule areas and no-net shapes
Highlighting and placing vias will pop up a potential net list. This
should not include things without nets

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21381
2025-07-25 16:39:59 -07:00
Seth Hillbrand
15166a9f14 Refactor REFDES_TRACKER
Keep state for reuse in the class.  This allows us to properly pick the
value when fully reannotating

Don't annotate when placing new units.  Just step ahead in the unit
value while keeping the refdes number constant.  This eliminates the
jumping around to unplaced units when placing new multi-unit symbols

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21378
2025-07-25 16:16:09 -07:00
Seth Hillbrand
9fff1d955e Add Contains search to SCHEMATIC 2025-07-25 16:16:09 -07:00