Jeff Young
0a3f14c855
Sync selection & selection flags after replacing fields.
2025-03-09 11:47:31 +00:00
Jeff Young
1f620e9cca
forAllGeometryItems must account for PCB_GROUP descendants.
2025-03-09 11:47:31 +00:00
Jeff Young
e163c40e54
Formatting.
2025-03-09 11:47:31 +00:00
JamesJCode
85e6978aa2
Mirror netclass DRC expression semantics for component classes
...
With this change, "A.Component_Class == 'SOME_CLASS'" will return
true if either SOME_CLASS exists in the list of component classes
attached o the footprint, or if SOME_CLASS is the full component
class name.
2025-03-08 22:18:22 +00:00
Jeff Young
50174ec528
Beware of infinite recursion on colliding hatched shapes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20264
2025-03-08 21:23:14 +00:00
Marek Roszko
ab6ee168cf
Convert PDF_PLOTTER to fmtlib
2025-03-08 14:29:20 -05:00
Jeff Young
241962a84d
When following board or plot settings, write results to current config.
...
Also adds migration from older layer numbers to strings.
This may require users to dump their 9.0 settings files
(which will have the wrong layer numbers in them), but
those files are often useless anyway as they'll already
have messed up colours if they were migrated from 8.0.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18709
2025-03-08 19:11:23 +00:00
jean-pierre charras
6729e313a5
Pcbnew, DIALOG_DRC: fix incorrect behavior of Shaw All checkbox.
2025-03-08 18:23:08 +01:00
jean-pierre charras
4ef627edb9
GERBER_PLOTTER: fix missing separator (comma) after ADDxxOutlinexP
...
It was missing after commit 2cdc1ed8
2025-03-08 16:36:49 +01:00
Marek Roszko
2cdc1ed88e
Move GERBER_PLOTTER to fmtlib
2025-03-08 07:56:54 -05:00
jean-pierre charras
9a1cf81ca6
Pcbnew: remove dead code.
...
The export SVG dialog was removed some time ago (merged with plot svg).
But some settings of this removed dialogs were not removed.
2025-03-08 10:09:47 +01:00
jean-pierre charras
9d1b320896
Fix compil warnings
2025-03-08 09:40:23 +01:00
Seth Hillbrand
641e06e67c
Removed shared_ptr circular references
...
When A references B and B references A, the shared pointer reference
count will never go to zero by just removing the parent container. We
need to explicitly clear the shared pointer references when we are done
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20272
2025-03-07 17:31:02 -08:00
Seth Hillbrand
4ef81ee3ea
Revert "Remove prototype zone fill option"
...
This reverts commit 3f17aabcd0
.
2025-03-07 15:25:13 -08:00
Seth Hillbrand
4f6a73d83c
Prevent ERC error with NC pin+NC marker
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20222
2025-03-07 15:24:30 -08:00
Seth Hillbrand
3f17aabcd0
Remove prototype zone fill option
...
This option is not exposed in the UI or advanced config and duplicates
the action of changing the zone fill type and creates additional ways
that boards can be modified by local, non-board settings.
2025-03-07 13:45:40 -08:00
Damjan
bded181ad0
pcbnew: table rotation: table jumps if rotation ends at 180°
2025-03-07 20:38:56 +00:00
Jeff Young
95d8634401
Fix drawing of selected/highlighted local power port labels.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20262
2025-03-07 20:33:19 +00:00
Jeff Young
eedd811c0a
Fix bad static_cast.
2025-03-07 18:42:45 +00:00
Jeff Young
880442e8ed
Propagate damage from footprint children.
2025-03-07 17:52:53 +00:00
Jeff Young
b532a849b8
Don't attempt to knockout self from hatching.
2025-03-07 17:52:53 +00:00
Seth Hillbrand
b401505259
Fix previous commit
2025-03-07 08:42:35 -08:00
Seth Hillbrand
1157b5b0b3
Add missing arch directory to appimage plugin
2025-03-07 08:42:12 -08:00
Seth Hillbrand
2b557c5497
Revert "Allow a no-connect to connect to a single pin (but not multiple pins)."
...
This reverts commit ee4a6127c6
.
2025-03-07 08:10:04 -08:00
Jeff Young
0fae6a0db0
Initialize field ordinals for LIB_SYMBOLs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20263
2025-03-07 15:52:31 +00:00
Jeff Young
727fc9bd06
Fix merge mess-up.
2025-03-07 13:23:57 +00:00
Marek Roszko
dd4c9af265
Move HPGL_PLOTTER to fmtlib
2025-03-07 08:02:13 -05:00
Jeff Young
877c6bce89
Printing is not zoom-specific.
...
(Some of these items don't currently get printed, but
there's no sense in leaving a latent bug around in case
we ever change our minds.)
2025-03-07 13:01:00 +00:00
Jeff Young
ce5469b95e
Support ctrl-delete for delete word forward.
...
(On non-Macs, anyway. Mac doesn't appear to use this
paradigm.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20248
2025-03-07 13:01:00 +00:00
Marek Roszko
a1e897c245
Move PS_plotter to fmtlib
...
Also we wrote %Page but the postscript standard wants %%Page
2025-03-07 07:05:13 -05:00
Seth Hillbrand
7558b49afd
Ensure all via layers are printed
2025-03-06 17:57:34 -08:00
Seth Hillbrand
ca51b0f37d
Ensure imported schematic sheet names are unique
...
Altium doesn't require sheet names to be unique but KiCad does, so we
disambiguate the names when importing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19281
2025-03-06 16:08:04 -08:00
Seth Hillbrand
81fcc16cc9
Fix multi-unit symbol import in Altium sch
...
Set the library symbol equal to total unit count so that we can assign
elements to the correct unit in the SCH_SYMBOL
2025-03-06 15:18:51 -08:00
JamesJCode
54540f9e82
Don't dereference null COMPONENT_CLASS in testFootprintSelector
...
This can happen when running standalone, where component classes
have not been resolved.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20235
2025-03-06 21:43:52 +00:00
Seth Hillbrand
c24832f72b
Fix IsEffectiveLine calculation
...
We sometimes represent circles as 360° arcs. These are approximately
colinear but are definitely not a line
2025-03-06 12:45:10 -08:00
JamesJCode
57952a7a86
Fix Specctra export for multiple netclasses
2025-03-06 20:24:56 +00:00
Seth Hillbrand
8e048d0c42
Printing should never hide small elements
...
Since it is effectively infinite resolution, pass the vectors to the
printer and let it decide if there should be a dot there or not. Hiding
based on perspective is a screen optimization
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20226
2025-03-06 12:18:38 -08:00
Wayne Stambaugh
a1b78d170d
Use case insensitive comparison in symbol footprint filter match DRC.
...
This keeps the DRC test in line with the ERC test which is also case
insensitive.
2025-03-06 15:12:57 -05:00
Jeff Young
413468cd04
Resolve hotkey conflicts.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18201
2025-03-06 16:53:11 +00:00
Seth Hillbrand
8ee263b341
Ensure that layers are set prior to assigning nets
...
Zones will have their net code cleared if they are non-copper items, so
we need to ensure that the zone exists on a copper layer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20219
2025-03-06 08:49:25 -08:00
Seth Hillbrand
4b07565d35
Remove debug printing
2025-03-06 08:13:57 -08:00
JamesJCode
68b6c2d1da
Add Orientation DRC property QA check
2025-03-06 15:56:39 +00:00
Jeff Young
52648497b2
Formatting.
2025-03-06 15:47:18 +00:00
Jeff Young
5c91a7fa3a
Don't treat version-bumped file as modified.
...
But do allow Save to still work.
2025-03-06 15:37:18 +00:00
Jeff Young
124eccb710
Move arrow direction to more appropriate section.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20208
2025-03-06 14:26:25 +00:00
JamesJCode
671d84562b
Enable use of double properties in DRC rules expression parser
...
Also removes previous special-casing of FOOTPRINT Orientation
property as this is now supported natively
Also fixes name clash with Orientation property for footprints
2025-03-06 14:24:47 +00:00
JamesJCode
3d41eca856
Fix use of footprint Orientation property in DRC expression parser
2025-03-06 13:08:03 +00:00
Marek Roszko
c92014f759
Move DXF_PLOTTER to fmtlib
2025-03-06 07:26:47 -05:00
Alex Shvartzkop
c6ccb195a1
Update translations
2025-03-06 13:54:17 +03:00
Marco Ciampa
f104ded1d5
Translated using Weblate (Italian)
...
Currently translated at 96.0% (9646 of 10040 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/it/
2025-03-06 11:53:12 +01:00