Commit Graph

41 Commits

Author SHA1 Message Date
rlar bffcbad0e7 remove a redundant cast 2010-10-08 16:34:35 +00:00
rlar 04dea78e58 fix an incorrect prototype 2010-10-08 16:32:36 +00:00
rlar d897817800 drop a bunch of (void**) NULL casts {invocation of IFnewUid()} 2010-08-10 19:54:41 +00:00
rlar 91a9eb5a10 drop (INPtables*) casts 2010-08-10 18:02:26 +00:00
rlar aa11b7b84f drop (GENmodel*) casts 2010-08-10 17:59:49 +00:00
rlar 62afa50a1c fix dangerous things, potential bugs, at least for big endian machines 2010-07-24 14:27:47 +00:00
rlar 2990821053 use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
2010-07-17 22:11:51 +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 7d6abb2fde upgrade some casts from void* to more specific type 2010-07-09 19:03:02 +00:00
rlar 805f60448a INPtables, remove some casts 2010-07-08 17:50:29 +00:00
rlar 63fae60605 use the GENmodel and GENinstance type instead of void* 2010-07-08 17:20:03 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar 72fc1a0186 use CKTcircuit instead of void*, #1/4 2010-07-07 17:26:05 +00:00
rlar d6ad853ecb fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
h_vogt 257d218893 option noinit, ref. to _logb 2009-08-22 16:54:03 +00:00
h_vogt 7cf016f98b .options NOACCT 2009-02-22 18:28:25 +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
pnenzi f0d3b7c976 Introduced the possibility to look for parameters in models and not only
in devices.
2009-01-15 16:46:31 +00:00
sjborley bd1f8280e4 src/frontend/spiceif.c: Avoid invalid lvalue assignment errors when calling the macro _foo(). Needed for gcc4 which no longer supports lvalue cast bogosity. 2007-12-15 15:11:12 +00:00
dwarning cd80e5bfe0 reenable INPkillMods after deck processing 2007-11-14 08:32:57 +00:00
dwarning 1cf9e0dddc if_setparam_model needs cktdefs.h 2007-10-10 18:46:42 +00:00
pnenzi 53e52f4a59 Model improvements from Phil Barker 2007-10-08 21:45:00 +00:00
sjborley 3187fdf79d Fixed code to avoid errors (invalid lvalue in assignment) under gcc v4.0.2 or and warnings under gcc 4.0.0 (target of assignment not really an lvalue). 2005-10-15 15:34:18 +00:00
sjborley 67ff1b3a83 Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
sjborley 86106cfee9 Fixed problems where printf format was int yet on some systems the argument is long (due to size_t being long). Fixed by always using long format and casting to long. 2005-05-21 15:51:32 +00:00
pnenzi 985d977197 Applied Steven Borley patch for numparam and frontend. See Changelog. 2005-04-24 21:17:31 +00:00
pnenzi d2472a93a9 Rollback of part of Niessner's patch. 2004-08-16 21:05:42 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 5708a54ce4 Applied CDHW patch for options management. 2004-01-21 18:27:57 +00:00
pnenzi dd8929457e Code cleaning. 2003-08-06 18:37:51 +00:00
pnenzi 8362dec274 Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
pnenzi 95fc4b7184 A quick and dirty hack to solve the spice options bug. Will be changed in
the future.
2001-04-15 10:09:22 +00:00
pnenzi d0c681c741 spiceif.c contained some garbage from cvs conflict, resnoise.c did not clean INNOIZ
and two consecutive noise analyses gave different results.
2001-02-07 15:20:26 +00:00
pnenzi 507d961b10 Some bug fixes (removed memcpy) 2001-01-30 08:41:18 +00:00
pnenzi bb56feceff b4ld.c: some var were declared twice. spiceif.c: bug fix 2001-01-24 17:24:32 +00:00
arno 8dc5eac0ee * TODO, doc/ngspice.texi: Small updates
* configure.in: New --enable-smoketest.

	* src/main.c
	src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/parser/numparse.c
	src/include/cktdefs.h src/include/fteext.h
	src/include/inpdefs.h src/include/jobdefs.h
	src/include/ngspice.h src/include/tskdefs.h
	src/spicelib/analysis/Makefile.am
	src/spicelib/analysis/acsetp.c
	src/spicelib/analysis/cktaskaq.c
	src/spicelib/analysis/cktdojob.c
	src/spicelib/analysis/cktnewan.c
	src/spicelib/analysis/cktsetap.c
	src/spicelib/analysis/cktsopt.c
	src/spicelib/analysis/ckttroub.c
	src/spicelib/analysis/dcosetp.c
	src/spicelib/analysis/dctsetp.c
	src/spicelib/analysis/dsetparm.c
	src/spicelib/analysis/nsetparm.c
	src/spicelib/analysis/pzsetp.c
	src/spicelib/analysis/senssetp.c
	src/spicelib/analysis/tfsetp.c
	src/spicelib/analysis/transetp.c
	src/spicelib/devices/bjt/bjtdset.h
	src/spicelib/devices/bjt/bjtext.h
	src/spicelib/devices/bjt/bjtsetup.c
	src/spicelib/devices/bsim2/b2set.c
	src/spicelib/devices/bsim3/b3acld.c
	src/spicelib/devices/bsim3/b3set.c
	src/spicelib/devices/bsim3/bsim3def.h
	src/spicelib/devices/csw/cswtrunc.c
	src/spicelib/devices/dio/diodset.c
	src/spicelib/devices/dio/dioinit.c
	src/spicelib/devices/jfet/jfetset.c
	src/spicelib/devices/mes/messetup.c
	src/spicelib/devices/mos1/mos1ask.c
	src/spicelib/devices/mos1/mos1set.c
	src/spicelib/devices/mos1/mos1temp.c
	src/spicelib/devices/mos3/mos3load.c
	src/spicelib/devices/mos6/mos6set.c
	src/spicelib/devices/sw/swtrunc.c
	src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c
	src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie
        <Alan.Gillespie@analog.com>.
2000-09-05 19:48:22 +00:00
pnenzi 0875108157 Added patches extracted from Alan Gillespie's code. Documentation and
author's file not updated.
2000-09-03 09:00:08 +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 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
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
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00