46971 Commits

Author SHA1 Message Date
Seth Hillbrand
4df101b94e 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

(cherry picked from commit ca51b0f37ddbaf2f285b6a17833ac4fb340e8490)
2025-03-06 16:10:08 -08:00
Seth Hillbrand
cf78215276 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

(cherry picked from commit 81fcc16cc9c15dbc3f03af59a42535c75f720dcf)
2025-03-06 15:20:44 -08:00
JamesJCode
ed5ec0f749 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

(cherry picked from commit 54540f9e827968a35ab44aef79e3d005ece8c916)
2025-03-06 21:45:38 +00:00
Seth Hillbrand
2da1294492 Fix IsEffectiveLine calculation
We sometimes represent circles as 360° arcs.  These are approximately
colinear but are definitely not a line

(cherry picked from commit c24832f72b2b636dd7cfb9dce29ef9133b5d3908)
2025-03-06 12:45:39 -08:00
Wayne Stambaugh
04733511fc 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.

(cherry picked from commit a1b78d170decaec8e17cd930d9eef9158a436b4f)
2025-03-06 15:42:03 -05:00
JamesJCode
1414e90ce9 Fix Specctra export for multiple netclasses
(cherry picked from commit 57952a7a8639e637a10e2c1cc557b104c0d2d513)
2025-03-06 20:25:58 +00:00
Seth Hillbrand
5c492429be 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

(cherry picked from commit 8e048d0c42a85add48470c3eb0ad6acbaf3ab283)
2025-03-06 12:18:57 -08:00
jean-pierre charras
e9e2c9399b French translation update 2025-03-06 18:12:27 +01:00
jean-pierre charras
58422f2c97 SCH_IO_MGR::GuessPluginTypeFromLibPath(): fix issue for new .kicad_sym files
GuessPluginTypeFromLibPath() was previously testing the type, but also the
existence of the lib file of *.kicad_sym filename, but when creating a new lib,
its existence obviously must not be tested

(cherry picked from commit e54c73b516b874e577c69daaf554819a6d5c0383)
2025-03-06 18:12:27 +01:00
Jeff Young
618077bbf2 Resolve hotkey conflicts.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18201
2025-03-06 16:15:23 +00:00
Jeff Young
6aa274bc0d Formatting.
(cherry picked from commit 52648497b2c226a31cb15e6d259dbdeba258933f)
2025-03-06 16:15:23 +00:00
Jeff Young
12f460cc7a Don't treat version-bumped file as modified.
But do allow Save to still work.

(cherry picked from commit 5c91a7fa3a2f6b3972b4c7333f1e43521e645653)
2025-03-06 16:15:23 +00:00
JamesJCode
cbe22a23b8 Enable use of double properties in DRC rules expression parser
Also fixes name clash with Orientation property for footprints

(cherry picked from commit 671d84562be4433630294eaa2ab447a5abdbf9ec)
2025-03-06 15:41:40 +00:00
jean-pierre charras
0f8f9214b0 Fix compil issue on mingw (missing change from OUTPUT to DESTINATION)
(cherry picked from commit a32c0a86872e4f53a77a95dfd3b5998d743c2a09)
2025-03-06 15:59:58 +01:00
Jeff Young
4f63cb6a26 Move arrow direction to more appropriate section.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20208

