Commit Graph

43096 Commits

Author SHA1 Message Date
JamesJCode 76cb7cf54a Clear all dirty connectivity flags on symbols
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17984

When moving / deleting a power symbol, in some instances the
symbol is marked dirty, and sometimes the pin (depending on
whether the symbol is the primary edited item, or whether
the pin is identified through an edited item subgraph). If
the pin and the symbol are marked dirty, the pin dirty flag
was not being cleared.

Additionally, not all extracted items were being deleted
from subgraphs correctly.

Both resulted in dirty state and duplicated items in the
subgraphs during incremental connectivity, which resulted
in essentially corrupted subgraph states.
2024-05-22 21:51:02 +01:00
Seth Hillbrand 47e4ebb32a Re-enable moving of all footprint text in board
Seems like a lot of people really like to be able to modify the text
positions/content of their footprints

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18024
2024-05-22 10:36:12 -07:00
Jeff Young debc94ff49 Rewrite Eagle rotated text algorithm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18019
2024-05-22 18:18:47 +01:00
jean-pierre charras 6fc662188f Gerbview: fix a minor issue.
When the option "always hide all layers but active" is set, the active layer
changed using hotkeys or Toolbar layer selector did not update the visible
selection.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18059
2024-05-22 17:25:01 +02:00
John Beard 882c766493 Always update geometry on dimension property change
Anything that changes the text may also need to change the geometry,
as the text might cause knockouts of the dimension lines.

