Commit Graph

37013 Commits

Author SHA1 Message Date
jean-pierre charras f14e24d2cf PDF_plotter: fix crash when the font used to plot texts is not specified.
(In this case the default Kicad font must be used)
Fixes #13615
https://gitlab.com/kicad/code/kicad/issues/13615
2023-01-21 20:12:30 +01:00
Marek Roszko b2421c7d9f Fix tiny bug in double 2 string formatting
- I forgot to handle the trailing dots when I added the fmt variant
- UIDouble2Str (the original) lacked the comma check
- Add unit test lol
2023-01-21 13:54:52 -05:00
Chris Morgan 2b128c79f2 sprintf -> snprintf to silence some compiler warnings 2023-01-21 18:39:51 +00:00
jean-pierre charras df4f9d4c94 FP editor: fix crash when trying to save a footprint after removing its library
Fixes #13619
https://gitlab.com/kicad/code/kicad/issues/13619
2023-01-21 18:18:38 +01:00
Wayne Stambaugh 0a7bd85cd6 Fix library symbol rescue issues.
https://gitlab.com/kicad/code/kicad/-/issues/13494
2023-01-21 10:35:14 -05:00
jean-pierre charras 4eb3a99bb5 SYMBOL_VIEWER_FRAME: fix some (minor) issues related to the symbol to display
Fixes #13274
https://gitlab.com/kicad/code/kicad/issues/13274
2023-01-21 11:29:01 +01:00
Seth Hillbrand 3465fe3e50 Allow variable recursion
Simple recursion of variable expansion allows for multiple use cases in
portability of designs.  This also includes basic prevention of
recursion loops

Fixes https://gitlab.com/kicad/code/kicad/issues/10398
2023-01-20 16:44:48 -08:00
Seth Hillbrand 9986eb5cf6 Don't show error when added new paths
Empty paths should be discarded instead of throwing an error about
missing data
2023-01-20 16:43:16 -08:00
Seth Hillbrand d8ac53d7b4 Fix 3D model resolution for older boards
Older boards use older 3d model environmental variables.  We need to
support both older environmental variables (if the user has them) as
well as updated environmental variables (if the user only has a single
3d model path)

This updated the environmental resolver to look first in the named
location and then substitute the new location if the old location is not
defined in the environment

Fixes https://gitlab.com/kicad/code/kicad/issues/10674
2023-01-20 15:59:23 -08:00
Seth Hillbrand ed0d57ddf6 Handle the forced propagation to subgraphs 2023-01-20 15:20:03 -08:00
Seth Hillbrand e6dbca051c Force realtime connectivity on
The pressure relief valve was not useful for common work patterns as it
forced the recalculation on many common actions such as bus expansion.
This caused it to actually feel slower than with the pressure relief
valve off.

For most schematics, realtime is now fast enough to not need the valve
and for those that are extremely complex, removing the valve helps this
run more predictably
2023-01-20 15:17:57 -08:00
Seth Hillbrand 6fa2eedb4b Avoid the obsolete GetNextPin() call
This iterated over all pins to find the pin after a given item.  Because
out pattern is consistently to iterate in the outer loop, this means
that we were an O(n^2) loop for the pins just to find their names.  This
affected very large parts (e.g. FPGAs) when switching sheets to display
2023-01-20 14:12:15 -08:00
Seth Hillbrand b8ee588a76 Don't do a full connection database reset on redraw
All we need here is an updated intersheet reference, the connectivity
database remains valid and shouldn't be touched
2023-01-20 14:11:23 -08:00
Seth Hillbrand 08c2828bd3 Remove extra call to RecalculatedConnections()
This shouldn't happen when re-drawing, only on specific actions as it
will clog up our pipeline for other actions
2023-01-20 13:26:23 -08:00
Seth Hillbrand 4d7ddf619a Remove unused var and cleanup 2023-01-20 13:26:11 -08:00
Seth Hillbrand 5347fbdbb1 Update languages to be installed for release
Languages that have been abandoned or are not yet sufficiently
translated are not shipped with release.  The po files and existing
translations remain and will be re-enabled post release for future
development
2023-01-20 13:23:13 -08:00
Jeff Young b0ba898a27 nullptr safety (necessary during startup before project exists)
Fixes https://gitlab.com/kicad/code/kicad/issues/13608
2023-01-20 19:28:18 +00:00
Jeff Young 2367c5cf1b Fix another early return while evaluating text variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/13610
2023-01-20 19:20:15 +00:00
Jeff Young 12215647f1 Handler blind/buried/micro via drawing when all layers are hidden.
Fixes https://gitlab.com/kicad/code/kicad/issues/13607
2023-01-20 19:09:12 +00:00
Jeff Young 3e55719831 May need to convert to UNIX style paths twice (before & after resolving).
Fixes https://gitlab.com/kicad/code/kicad/issues/13591
2023-01-20 18:06:17 +00:00
Jeff Young f7ebaf1bab Add compatibility mode for netlist code.
(The non-A compatibility modes only run on included files.)

