Mikolaj Wielgus
6450ec6b85
Sim: Spice netlist exporter rewrite
...
Rewrite the spice exporter to work with the new simulation model
architecture and data model, with many bugfixes related to the latter
two along the way.
2022-07-30 02:25:34 +00:00
Mikolaj Wielgus
ce84a48037
Sim: Implement loading Spice library files
...
Implement parsing and loading Spice libraries into KiCad. This is done
without any involvement of Ngspice -- we create our own in-tree parser
using PEGTL -- because Ngspice doesn't offer any intermediate output we
could plug ourselves into. We don't parse everything -- just the library
content, so this won't be that much effort.
We implement some basic Spice code preview to give the user a hint what
Spice code eir model will correspond to.
2022-07-30 02:25:34 +00:00
Mikolaj Wielgus
978f01553b
Sim Model Editor: Serialize models in fields
...
Implemented serialization and deserialization of models in symbol fields
through the SIM_VALUE class. We don't carry the Spice legacy of
case-insensitive suffixes, instead we conform to the SI standard (i.e. M
is Mega, not milli, P is peta, p is pico).
Parameter grid value validation is implemented by simply not allowing
any characters that will make the value invalid (instead of highlighting
the field in a red color). This will likely be changed at some point in
the future.
2022-07-30 02:25:34 +00:00
Mikolaj Wielgus
c5a256291e
Sim Model Editor: Display model parameters
...
This commit adds parameter display functionality, via a wxPropertyGrid
widget, to the Sim Model Editor. To faciliate that, a SIM_VALUE class is
created to serialize, deserialize, and validate numeric values in the
new parameter grid.
SPICE_MODEL is renamed to SIM_MODEL and split into several subclasses
that correspond to different model kinds.
2022-07-30 02:25:34 +00:00
Mikolaj Wielgus
229e5c9e0f
Begin development of a new Sim Model Editor dialog
...
With that also begin reworking the internal structure of the simulation
model storage. Some models have parameter information extracted from
Ngspice, which was specially patched to faciliate that. The model is
stored and managed by the SPICE_MODEL class (later will be renamed to
SIM_MODEL).
2022-07-30 02:25:34 +00:00
Marek Roszko
a8505d9c76
SEARCH_RESULT -> INSPECT_RESULT
...
To fix the name squatting it's doing for future functionality
2022-07-29 20:01:10 -04:00
Jeff Young
f0b9e67212
Add ignore-line-widths mode to CONVERT_TOOL.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/5911
2022-07-29 21:39:03 +01:00
jean-pierre charras
3245aec5b5
3D viewer, main toolbar: fix incorrect parent for 2 widgets.
...
Also use SHIFT instead of ALT as modifier to show the viewport list, because
ALT is not usable on Windows, especially combined with TAB
2022-07-29 18:33:38 +02:00
jean-pierre charras
490875e222
Fix a missing call to aEvent.Skip() in commit 753f2f3
.
...
Any wxSizeEvent handler must call Skip() to propagate the event.
2022-07-29 16:46:35 +02:00
jean-pierre charras
905df71977
Fix an issue when printing bitmaps when not on wxWidgets 3.1.6 and 3.1.7
...
Commit 6e35d5473
added a hack to fix an issue on wxWidgets 3.1.6. But this hack
must by applied to 3.1.6 and 3.1.7, not to other versions.
Modify commit 048cf6df
that applied the fix to 3.1.6 only
2022-07-29 13:09:20 +02:00
jean-pierre charras
048cf6df7a
Fix an issue when printing bitmaps when not on wxWidgets 3.1.6
...
Commit 6e35d5473
added a hack to fix an issue on wxWidgets 3.1.6. But this hack
must by applied only to 3.1.6, not to other versions.
Fixes #12108
https://gitlab.com/kicad/code/kicad/issues/12108
2022-07-29 10:26:45 +02:00
Seth Hillbrand
f6d2164cb0
Fix crash in PNS walkaround
...
Placing via in walkaround mode and colliding with an arc triggered an
unneeded assertion.
Also fixes the bad assertion format that did not receive strings
(cherry picked from commit df9cf0a0c3
)
2022-07-28 09:40:41 -07:00
Jeff Young
753f2f3e4c
Display descriptions in second column of library trees.
...
Also fixes some bugs in how the columns are sized.
Fixes https://gitlab.com/kicad/code/kicad/issues/12090
2022-07-28 14:51:47 +01:00
Seth Hillbrand
ee8116e55f
Protect against double-refresh
...
The wxtimer can fire multiple times and there exists the possiblity for
this to happen before the flags are properly set to prevent it. This
creates a concurrency mutex to skip the EDA_DRAW_PANEL_GAL refresh if
one is already underway.
Fixes https://gitlab.com/kicad/code/kicad/issues/12094
(cherry picked from commit 39dd51490d
)
2022-07-27 20:28:48 -07:00
Jeff Young
fc1afa6298
Improvements to convert tool.
...
1) Handle filled shapes
2) If a chained outline can't be found, build hulls of the individual
segments
3) Combine intersecting shapes
4) Simplify code
Fixes https://gitlab.com/kicad/code/kicad/issues/git
Fixes https://gitlab.com/kicad/code/kicad/issues/5911
2022-07-27 18:57:45 +01:00
Jeff Young
bb43d923af
Save preferences immediately (in case of future crash).
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11162
2022-07-27 18:57:45 +01:00
Jeff Young
2bf33321d1
Update constraint mode in status bar during move.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/10465
2022-07-27 18:57:45 +01:00
jean-pierre charras
aabc3b3cc6
FP editor: fix crash when duplicating a footprint.
...
Fixes #12098
https://gitlab.com/kicad/code/kicad/issues/12098
2022-07-27 19:08:27 +02:00
aris-kimi
759069f487
Fix unit conversion
...
ohm/1000feet
2022-07-27 15:11:33 +00:00
aris-kimi
086ebe0f1d
Add conductor material selection to cable calculator
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12082
2022-07-27 15:11:33 +00:00
Jeff Young
5295342f42
Fix another case of the instance data getting messed up.
...
(Or, more accurately in this case, of the instance data not getting
applied to the current view.)
Fixes https://gitlab.com/kicad/code/kicad/issues/11390
2022-07-27 12:29:01 +01:00
Jeff Young
4a40d94b5a
More hotkey label cleanup.
2022-07-27 12:29:01 +01:00
Jeff Young
6e0d31b812
Improve grid tooltip.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9841
2022-07-27 12:29:01 +01:00
Jeff Young
d9d579c895
Clean strings before displaying in hotkeys list.
...
Also make sure the description column is wide enough.
Fixes https://gitlab.com/kicad/code/kicad/issues/11994
2022-07-27 12:29:01 +01:00
Seth Hillbrand
2c30a04efc
Update Translations
2022-07-26 16:35:10 -07:00
Ivan Chuba
c8e3c75a0f
Translated using Weblate (Ukrainian)
...
Currently translated at 34.4% (2669 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2022-07-27 01:29:25 +02:00
Peter B
bcd3f7f080
Translated using Weblate (Romanian)
...
Currently translated at 35.5% (2757 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ro/
2022-07-27 01:29:22 +02:00
Henrik Kauhanen
dcbcf73559
Translated using Weblate (Swedish)
...
Currently translated at 99.4% (7709 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2022-07-27 01:29:19 +02:00
Ivan Chuba
e21b046588
Translated using Weblate (Russian)
...
Currently translated at 91.6% (7105 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2022-07-27 01:29:16 +02:00
ZbeeGin
d749885908
Translated using Weblate (Polish)
...
Currently translated at 99.9% (7752 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-07-27 01:29:12 +02:00
maksz42
d84f371684
Translated using Weblate (Polish)
...
Currently translated at 99.9% (7752 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2022-07-27 01:29:09 +02:00
gurqja3810
40558c81bd
Translated using Weblate (Korean)
...
Currently translated at 98.7% (7653 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:29:05 +02:00
ky107601
d7dd83c594
Translated using Weblate (Korean)
...
Currently translated at 98.7% (7653 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:29:02 +02:00
Tokita, Hiroshi
2ad644f1d1
Translated using Weblate (Japanese)
...
Currently translated at 98.7% (7654 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2022-07-27 01:28:58 +02:00
Toni Laiho
646b06afb2
Translated using Weblate (Finnish)
...
Currently translated at 100.0% (7753 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2022-07-27 01:28:54 +02:00
Ettore Atalan
19ecaed2a3
Translated using Weblate (German)
...
Currently translated at 92.0% (7139 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2022-07-27 01:28:50 +02:00
Jan Straka
f5f9e915ad
Translated using Weblate (Czech)
...
Currently translated at 84.4% (6550 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2022-07-27 01:28:47 +02:00
kmn4555
662e18d974
Translated using Weblate (Korean)
...
Currently translated at 98.6% (7647 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:43 +02:00
이윤성
7162a0a960
Translated using Weblate (Korean)
...
Currently translated at 98.6% (7647 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:39 +02:00
gurqja3810
f16233e440
Translated using Weblate (Korean)
...
Currently translated at 98.6% (7647 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:36 +02:00
이기형
5c4c8f96ad
Translated using Weblate (Korean)
...
Currently translated at 98.4% (7632 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:33 +02:00
kmn4555
1b59264f1d
Translated using Weblate (Korean)
...
Currently translated at 98.4% (7632 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:29 +02:00
minsu kim (0xGabriel)
2a03936377
Translated using Weblate (Korean)
...
Currently translated at 98.4% (7632 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:26 +02:00
이기형
bb65bdbde5
Translated using Weblate (Korean)
...
Currently translated at 98.2% (7617 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:22 +02:00
minsu kim (0xGabriel)
4d04158480
Translated using Weblate (Korean)
...
Currently translated at 98.2% (7617 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:19 +02:00
박세훈
776b07e52e
Translated using Weblate (Korean)
...
Currently translated at 98.2% (7617 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:15 +02:00
김세영
d2f260dc4f
Translated using Weblate (Korean)
...
Currently translated at 98.2% (7617 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:12 +02:00
YunJiSang
badf6b1f59
Translated using Weblate (Korean)
...
Currently translated at 98.2% (7617 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:09 +02:00
YunJiSang
cc7a0cd0c1
Translated using Weblate (Korean)
...
Currently translated at 97.8% (7585 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:05 +02:00
김세영
f31f2ce573
Translated using Weblate (Korean)
...
Currently translated at 97.8% (7585 of 7753 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2022-07-27 01:28:02 +02:00