Commit Graph

65 Commits

Author SHA1 Message Date
pnenzi 1b7c9386fe Bug fixes from previous commit. 2001-04-22 10:08:46 +00:00
pnenzi 22acf4b96a Simple changes from patches to spice 3f4 (G. Roehrich) that restored the drawing of lines and boxes in plot windows in truecolor displays. 2001-04-15 19:32:25 +00:00
pnenzi 72a751f567 Various bug fixes 2001-04-15 10:11:04 +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 fd6d0b0723 Fixed stringutil missing bug. 2001-02-11 20:13:45 +00:00
pnenzi 317c6a2415 Appiled some of dan's patches. 2001-02-11 00:47:21 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +00:00
pnenzi 6f55975cc0 Code clean up (removed some warning) 2001-02-09 13:27:21 +00:00
pnenzi d735c9a871 Some code cleanup 2001-02-09 08:18:35 +00:00
pnenzi 9b2a31494a Documentation update (Alan mail) 2001-02-07 21:38:01 +00:00
pnenzi 1a821f5e9a Added Alan changes. Reference value plotted in interactive mode. 2001-02-07 15:24:51 +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
pnenzi 1a1fad9023 Modified handling of MOS number of nodes. BSIMSOI model can have up to 7 nodes.
This code is very experimental.
2001-01-24 11:19:39 +00:00
pnenzi 4ce592331e Applied Alan Gillespie patch. The ngspice output format for raw file is now
the original one (spice3) but with some enhancement made by Alan.
2001-01-21 17:18:20 +00:00
pnenzi 97e77a523e Added support for bsim3soi fd devices (fully depleted). 2000-12-08 16:58:47 +00:00
pnenzi cdae0ed0b5 Fixed a couple of bugs in the files 2000-11-21 21:44:33 +00:00
pnenzi ccfdf80c2e Applied patches for BSD OSes 2000-11-13 19:30:00 +00:00
arno 9dd92c7315 * com_history, com_alias, parser/cshpar.c, parser/complete.c:
Applied patch by Michael Widlok.  It fixes command completion and
	history list.  In the process, Michael also fixed a memory leak.
2000-11-07 17:49:18 +00:00
pnenzi a718fb27f5 Fixed an error in variable.c that caused a segmentation fault and updated files for rework-13 2000-11-01 21:21:21 +00:00
pnenzi b2c1e70401 variable.c : a variable was not declared; fixed
NEWS: updating (in progress)
2000-10-26 20:33:11 +00:00
pnenzi 19129762ad Added Glao Dezai's patches (some memory leaks fixes) 2000-10-26 17:02:12 +00:00
arno 86f326d11e * NEWS TODO acconfig.h configure.in src/ngspice.idx
src/frontend/inpcom.c src/include/complex.h
	src/include/macros.h src/include/memory.h
	src/include/ngspice.h src/maths/cmaths/Makefile.am
	src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
	src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c
	src/maths/cmaths/test_cx_j.c src/maths/cmaths/test_cx_mag.c
	src/maths/cmaths/test_cx_ph.c src/misc/alloc.c
	src/misc/alloc.h: Added support for the Boehm-Weiser
	conservative garbage collector.

	* NOTES src/maths/cmaths/cmath.h: Added.

	* notes/Linux.changes notes/dbx notes/internal notes/mac_port
	notes/porting notes/spice2: Removed or incorporated into
	NOTES.
2000-10-14 21:49:25 +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 f237c66aee * graf.c: Removed need to press return after resizing the plot
window.
2000-10-10 12:20:57 +00:00
pnenzi ac84baab65 Alan fixed some typo introduced in the last commits. 2000-10-03 05:22:07 +00:00
pnenzi 1857890a08 Corrected a bug introdiced when patching the file with Alan's code.
Models in subcircuits are now handled correctly.
2000-09-14 05:51:50 +00:00
pnenzi ae8bcb42cf Restored Alan's patches. Now they works. 2000-09-12 22:00:57 +00:00
pnenzi c8e1e5c939 I have reverted to the old (non AlansFixes) version outif.c and changed
again (as Alan suggested) the if(FLASE) to if(terse). The problems with
vectors are now disappeared.
2000-09-12 19:02:26 +00:00
pnenzi 703b2337f5 Changed if(terse) into a if(FALSE) as in Alan's Code. 2000-09-10 20:00:55 +00:00
arno 508fee7d4b * commands.c: Use fourier.h.
* dotcards.c: Update to prevent segfault.

	* fourier.c, fourier.h: com_fourier is now calling fourier(), a
	function with more parameters.

	* dotcards.c: Added assertions to guard a double indirection, now
	ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 13:24:30 +00:00
