Holger Vogt
9f6d550837
Remove memory leaks in the SVG code
5 years ago
Holger Vogt
74a615d5af
Free tmalloced Cfg.strings[i]
5 years ago
Holger Vogt
02b4f06f2d
variables like color1 may override thie svg_intopts and svg_stropts.
Unsetting the variables will reset to the default.
Malloced colors and cfg.strings will be freed again.
Examples do show more of the options.
5 years ago
Holger Vogt
4303534f91
Shift colorID evaluation to a place after svg_stropts is read.
Remove unused.
5 years ago
Holger Vogt
6443135892
libtool versioning added for Linux shared ngspice.
And commented out immediately, because not compatible
to KiCad, which is linking to libngsice.so.0.0.0
5 years ago
Holger Vogt
1ba168ff30
clarify call to gnuplot on Linux/Cygwin
5 years ago
Holger Vogt
7b9d1fb74a
enable variable 'nolegend' for gnuplot
5 years ago
Holger Vogt
f61ea3aa96
if 'set nounits' is given, plotting of the units is suppressed
(they may be added manually to the y and x labels for SI conformity).
5 years ago
Holger Vogt
736d42a5b0
remove unused
5 years ago
Holger Vogt
43f3fceb75
enable svg also for console app on Windows
5 years ago
Holger Vogt
f31ae08f0b
remove unused args
5 years ago
Holger Vogt
1607b3a21f
X11: Add a button for writing an SVG file to the plot window.
Update button texts.
Add a function hardcopySVG to write the SVG file, called by
clicking the SVG button.
5 years ago
Holger Vogt
43c44a8ca9
correct description
5 years ago
Holger Vogt
1f54a6add3
WinGUI: Make the text output from com_hardcopy available immediately
by call to function UpdateMainText.
Enable color for postscript output.
5 years ago
Holger Vogt
683ef77955
Separate color and b&w
b&w in the plot window is not(yet) supported.
5 years ago
Holger Vogt
6d388e1679
Select black&white, if appropriate
Return colorID to previous values after hardcopying.
5 years ago
Holger Vogt
391822b558
use colorN as for normal plots
color0 is background
svg_intops and svg_stropts may set all parameters
6 years ago
Holger Vogt
bc678baaca
modified from Giles Atkinson's patch:
use hardcopy entries to set variables
maybe overridden by stropts and intopts list variables
6 years ago
Holger Vogt
6b4d2a9241
separate svg and postscript handling
6 years ago
Holger Vogt
dacd727d87
separate svg and postscript
suitable text placement for svg
6 years ago
Holger Vogt
87b59d22a5
add generation of svg graphics file
based on patch no. 97 by Giles Atkinson
6 years ago
Holger Vogt
b86c85f85b
Safeguard against usage of --with-readline or --with-editline
Some package maintainers have erroneously used the above ./configure
flags during compiling libngspice-0.so. This has led to an unresolved
symbol history_file with ngspice-34.
5 years ago
Holger Vogt
8076e2b4cf
Check for double '{{ }}', replace the inner '{', '}' by '(', ')'
in .model lines, if compat mode ps is set. Enables use of some On-Semi
power transistor models.
5 years ago
Holger Vogt
d7feec20fe
enable parameter 'gain'
patch provided by Bohdan Tkhir
5 years ago
Holger Vogt
8abd8069a8
Re-enable compiling ngsconvert again
Capability to compile ngsconvert is extremely sensitive to changes in
associated files as found in makefile.am and may esily be
broken again next time. Requires manual tweaking.
5 years ago
Holger Vogt
462534a0fb
Rename the ngspice version information offered in sharedspice.h
5 years ago
Holger Vogt
99a7bfd8fe
Move version info from sharedspice.c to sharedspice.h
5 years ago
Holger Vogt
0ae9aeec41
remove config.h from dist and install
5 years ago
Holger Vogt
4f385b604b
remove obsolete command
5 years ago
Holger Vogt
65a47d3276
Remove compiler warnings: CIDER debug flags are used as int
FIXME: Why arer they defined as BOOLEAN in main.c
without generating a warning?
5 years ago
Holger Vogt
a77b529928
set the locale to "C" locally, if shared ngspice
5 years ago
Holger Vogt
5747982ae8
Re-enable devices like E2 1 0 (2,3) 1
Add a new function nexttok_noparens(const char *s) which
skips tokens. Characters , ( and ) are treated like spaces.
5 years ago
Holger Vogt
433a76a1f2
Guard against vector "time" not being available
5 years ago
Holger Vogt
c8a7b69190
re-enable setting options when 'set ngbehavior=hs' is set.
5 years ago
Holger Vogt
ffef8e1d16
Remeove "redefinition" warning
5 years ago
Holger Vogt
ca26364a7a
Remove "incompatible pointer" warning
5 years ago
Holger Vogt
8de513e8e9
ngspice.exe and .dll (.so): seperate the main files:
main.c now belongs to exe, sharedspice.c to dll (so)
5 years ago
Holger Vogt
55359e36e0
if SHARED_MODULE, exclude some unused function from build.
Finally complete main.c should be removed in shared ngspice.
5 years ago
Holger Vogt
06eddf1adc
We need config.h.in, when compiling with ./configure,
that is without resorting to autoconf, automake etc.
So partially undo the previous commit.
5 years ago
Holger Vogt
c14680c951
Do not distribute config.h.in
5 years ago
Holger Vogt
ebff1fe79f
makefile.am for cppduals
5 years ago
Holger Vogt
71bc5feacb
We need to include cppduals into the distribution process.
5 years ago
Holger Vogt
7dc6c47df5
config.h should not be distributed or installed
somewhere, because it is generated locally during
the build process.
5 years ago
Holger Vogt
d45e95aa4c
We no longer want to install cmpp or other XSPICE files.
The manual describes making code models from inside
the ngspice build process, and that's what we support
right now.
5 years ago
Holger Vogt
a5eac333bb
Revert "When installing ngspice, do not install the headers"
This reverts commit 5a0d213fec .
5 years ago
Holger Vogt
fb8e974ac4
i-sweep sall become a current vector (SV_CURRENT)
5 years ago
Holger Vogt
939410874a
Info "No circuit loaded!" is added.
5 years ago
Holger Vogt
d239a523e0
remove memory leak
5 years ago
Holger Vogt
ed15d6f975
replace controlles_exit by error return,
delete netlist cc when returning upon error.
5 years ago
Holger Vogt
058f474f90
Prevent crash if netlist input is something like
H n1
5 years ago