48933 Commits

Author SHA1 Message Date
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
Seth Hillbrand
fd7abdfdd5 Bug fix for RefDes Tracker
When pasting, set the pastedSheetPath reference list tracker.  This is a
follow-on fix for https://gitlab.com/kicad/code/kicad/-/issues/13052
2025-07-25 16:16:09 -07:00
Seth Hillbrand
0e83bf9bc4 Fix position of hidden locked filter 2025-07-25 16:16:09 -07:00
Jeff Young
61bb922077 Not all SCH_ITEMs are symbol children.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21380
2025-07-25 18:03:49 +01:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
jean-pierre charras
93d90962e5 FOOTPRINT_CHOOSER_FRAME: add tool-tips to buttons; PROJECT_TEMPLATE: fix strings
Translated strings must use Printf to be built, and cannot be created by
concatenating sub strings that fixes the word ordering (that should be
depending on language)
2025-07-25 10:09:47 +02: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
e6f06456db Add area to Zone search panel
If the zone is a filled area, show the total filled area.  If it is a
rule area, show the area to which the rule applies (the outline area)
2025-07-24 11:22:34 -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
Seth Hillbrand
16f82d1de5 Junctions are wires in schematic editor
Treat junctions like wires for the purposes of the selection filter.
Allows selecting them together with wires and avoids grouping with
"Other Items" which is confusing
2025-07-24 10:52:27 -07:00
Seth Hillbrand
40125c73d0 Add option to D356 output to suppress NC pads
Since this is a net test format, some importers do not like dealing with
NC pads
2025-07-24 10:25:52 -07:00
Jeff Young
14c9ed1fda Prevent stale selection when deleting grid rows. 2025-07-24 18:16:21 +01:00