rlar
05e5854268
plotit.c, whitespace cleanup
14 years ago
rlar
512644ca34
rewrite using wl_ functions
14 years ago
rlar
cd2cab2a94
bug fix, cp_ioreset(): fclosing an already closed stream
causing memory corruption when using `>&' stderr redirection
14 years ago
h_vogt
4d0d0fafb9
repair broken ternary function in B-Source
failed if parameters were included in function.
fixed by finding nested parens in gettok_char()
14 years ago
h_vogt
c3141d94e0
table: prevent crashes upon wrong inputs, allow time, temper, hertz as part of device or node name (e.g. Rtime), remove some memory leaks
14 years ago
rlar
1e65ea9e80
rewrite using wl_ functions
this fixed following bug as well:
echo "echo abra ; ; echo kadabra" | ngspice -p
building a circular list and looping forever
14 years ago
rlar
561d30e5bf
implement wl_chop()
14 years ago
rlar
fee664bc19
untabify
14 years ago
rlar
31ee05ceef
mw_coms.c, fix the cleanup using wl_cons()
14 years ago
rlar
8d0306c27a
cpif.c, whitespace, indentation, cleanups
14 years ago
rlar
75d6f6da5e
cpitf.c, cleanup using wl_ functions
14 years ago
rlar
3062e25184
mw_comms.c, whitespace, indentation, cleanups
14 years ago
rlar
95978d3697
mw_coms.c, cleanup using wl_cons()
14 years ago
rlar
a890a55937
fix wl_reverse() for empty lists
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
2a22c1b23c
bug fix, missing update of a wordlist's wl_prev pointer
14 years ago
rlar
e1f8033f1c
bug fix, incorrect update of a wordlist's wl_prev pointer
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
h_vogt
14914025c0
measure_at(), allow real valued data for meas ac
14 years ago
h_vogt
0207dc7239
no exchange of ' ' by { } inside .control section
14 years ago
h_vogt
07727f74f0
commands.c: 'options' equivalent to 'option' and allow 'loadsnap' and 'savesnap'
which have been EXPERIMENTAL_CODE so far
14 years ago
rlar
5bb4c56165
outitf.c, cleanup
14 years ago
rlar
05fd5a03d6
outitf.c, cleanup cancer of the semicolon
14 years ago
rlar
4202354704
outitf.c, cleanup comment
14 years ago
rlar
ccea57570e
outitf.c, cleanup return
14 years ago
rlar
486ffc9429
outitf.c, whitespace
14 years ago
rlar
6ae6223250
misccoms.c, com_quit(), implement exitcode
14 years ago
rlar
5436de5bab
misccoms.c, tiny rewrite
14 years ago
rlar
8dcf132199
misccoms.c, shrink scope
14 years ago
rlar
cc32eae60b
misccoms.c, collect byemessage()
14 years ago
rlar
b9c0159cd6
misccoms.c, noask
14 years ago
rlar
41de8d95ff
misccoms.c, collapse strings
14 years ago
rlar
11878ee4ad
misccoms.c, use strncasecmp()
14 years ago
rlar
5f3b453a30
misccoms.c, indentation and whitespace cleanup
14 years ago
rlar
3d34b22ebf
fix file modes
14 years ago
h_vogt
a212be67bc
Exit with error if file not found: fgets() cannot read from NULL
14 years ago
rlar
10e5dbfbcc
raw_read() always fopen("rb") even on windows, always swallow "\r"
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago
rlar
a9eb96e164
avoid `ambiguous else' Warning
14 years ago
h_vogt
80ca57eb76
beautify code
14 years ago
h_vogt
ca8e9b2d2d
prevent false outputs of @dev[param], when not defined in ac simulation
14 years ago
h_vogt
a51953d93e
allow `time', `temper', and `hertz' in expressions of behavioral R,L,C devices
14 years ago
rlar
bde3536ecc
subckt.c, doit(): fix another memory leak
14 years ago
rlar
e3402554f0
subckt.c, doit(): fix a memory leak
14 years ago
h_vogt
dcde15afd2
exclude circuits with XSPICE 'A' devices from using 'savesnap'
XSPICE data storage is not yet implemented
14 years ago
rlar
e889c821d1
configure.ac, fix `NO_X' and `has_no_help'
drop configure options `--enable-x' and `--disable-x'
use `--with-x' and `--without-x' provided by AC_PATH_X
bug tracker item:
[ngspice-Bugs-3515015] Startup error message without x11
https://sourceforge.net/tracker/index.php?func=detail&aid=3515015&group_id=38962&atid=423915
14 years ago
rlar
149345068f
update bison generated files
14 years ago
rlar
15bda2b9e0
fix memory leak in PPparse()
14 years ago
rlar
76336fa21b
fix memory leak in cp_vset()
14 years ago
h_vogt
8b780fa42b
bug_fix: R,L,C instantiations, tc1, tc2, numbers followed by `:'
Ternary function was not recognized in R, C, or L lines
if no voltage or current node was part of the expression,
because then B-Source is not used.
In these cases now inp_fix_ternary_operator_str() is called explicitly.
tc1, tc2 were sometimes recognized falsely,
if part of a token e.g. tc1end.
R, C, and L models are never commented out,
because their names may be token no. 4 or 5 in an R, C, or L line,
and will not be recognized if 5.
INPevaluate() will now correctly evaluate a number if followed by ':'
(number may be part of the ternary function).
14 years ago