Commit Graph

34568 Commits

Author SHA1 Message Date
Mikolaj Wielgus 5878749ed2 Sim LTspice compat: Ignore undocumented LTspice diode parameters 2022-10-20 04:00:33 +02:00
Seth Hillbrand 27add591ec Add Clipper2
Currently this lives behind the advanced config flag `UseClipper2`.
Enabling this flag will route all Clipper-based calls through the
Clipper2 library instead of the older Clipper.  The changes should be
mostly transparent.

Of note, Clipper2 does not utilize the `STRICTLY_SIMPLE` flag because
clipper1 did not actually guarantee a strictly simple polygon.
Currently we ignore this flag but we may decide to run strictly-simple
operations through a second NULL union to simplify the results as much
as possible.

Additionally, the inflation options are slightly different.  We cannot
choose the fallback miter.  The fallback miter is always square.  This
only affects the CHAMFER_ACUTE_CORNERS option in inflate, which does not
appear to be used.

Lastly, we currently utilize the 64-bit integer coordinates for
calculations.  This appears to still be faster than 32-bit calculations
in Clipper1 on a modern x86 system.  This may not be the case for older
systems, particularly 32-bit systems.
2022-10-19 16:25:45 -07:00
Wayne Stambaugh 85805bdad7 Fix broken legacy file format symbol instance data import. 2022-10-19 12:23:28 -04:00
Huanyin Liu c64b4b8179 Update the formulas for Tee and Pi Attenuators
This makes clear that we are utilizing the voltage attenuation formula while keeping the correct formulation as it is implemented in the code

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12659
2022-10-19 15:49:09 +00:00
Jeff Young e3842514e7 Move courtyard collision setting to preferences.
Also cleans up PCBNew/FPEditor edit options panel to be more in sync
with each other.
2022-10-19 11:33:11 +01:00
jean-pierre charras c4db7337d0 NETLIST_EXPORTER_SPICE: add missing switch to "C" locale (missing LOCALE_IO).
It breaks spice netlist in countries using a comma as floating number separator.
2022-10-19 11:50:35 +02:00
jean-pierre charras b9b5a66bfb French translation update 2022-10-19 09:04:13 +02:00
Mikolaj Wielgus c4fc9c1b16 Sim QA: Add tests for AKO and LTspice diodes 2022-10-19 06:56:21 +02:00
Mikolaj Wielgus 7378aaae9d Sim: Ignore the "mfg" parameter in all models 2022-10-19 06:53:39 +02:00
Mikolaj Wielgus 952f3da53f Sim: Only set sim command if the sheet sim command is different 2022-10-19 03:02:32 +02:00
Mikolaj Wielgus f68df09696 Sim: Fix analysis set from GUI 2022-10-19 02:32:50 +02:00
Mikolaj Wielgus 1965411bf5 Sim: Remove the parsing exception for LTspice compat
Silently ignoring this may be a cure worse than disease.
2022-10-18 23:19:48 +02:00
Mikolaj Wielgus 42acabb5a9 Fix a mistake in uopamp.lib.spice 2022-10-18 22:38:49 +02:00
Wayne Stambaugh 2a13c0af2e Revert commented out code. 2022-10-18 16:07:14 -04:00
Jeff Young 403cc50e7c Don't exit group when the cancel went to another tool.
Also fixes a bug where the group border didn't get updated immediately
on enter/exit.

Fixes https://gitlab.com/kicad/code/kicad/issues/12669
2022-10-18 17:53:06 +01:00
Jeff Young 1964087960 Fix some instance-data issues in netlist exporters.
Also removes the final requirements for setting the current sheet so
that we no longer need to do a save/restore.
2022-10-18 17:26:34 +01:00
Mikolaj Wielgus ae671c07e1 Commit missing uopamp.lib.spice 2022-10-18 17:38:23 +02:00
Jeff Young 8d40bf25d6 Need to setup outline mode stuff if it's turned on late. 2022-10-18 14:41:27 +01:00
Jeff Young 1f0fa3ef63 Fix bug in new optionally-flashed via/pad zone fill logic. 2022-10-18 14:02:47 +01:00
Jeff Young 4633d251a5 Remove single-zone-fill and unfill.
These are incompatible with our zone-priority-based algorithms.
2022-10-18 13:45:28 +01:00
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