rlar
cd2cab2a94
bug fix, cp_ioreset(): fclosing an already closed stream
...
causing memory corruption when using `>&' stderr redirection
2012-07-22 11:56:25 +02:00
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()
2012-07-21 22:23:49 +02:00
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
2012-07-21 21:18:24 +02:00
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
2012-07-21 18:22:10 +02:00
rlar
561d30e5bf
implement wl_chop()
2012-07-21 14:42:18 +02:00
rlar
fee664bc19
untabify
2012-07-19 20:26:13 +02:00
rlar
31ee05ceef
mw_coms.c, fix the cleanup using wl_cons()
2012-07-19 20:25:06 +02:00
rlar
8d0306c27a
cpif.c, whitespace, indentation, cleanups
2012-07-19 20:15:33 +02:00
rlar
75d6f6da5e
cpitf.c, cleanup using wl_ functions
2012-07-19 20:15:30 +02:00
rlar
3062e25184
mw_comms.c, whitespace, indentation, cleanups
2012-07-19 18:49:27 +02:00
rlar
95978d3697
mw_coms.c, cleanup using wl_cons()
2012-07-19 18:49:25 +02:00
rlar
a890a55937
fix wl_reverse() for empty lists
2012-07-14 12:39:13 +02:00
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
2012-07-14 10:23:51 +02:00
rlar
2a22c1b23c
bug fix, missing update of a wordlist's wl_prev pointer
2012-07-12 20:44:53 +02:00
rlar
e1f8033f1c
bug fix, incorrect update of a wordlist's wl_prev pointer
2012-07-12 18:49:01 +02:00
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
2012-07-07 14:51:39 +02:00
h_vogt
14914025c0
measure_at(), allow real valued data for meas ac
2012-06-26 23:43:50 +02:00
h_vogt
0207dc7239
no exchange of ' ' by { } inside .control section
2012-06-26 23:28:31 +02:00
h_vogt
07727f74f0
commands.c: 'options' equivalent to 'option' and allow 'loadsnap' and 'savesnap'
...
which have been EXPERIMENTAL_CODE so far
2012-06-13 19:15:14 +02:00
rlar
5bb4c56165
outitf.c, cleanup
2012-06-12 21:26:31 +02:00
rlar
05fd5a03d6
outitf.c, cleanup cancer of the semicolon
2012-06-12 21:26:31 +02:00
rlar
4202354704
outitf.c, cleanup comment
2012-06-12 21:26:31 +02:00
rlar
ccea57570e
outitf.c, cleanup return
2012-06-12 21:26:31 +02:00
rlar
486ffc9429
outitf.c, whitespace
2012-06-12 21:26:31 +02:00
rlar
6ae6223250
misccoms.c, com_quit(), implement exitcode
2012-06-12 21:26:30 +02:00
rlar
5436de5bab
misccoms.c, tiny rewrite
2012-06-12 21:26:30 +02:00
rlar
8dcf132199
misccoms.c, shrink scope
2012-06-12 21:26:30 +02:00
rlar
cc32eae60b
misccoms.c, collect byemessage()
2012-06-12 21:26:30 +02:00
rlar
b9c0159cd6
misccoms.c, noask
2012-06-12 21:26:30 +02:00
rlar
41de8d95ff
misccoms.c, collapse strings
2012-06-12 21:26:30 +02:00
rlar
11878ee4ad
misccoms.c, use strncasecmp()
2012-06-12 21:26:30 +02:00
rlar
5f3b453a30
misccoms.c, indentation and whitespace cleanup
2012-06-12 21:26:30 +02:00
rlar
3d34b22ebf
fix file modes
2012-06-12 21:26:29 +02:00
h_vogt
a212be67bc
Exit with error if file not found: fgets() cannot read from NULL
2012-06-12 21:26:29 +02:00
rlar
10e5dbfbcc
raw_read() always fopen("rb") even on windows, always swallow "\r"
2012-06-12 21:26:29 +02:00
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
2012-06-12 21:26:29 +02:00
rlar
a9eb96e164
avoid `ambiguous else' Warning
2012-06-12 21:26:29 +02:00
h_vogt
80ca57eb76
beautify code
2012-06-12 21:26:27 +02:00
h_vogt
ca8e9b2d2d
prevent false outputs of @dev[param], when not defined in ac simulation
2012-06-12 21:26:27 +02:00
h_vogt
a51953d93e
allow `time', `temper', and `hertz' in expressions of behavioral R,L,C devices
2012-06-12 21:26:27 +02:00
rlar
bde3536ecc
subckt.c, doit(): fix another memory leak
2012-06-12 21:26:27 +02:00
rlar
e3402554f0
subckt.c, doit(): fix a memory leak
2012-06-12 21:26:27 +02:00
h_vogt
dcde15afd2
exclude circuits with XSPICE 'A' devices from using 'savesnap'
...
XSPICE data storage is not yet implemented
2012-06-12 21:26:26 +02:00
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
2012-04-06 16:19:49 +02:00
rlar
149345068f
update bison generated files
2012-04-05 21:33:54 +02:00
rlar
15bda2b9e0
fix memory leak in PPparse()
2012-04-05 21:30:05 +02:00
rlar
76336fa21b
fix memory leak in cp_vset()
2012-04-05 21:25:04 +02:00
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).
2012-03-31 23:42:37 +02:00
h_vogt
232270cbc4
bug fix, inp_bsource_compat(): `tc1=' `tc2=' `reciproctc=' `}'
...
don't substitute `tc1=' `tc2=' `reciproctc='
don't fail when processing tokens followed by `}' chars
2012-03-30 22:56:15 +02:00
rlar
e91e3c4ec7
lingrid(), avoid buffer overflow
...
Bug ID: `Buffer overflow detected - ID: 3510521'
reported by Zsolt Makaró
The variable `mag3' sometimes seems to take
unexpected values
(for example log10 can be -Inf, which will be casted to 0x80000000)
and seems then to have overflown a buffer buf[LABEL_CHARS]
2012-03-27 21:07:12 +02:00