Commit Graph

33726 Commits

Author SHA1 Message Date
Seth Hillbrand b736460e71 Move optional access from value() to *operator
`value()` throws.  Where we check for existence, we don't need to use
the throwing version and should just use the unprotected variant
2022-08-30 13:59:39 -07:00
jean-pierre charras 7768c8f119 Gerbview: fix a typo that breaks gerber items collector. 2022-08-30 20:56:55 +02:00
Mike Williams a176bf383e Properties: pick up single selections
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12302
2022-08-30 13:59:37 -04:00
Seth Hillbrand 91fbb5c957 Don't prevent immediate actions while router active
Immediate actions that can take place are useful.  We should only be
preventing immediate actions while actively routing or dragging

Fixes https://gitlab.com/kicad/code/kicad/issues/12311
2022-08-30 10:31:29 -07:00
Mikolaj Wielgus 39ac58ea33 Use the PEGTL grammar for detecting .control and .subckt text directives 2022-08-30 17:27:58 +02:00
Marek Roszko ae637296cd Fix MSVC compile 2022-08-30 07:24:58 -04:00
Jeff Young 63386ba64d Pointer safety for ERC/DRC dialogs.
Also makes the "Edit ingored violations" easier to find.

Fixes https://gitlab.com/kicad/code/kicad/issues/12308
2022-08-30 12:07:19 +01:00
Mikolaj Wielgus 2bcfe5e42c Fix Spice subcircuit parsing
When parsing a subcircuit, the parser was incorrectly identifying
parameters of models inside it as belonging to the subcircuit.
2022-08-30 12:09:10 +02:00
jean-pierre charras 767be75cac Netlist spice creation: fix serious issues.
* fix broken float values in countries using a comma as separator (missing LOCALE_IO switch)
* fix regression that ignored the pseudo directive Kxx Lyy Lzz nn (coupling factor)
* fix regression that created empty blocks for .subckt and .control
2022-08-30 11:06:50 +02:00
Mikolaj Wielgus bd6c153ad9 Sim: Implement "enum" model parameters for switches
Displayed in Sim Model Dialog parameter grid as a dropdown
(wxEnumProperty).
2022-08-30 09:45:49 +02:00
Marek Roszko 8dddc07f26 Remove #ifndef that's redundant
This seems to date back to once upon a time when gerbview didn't even use base_units
2022-08-29 23:24:48 -04:00
Marek Roszko a8a75a91e1 Try and fix file encoding 2022-08-29 20:57:14 -04:00
Marek Roszko adb4802e9f doxygen: alter config to have sidebar only, fixes navigation on mobile 2022-08-29 20:11:03 -04:00
Marek Roszko 03aa63bd50 Move 5 helpers to EDA_UNIT_UTILS since they aren't iu specific 2022-08-29 20:11:03 -04:00
Seth Hillbrand df8b7a8fef Fix RemoveNullSegments 2022-08-29 17:08:01 -07:00
Seth Hillbrand eda27a09d6 Add broken SHAPE_POLY_SET test
Remove null segments only removes a single segment rather than all,
potentially null segments in a row
2022-08-29 17:08:01 -07:00
Marek Roszko 58ef932370 panel_setup_severities.cpp is already in COMMON_DLG_SRCS 2022-08-29 19:24:06 -04:00
Marek Roszko 99f8bb3219 panel_gal_display_options can be common 2022-08-29 18:18:38 -04:00
Roberto Fernandez Bautista 238c21ed0b Properties: Special case PCB_SHAPE "Layer" property
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12304
2022-08-29 23:13:46 +02:00
Stefan Hamminga 2ff6a6aee1 Implement and enable option to not shove vias during push & shove routing 2022-08-29 17:32:39 +00:00
Jeff Young 2d68cdff94 Better reporting of hole-to-hole clearances and clearance resolutions. 2022-08-29 17:37:49 +01:00
Jeff Young e0f6a6e475 Run hole-to-hole checks on Edge_Cuts layer.
Also makes the flashing logic inside PAD::GetEffectiveShape() easier
to understand.

Fixes https://gitlab.com/kicad/code/kicad/issues/12296
2022-08-29 17:37:49 +01:00
Marek Roszko f0956e48f2 Make EDA_TEXT common
Since EDA_TEXT is a base class, we can just force the child classes to pass the correct iu scaled size

