Maciej Suminski
e1d20dd6e3
NETLIST_EXPORTER_PSPICE skips removed pins when processing a list of sorted pins.
NETLIST_EXPORTER marks removed duplicates by setting them to NULL in m_SortedComponentPinList vector.
9 years ago
jean-pierre charras
ea59ce40e1
sch_legacy_plugin.cpp: fix compil warnings about incorrect return type.
9 years ago
Maciej Suminski
42f6cf33a1
Unbind REPORTER from NGSPICE before deleting
9 years ago
Maciej Suminski
fe30985742
Do not delete the NGSPICE singleton
9 years ago
Maciej Suminski
2a6b8f153b
NGSPICE as a singleton
One cannot call ngSpice_Init() twice without unloading the dll. When calling
ngSpice_Init, we pass a pointer to a NGSPICE instance and thus it cannot be changed.
When any of the callback function is called with a stale pointer everything crashes.
9 years ago
Wayne Stambaugh
bcfce68daa
Fix debug build warning due to improper debug macro.
9 years ago
Wayne Stambaugh
eaa7f3f114
Eeschema: implement schematic I/O plugin symbol library parser.
* Write SCH_LEGACY_PLUGIN_CACHE object for handling the legacy symbol library
file format.
* Write legacy symbol library file parser.
* Write code to transfer cache to PART_LIB object so existing library save
code can be used for round trip testing. This is temporary until Eeschema
is updated to use the plugin for library management rather than PART_LIB.
* Add LIB_XXXX object helper functions where there was no way to set the member
variables of an object.
* Give the cache object friend status to some object where there are incredibly
byzantine ways of setting text in LIB_XXXX objects.
9 years ago
Maciej Suminski
cac571c056
Initialize ngspice only once
9 years ago
Maciej Suminski
ad3c2ac4ea
NGSPICE_NETLIST_EXPORTER: Display a message if there is a missing library. Wrap library file names in quotes.
9 years ago
Simon Richter
bfb6e0bbb2
Convert remaining occurences of stri[n]cmp to str[n]casecmp.
This also reverses the substitution logic if strcasecmp is missing (config.h.cmake)
9 years ago
jean-pierre charras
01d3c72dda
Cosmetic enhancement: add a dismiss icon to clarification menu "title" (the "title" is also the close menu command)
9 years ago
Maciej Suminski
41b75f0105
Added a missing header in netlist_exporter_spice.h
9 years ago
Maciej Suminski
43d93682a2
Fix locale in NGSPICE methods using LOCALE_IO instead of setlocale.
More information: https://lists.launchpad.net/kicad-developers/msg25763.html
9 years ago
Maciej Suminski
75f8b20493
libngspice is linked at compile time
9 years ago
jean-pierre charras
5ed19b6e82
Dialogs for simulator: cosmetic enhancements, make them translatable and resizable. Remove 2 printf used in debug.
9 years ago
Maciej Suminski
497b2a9442
CMake module for libngspice
9 years ago
jean-pierre charras
6e5628ceaf
Avoid simulator crash if the simulation was not run, when using most of main menu commands, due to a null pointer not tested.
9 years ago
jean-pierre charras
dd395a6854
Fix deprecated and shadowed var compil warnings
9 years ago
Maciej Suminski
18e99fa30f
Fixed a crash with certain shared library versions
9 years ago
Maciej Suminski
6b3584ce9b
fxup system ngspice.h
9 years ago
Maciej Suminski
6bfdfd5226
Look for libraries in the project path
9 years ago
Maciej Suminski
0cb1e80e00
Activate eeschema on tune/probe
9 years ago
Maciej Suminski
dfb5c6bfdd
Do not update values if simulation is rerun Otherwise sometimes the signal list might be cleared and a new list is not yet available, resulting in loss of signals and cursors.
9 years ago
Maciej Suminski
d15eef06f9
Removed redundant debugging info
9 years ago
Maciej Suminski
2c29133c57
Use system ngspice.h file
9 years ago
Maciej Suminski
0667b7ba63
Fixed ngspice freeze when there is an error in the simulated netlist Does not work with current ngspice head, it has to be compiled from the official master branch.
9 years ago
Maciej Suminski
8227cd6d80
Do not recreate the simulator every time simulation is run
9 years ago
Maciej Suminski
eeeb3e0a9a
Simulator code formatting and clean up
9 years ago
Maciej Suminski
957c6ec417
Removed hard limit for ngspice netlist
9 years ago
Maciej Suminski
0a6390701d
NGSPICE uses a more convenient function to generate DLL name
9 years ago
Maciej Suminski
46ecfd8139
Resized simulator dialogs
9 years ago
Johannes Maibaum
c78462c4f5
sim: Modifications to compile the simulator on OSX.
9 years ago
Maciej Suminski
c9a1b45666
Fixed probe & tune cursors under Windows.
9 years ago
Tomasz Wlostowski
80d8dd7205
sim: default to decade frequency sweep for ac analysis
9 years ago
Tomasz Wlostowski
1930cd4d66
sim: display labels on current scale when only currents are added to transient plot
9 years ago
Maciej Suminski
e452992a6c
Cursor centering fix
9 years ago
Maciej Suminski
2b041425e5
Resized Spice model dialog
9 years ago
Maciej Suminski
ca36f15fee
Temporary disable cursor centering
9 years ago
Maciej Suminski
6d7a7a3233
KICAD_SPICE CMake flag
9 years ago
Maciej Suminski
2c576afdf3
Fixed menu entries
9 years ago
Maciej Suminski
ca13dc93b1
Support for simulation workbooks
9 years ago
Maciej Suminski
7b81516b61
Fixed SIM_PLOT_FRAME::CurrentPlot()
9 years ago
Tomasz Wlostowski
b20f941bd0
sim: hopefully final version of plot axis unit/suffix handling.
9 years ago
Maciej Suminski
01d18bad97
Save simulation command directive for every plot
9 years ago
Maciej Suminski
02e4252fcd
A few fixes for DIALOG_SIM_SETTINGS
9 years ago
Maciej Suminski
fb56420654
Do not store Spice vector names, but regenerate them
9 years ago
Maciej Suminski
ed8f555331
Remove plots that are invalid after component removal
9 years ago
Maciej Suminski
672fd76995
Remove tuners for components that were removed
9 years ago
Maciej Suminski
06287e4986
Display an error message for unannotated schematics
9 years ago
Maciej Suminski
741ae10a97
Improved Spice model dialog for sources Now user can specify both DC/AC & transient analysis specifications at once.
9 years ago