Commit Graph

14 Commits

Author SHA1 Message Date
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 858f0442eb Bug fixing. Added externs for memory allocation functions and fixed SMPcDProd code. 2003-08-23 19:49:03 +00:00
pnenzi b8cece5fba Modified code for CIDER simulator. 2003-08-14 11:46:55 +00:00
pnenzi 63c93eca79 Modified sparse include files to obtain better separation from rest of the code.
(added spFindElement in spbuild.c needed by cider).
2003-08-13 23:27:17 +00:00
pnenzi 9ee4064c46 Added more separation between sparse and the rest of the package. 2003-08-13 13:00:12 +00:00
pnenzi 8aa1dc20a8 Bug fix: incorrect definition of CALLOC ifndef HAVE_LIBGC 2001-02-09 23:17:27 +00:00
pnenzi d735c9a871 Some code cleanup 2001-02-09 08:18:35 +00:00
pnenzi 8b7f406003 Modified CALLOC macro. Now uses calloc if LIBGC is not installed and malloc otherwise.
LIBGC provides a malloc that clean the allocated memory.
2001-02-06 18:29:13 +00:00
arno cc51f0e8db * src/main.c, src/multidec.c, src/proc2mod.c,
src/frontend/display.c, src/frontend/outitf.c,
	src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
	src/frontend/parser/complete.c, src/frontend/parser/glob.c,
	src/frontend/plotting/graf.c,
	src/frontend/plotting/graphdb.c,
	src/frontend/plotting/x11.c, src/include/graph.h,
	src/include/iferrmsg.h, src/include/ifsim.h,
	src/include/macros.h, src/maths/poly/polyfit.c,
	src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
	src/misc/alloc.c, src/misc/mktemp.c,
	src/spicelib/analysis/cktpzstr.c,
	src/spicelib/devices/bsim2/b2temp.c,
	src/spicelib/devices/bsim3/b3temp.c,
	src/spicelib/devices/bsim3v1/b3v1temp.c,
	src/spicelib/devices/bsim3v2/b3v2temp.c,
	src/spicelib/devices/bsim4/b4temp.c: replaced malloc
	realloc and free calls to use tmalloc trealloc and txfree.

	* tests/diffpair.out, tests/fourbitadder.out,
	tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno 7ac9278389 * src/include/spconfig.h: Removed spCOMPLEX,
spSEPARATED_COMPLEX_VECTORS and spCOMPATIBILITY defines.  This
	made including this file from src/include/spmatrix.h unnecessary.
	Moved this file to src/maths/sparse/spconfig.h.

	* src/include/spmatrix.h: Removed include of
	src/include/spconfig.h.

	* src/maths/sparse/spalloc.c, src/maths/sparse/spbuild.c,
	src/maths/sparse/spcombin.c, src/maths/sparse/spdefs.h,
	src/maths/sparse/spfactor.c, src/maths/sparse/spoutput.c,
	src/maths/sparse/spsmp.c, src/maths/sparse/spsolve.c,
	src/maths/sparse/sputils.c: The other files affected by the
	removal of spCOMPLEX, spSEPARATED_COMPLEX_VECTORS and
	spCOMPATIBILITY defines.  Also: assertions are enabled by
	default.

	* src/include/smpdefs.h, src/maths/sparse/spsmp.c: SMPmatrix is
	now a typedef for void, instead of char.  Updated all function
	declarations to match this.  Also added function prototypes not
	previously mentioned in src/include/smpdefs.h.

	* src/include/complex.h: Updates of cast from char * to void *
2000-07-03 15:28:50 +00:00
arno 1025e978bc * src/include/complex.h, src/include/macros.h,
src/include/memory.h, src/maths/sparse/spdefs.h: Moved definitions
        of complex into complex.h.  There are three different ways to
        declare a complex number in Spice.  We need further work to reduce
        this to only one.

        * src/maths/cmaths/Makefile.am, src/maths/cmaths/.cvsignore,
        src/maths/cmaths/test_cx_ph.c:  Added a new test and updated the
        corresponding support files.