Fixes https://gitlab.com/kicad/code/kicad/issues/13589
2023-01-20 18:06:17 +00:00
Jon Evans 55bf6b6773 Suppress unnecessary navlib stderr output on macOS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13562
2023-01-20 12:32:09 -05:00
Mike Williams 6586a2ca66 PCB Editor: prevent scroll wheel on track size opening board settings
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13218
2023-01-20 12:13:16 -05:00
Seth Hillbrand dc791fa955 Update translations 2023-01-20 09:12:56 -08:00
Seth Hillbrand 34810d24a5 Remove unique dummy text
Text that will be replaced programmatically should be specified as
"dummy" in wxFormBuilder to avoid adding unneeded translation strings
2023-01-20 09:11:08 -08:00
Ivan Chuba 3bed175a96
Translated using Weblate (Estonian)
Currently translated at 4.1% (331 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/et/
2023-01-20 18:04:52 +01:00
Ivan Chuba e3f74001c7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2023-01-20 18:04:52 +01:00
taotieren 41202b7aac
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2023-01-20 18:04:52 +01:00
taotieren 192d4d1f18
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-01-20 18:04:52 +01:00
Ivan Chuba b5ba158863
Translated using Weblate (Estonian)
Currently translated at 4.1% (330 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/et/
2023-01-20 18:04:51 +01:00
Ivan Chuba 6e1a3bdf40
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2023-01-20 18:04:51 +01:00
Seth Hillbrand 440e2d3e76
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2023-01-20 18:04:51 +01:00
Ulices 5d07f19d54
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2023-01-20 18:04:51 +01:00
Wellington Terumi Uemura a5b74ea510
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2023-01-20 18:04:51 +01:00
Henrik Kauhanen 7506db2092
Translated using Weblate (Romanian)
Currently translated at 32.8% (2639 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ro/
2023-01-20 18:04:51 +01:00
Henrik Kauhanen fb06917da3
Translated using Weblate (Latvian)
Currently translated at 1.1% (89 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/lv/
2023-01-20 18:04:51 +01:00
Henrik Kauhanen 37aa7f47cc
Translated using Weblate (Danish)
Currently translated at 62.7% (5038 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/da/
2023-01-20 18:04:51 +01:00
Mustafa Selçuk ÇAVDAR f84dab5a73
Translated using Weblate (Turkish)
Currently translated at 38.4% (3087 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/tr/
2023-01-20 18:04:51 +01:00
Henrik Kauhanen d3e0155d64
Translated using Weblate (Norwegian Bokmål)
Currently translated at 61.2% (4914 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
2023-01-20 18:04:51 +01:00
Seth Hillbrand 39ddddd7d2
Translated using Weblate (Chinese (Traditional))
Currently translated at 87.0% (6983 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2023-01-20 18:04:50 +01:00
Seth Hillbrand 97afbc5e78
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (7996 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-01-20 18:04:50 +01:00
Henrik Kauhanen 5557778857
Translated using Weblate (Swedish)
Currently translated at 99.9% (8031 of 8037 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-01-20 18:04:50 +01:00
Jakub Janek 04ccc7bdfc
Translated using Weblate (Slovak)
Currently translated at 65.0% (5216 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sk/
2023-01-20 18:04:50 +01:00
Seth Hillbrand 9a244e48d1
Translated using Weblate (Russian)
Currently translated at 98.2% (7886 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2023-01-20 18:04:50 +01:00
Henrik Kauhanen bc33ba3c55
Translated using Weblate (Polish)
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2023-01-20 18:04:50 +01:00
Seth Hillbrand 4d3e7891cf
Translated using Weblate (Polish)
Currently translated at 100.0% (8023 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2023-01-20 18:04:50 +01:00
Henrik Kauhanen 3f71313e06
Translated using Weblate (Dutch)
Currently translated at 82.8% (6648 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nl/
2023-01-20 18:04:50 +01:00
Henrik Kauhanen 5b612bd532
Translated using Weblate (Lithuanian)
Currently translated at 63.5% (5097 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/lt/
2023-01-20 18:04:50 +01:00
Seth Hillbrand 89e5c1b8b7
Translated using Weblate (Japanese)
Currently translated at 99.8% (8013 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2023-01-20 18:04:50 +01:00
Tokita, Hiroshi 3818359a56
Translated using Weblate (Japanese)
Currently translated at 99.8% (8013 of 8023 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2023-01-20 18:04:49 +01:00