(cherry picked from commit 124eccb710784ea9a00daa3a351acde00ba4104c)
2025-03-06 14:26:59 +00:00
Alex Shvartzkop
64d8bbd1d9 Update translations 2025-03-06 13:54:46 +03:00
Marco Ciampa
f957dfa218
Translated using Weblate (Italian)
Currently translated at 95.8% (9540 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/it/
2025-03-06 11:53:21 +01:00
CloverGit
0d18ad188b
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.8% (9939 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/zh_Hans/
2025-03-06 11:53:21 +01:00
Henrik Kauhanen
bf189855f8
Translated using Weblate (Swedish)
Currently translated at 99.9% (9950 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/sv/
2025-03-06 11:53:21 +01:00
Marco Ciampa
81658cb2c9
Translated using Weblate (Italian)
Currently translated at 95.6% (9523 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/it/
2025-03-06 11:53:21 +01:00
Henrik Kauhanen
5e80f4bf32
Translated using Weblate (Finnish)
Currently translated at 99.1% (9870 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/fi/
2025-03-06 11:53:21 +01:00
Kliment
684b92dfa6
Translated using Weblate (Finnish)
Currently translated at 99.1% (9870 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/fi/
2025-03-06 11:53:20 +01:00
Henrik Kauhanen
22e2850cdc
Translated using Weblate (German)
Currently translated at 99.9% (9949 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/de/
2025-03-06 11:53:20 +01:00
Pferd O
be7b69172f
Translated using Weblate (German)
Currently translated at 99.9% (9949 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/de/
2025-03-06 11:53:20 +01:00
Kliment
07f74ab56e
Translated using Weblate (German)
Currently translated at 99.9% (9949 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/de/
2025-03-06 11:53:20 +01:00
Henrik Kauhanen
89bbaa6d2e
Translated using Weblate (Swedish)
Currently translated at 99.9% (9946 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/sv/
2025-03-06 11:53:20 +01:00
Kliment
ce8737936e
Translated using Weblate (Finnish)
Currently translated at 98.7% (9830 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/fi/
2025-03-06 11:53:20 +01:00
Kliment
8c45d3621e
Translated using Weblate (German)
Currently translated at 99.9% (9946 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/de/
2025-03-06 11:53:20 +01:00
Wellington Terumi Uemura
bae042b934
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9951 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/pt_BR/
2025-03-06 11:53:20 +01:00
CloverGit
5e724a2909
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.8% (9939 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/zh_Hans/
2025-03-06 11:53:20 +01:00
Henrik Kauhanen
4810f50083
Translated using Weblate (Swedish)
Currently translated at 99.9% (9944 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/sv/
2025-03-06 11:53:20 +01:00
co8 j
771c6b21df
Translated using Weblate (Japanese)
Currently translated at 99.9% (9946 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/ja/
2025-03-06 11:53:20 +01:00
Pferd O
5f1feb4532
Translated using Weblate (German)
Currently translated at 99.8% (9934 of 9951 strings)

Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/de/
2025-03-06 11:53:20 +01:00
Jeff Young
759b279009 Allow a no-connect to connect to a single pin (but not multiple pins).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20222
2025-03-06 10:26:30 +00:00
Jeff Young
456fc581f1 Don't flag double no-connect annotations.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20222
2025-03-06 10:26:30 +00:00
Jon Evans
d18d47fbeb Fix accidental removal of properties pane
(cherry picked from commit 984041f57ee1133b21503c320da7e4851419b84f)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-03-05 17:45:19 -05:00
JamesJCode
efae811143 Fix incorrect inequality in component class expression evaluation
(cherry picked from commit a091b6c1c9b28b2782a40ff167fed082b5f13442)
2025-03-05 19:11:12 +00:00
Jeff Young
f7eb925bfe An arbitrary layer flip can not be done without the board.
(User-defined layers can be sided or not.)

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

(cherry picked from commit 9856cb2210e49dbf84abbbc2e6f0272ce7ed8479)
2025-03-05 18:01:09 +00:00
Jeff Young
f92c46d585 User layer bug fixes.
1) Don't set user layer count right after we've
cleared the enabled user layers.  (It will
always be 0 by then.)

2) Allow un-enabled layers in some layer
selectors.  (Currently this is just the private
layers selector.

3) Reset the appearance panel layers each time a
footprint is loaded.  Also, auto-enable any user
layers that the footprint already has.

4) Footprint editor layer visibility is stored in
the view, not in the boars (as is usual).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20022
2025-03-05 16:39:52 +00:00
Tomasz Wlostowski
648c3aec39 IO_BASE: don't try to modify the case of a temporary string in-place, work on a copy
(cherry picked from commit 6a0efe6883b8032bdde6231efae9689df5532564)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20228
2025-03-05 12:21:52 +00:00
Jeff Young
46ef12ff4d Implement severity checking for CLI_REPORTER.
(cherry picked from commit 699fd2b3acc55f003d2bbafac210b8371fa36bfe)
2025-03-05 11:56:48 +00:00
Jon Evans
477f856e9a Fix pad edit fighting with active group
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20129


(cherry picked from commit 50507212fd236bd6f6a7dc58958b1ac637e4fe09)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-03-05 00:05:18 -05:00
Jon Evans
3a1cb402ad Improve 259e249a for macOS
(cherry picked from commit a6ef2d97fbe29d4d051ee7570bb6016031d9d755)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-03-04 22:57:02 -05:00
Jon Evans
9c50f208af Improve default sizes of right panels
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19965


(cherry picked from commit 259e249aedf71b378826b78bdfa211dff460d22d)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-03-04 22:56:53 -05:00
Jeff Young
0d9daa372e Keep user-defined common layers order.
(And use it when plotting.)

(And don't shadow it with a second variable.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20214
2025-03-04 23:37:02 +00:00
Jeff Young
91a2edd16f Don't add CONSTRUCTION_GEOM to the selection.
We'll crash later after it gets freed.
2025-03-04 14:13:26 +00:00
Jeff Young
765c4ffce6 Report errors from jobset plotting.
Also fixes an out-of-scope smart-pointer access.
2025-03-04 13:26:04 +00:00
Wayne Stambaugh
50b8b797f7 Test full LIB_ID in symbol footprint filter match DRC.
Apparently newer symbol libraries are using the library nickname in the
footprint filter string.  The symbol footprint filter match DRC was only
checking the footprint name against the new filter which would always
fail.  A test against the full LIB_ID string is now performed when the
filter string contains the library separator character ':'.  The ERC test
already performed this check.

(cherry picked from commit 001d3dfd884efb120d491514294306ecc9b132d0)
2025-03-04 08:06:15 -05:00
Jeff Young
9025f04f20 Button margins.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20207
2025-03-04 12:39:33 +00:00
Damjan
ce2b4a7b16 pcbnew: Plotting tables with non-90 degree rotation angles is not working
(cherry picked from commit b419058df3eba6043e7e53dda857f8acfc24f821)
2025-03-04 12:11:05 +00:00