arno 7a3a17a5b9 * dotcards.c: Added assertions to guard a double indirection, now
ngspice will bomb out on an assertion instead of a segfault.
2000-09-09 12:12: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 b04989d760 * src/hlp/*: moved these files into src/frontend/help. The files
in this directory implement the help system for the frontend.

        * configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
        affected by the move.
2000-07-21 18:25:47 +00:00
arno 63b283f982 * src/hlp/*: moved these files into src/frontend/help. The files
in this directory implement the help system for the frontend.

	* configure.in, src/Makefile.am, src/frontend/Makefile.am: Files
	affected by the move.
2000-07-20 20:33:26 +00:00
arno 57dfb0f945 * main.c frontend/com_ahelp.c frontend/com_asciiplot.c
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
	frontend/com_unset.c frontend/quote.c include/cpdefs.h
	include/defines.h include/wordlist.h maths/ni/niconv.c
	misc/Makefile.am parser/Makefile.am parser/numparse.c
	misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
	commit, I screwed up the last one.  See the ChangeLogs for an
	account of what changed.
2000-07-18 18:07:16 +00:00
arno 01df1be0cc * Makefile.am: Added com_dump.[ch] to sources list. 2000-07-16 13:30:55 +00:00
arno 64dea8e888 * Makefile.am: Removed debugcom.[ch] from the sources list. 2000-07-16 13:26:01 +00:00
arno 53260d50f9 * com_set.h: New header file.
* com_state.c, com_state.h: Separated from debugcom.c.

        * com_dump.c, com_dump.h: Separated from debugcom.c.

        * debugcom.c, debugcom.h: Removed.

        * Makefile.am: Updates for added/removed files.
2000-07-16 13:24:58 +00:00
arno f85551ea17 * frontend/Makefile.am: Updates for new files.
* frontend/breakp2.c, frontend/newcoms.c, frontend/postcoms.c,
	frontend/resource.c, frontend/terminal.h, frontend/variable.c,
	frontend/variable.h, frontend/com_compose.c,
	frontend/com_display.c, frontend/com_setscale.c,
	frontend/com_strcmp.c: Include files update.

	* parser/var2.c, parser/var2.h: Empty files, removed.

	* parser/Makefile.am: Updates for removed files.

	* parser/lexical.c: Small adjustments

	* parser/input.c, parser/input.h: Input, output and error streams
	handled in the frontend.  Moved to the frontend directory.

	* frontend/streams.c: Its new home.
2000-07-07 14:09:06 +00:00
arno 8d342f4295 * parser/quote.c, parser/quote.h: The quote/unquote functions are
used exclusively in the frontend, moved them there.

	* frontend/quote.c, frontend/quote.h: Their new location.
2000-07-07 14:07:22 +00:00
arno 1f3603d5d9 * parser/cshpar.c: Separated out com_chdir(), com_echo(),
com_rehash() and com_shell() and moved them into frontend
	directory.

	* frontend/com_chdir.c, frontend/com_echo.c, frontend/com_rehash.c,
	frontend/com_shell.c: Their new homes.
2000-07-07 14:06:33 +00:00
arno 8aa1ceead5 * src/parser/alias.c, src/parser/alias.h: contain frontend alias
command.  Moved them to src/frontend/com_alias.c and
	src/frontend/com_alias.h.  Updated Makefile.am's as appropreate.

	* src/parser/front.c, src/parser/front.h, src/parser/history.c,
	src/parser/history.h, src/parser/modify.c, src/parser/modify.h,
	src/parser/variable.c, src/parser/variable.h: Empty files.
2000-07-03 15:27:34 +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
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 130ced1ffb * src/frontend/Makefile.am: Minor update. 2000-06-16 19:09:04 +00:00
arno d1cbcf5052 src/frontend/doplot.c: refactored into the following files:
src/frontend/com_asciiplot.c src/frontend/com_asciiplot.h
	src/frontend/com_hardcopy.c src/frontend/com_hardcopy.h
	src/frontend/com_plot.c src/frontend/com_plot.h
	src/frontend/com_xgraph.c src/frontend/com_xgraph.h
	src/frontend/plotting/plotit.c src/frontend/plotting/plotit.h

	src/frontend/doplot.h: Removed.

	src/frontend/Makefile.am src/frontend/plotting/Makefile.am:
	Updated for the new files.
2000-06-16 19:04:15 +00:00
arno bf66221efc * src/frontend/Makefile.am src/frontend/plotting/Makefile.am
src/frontend/plotting/plotcurv.c
	src/frontend/plotting/plotcurv.h
	src/frontend/plotcurv.c src/frontend/plotcurv.h: Moved
	plotting related files into plotting subdirectory.
2000-06-15 21:42:01 +00:00