2000-06-03 12:08:35 +00:00
arno 0fb8f339b8 * man/man1/nutmeg.1 man/man1/spice.1 src/multidec.c
src/analysis/cktinit.c src/analysis/cktpzld.c
	src/analysis/cktpzstr.c src/analysis/cktsens.c
	src/analysis/sensaskq.c src/analysis/senssetp.c
	src/analysis/tfanal.c src/circuit/inpgtok.c
	src/circuit/inpptree.c src/circuit/sperror.c src/devices/dev.c
	src/devices/asrc/asrcacld.c src/devices/devsup/devsup.c
	src/devices/jfet/jfetload.c src/devices/ltra/ltra.c
	src/devices/ltra/ltraset.c src/devices/mos6/mos6ext.h
	src/frontend/aspice.c src/frontend/device.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/gens.c src/frontend/graf.c src/frontend/grid.c
	src/frontend/inp.c src/frontend/interp.c
	src/frontend/nutctab.c src/frontend/plotcurv.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/resource.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/typesdef.c
	src/frontend/x11.c src/hlp/readhelp.c src/hlp/x11disp.c
	src/include/complex.h src/include/devdefs.h
	src/include/fteconst.h src/maths/ni/nipzmeth.c
	src/maths/sparse/spalloc.c src/maths/sparse/spbuild.c
	src/maths/sparse/spcombin.c src/maths/sparse/spextra.c
	src/maths/sparse/spfactor.c src/maths/sparse/spoutput.c
	src/maths/sparse/spsmp.c src/maths/sparse/spsolve.c
	src/maths/sparse/sputils.c src/parser/lexical.c
	src/parser/unixcom.c: removed most `#ifdef notdef', converted
	some function calls from K&R to ANSI.
2000-05-03 20:01:30 +00:00
arno e92356e43c * DEVICES: Adjusted spacing.
* doc/.cvsignore man/.cvsignore man/man1/.cvsignore
	src/.cvsignore src/analysis/.cvsignore src/circuit/.cvsignore
	src/devices/.cvsignore src/devices/asrc/.cvsignore
	src/devices/bjt/.cvsignore src/devices/bsim1/.cvsignore
	src/devices/bsim2/.cvsignore src/devices/bsim3/.cvsignore
	src/devices/bsim3soi_dd/.cvsignore
	src/devices/bsim3soi_fd/.cvsignore
	src/devices/bsim3soi_pd/.cvsignore
	src/devices/bsim3v1/.cvsignore src/devices/bsim3v2/.cvsignore
	src/devices/bsim4/.cvsignore src/devices/cap/.cvsignore
	src/devices/cccs/.cvsignore src/devices/ccvs/.cvsignore
	src/devices/csw/.cvsignore src/devices/devsup/.cvsignore
	src/devices/dio/.cvsignore src/devices/disto/.cvsignore
	src/devices/ind/.cvsignore src/devices/isrc/.cvsignore
	src/devices/jfet/.cvsignore src/devices/jfet2/.cvsignore
	src/devices/ltra/.cvsignore src/devices/mes/.cvsignore
	src/devices/mos1/.cvsignore src/devices/mos2/.cvsignore
	src/devices/mos3/.cvsignore src/devices/mos6/.cvsignore
	src/devices/res/.cvsignore src/devices/sw/.cvsignore
	src/devices/tra/.cvsignore src/devices/urc/.cvsignore
	src/devices/vccs/.cvsignore src/devices/vcvs/.cvsignore
	src/devices/vsrc/.cvsignore src/frontend/.cvsignore
	src/hlp/.cvsignore src/include/.cvsignore src/maths/.cvsignore
	src/maths/cmaths/.cvsignore src/maths/ni/.cvsignore
	src/maths/sparse/.cvsignore src/misc/.cvsignore
	src/parser/.cvsignore tests/.cvsignore: Help CVS ignore
	automatically regenerated files.
2000-05-01 18:23:50 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00