ALLOW_BOLD_THICKNESS removed because it's a pre-custom font holdover
2022-08-29 07:31:03 -04:00
Marek Roszko 1a7157fe37 Remove unused include 2022-08-29 07:31:03 -04:00
Jeff Young c65228e15f Fix plotting offset issue for non-symbol fields. 2022-08-29 11:53:04 +01:00
Jeff Young 5ebc51bf63 Fix plotting colour of intersheet refs. 2022-08-29 11:53:04 +01:00
Mikolaj Wielgus e82ff4de73 Remove the old netlist_exporter_pspice.cpp file 2022-08-29 05:39:09 +02:00
Mikolaj Wielgus 385e5deaaa Add Switches sim QA test
Tests voltage switches. Current switches will be tested as well once
they're fixed to work with .probe alli command in Ngspice.
2022-08-29 04:30:21 +02:00
Mikolaj Wielgus 716b60c20d Commit forgotten sim_model_switch.{cpp,h} files 2022-08-29 04:28:56 +02:00
Mikolaj Wielgus 3b3131ad74 Create class for voltage and current -controlled switches
Unfortunately, along the way it turned out that Ngspice's .probe alli
breaks current-controlled switches. So they won't work in that case for
now.
2022-08-29 03:49:41 +02:00
Seth Hillbrand 8469b2c0c0 Update translations 2022-08-28 17:06:48 -07:00
Ivan Chuba 8188c7f20f
Translated using Weblate (Ukrainian)
Currently translated at 65.8% (5077 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-08-29 02:05:02 +02:00
Wellington Terumi Uemura bc6ffb871b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.9% (7712 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2022-08-29 02:05:02 +02:00
willliam 8a5c51a247
Translated using Weblate (Chinese (Traditional))
Currently translated at 92.8% (7167 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2022-08-29 02:05:02 +02:00
Henrik Kauhanen 15bde71f36
Translated using Weblate (Swedish)
Currently translated at 99.5% (7684 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-08-29 02:05:02 +02:00
Ivan Chuba 66f61d6db8
Translated using Weblate (Russian)
Currently translated at 91.3% (7051 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-08-29 02:05:02 +02:00
Konstantin Baranovskiy 9a7db6acb7
Translated using Weblate (Russian)
Currently translated at 91.3% (7051 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-08-29 02:05:01 +02:00
KwonHyeokbeom 2b05f5523c
Translated using Weblate (Korean)
Currently translated at 99.9% (7714 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-29 02:05:01 +02:00
김랑기 a3a8c13993
Translated using Weblate (Korean)
Currently translated at 99.9% (7714 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-08-29 02:05:01 +02:00
co8 j 6ee2dea543
Translated using Weblate (Japanese)
Currently translated at 99.5% (7679 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-08-29 02:05:01 +02:00
Jan Straka 7f408c028f
Translated using Weblate (Czech)
Currently translated at 84.6% (6530 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-08-29 02:05:01 +02:00
Vitan Košpenda 50c4ffb224
Translated using Weblate (Slovenian)
Currently translated at 0.1% (1 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sl/
2022-08-29 02:05:01 +02:00
Ivan Chuba cd0bab7210
Translated using Weblate (Ukrainian)
Currently translated at 56.8% (4385 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-08-29 02:05:01 +02:00
Wellington Terumi Uemura bee1ab796a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (7667 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2022-08-29 02:05:01 +02:00
Eric c7d8a42bf8
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (7714 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-08-29 02:05:01 +02:00
Henrik Kauhanen a16bea81e6
Translated using Weblate (Swedish)
Currently translated at 99.5% (7684 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-08-29 02:05:00 +02:00
dsa-t e029b290bb
Translated using Weblate (Russian)
Currently translated at 90.2% (6966 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-08-29 02:05:00 +02:00
ZbeeGin df525194a4
Translated using Weblate (Polish)
Currently translated at 100.0% (7715 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-08-29 02:05:00 +02:00
co8 j d082bee199
Translated using Weblate (Japanese)
Currently translated at 99.3% (7664 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-08-29 02:05:00 +02:00
Toni Laiho 97a8733873
Translated using Weblate (Finnish)
Currently translated at 99.9% (7714 of 7715 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2022-08-29 02:05:00 +02:00