Commit Graph

47 Commits

Author SHA1 Message Date
rlar f038d59fbe mkfnode(), fix a memory leak 2012-10-17 19:39:02 +02:00
rlar 01ed0ac5d9 com_fft(), com_psd(), com_spec(), cleanup storage more thoroughly
use free_pnode() instead of free_pnode_o()
drop free_pnode_o()
2012-10-06 21:07:27 +02:00
rlar ae5de92c69 cleanup db_print_pnode_tree() 2012-09-27 19:49:42 +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 15bda2b9e0 fix memory leak in PPparse() 2012-04-05 21:30:05 +02:00
rlar f285dd0aa8 use strchr() instead of index() 2012-02-06 17:46:33 +00:00
h_vogt 75767fcc3d floor(), ceil() added 2011-12-26 11:34:21 +00:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00: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 2651fe4801 fuction cph(vector) 2011-08-06 15:15:56 +00:00
h_vogt 4679fdf046 sinh, cosh, tanh 2011-07-16 23:03:27 +00:00
h_vogt 1ea76af678 add statistical functions to numparam and nutmeg parsers 2010-12-28 19:01:30 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar 21a31ab2c2 tiny rewrite, make use of strtolower() and strtoupper() 2010-11-06 17:39:18 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar e945ab68bc collect some cx_*() prototypes in "cmath2.h" 2010-10-08 18:59:41 +00:00
rlar 9e75489e9f consider the op_*() functions to be less public 2010-10-08 18:46:38 +00:00
rlar f7c8eb1d2a muffle some visual-C warnings 2010-09-07 20:23:07 +00:00
dwarning 03d91ab8b0 new function sunif() 2010-08-29 09:23:34 +00:00
h_vogt ba539d9ef1 new fcn sgauss(), new rnd-no generator 2010-08-28 18:13:08 +00:00
rlar 010e046e6b work around a segmentation fault, plot .. vs vec 2010-07-31 17:04:37 +00:00
rlar d074de41f2 fix the type signature of the cx_* functions 2010-07-24 12:37:41 +00:00
rlar 4102c27164 fix function pointer initialization 2010-07-11 20:18:47 +00:00
dwarning 5fcf9c2afe ternary operation in control blocks 2010-04-11 08:49:05 +00:00
h_vogt 288e0b7214 patches R. Larice 2010-03-08 22:20:25 +00:00
h_vogt f4c54eada1 line 922 removed: no automatic deletion of @xxx[par] 2009-02-21 13:00:36 +00:00
pnenzi f543aa8c06 Improvements in vector derivative computation and new functions to
compute group delay and moving average. From espice (A. Roldan).
2009-01-15 21:08:09 +00:00
h_vogt 7c266142cc reintroduce old free_pnode as free_pnode_o 2008-12-06 15:09:11 +00:00
pnenzi 008c9d7a4c Improved reporting (from Phil Barker) 2007-10-08 15:36:56 +00:00
sjborley 476f60255e Spotted error in my previous fix to this file, now corrected. 2005-05-26 19:51:33 +00:00
sjborley cbdd811aa5 Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:29:52 +00:00
sjborley 358b5f829a Replace C++ style comment with C style comment 2005-05-22 20:39:07 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi c54bda7dc0 Removed #if INTERPOLATE 2003-12-26 11:03:24 +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 a6517ea488 Closed memory leak. 2003-08-23 22:27:36 +00:00
pnenzi 842b05311d Commented out the code that caused segfault when "plot v(x)" command is issued.
Need additiona check.
2003-08-21 12:38:55 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
pnenzi 5347790036 Renamed conflicting functions min,max and d as vecmin, vecmax and vecd 2001-12-06 12:38:10 +00:00
pnenzi fc8956b08c Added min, max and d(iff) to vectors from code submitted by Routoure. 2001-11-23 18:01:38 +00:00
arno 489fc66afd src/Makefile.am src/help.c src/main.c
src/circuit/Makefile.am src/circuit/ifnewuid.c
	src/frontend/Makefile.am src/frontend/aspice.c
	src/frontend/circuits.h src/frontend/com_display.c
	src/frontend/com_hardcopy.c src/frontend/commands.c
	src/frontend/commands.h src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/device.c
	src/frontend/diff.c src/frontend/display.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/mw_coms.c
	src/frontend/nutinp.c src/frontend/options.c
	src/frontend/outitf.c src/frontend/parse.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/rawfile.c src/frontend/resource.c
	src/frontend/runcoms.c src/frontend/runcoms2.c
	src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/subckt.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/plotting/Makefile.am
	src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
	src/frontend/plotting/plotcurv.c
	src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
	src/frontend/plotting/xgraph.c src/include/Makefile.am
	src/maths/cmaths/cmath4.c src/misc/terminal.c
	src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
	src/parser/front.h src/parser/history.c src/parser/history.h
	src/parser/modify.c src/parser/var2.c src/parser/var2.h
	src/parser/variable.c: Refactoring of frontend code.

	* src/include/ftehelp.h src/include/variable.h: Moved into
	frontend directory.

	* src/include/cpdefs.h src/include/cpextern.h
	src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00
