Commit Graph

34080 Commits

Author SHA1 Message Date
Jeff Young 64a6fc0fd4 Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
2022-09-19 17:10:59 +01:00
jean-pierre charras 5990595619 When adding a bitmap, do not clone it during moving.
Cloning is not necessary, and is memory consuming.
2022-09-19 17:41:47 +02:00
Mike Williams a23b9810e1 Build: Fix Windows build (missing QA mock update) 2022-09-19 11:30:25 -04:00
Mike Williams ca0c9f12e0 PCB Editor: Unroute Footprint
Also works on selected pads.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/1955
2022-09-19 10:37:10 -04:00
Mike Williams 9304607624 TOOL_EVENT: make command string non-optional
We're getting segfaults in places where this isn't checked. Also, add
some asserts so we can catch bad tool push/pop.

Removes all uses of GetCommandStr() and makes it private.
2022-09-19 10:23:09 -04:00
Mike Williams b7ba24b2d9 TOOL_EVENT: fix lifetime issues with const aEvent& refs
Without this the event is on the stack, and as soon as the tool calls
Wait(), the event will be deallocated. The aEvent reference will then
point to invalid memory.
2022-09-19 07:59:11 -04:00
Jeff Young 45d6b4a9fc Readability improvements. 2022-09-19 11:18:20 +01:00
Mikolaj Wielgus 8599323dce Sim: Move Spice model parsing to a separate class hierarchy
Roughly analogous to the SPICE_GENERATOR hierarchy.
2022-09-19 07:24:46 +02:00
Marek Roszko 42005d9678 Bump vcpkg again for wx 3.2.1 2022-09-19 00:24:27 -04:00
Alex bdf4cf51b8 Add a missing statement in segments reservation.
Also adds an assert in FinishItem.

