jean-pierre charras
63002cec57
Do not add a title/comment in mandatory field strings when writting netlists.
This is mainly for "Sheetfile" property because current it is the only one
that has a title when plotting/drawing it.
3 years ago
Mikolaj Wielgus
958bd1897d
Sim: Add potentiometer model
3 years ago
Mikolaj Wielgus
2a5bc9f87e
Sim: Don't accept lone '.' as Value principal value
3 years ago
Jon Evans
014d536954
Ignore lastDriver in connectivity
Using the last driver in driver sorting breaks the stability/reproducibility
of the netlisting algorithm. The last driver still needs to be tracked for
efficient redraw dirty detection.
Partially reverts 81e1bc9
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10757
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11393
3 years ago
Jeff Young
34742b386d
Honour dimming when printing fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/12708
3 years ago
Jeff Young
0de540594a
Used dimmed setting for pin texts and textbox borders.
Fixes https://gitlab.com/kicad/code/kicad/issues/12705
3 years ago
Jeff Young
c9ce8da10a
Dim DNP textbox borders.
Fixes https://gitlab.com/kicad/code/kicad/issues/12709
3 years ago
Jeff Young
bad410948d
Don't assume text is on LAYER_DEVICE.
Fixes https://gitlab.com/kicad/code/kicad/issues/12707
3 years ago
Mikolaj Wielgus
209ff933e7
Sim: Ignore everything between principal value and parameter-value pairs
3 years ago
Mikolaj Wielgus
f95e77499b
Sim: Make exception messages slightly more verbose
3 years ago
Mikolaj Wielgus
9819fa43dd
Sim: Allow principal value in Value field to be followed by regular params
3 years ago
Mikolaj Wielgus
d01dcc1c51
Sim: Interpret anything starting with .inc as .include
3 years ago
Mikolaj Wielgus
662f6c7d83
Sim: Don't match newlines in model names
This caused errors in AKO models with no overrides.
3 years ago
Mikolaj Wielgus
7ad927671d
Sim Ltspice compat: Narrow ignoring undocumented parameters
3 years ago
Mikolaj Wielgus
5878749ed2
Sim LTspice compat: Ignore undocumented LTspice diode parameters
3 years ago
Wayne Stambaugh
85805bdad7
Fix broken legacy file format symbol instance data import.
3 years ago
jean-pierre charras
c4db7337d0
NETLIST_EXPORTER_SPICE: add missing switch to "C" locale (missing LOCALE_IO).
It breaks spice netlist in countries using a comma as floating number separator.
3 years ago
Mikolaj Wielgus
7378aaae9d
Sim: Ignore the "mfg" parameter in all models
3 years ago
Mikolaj Wielgus
952f3da53f
Sim: Only set sim command if the sheet sim command is different
3 years ago
Mikolaj Wielgus
f68df09696
Sim: Fix analysis set from GUI
3 years ago
Mikolaj Wielgus
1965411bf5
Sim: Remove the parsing exception for LTspice compat
Silently ignoring this may be a cure worse than disease.
3 years ago
Wayne Stambaugh
2a13c0af2e
Revert commented out code.
3 years ago
Jeff Young
1964087960
Fix some instance-data issues in netlist exporters.
Also removes the final requirements for setting the current sheet so
that we no longer need to do a save/restore.
3 years ago
Mikolaj Wielgus
6e874f4c1e
Ngspice: Preload a basically empty circuit to avoid error messages
Fixes https://gitlab.com/kicad/code/kicad/issues/12481
3 years ago
Wayne Stambaugh
598b09821a
Coverity fixes.
3 years ago
jean-pierre charras
aa36e15d66
Eeschema, Print preview: fix a incorrect initial size on wx 3.1.7 (and later)
Due to internal changes in wxWidgets, the initial size of the frame was not taken in account.
3 years ago
Mikolaj Wielgus
2475a703d6
Sim Model Editor: Checkbox for toggling inference
3 years ago
Mikolaj Wielgus
c8e13813d9
Sim: Rename Sim_Disabled field to Sim_Enable
3 years ago
Wayne Stambaugh
b109136c5c
Fix complex hierarchy instance data when loading legacy schematic.
3 years ago
Wayne Stambaugh
f782323960
Fix yet another symbol instance issue when loading legacy schematics.
3 years ago
Jeff Young
254dff2813
Add do_not_autoplace to schematic parser and printer.
Fixes https://gitlab.com/kicad/code/kicad/issues/12657
3 years ago
Mikolaj Wielgus
c3d5b3b3e5
Sim: Only store device type in reference, not full model type
Instead of Reference="VSIN1", Value="dc=1 ampl=2 f=3", it's now
Reference="V1", Value="SIN dc=1 ampl=2 f=3".
3 years ago
Marek Roszko
6ce714d537
Use wxCHECK instead of wxCHECK2
3 years ago
Marek Roszko
ce2d091588
wxCHECK2 needs an actual "op", in this case return
3 years ago
Seth Hillbrand
5c974f8cd0
Don't arbitrarily close tags that are not open
Fixes https://gitlab.com/kicad/code/kicad/issues/12647
3 years ago
Jeff Young
668180f96a
Add "show field names" to Global Edit Text & Graphics Properties.
Fixes https://gitlab.com/kicad/code/kicad/issues/12641
3 years ago
Jeff Young
7ffdfb1067
Clear Scintilla undo history after setting initial text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12650
3 years ago
Wayne Stambaugh
41461f7a69
Improve symbol rescue dialog.
* Fix some minor layout issues on Linux.
* Use button labels to clarify rescue actions.
3 years ago
Jeff Young
f9a791e2b0
Copy font across when changing text type.
Fixes https://gitlab.com/kicad/code/kicad/issues/12629
3 years ago
Wayne Stambaugh
430098791e
Another attempt to fix schematic symbol rescue issues.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12624
3 years ago
Jeff Young
8dea227da7
Special cases for sheet-pin dragging.
Fixes https://gitlab.com/kicad/code/kicad/issues/11949
3 years ago
Jeff Young
3231bc5be3
Formatting and cleanup.
3 years ago
Jeff Young
5507748fa9
Make sure bounding box is not degenerate.
3 years ago
jean-pierre charras
806b5fab0e
SYMBOL_LIBRARY_MANAGER::SaveLibrary(): Add missing code.
It fixes an issue after deleting a symbol and trying to save the library:
The library, although saved, was always flagged as modified.
3 years ago
Mikolaj Wielgus
c857e533a9
Sim: Fix crash when a field tries to set an inexistent parameter
Refactored SetParamValue() and friends to use exceptions instead of
return values.
3 years ago
Mikolaj Wielgus
6ae333a116
Sim Model Editor: Fix crash when opening sources
3 years ago
Jeff Young
bd1114d94d
Move footprint properties dialogs to symbol properties grid resizing strategy.
Fixes https://gitlab.com/kicad/code/kicad/issues/9883
3 years ago
Jeff Young
e02c05d38f
Add unit and eval support to WX_GRIDs.
Fixes https://gitlab.com/kicad/code/kicad/issues/1871
Fixes https://gitlab.com/kicad/code/kicad/issues/4285
3 years ago
Jeff Young
ad5df7f4cc
More busy cursor tightening.
Fixes https://gitlab.com/kicad/code/kicad/issues/11648
3 years ago
Wayne Stambaugh
148467d2a1
Fix schematic symbol rescue issues.
This fix makes some fundamental changes to the way symbols are rescued:
* The new symbol library file format is used when rescuing symbols defined
in the symbol library table.
* The original library nickname is appended to the symbol name rather than
the rescue library nickname when rescuing symbol defined in the symbol
library table.
* Escaping strings has been removed from legacy library rescues since the
legacy library file format never supported it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12525
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12624
3 years ago