arno 353282b3ef * src/frontend/diff.c src/frontend/diff.h
src/frontend/evaluate.c src/frontend/evaluate.h
	src/frontend/parse.c src/frontend/parse.h: Trimmed down the
	amount of included files.

	* src/include/macros.h: Removed complex functionality
	duplicated from src/include/complex.h

	src/include/Makefile.am src/include/ftecmath.h: Removed header
	file and adjusted Makefile.am
2000-05-13 16:22:16 +00:00
arno 8696a52e89 * src/Makefile.am src/main.c src/sconvert.c
src/analysis/cktdisto.c src/analysis/cktnoise.c
	src/analysis/noisean.c: Updates for the
	new header files.

	* src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c: Updates
	for the new header files.

	* src/frontend/.cvsignore src/frontend/Makefile.am: Updates
	for the new files.

	* src/frontend/agraf.c src/frontend/aspice.c
	src/frontend/breakp.c src/frontend/breakp2.c
	src/frontend/circuits.c src/frontend/cpitf.c
	src/frontend/debugcom.c src/frontend/define.c
	src/frontend/diff.c src/frontend/dimens.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/evaluate.c
	src/frontend/fourier.c src/frontend/graf.c
	src/frontend/grid.c src/frontend/inp.c src/frontend/inpcom.c
	src/frontend/interp.c src/frontend/linear.c
	src/frontend/misccoms.c src/frontend/misccoms.h
	src/frontend/miscvars.c src/frontend/mw_coms.c
	src/frontend/newcoms.c src/frontend/nutinp.c
	src/frontend/options.c src/frontend/outitf.c
	src/frontend/parse.c src/frontend/plotcurv.c
	src/frontend/points.c src/frontend/postcoms.c
	src/frontend/rawfile.c src/frontend/runcoms.c
	src/frontend/runcoms2.c src/frontend/shyu.c
	src/frontend/spec.c src/frontend/spiceif.c
	src/frontend/typesdef.c src/frontend/vectors.c
	src/frontend/where.c src/frontend/postcoms.c: Updates for the
	new header files.  Some commands have moved into the new files
	below.

	* src/frontend/README src/frontend/com_compose.c
	src/frontend/com_compose.h src/frontend/com_display.c
	src/frontend/com_display.h src/frontend/com_let.c
	src/frontend/com_let.h src/frontend/com_setscale.c
	src/frontend/com_setscale.h src/frontend/commands.c
	src/frontend/commands.h src/frontend/completion.h
	src/frontend/streams.h src/frontend/testcommands.c:
	Separation into different com_* commands.  This is a start.
	The rest of the subdirectory needs doing.

	* src/include/complex.h src/include/cpdefs.h
	src/include/cpextern.h src/include/cpstd.h
	src/include/fteconst.h src/include/ftedata.h
	src/include/ftedev.h src/include/fteext.h
	src/include/ftegraph.h src/include/fteparse.h
	src/include/dvec.h src/include/grid.h src/include/plot.h
	src/include/pnode.h src/include/sim.h src/include/variable.h
	src/include/wordlist.h src/include/bool.h: Separation of
	header files into smaller pieces.  This limits recompilation
	to only the affected source files.  The original header
	files have a warning message embedded to flag obsoleted use.

	* src/frontend/compose.c src/frontend/compose.h
	src/frontend/nutctab.c src/frontend/nutctab.h
	src/frontend/plot5.c src/frontend/plot5.h
	src/frontend/spcmdtab.c src/frontend/x11.c
	src/frontend/x11.h src/frontend/xgraph.c
	src/frontend/xgraph.h: Moved these files into
	src/frontend/plotting subdirectory.

	* src/frontend/plotting/.cvsignore
	src/frontend/plotting/Makefile.am
	src/frontend/plotting/plot5.c src/frontend/plotting/plot5.h
	src/frontend/plotting/plotting.c
	src/frontend/plotting/plotting.h
	src/frontend/plotting/pvec.c src/frontend/plotting/pvec.h
	src/frontend/plotting/x11.c src/frontend/plotting/x11.h
	src/frontend/plotting/xgraph.c
	src/frontend/plotting/xgraph.h: The new libplotting library
	with automake and CVS infrastructure.
2000-05-06 14:12:51 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00