Commit Graph

34848 Commits

Author SHA1 Message Date
Jeff Young 437d2c4589 Overhaul of remove-unconnected's zone filling and drawing strategies.
1) The highest priority zone that a via/pad collides with "owns" its
connectivity state.  Once set, lower priority zones cannot change it --
and in fact, if they would have connected to it are forced not to.

2) The connectivity state goes with the zone fill state, and therefore
must be saved in the file.

3) Display of remove-unconnected's pads is no longer done in GetViewLOD()
(which isn't called for selected items), and is instead done in PCB_PAINTER.
This allows us to draw the full pad in outline mode when a via/pad is
selected which would otherwise only show the hole.

4) Note that in some cases this will still generate DRC errors -- in
particular when a via nearly collides with a higher priority zone it
won't get "owned" by that zone and may therefore have insufficient
clearance if said zone concludes it's unconnected and a subsequent
(lower priority) zone connects to it (causing it to now become flashed).

Fixes https://gitlab.com/kicad/code/kicad/issues/11299
2022-10-18 13:05:42 +01:00
Mikolaj Wielgus ebd8ebb756 Add information about CC0 license 2022-10-18 06:16:50 +02:00
Mikolaj Wielgus e5704d7058 Update uopamp.lib.spice to be the same in all QA tests 2022-10-18 06:15:54 +02:00
Mikolaj Wielgus 6e874f4c1e Ngspice: Preload a basically empty circuit to avoid error messages
Fixes https://gitlab.com/kicad/code/kicad/issues/12481
2022-10-18 05:48:01 +02:00
Marek Roszko 9eb3854794 Bump vcpkg for patched wxpython 2022-10-17 19:49:12 -04:00
Wayne Stambaugh 598b09821a Coverity fixes. 2022-10-17 15:30:20 -04:00
Seth Hillbrand bd145a4904 Update metadata translation and devlist
Not all elements in the keyword section should be exported for
translation.  Also, retire the launchpad devlist link
2022-10-17 10:53:09 -07:00
Seth Hillbrand e50f6bd272 Update Translations 2022-10-17 10:06:43 -07:00
Ivan Chuba 4e39316fb7
Translated using Weblate (Ukrainian)
Currently translated at 84.2% (6640 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-10-17 19:05:24 +02:00
Stanislav Kaliuk 6104f933e9
Translated using Weblate (Ukrainian)
Currently translated at 84.2% (6640 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-10-17 19:05:24 +02:00
Ulices 4a6e336faf
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (7885 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2022-10-17 19:05:23 +02:00
___davidpr f89576b6ca
Translated using Weblate (Serbian)
Currently translated at 12.3% (971 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sr/
2022-10-17 19:05:23 +02:00
Mads Dyrmann 54a50e87d0
Translated using Weblate (Danish)
Currently translated at 64.6% (5100 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/da/
2022-10-17 19:05:23 +02:00
taotieren 737a47e8db
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7885 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-10-17 19:05:23 +02:00
Huanyin Liu 182ba99b59
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7885 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-10-17 19:05:23 +02:00
Henrik Kauhanen 74ea446af6
Translated using Weblate (Swedish)
Currently translated at 99.7% (7862 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-10-17 19:05:23 +02:00
co8 j f31270d73a
Translated using Weblate (Japanese)
Currently translated at 97.7% (7706 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-10-17 19:05:23 +02:00
Jan Straka d4c029ac0b
Translated using Weblate (Czech)
Currently translated at 84.9% (6699 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:23 +02:00
Ivan Chuba 12a1896ad7
Translated using Weblate (Ukrainian)
Currently translated at 79.9% (6305 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-10-17 19:05:23 +02:00
Jan Straka 69821ead9f
Translated using Weblate (Czech)
Currently translated at 84.6% (6676 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:22 +02:00
Jan Straka e9d421c577
Translated using Weblate (Czech)
Currently translated at 84.0% (6627 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:22 +02:00
Jan Straka 21796b7262
Translated using Weblate (Czech)
Currently translated at 84.0% (6627 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:22 +02:00
Jan Straka bbf3cb23a7
Translated using Weblate (Czech)
Currently translated at 84.0% (6627 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:22 +02:00
Ivan Chuba edbbebd53b
Translated using Weblate (Ukrainian)
Currently translated at 79.4% (6268 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-10-17 19:05:22 +02:00
Ulices 5aeadd2628
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.0% (7810 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2022-10-17 19:05:22 +02:00
Wellington Terumi Uemura 2a93e1912d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.9% (7883 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2022-10-17 19:05:22 +02:00
Eric 7e8bfa53ac
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7885 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-10-17 19:05:22 +02:00
Henrik Kauhanen 8e28d7cbba
Translated using Weblate (Swedish)
Currently translated at 98.5% (7772 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-10-17 19:05:22 +02:00
ZbeeGin 2730d3c561
Translated using Weblate (Polish)
Currently translated at 100.0% (7885 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-10-17 19:05:22 +02:00
김랑기 3d4e366b98
Translated using Weblate (Korean)
Currently translated at 99.7% (7862 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-10-17 19:05:21 +02:00
co8 j ab323c45d1
Translated using Weblate (Japanese)
Currently translated at 96.8% (7640 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-10-17 19:05:21 +02:00
Toni Laiho e44344ec37
Translated using Weblate (Finnish)
Currently translated at 99.9% (7884 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2022-10-17 19:05:21 +02:00
Jan Straka a3e1d812d4
Translated using Weblate (Czech)
Currently translated at 84.0% (6627 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:21 +02:00
ZbeeGin 9222ad3f46
Translated using Weblate (Czech)
Currently translated at 84.0% (6627 of 7885 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-10-17 19:05:21 +02:00
Jeff Young 92f1ee556f Don't fill drawing sheet rects with transparent fill.
It might make sense to do that with board and/or schematic items for
hit-testing or something, but it definitely doesn't make any sense for
the drawing sheet border.

Also, when reading in items with a transparent fill, treat them as
unfilled (otherwise we get filled with layer colour in at least PCBNew).
2022-10-17 17:51:11 +01:00
qu1ck d52d1cb489 Better message on PCM repository error
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9587
2022-10-17 16:44:01 +00:00
jean-pierre charras 6be87d41e1 Pcbnew, Print preview frame: remember last size & pos during a session.
This feature was already existing in Eeschema.
Fixes #10980
https://gitlab.com/kicad/code/kicad/issues/10980
2022-10-17 16:57:19 +02:00
Jeff Young 413fd82813 Re-entrancy guard for router tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/12604
2022-10-17 13:21:07 +01:00
Jeff Young 46752499df We need both a tool-oriented delete and one that doesn't push/pop, etc.
Fixes https://gitlab.com/kicad/code/kicad/issues/12600
2022-10-17 13:21:07 +01:00
jean-pierre charras aa36e15d66 Eeschema, Print preview: fix a incorrect initial size on wx 3.1.7 (and later)
Due to internal changes in wxWidgets, the initial size of the frame was not taken in account.
2022-10-17 10:49:28 +02:00
jean-pierre charras f3bb34779a TransformTextShapeWithClearanceToPolygon() add optimization for 3D viewer.
This function convert a text shape to a set of polygons for the 3D viewer.
Texts shapes are a bit special and can generate a lot of small overlapping polygons.
These polygons are now merged before being added to the list of polygons handled
by the 3D viewer draw functions.
Locally merging polygons is usually not efficient but in this case it can speedup
the 3D viewer (up to 10x).
Mainly noticeable for silkscreen layers when the "copper" thickness is shown
2022-10-17 07:32:30 +02:00
jean-pierre charras 1d87ed6454 pcb_calculator, PANEL_ATTENUATORS: minor fix: disable R3 settings when not in use. 2022-10-17 07:32:30 +02:00
Jeff Young 3e53426b6c Use same ratsnest colours in the router as the rest of KiCad. 2022-10-16 22:21:14 +01:00
Jeff Young e9f8454a67 No DRC engine in footprint editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/12658
2022-10-16 18:39:37 +01:00
Jeff Young 631980b0ab We were saving the old board pointer, but not updating the current one.
This also makes a few other adjustments to order and to where we look
for the enabled layers which should make it more robust.

Fixes https://gitlab.com/kicad/code/kicad/issues/10925
2022-10-16 18:39:37 +01:00
Jeff Young 054649fa38 Formatting. 2022-10-16 18:39:37 +01:00
Mikolaj Wielgus 2475a703d6 Sim Model Editor: Checkbox for toggling inference 2022-10-16 05:10:57 +02:00
Mikolaj Wielgus c8e13813d9 Sim: Rename Sim_Disabled field to Sim_Enable 2022-10-16 00:49:44 +02:00
Jeff Young 73e1676bdb Fix const-reference property access.
Fixes https://gitlab.com/kicad/code/kicad/issues/12639
2022-10-15 20:22:38 +01:00
Wayne Stambaugh b109136c5c Fix complex hierarchy instance data when loading legacy schematic. 2022-10-15 14:50:06 -04:00