Holger Vogt
ebe4fd5332
control.c, bug 374, prevent crash if cend[stackp] is NULL
...
reported by PyroPeter
2018-11-18 15:54:21 +01:00
Holger Vogt
0406546f7e
remove a small memoryleak in (nested) goto loops
2018-09-02 18:04:25 +02:00
Holger Vogt
9332801382
free the original wlist, made by getcommand(),
...
not a derived wlist that is just part of the original
2018-08-25 00:38:26 +02:00
h_vogt
c74ad9b3ee
control.c, remove memory leaks
2016-07-28 21:25:05 +02:00
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
2016-03-21 21:22:07 +01:00
h_vogt
88414a58ce
frontend/control.c, bug fix, "#310 Command parser problem with wrdata"
...
make all commands (see manual 17.5) entered manually,
with .control section or by script case insensitive.
generally in inpcom.c everything is converted to lowercase,
but there are exceptions, e.g. "wrdata", which might be
followed by arguments whose case needs to be preserved.
(most notably filenames)
Thanks to Mathias Gebhardt, who reported this bug in
#310 Command parser problem with wrdata
http://sourceforge.net/p/ngspice/bugs/310/
2015-12-27 15:36:04 +01:00
rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
2015-05-02 10:24:49 +02:00
rlar
e2c0303865
avoid `unreachable code' warnings
2013-12-31 16:21:46 +01:00
rlar
bedbdb65bb
cleanup some line wraps
2013-12-31 16:12:43 +01:00
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
f3b5336d3a
cleanup some macros, try to be more careful
2012-09-19 20:16:27 +02:00
rlar
891d99497d
use wl_find()
2012-07-28 12:29:23 +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
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
h_vogt
220cc83458
fft calculation with type double (instead of float)
2011-08-19 20:46:23 +00:00
rlar
23056573d8
code cleanup, drop NULL pointer casts
2011-04-28 15:59:36 +00:00
rlar
0b6a557334
code cleanup
2011-04-27 18:30:15 +00:00
h_vogt
1ea76af678
add statistical functions to numparam and nutmeg parsers
2010-12-28 19:01:30 +00:00
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
2010-11-19 18:54:40 +00:00
rlar
ea8d250999
bug fix, incorrect handling of `co_spiceonly' commands
2010-10-28 18:12:27 +00:00
rlar
3c3b31fa60
declare some functions `static'
2010-10-15 18:43:52 +00:00
rlar
8dd05de4ca
bug fix, segfaults and sickness caused by `plot'
2010-08-04 16:03:23 +00:00
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
2010-07-17 20:48:20 +00:00
rlar
cab9417c9a
eliminate co_stringargs, which is used nowhere
2010-07-14 15:43:50 +00:00
h_vogt
eef75ffab5
remove bug no. 2724127 repeat loop inside another loop
2009-04-14 06:09:48 +00:00
dwarning
6bd5f8470b
Changes to compile under Sun Studio 11 for Solaris
2008-05-18 19:25:17 +00:00
sjborley
cb247a15fb
Added support for the BSD licensed editline library (libedit).
2005-05-06 23:43:46 +00:00
sjborley
a1991eee19
Fixed issues with the alternate prompt
2005-05-04 01:26:53 +00:00
pnenzi
1260ae08db
Update autoconf scripts and applied Niessner patch to remove compiler warnings.
2004-07-09 18:37:25 +00:00
pnenzi
531fb3575a
Applied Vera Patch to correct bugs in shell code and re-enabling interpolate command.
2003-12-25 17:30:36 +00:00
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
2003-07-23 19:36:39 +00:00
pnenzi
7583d1849e
Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
...
are aimed to close some leaks in the parser.
2001-12-14 18:29:08 +00:00
pnenzi
6f55975cc0
Code clean up (removed some warning)
2001-02-09 13:27:21 +00:00
arno
839ade8236
* src/frontend/com_ahelp.c src/frontend/com_ahelp.h
...
src/frontend/com_cdump.c src/frontend/com_cdump.h
src/frontend/com_ghelp.c src/frontend/com_ghelp.h
src/frontend/com_help.c src/frontend/com_help.h
src/frontend/com_history.c src/frontend/com_history.h
src/frontend/com_set.c src/frontend/com_shift.c
src/frontend/com_strcmp.c src/frontend/com_strcmp.h
src/frontend/com_unset.c src/frontend/control.c
src/frontend/control.h src/frontend/ftehelp.h
src/frontend/hcomp.c src/frontend/hcomp.h src/frontend/init.c
src/frontend/init.h src/frontend/terminal.c
src/frontend/terminal.h src/frontend/variable.c
src/frontend/variable.h: New additions from the refactoring of
the parser directory.
2000-06-27 16:15:43 +00:00