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
h_vogt
dfbaeaea29
com_ghelp.c: add info on non-availability of help to console versions w/o X display.
12 years ago
dwarning
1e448f497d
1-f-code.c, correct the printout for noise generation
12 years ago
dwarning
b535b43980
1-f-code.c, use fftw3
12 years ago
dwarning
9e01e1c384
com_fft.c, set hanning as default window
12 years ago
dwarning
38ad8f7602
com_fft.c, rename variable `tlen' --> `length'
12 years ago
dwarning
dd290c1886
com_fft.c, correct array size and relay to specific array order for r2c transformation
13 years ago
dwarning
8ed75d166d
com_fft.c, use FFTW3 for com_fft() and com_psd()
13 years ago
dwarning
c61e1bc8c6
fftext.c, move the Bourke FFT code to fftext.c (as a backup)
13 years ago
dwarning
cd8aa1ee04
cmath4.c, com_fft.c, cleanup
13 years ago
dwarning
f989219f6f
cmath4.c, com_fft.c, rename `size' --> `N' and `mm' --> `M'
13 years ago
h_vogt
0e2fc3ceef
inpcom.c: allow node names and .func parameters having
equal string representation
12 years ago
h_vogt
e2f3ea24c0
main.c, suppress progress report when '-o' is used to redirect output
12 years ago
h_vogt
a717fd01ab
inpcom.c: enable .include with $end-of-line in .control section
12 years ago
rlar
d225c4f958
xpressn.c, introduce fortran style nint() rounding function
12 years ago
rlar
a088a6e0e6
subckt.c, fix .model processing (scope)
12 years ago
h_vogt
59de942bdf
enable parameter replacement in R, L, C lines, if equation is
without {} and not in a subcircuit
12 years ago
h_vogt
8dbefe2153
inpcom.c: allow proper 'temper' substitution
if device name and parameter name are the same,
or if parameter name is the last token in the line.
12 years ago
h_vogt
bdcd7dc1a7
inp.c: evaluate for 'temper' only the models which have
been entered into the hash table ckt->MODnameHash
12 years ago
h_vogt
75eee691c4
inpcom.c remove bug: parens around equation h, f
add equation + temper capability to gain of F-Source
12 years ago
h_vogt
606c98904d
inpcom.c: H Source with equation and temper in transresistance
12 years ago