Commit Graph

38370 Commits

Author SHA1 Message Date
Seth Hillbrand 4d8269c5fd Correct usage signature for PNS_NODE::Add()
When moving a unique_ptr, you are actually passing the object, not a
reference to the object.  So we either std::move with the bare
unique_ptr parameter or we pass a reference.  But we should never pass
an rvalue reference for this or we'll make a copy without holding the
tracking (because it was moved)

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

(cherry picked from commit b2a25cb59e)
(cherry picked from commit 38df918993)
2024-03-01 14:46:40 -08:00
Seth Hillbrand 99ac73630a Do not re-number aperture pads
Aperture pads do not have numbers, so reserving space for them will
cause the actual numbered pads to become out of order

(cherry picked from commit d3334ed9f0)
2024-03-01 13:05:06 -08:00
Jeff Young bec70ff39d Add wxGrids to list of things that get arrow keys.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17144

(cherry picked from commit f754410c7e)
2024-02-29 18:18:39 +00:00
Jeff Young cd5827a694 Check env vars when testing for unresolved variables.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17174

(cherry picked from commit 27031dd2c5)
2024-02-29 18:18:39 +00:00
Jeff Young a32e7a44e3 Unflip when going to viewport which isn't flipped.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13773

(cherry picked from commit c23550dc0b)
2024-02-29 18:18:39 +00:00
Jeff Young 8c3c82153d The ruler tool is not part of InteractiveEdit.
(In particular, it should not return true to IsEditorTool().)

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

(cherry picked from commit 48130c6982)
2024-02-29 18:18:39 +00:00
Yon Uriarte 28e433cc54 Performance UpdateDanglingState
Avoid O(N^2) by spatial sorting, don't run checks if the bounding boxes
don't overlap.
A second copy is ordered by type to help classes that only want to check
a few types having to walk the whole list.

(cherry picked from commit b7b64d959f)
2024-02-23 14:56:17 -05:00
Yon Uriarte 3fd353d837 Performance SCH_EDIT_FRAME::SchematicCleanUp
Avoid O(N^2) comparisonis by spatial presorting. If bounding boxes don't
overlap there's no need to run expensive checks.

