48878 Commits

Author SHA1 Message Date
Jeff Young
8c72711662 Increase contrast on grid origin over grid.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13532
2025-07-24 00:11:27 +01:00
Seth Hillbrand
e387953490 ADDED refdes tracker
Provide an option to track ever reference designator ever used in the
project to prevent its reuse even if the component has been removed

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13052
2025-07-23 14:28:33 -07:00
jean-pierre charras
410a43a602 Try to fix an ambiguous cast for MSVC (round 3) 2025-07-23 19:33:36 +02:00
jean-pierre charras
998806b814 Try to fix an ambiguous cast for MSVC (round 2) 2025-07-23 18:36:11 +02:00
jean-pierre charras
4248f26bae Try to fix an ambiguous cast for MSVC 2025-07-23 18:03:37 +02:00
jean-pierre charras
eb473012a6 *.kicad_sch files: add missing quotes to uuid string for some grahic shapes.
Uuid strings are (like other strings) quoted, but a few items were missing quotes.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21360
2025-07-23 17:07:35 +02:00
Jeff Young
ec155c00f3 Comboboxes for units and body styles.
Also for pin-types in pad properties.

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
2025-07-23 14:35:37 +01:00
Jeff Young
c63e2edfff Allow setting Pin Function and Pin Type.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20992
2025-07-23 14:35:37 +01:00
Jeff Young
60d9713baf Consistent formatting. 2025-07-23 14:35:37 +01:00
Seth Hillbrand
b3ce6f26bb Optimize kissing poly routine
Inserting many points into the middle of a line chain is not as
efficient as just creating a new line chain and replacing the old one
(single allocation and copy vs many)
2025-07-22 14:43:15 -07:00
Seth Hillbrand
4221c1d93b Additional speed-up for outlines and fills
BBOX check before polgon point inside
Clean representation of segment iterator
Pre-allocate line chain space
2025-07-22 13:38:39 -07:00
Seth Hillbrand
4dab336f95 One more pass at optimizing the board outline gen
Instead of iterating through the segment list each time, we use a kdTree
structure to efficiently query a 2d point cloud for the nearest
neighbors

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21352
2025-07-22 12:49:13 -07:00
Seth Hillbrand
32f083e066 Properly thread soldermask item-item check 2025-07-21 15:10:03 -07:00
Seth Hillbrand
2aeecec9bd Remove Creepage generation from reporting
Recalculating creepeage every time we reported a new clearance error was
unneccesarily complex.  Since the clearance errors are always straight
lines, we just need to calculate the closest approach and present that
segment
2025-07-21 14:10:34 -07:00
Jeff Young
8c7dca7532 Don't promote pads to footprints for align/distribute.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21337
2025-07-21 21:31:34 +01:00
Jeff Young
c49156fb35 Naming conventions. 2025-07-21 20:59:26 +01:00
Jeff Young
da8abffea4 Code clarity. 2025-07-21 20:59:26 +01:00
Jeff Young
f1686cc568 Formatting. 2025-07-21 20:59:26 +01:00
Seth Hillbrand
ff41ab9d8a Thread footprint pad clearance DRC
This needs to run in multiple threads in order to speed up
2025-07-21 11:03:17 -07:00
Seth Hillbrand
faeaee824a Optimize zone-zone clearance checks
Improve the CREEPAGE_GRAPH:::GeneratePaths to skip unused checks.
Handle zone-zone paralellism better

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21353
2025-07-21 11:03:17 -07:00
Seth Hillbrand
4c03ab8ebb Finally remove other_math routines
Replace with standard SEG and VECTOR2 alternatives.  Add QA test for
additional SEG-line intersection routine
2025-07-21 11:03:17 -07:00
Seth Hillbrand
0459c54a92 Cleanup and clarify SEG::intersect and SEG::Collide
Fix handling of end point intersection case
Fix degenerate handling
Fix overflow cases
Simplify logic in SEG::Collide
Remove overly simplistic check for intersection

Add multiple QA regression tests
2025-07-21 11:03:17 -07:00
Jeff Young
9d074c1679 See if we can't fix the ever-growing window bug.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20120

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10609
2025-07-21 17:24:29 +01:00
Jeff Young
d0fe69bcda Formatting. 2025-07-21 16:29:50 +01:00
Jeff Young
3774d77cc7 Propagate from zone to free-via.
This must be open-coded as the CSM_PROPAGATION
algo ignores zones.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21251
2025-07-21 11:46:31 +01:00
Jeff Young
7cf028b457 Formatting. 2025-07-21 10:50:28 +01:00
Jeff Young
55a36c1ce7 CHANGED: retire the select-lib-table dialogs.
We now allow the user to specify which in the
New Library dialog.

