Jeff Young
2dc6300501
Move EDA_ITEM bounding boxes to BOX2I.
3 years ago
Mikolaj Wielgus
121fad63ab
Sim QA: Add Directives test
This test checks whether Spice directives placed in schematics as text
objects are properly included in the generated Spice netlist.
3 years ago
Jon Evans
ae879c8f02
DbLib: Add single-row query cache
Since single-row queries are performed rapid-fire during certain actions like
stepping through the symbol browser, there is high value in caching them for
a small amount of time. The default cache parameters will keep results for
10 seconds, which errs on the side of getting fresh data from the database
on most user interactions.
3 years ago
Jon Evans
1da0572977
DbLib: Retry connection if first attempt fails
3 years ago
Jeff Young
5679b9dbdc
Remove a few EDA_RECT instances.
3 years ago
Jeff Young
c7036ae076
Beef up BOX2's API so it can replace EDA_RECT.
3 years ago
Jeff Young
0c8787cbb9
Some more wxPoint/EDA_RECT yeeting.
3 years ago
Jon Evans
570f4fe4a9
Fix GCC warning
3 years ago
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
3 years ago
jean-pierre charras
7768c8f119
Gerbview: fix a typo that breaks gerber items collector.
3 years ago
Mike Williams
a176bf383e
Properties: pick up single selections
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12302
3 years ago
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
3 years ago
Mikolaj Wielgus
39ac58ea33
Use the PEGTL grammar for detecting .control and .subckt text directives
3 years ago
Marek Roszko
ae637296cd
Fix MSVC compile
3 years ago
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
3 years ago
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.
3 years ago
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
3 years ago
Mikolaj Wielgus
bd6c153ad9
Sim: Implement "enum" model parameters for switches
Displayed in Sim Model Dialog parameter grid as a dropdown
(wxEnumProperty).
3 years ago
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
3 years ago
Marek Roszko
a8a75a91e1
Try and fix file encoding
3 years ago
Marek Roszko
adb4802e9f
doxygen: alter config to have sidebar only, fixes navigation on mobile
3 years ago
Marek Roszko
03aa63bd50
Move 5 helpers to EDA_UNIT_UTILS since they aren't iu specific
3 years ago
Seth Hillbrand
df8b7a8fef
Fix RemoveNullSegments
3 years ago
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
3 years ago
Marek Roszko
58ef932370
panel_setup_severities.cpp is already in COMMON_DLG_SRCS
3 years ago
Marek Roszko
99f8bb3219
panel_gal_display_options can be common
3 years ago
Roberto Fernandez Bautista
238c21ed0b
Properties: Special case PCB_SHAPE "Layer" property
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12304
3 years ago
Stefan Hamminga
2ff6a6aee1
Implement and enable option to not shove vias during push & shove routing
3 years ago
Jeff Young
2d68cdff94
Better reporting of hole-to-hole clearances and clearance resolutions.
3 years ago
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
3 years ago
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
3 years ago
Marek Roszko
1a7157fe37
Remove unused include
3 years ago
Jeff Young
c65228e15f
Fix plotting offset issue for non-symbol fields.
3 years ago
Jeff Young
5ebc51bf63
Fix plotting colour of intersheet refs.
3 years ago
Mikolaj Wielgus
e82ff4de73
Remove the old netlist_exporter_pspice.cpp file
3 years ago
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.
3 years ago
Mikolaj Wielgus
716b60c20d
Commit forgotten sim_model_switch.{cpp,h} files
3 years ago
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.
3 years ago
Seth Hillbrand
8469b2c0c0
Update translations
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago
김랑기
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/
3 years ago
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/
3 years ago
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/
3 years ago
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/
3 years ago