Resolves several avenues for the property manager to make changes
that 'forget' to update aspects of dimensions.
2024-05-22 22:08:51 +08:00
John Beard af74d2a746 Pcbnew: Fix context menu when moving
The EDIT_TOOL is actually 'co-operating' with the SELECTION_TOOL
by putting its tools into the SELECTION_TOOL's menu. This means
the EDIT_TOOL::m_menu is sad and empty inside, and if you show it,
it either doesn't show at all, or a tiny stub is shown.
2024-05-22 11:15:52 +08:00
Jeff Young f4f3f52fd4 Improve Eagle rotated text importing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18019
2024-05-22 01:16:06 +01:00
Jeff Young 560f6f87e5 Silkscreen clearance tests are run across layer pairs.
(So any rule areas must pretend they're on all the
given side's layers to get expected results.)
2024-05-22 01:16:06 +01:00
Jeff Young ab2fdfb9cc Formatting. 2024-05-22 01:16:06 +01:00
Seth Hillbrand 819bdf4372 Fix qa failure 2024-05-21 16:26:00 -07:00
Roberto Fernandez Bautista ee3533baeb kicad-cli sym export svg: Ensure bounding box is correctly calculated
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18062


(cherry picked from commit 3e5ceaa319)

Co-authored-by: Roberto Fernandez Bautista <roberto.fer.bau@gmail.com>
2024-05-21 20:00:35 +00:00
jean-pierre charras a53dd998b9 Clipper2: fix a compil warning with gcc 14 (already fixed in Clipper2 repo) 2024-05-21 19:56:49 +02:00
Seth Hillbrand 3aa5c1885f Update translations 2024-05-21 09:38:53 -07:00
Ivan Chuba dbf74a4be1
Translated using Weblate (Ukrainian)
Currently translated at 84.5% (7951 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2024-05-21 18:36:29 +02:00
CloverGit 930c6acb33
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (9399 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-05-21 18:36:29 +02:00
Henrik Kauhanen 30a5c8bb55
Translated using Weblate (Swedish)
Currently translated at 99.9% (9400 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2024-05-21 18:36:28 +02:00
pominglee c249ac0506
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (9405 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2024-05-21 18:36:28 +02:00
pominglee 3406915b51
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (9404 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2024-05-21 18:36:28 +02:00
pominglee 5087244ca6
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (9404 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2024-05-21 18:36:28 +02:00
pominglee 08a9d66ab3
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (9404 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2024-05-21 18:36:28 +02:00
pominglee 91a71b45a7
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (9404 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2024-05-21 18:36:28 +02:00
Toni Laiho 81705edb0f
Translated using Weblate (Finnish)
Currently translated at 99.9% (9404 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2024-05-21 18:36:28 +02:00
Ulices bebdc54d24
Translated using Weblate (Spanish (Mexico))
Currently translated at 96.5% (9082 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2024-05-21 18:36:28 +02:00
Nguyễn Ngọc Khánh 3c0d050e97
Translated using Weblate (Vietnamese)
Currently translated at 20.5% (1937 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/vi/
2024-05-21 18:36:28 +02:00
2tama3 3fe8851e29
Translated using Weblate (Japanese)
Currently translated at 97.1% (9141 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:28 +02:00
Pferd O cbd39e65e2
Translated using Weblate (German)
Currently translated at 99.6% (9371 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-05-21 18:36:28 +02:00
2tama3 44e9a173e6
Translated using Weblate (Japanese)
Currently translated at 97.1% (9141 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:28 +02:00
Tokita, Hiroshi c697aa450b
Translated using Weblate (Japanese)
Currently translated at 97.1% (9141 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:28 +02:00
Ettore Atalan f9871a21ad
Translated using Weblate (German)
Currently translated at 99.5% (9360 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-05-21 18:36:28 +02:00
Tokita, Hiroshi 975034486c
Translated using Weblate (Japanese)
Currently translated at 96.9% (9118 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:28 +02:00
Yutaro Urata2 f865a0ae23
Translated using Weblate (Japanese)
Currently translated at 96.9% (9118 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:27 +02:00
Tokita, Hiroshi 99e8eac2c1
Translated using Weblate (Japanese)
Currently translated at 96.9% (9118 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-05-21 18:36:27 +02:00
Toni Laiho 1c9a7250a4
Translated using Weblate (Finnish)
Currently translated at 99.9% (9403 of 9405 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2024-05-21 18:36:27 +02:00
pominglee 528f59e188
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.5% (9361 of 9405 strings)

Co-authored-by: pominglee <pominglee@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Andrew a70ed9c644
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.5% (9361 of 9405 strings)

Co-authored-by: Andrew <yenchang.lin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
zly20129 6952016bf9
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.7% (9384 of 9405 strings)

Co-authored-by: zly20129 <zly20129@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Laurens Holst 024c4d357a
Translated using Weblate (Dutch)
Currently translated at 99.1% (9328 of 9405 strings)

Co-authored-by: Laurens Holst <laurens@grauw.nl>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nl/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Tokita, Hiroshi 35f9b79f87
Translated using Weblate (Japanese)
Currently translated at 96.9% (9117 of 9405 strings)

Co-authored-by: Tokita, Hiroshi <tokita.hiroshi@fujitsu.com>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Henrik Kauhanen 1ecb58058a
Translated using Weblate (Finnish)
Currently translated at 97.9% (9212 of 9405 strings)

Translated using Weblate (Swedish)

Currently translated at 99.9% (9399 of 9405 strings)

Translated using Weblate (Finnish)

Currently translated at 97.9% (9211 of 9405 strings)

Co-authored-by: Henrik Kauhanen <henrik@kauhanen.se>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Wellington Terumi Uemura b1c2833b5d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9405 of 9405 strings)

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
ZbeeGin 5d1a2ed968
Translated using Weblate (Polish)
Currently translated at 100.0% (9405 of 9405 strings)

Translated using Weblate (Polish)

Currently translated at 99.8% (9394 of 9405 strings)

Co-authored-by: ZbeeGin <zbeegin@op.pl>
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
Translation: KiCad EDA/master source
2024-05-21 18:36:27 +02:00
Seth Hillbrand e097f88d56 Avoid snapping to edge cuts when routing
Snapping happens to elements on copper layers but edge cuts is only
_virtually_ on copper layers.  We need to set its routable flag off to
ensure we don't force-snap to the snap points

(cherry picked from commit c248993a84)
2024-05-21 09:34:45 -07:00
Seth Hillbrand 4a800adffc Avoid int overflow in collisions
When calculating arc collisions, avoid overflowing the integer distance,
which gives a false nearest point

(cherry picked from commit 0a227ea916)
2024-05-21 09:34:45 -07:00
Seth Hillbrand 64e3e17143 Reserve shift for grid modification
(cherry picked from commit f75e6dae84)
2024-05-21 09:34:45 -07:00
Seth Hillbrand f22c904352 Ensure that arc closest positions are matched
We switch from squared to absolute calcualtion when calling into the arc
collision so be sure to catch the new positions and distances

(cherry picked from commit 160a493885)
2024-05-21 09:34:45 -07:00
Seth Hillbrand 8147527437 Optimize SHAPE_ARC collisions
Handle arcs that are actually circles

Ensure that we get a good clearance value even inside arcs
2024-05-21 09:34:45 -07:00
Seth Hillbrand be0e058807 Optimize ARC hulls in PNS
If we can't route through the arc opening, then it is effectively a
circle and we can treat it as such.
2024-05-21 09:34:45 -07:00
Seth Hillbrand 83ad0d5fad Honor Ctrl+Shift combo when starting routing
We want to be able to start routing at an arbitrary point if we
explicitly disable the snapping and grid together
2024-05-21 09:34:45 -07:00
Seth Hillbrand 57c0953c39 Return closest point on line-circle intersection
Don't only look for the segment endpoints when asking the closest point.
If we have a collision, we need to get the collision point
2024-05-21 09:34:45 -07:00
Jeff Young a5436c92d1 Fix build issue. 2024-05-21 17:16:21 +01:00