Fixes https://gitlab.com/kicad/code/kicad/issues/12448
2022-09-19 02:36:21 +00:00
Seth Hillbrand 4d3804aad4 Update Translations 2022-09-18 19:33:31 -07:00
Ivan Chuba 071b360520
Translated using Weblate (Ukrainian)
Currently translated at 74.5% (5774 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-09-19 04:29:55 +02:00
Ulices 42b3a983dc
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.9% (7737 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2022-09-19 04:29:54 +02:00
Petter Reinholdtsen 133f1a2487
Translated using Weblate (Norwegian Bokmål)
Currently translated at 64.5% (5000 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
2022-09-19 04:29:54 +02:00
김랑기 6aeda71eff
Translated using Weblate (Korean)
Currently translated at 99.9% (7739 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-09-19 04:29:54 +02:00
co8 j 17af7535e5
Translated using Weblate (Japanese)
Currently translated at 98.7% (7647 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-09-19 04:29:54 +02:00
Jan Straka a3cc86b109
Translated using Weblate (Czech)
Currently translated at 84.4% (6539 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-09-19 04:29:54 +02:00
Ivan Chuba 8e7574be88
Translated using Weblate (Ukrainian)
Currently translated at 72.7% (5630 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-09-19 04:29:54 +02:00
Ulices 0016cb58fa
Translated using Weblate (Spanish (Mexico))
Currently translated at 99.7% (7720 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2022-09-19 04:29:54 +02:00
Wellington Terumi Uemura f2f3baae62
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.9% (7737 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2022-09-19 04:29:54 +02:00
Eric 62549138ed
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (7739 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2022-09-19 04:29:53 +02:00
Henrik Kauhanen 71409855a2
Translated using Weblate (Swedish)
Currently translated at 99.5% (7709 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-09-19 04:29:53 +02:00
ZbeeGin cc2b37aabe
Translated using Weblate (Polish)
Currently translated at 100.0% (7740 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-09-19 04:29:53 +02:00
KwonHyeokbeom 8fb21f82f2
Translated using Weblate (Korean)
Currently translated at 99.9% (7738 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-09-19 04:29:53 +02:00
co8 j 449f2d029c
Translated using Weblate (Japanese)
Currently translated at 98.7% (7645 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-09-19 04:29:53 +02:00
Jan Straka 9224262b65
Translated using Weblate (Czech)
Currently translated at 83.7% (6480 of 7740 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-09-19 04:29:53 +02:00
Mikolaj Wielgus 0efc1149af Sim: Create a common base class for models sourced from Spice libs 2022-09-18 21:25:28 +02:00
Jeff Young 1566bd8b14 Make sure a collector has a guide before handing it to a client filter.
Fixes https://gitlab.com/kicad/code/kicad/issues/12460
2022-09-18 18:14:47 +01:00
Marek Roszko 7b29b4ef55 Copy the pcm schema for msvc to run from build directory
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12318
2022-09-18 10:46:48 -04:00
Marek Roszko ef44e5cab5 Bump wx in vcpkg 2022-09-18 08:49:07 -04:00
Marek Roszko 63295cfb9e Remove unused vars 2022-09-18 08:49:07 -04:00
Jeff Young 1e1aedbe30 Fix uninitialized variable. 2022-09-18 13:23:19 +01:00
Jeff Young d2712bac37 Try and reduce opportunity for lost keystrokes.
Fixes https://gitlab.com/kicad/code/kicad/issues/12445
2022-09-18 12:12:56 +01:00
Mikolaj Wielgus 3b94624e90 Commit forgotten files
I must stop forgetting to commit new and renamed files.
2022-09-18 07:27:47 +02:00
Mikolaj Wielgus a8d7a845b6 Sim: Rename SIM_MODEL_SPICE to SIM_MODEL_RAW_SPICE 2022-09-18 07:25:56 +02:00
Mikolaj Wielgus 4128a5533f Sim LTspice compat: Ignore mfg, icrating, vceo, type params 2022-09-18 04:14:57 +02:00
Mikolaj Wielgus dcb3f16fbc Sim: Don't use long type in SIM_VALUE 2022-09-18 02:25:40 +02:00
Marek Roszko 57f8a248a5 Remove unused settings 2022-09-17 18:03:43 -04:00
Jeff Young e6c8cf0f03 Don't escape spaces in bus groups and transfer hyperlinks.
Fixes https://gitlab.com/kicad/code/kicad/issues/12451

Fixes https://gitlab.com/kicad/code/kicad/issues/12452
2022-09-17 20:56:50 +01:00
Jeff Young 1be8adebf5 Restore fix for #10029.
Fixes https://gitlab.com/kicad/code/kicad/issues/12445
2022-09-17 15:57:11 +01:00
Marek Roszko f26a6f76e4 IUToMils should return int
It was already truncating even in old code...lets just clean this up
2022-09-17 09:27:27 -04:00
jean-pierre charras 60f182bcec French translation update 2022-09-17 11:36:22 +02:00
jean-pierre charras 97963a2bba Better after base_units.cpp changes in python stuff.
Move an include to kicad.i
2022-09-17 11:21:48 +02:00
jean-pierre charras 71bb7d63d9 Fix isses after base_units.cpp changes. 2022-09-17 10:56:56 +02:00
Mikolaj Wielgus 15b5b48992 Sim: More descriptive parsing errors in all Spice parsers
In my previous commit, which changed Spice parsing errors to be more
descriptive, I forgot to apply this to all invocations of the Spice
parser. This commit corrects that.
2022-09-17 08:46:45 +02:00
Mikolaj Wielgus 5fa0a1a064 Sim: Output more descriptive parsing errors 2022-09-17 08:29:18 +02:00
Marek Roszko 5f85c3b8b9 Fix everything loading DNP 2022-09-17 00:21:05 -04:00
Marek Roszko ece23d434b Split up Double2Str to a format function to make its use case clear 2022-09-17 00:10:22 -04:00
Marek Roszko 59a9ddac20 Convert the primary file io formatter for doubles 2022-09-16 23:20:15 -04:00
Marek Roszko 1e0eca0916 Eyeball swig fix after the units changes 2022-09-16 22:31:52 -04:00