(cherry picked from commit f3c2083018)
2024-02-23 14:48:35 -05:00
Roberto Fernandez Bautista f238e09990 Legacy libraries: De-duplicate field names on load
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16902
2024-02-22 21:36:03 +01:00
Roberto Fernandez Bautista b0b523bfdb Revert "Duplicate field names not allowed - throw exception on load"
This reverts commit 9f20816b24.
2024-02-22 21:19:07 +01:00
Wayne Stambaugh e5ef33d227 Begin version 7.0.12 development. 2024-02-21 07:43:43 -05:00
Wayne Stambaugh f67945aae9 Tag release version 7.0.11. 2024-02-21 07:39:11 -05:00
Seth Hillbrand f74e4fa73e Update translations 2024-02-19 11:26:11 -08:00
pondahai efaa3b5ca8
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.8% (8012 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/zh_Hant/
2024-02-19 20:25:37 +01:00
CloverGit 0ad919d043
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (8023 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/zh_Hans/
2024-02-19 20:25:37 +01:00
Laurens Holst dc2b87aa75
Translated using Weblate (Dutch)
Currently translated at 98.2% (7883 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-19 20:25:37 +01:00
Laurens Holst b65d3c80a3
Translated using Weblate (Dutch)
Currently translated at 96.4% (7738 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-19 20:25:37 +01:00
Tokita, Hiroshi 12e03b0fcf
Translated using Weblate (Japanese)
Currently translated at 99.9% (8023 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ja/
2024-02-19 20:25:37 +01:00
Ulices e964ccb6b5
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (8025 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-19 20:25:37 +01:00
Laurens Holst 994cabf4c0
Translated using Weblate (Dutch)
Currently translated at 93.9% (7543 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-19 20:25:37 +01:00
Ulices 5f9f31605f
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-19 20:25:37 +01:00
dsa-t db2b94e1c6
Translated using Weblate (Thai)
Currently translated at 89.4% (7181 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/th/
2024-02-19 20:25:37 +01:00
dsa-t a37ffabd27
Translated using Weblate (Swedish)
Currently translated at 100.0% (8025 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/sv/
2024-02-19 20:25:37 +01:00
dsa-t de8b22ac10
Translated using Weblate (Russian)
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ru/
2024-02-19 20:25:37 +01:00
Wellington Terumi Uemura 30f6135ad6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8025 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/pt_BR/
2024-02-19 20:25:37 +01:00
dsa-t 9e50e37fdd
Translated using Weblate (Polish)
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/pl/
2024-02-19 20:25:37 +01:00
Laurens Holst 50d8178482
Translated using Weblate (Dutch)
Currently translated at 92.7% (7443 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-19 20:25:37 +01:00
dsa-t e4cf45edce
Translated using Weblate (Japanese)
Currently translated at 99.9% (8023 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ja/
2024-02-19 20:25:37 +01:00
dsa-t b6b85fa652
Translated using Weblate (Finnish)
Currently translated at 99.9% (8020 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/fi/
2024-02-19 20:25:37 +01:00
dsa-t dad2e485da
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-19 20:25:37 +01:00
Ulices 63999f25fa
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-19 20:25:37 +01:00
dsa-t f23f43961f
Translated using Weblate (Greek)
Currently translated at 99.9% (8019 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/el/
2024-02-19 20:25:36 +01:00
Henrik Kauhanen 16594a65a2
Translated using Weblate (Swedish)
Currently translated at 100.0% (8025 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/sv/
2024-02-19 20:25:36 +01:00
dsa-t de32417df1
Translated using Weblate (Russian)
Currently translated at 99.9% (8024 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ru/
2024-02-19 20:25:36 +01:00
Laurens Holst bb779c87f3
Translated using Weblate (Dutch)
Currently translated at 91.3% (7327 of 8025 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-19 20:25:36 +01:00
jean-pierre charras 3dedd899f7 3D view export to PNG/JPEG: ensure highlighted item under cursor is exported
not highlighted.
Fixes #14289
https://gitlab.com/kicad/code/kicad/-/issues/14289
2024-02-19 16:52:08 +01:00
jean-pierre charras 5eb265080f try to cherry pick commit 7fd9226bec from master:
Fix issue in CalcArcCenter( VECTOR2D& aStart, VECTOR2D& aMid, VECTOR2D& aEnd )
It happens when the segment (aStart, aMid) is horizontal
Probably also when the segment (aEnd, aMid) is horizontal
Slopes with value 0.0 are set to double:: epsilon(), but it was a too small values
generating broken calculations.
Now set to 1e-10 (it seems working).
Fixes #16089
https://gitlab.com/kicad/code/kicad/-/issues/16089
2024-02-19 15:52:37 +01:00
Wayne Stambaugh 3329affc12 Fix crash when changing sheet file name that contains a highlighted net.
Performing a full connectivity rebuild after changing a sheet file name
ensures that there are no stale connectivity object pointers laying around.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17011
2024-02-17 09:42:13 -05:00
Wayne Stambaugh fce66a0372 Tag stable version 7.0.11 release candidate 4. 2024-02-16 09:07:03 -05:00
Jon Evans 780df7262b Re-enable non-KiCad board import when non-standalone
Partial revert of 37ac2ee0a
2024-02-15 12:16:16 -05:00
Seth Hillbrand 8a3a11e2f8 Fully backport polygon triangulation from 8.0 2024-02-15 09:00:55 -08:00
Seth Hillbrand 5878ac5aaf Updated revision of polygon triangulation from 0a67dd3fdd
This maintains the primary goal of ensuring that bad splits do not allow
the triangulation process to continue.  Instead, we boot this back up to
the top-level where we will simplify the polygon before triangulating
again.

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

(cherry picked from commit f1dacf7d92)
2024-02-14 11:44:23 -08:00
Seth Hillbrand 22cebd8e71 Update translations 2024-02-14 10:31:32 -08:00
Hanna Breisand 0f2f953476
Translated using Weblate (Swedish)
Currently translated at 100.0% (8026 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/sv/
2024-02-14 19:24:11 +01:00
Laurens Holst 205db57971
Translated using Weblate (Dutch)
Currently translated at 88.2% (7085 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-14 19:24:09 +01:00
김랑기 d607249e81
Translated using Weblate (Korean)
Currently translated at 100.0% (8026 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ko/
2024-02-14 19:24:08 +01:00
Ulices 5b9b49cf2b
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (8026 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-14 19:24:06 +01:00
Laurens Holst 045b00bac7
Translated using Weblate (Dutch)
Currently translated at 87.4% (7019 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nl/
2024-02-14 19:24:04 +01:00
김랑기 c297a4e2b3
Translated using Weblate (Korean)
Currently translated at 100.0% (8026 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/ko/
2024-02-14 19:24:03 +01:00
Ulices 4c9273206a
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.9% (8023 of 8026 strings)

Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/es_MX/
2024-02-14 19:24:01 +01:00