Also retires the "Export power symbols too" dialog.

Also gives a bunch of file and library dialogs
more explicit titles.

Also removes separate code-paths for Export to
Library and Export to New Library.  The regular
code path has a "New Library..." button now.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
2025-07-20 19:06:40 +01:00
Jeff Young
d8cbafe858 Fix merge error. 2025-07-20 19:06:40 +01:00
Jeff Young
f2ecf87d1e Settings safety. 2025-07-20 19:06:40 +01:00
Seth Hillbrand
d53cbe638f Speed up massively slow outline convert
Avoid unneeded comparisons for segments that will never touch.  Helps in
pathological cases of O(10000+) segments in an outline

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21352
2025-07-19 17:28:05 -07:00
Seth Hillbrand
cb1bf5613e Remove context menu from position interactively
It was marked "TODO: This does not work" and indeed it crashed when
trying to use it on some items.  When it did not crash, it did not show
a menu, so the TODO was in fact accurate
2025-07-18 16:55:14 -07:00
Seth Hillbrand
3a06de0076 Consolidate ERC label warnings
If global or local labels are floating -> error
If global or local labels are only connected to one pin -> warning

Rather than forcing two different errors depending on whether the label
is local or global
2025-07-18 16:47:25 -07:00
Seth Hillbrand
21b9200744 Update translations 2025-07-18 08:09:33 -07:00
Seth Hillbrand
53b659dadc Update languages
Allow translators to view their work in the master branch
2025-07-18 08:08:33 -07:00
Seth Hillbrand
4f2c4f97c8 Update translations 2025-07-18 07:52:53 -07:00
CloverGit
9bc45805b1
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.6% (10240 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-07-18 16:51:11 +02:00
CloverGit
134c595f8c
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.6% (10240 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-07-18 16:51:11 +02:00
Stefan Bjornelund the Gnome
a2eae47400
Translated using Weblate (Swedish)
Currently translated at 99.7% (10359 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-07-18 16:51:10 +02:00
Stefan Bjornelund the Gnome
a19f62a903
Translated using Weblate (Swedish)
Currently translated at 99.7% (10359 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-07-18 16:51:10 +02:00
2tama3
d67f1be88a
Translated using Weblate (Japanese)
Currently translated at 98.2% (10204 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-07-18 16:51:10 +02:00
2tama3
995ff08826
Translated using Weblate (Japanese)
Currently translated at 98.2% (10204 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-07-18 16:51:10 +02:00
pominglee
f61f5f946a
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 96.3% (10001 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2025-07-18 16:51:10 +02:00
Stefan Bjornelund the Gnome
ba8bb5f021
Translated using Weblate (Swedish)
Currently translated at 99.7% (10357 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-07-18 16:51:10 +02:00
Luka Borkovic
0512c6ce6d
Translated using Weblate (Serbian)
Currently translated at 18.5% (1931 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sr/
2025-07-18 16:51:10 +02:00
Luka Borkovic
2f2bb4c96d
Translated using Weblate (Serbian)
Currently translated at 18.5% (1931 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sr/
2025-07-18 16:51:10 +02:00
Luka Borkovic
cd184656f0
Translated using Weblate (Serbian)
Currently translated at 18.5% (1931 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sr/
2025-07-18 16:51:10 +02:00
co8 j
ca2d58a4a5
Translated using Weblate (Japanese)
Currently translated at 98.1% (10189 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-07-18 16:51:10 +02:00
co8 j
b35a357b6b
Translated using Weblate (Japanese)
Currently translated at 98.1% (10189 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-07-18 16:51:10 +02:00
Sárkány Lőrinc
319bfd73b1
Translated using Weblate (Hungarian)
Currently translated at 32.3% (3363 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/hu/
2025-07-18 16:51:10 +02:00
Sárkány Lőrinc
dded4b3cae
Translated using Weblate (Hungarian)
Currently translated at 32.3% (3363 of 10384 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/hu/
2025-07-18 16:51:10 +02:00