rlar
4eeb1361d6
spicenum.c, rewrite nupa_done()
12 years ago
rlar
d2d606a79a
spicenum.c, rewrite putlogfile()
12 years ago
rlar
da6790e68d
numparam, change np_trunc() and np_round() return type to double
12 years ago
rlar
c1bd74f982
mystring.c, drop auxiliary implementations of np_round() and np_trunc()
12 years ago
rlar
4abb068405
xpressn.c, use fabs()
12 years ago
rlar
d17c0d7813
mystring.c, rewrite spos_()
12 years ago
rlar
bf3888c490
numparam, drop "//" comment processing (already done in inpcom.c)
12 years ago
rlar
80b0ac22a4
xpressn.c, rewrite message() usage
12 years ago
rlar
20d651f00c
subckt.c, #5/5 local scope for orig_modnames
12 years ago
rlar
c01fa9153f
subckt.c, #4/5 rename modnames --> new_modnames
12 years ago
rlar
d7882badfd
subckt.c, #3/5 rename translated_model_name --> new_model_name
12 years ago
rlar
39abfee774
subckt.c, #2/5 rename submod --> orig_modnames
12 years ago
rlar
cb25ce757e
subckt.c, #1/5 cleanup modtranslate() signature
12 years ago
rlar
aa7a7606c7
avoid multiple declarations of controlled_exit(), add 'noreturn' attribute
13 years ago
rlar
fbdea9be3d
inpcom.c, inp_fix_inst_calls_for_numparam() rewrite for cleanup
12 years ago
rlar
6d30585a5e
inpcom.c, inp_fix_inst_calls_for_numparam(), local scope for some vars
12 years ago
rlar
5862d1b297
inpcom.c, inp_fix_inst_calls_for_numparam(), avoid excess tfree() invocations
12 years ago
rlar
e652dc40be
inpcom.c, drop unused artifacts
12 years ago
rlar
7a6b569b3b
inpcom.c, rewrite bizarre code in inp_get_params()
12 years ago
rlar
6f89395d8a
fix commit: introduce OUTerrorf() and IFerrorf()
12 years ago
rlar
cc235294ec
lexical.c, change semantics of an ESCAPE in a given input `string'
now simply skip it.
presumably and in accordance to what the comments seems to suggest
ESCAPE never was really meant to be read as '['
but was replaced just to get it out of way deeper in the for loop
where an ESCAPE starts an ancient mechanism to reenter
interactive input via a terminals TIOCSTI capability
12 years ago
rlar
cb75a749b8
lexical.c, avoid to read beyond end of `string'
12 years ago
rlar
f42b5b16c7
lexical.c, simplify
12 years ago
rlar
8c7ae0d61c
lexical.c, simplify using cp_readchar()
12 years ago
rlar
448099ef94
lexical.c, new function cp_readchar() for abstraction
12 years ago
rlar
9bd2cdfc7b
modtranslate(), cleanup using tprintf()
12 years ago
rlar
7813f6cf6a
cleanup, use tprintf()
13 years ago
rlar
cc56c90b9d
drop asprintf()
13 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
1a0a00c9c2
inp.c, nicer printout of multi line error messages
12 years ago
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
a varargs variant of the older variants OUTerror() and IFerror()
12 years ago
rlar
0182f2f7ca
swallow an unused format argument warning
12 years ago
Y.Niitsu
4de727f4a9
update bison generated files
12 years ago
Y.Niitsu
6e3f60c6bd
frontend/parse.c, allow nested `indexing', for example foo[bar[n]]
.control
compose ex1 values 111 222 333
compose ex2 values 1 2 3
print ex1 ex2 ex1[ex2[1]]
.endc
12 years ago
rlar
b6ed9a3620
bug fix, `#279 Problem when using a function to set initial value"
reported by Marcel Hendrix in
http://sourceforge.net/p/ngspice/bugs/279/
"SPF_time" erroneously did match "time"
introduce a saver matcher for
`v(' `i(' `temper' `time' and `hertz'
when checking for behavioural R,L,C devices
12 years ago
rlar
060257a468
inpcom.c, sharedlib, strip leading whitepace from circuit deck
this was traditionally done in inp_read() by readline(),
and was missing for circuit decks passed by 'circarray'
12 years ago
h_vogt
8499ef0428
.option 'savecurrents' for storing all current of relevant devices
12 years ago
dwarning
461026f2b9
fix to use garbage collector with --enable-gc
12 years ago
h_vogt
bdb54257c7
outitf.c: new option interp to plot interpolated raw file data
during transient analysis
12 years ago
h_vogt
0609d231c0
runcoms2.c: prevent crash after 'remcirc' if no circuit is loaded
12 years ago
rlar
66281cad4e
inpcom.c: exclude command 'shell' from lower case letter transformation
reported by Dominique Michel
[Ngspice-users] gs is confused with the shell command
shell gs -dBATCH -dNOPAUSE -sDEVICE=png256 -sOutputFile="plot.png"
12 years ago
h_vogt
1f5de32512
global variable Infile_Path, which contains the
input netlist file path
12 years ago
h_vogt
bf1fb3f105
inp.c: prevent crash upon if_inpdeck() returning NULL
12 years ago
rlar
ed23c7e315
set X11 window title from `graph->plotname'
in response to a bug report by Dominique Michel
"#272 no title in plots"
http://sourceforge.net/p/ngspice/bugs/272/
12 years ago
h_vogt
74b32f392c
inpcom.c: E, G source, improved search for 'vol' and 'cur'
in response to a bug report by Marlize Schoeman
"#274 VCVS Exxxx name and node names do not allow VOL as text"
http://sourceforge.net/p/ngspice/bugs/274/
12 years ago
rlar
f2093b17e8
parseunit(), support 'T' for "Tera"
in response to a bug report by Andy Fierman
"#273 T = Tera = 1e12 suffix is ignored when used in a parameter in a subcircuit."
http://sourceforge.net/p/ngspice/bugs/273/
12 years ago
h_vogt
d5b2460123
inp.c, inp2q.c improve error message
when we exit() in batch mode due to a missing model definition
12 years ago
rlar
bb28578956
workaround, avoid batch termination when there are .model issues
these were introduced by commit
"inp.c, evtinit.c: improved error message suggested by Calin Andrian"
and caused ngspice checks to fail unexpectedly
12 years ago
h_vogt
bd1b4a2162
gnuplot.c: enable correct terminal for non MINGW/MSVC
12 years ago
h_vogt
23ffcbf7d1
variable.c: prevent buffer overflow by limiting variable output to BSIZE_SP characters
12 years ago