Commit Graph

9247 Commits

Author SHA1 Message Date
arno 7fec58d953 * devlist.c, test_devlist.c: Further tests revealed a bug,
corrected.
2000-07-08 08:23:17 +00:00
arno 3194808fbe * TODO: Updates. 2000-07-07 14:26:09 +00:00
arno ba4457cddb *** empty log message *** 2000-07-07 14:11:03 +00:00
arno f3ae54bea6 * circuit/inp2b.c, circuit/inp2c.c, circuit/inp2d.c,
circuit/inp2dot.c, circuit/inp2e.c, circuit/inp2f.c,
        circuit/inp2g.c, circuit/inp2h.c, circuit/inp2i.c,
        circuit/inp2j.c, circuit/inp2k.c, circuit/inp2l.c,
        circuit/inp2m.c, circuit/inp2o.c, circuit/inp2q.c,
        circuit/inp2r.c, circuit/inp2s.c, circuit/inp2t.c,
        circuit/inp2u.c, circuit/inp2v.c, circuit/inp2w.c,
        circuit/inp2z.c: Added ; after macros.
2000-07-07 14:10:30 +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 14acefd969 * dev.c dev.h: Moved defunct first_device() and next_device()
to devlist.c

	* devlist.c, devlist.h: Another step towards
	dynamically loadable devices.  The first_device() and
	next_device() functions abstract away the actual
	implementation of the devices list.  Currently it is a fixed
	length array, when we start supporting dynamically loaded devices,
	this is no longer true.

	* test_devlist.c: Checks the implementation of first_device()
        and next_device().

	* Makefile.am, .cvsignore: Updates for new files.
2000-07-07 12:33:24 +00:00
arno f1953e2885 * src/devices/dev.c, src/devices/dev.h: Added first_device()
and next_device() to abstract manipulations to the devices
	list.  Now change all the code that uses direct access to
	these functions...
2000-07-05 13:10:16 +00:00
arno fe8d08d0a9 * ChangeLog: Summarize recents changes.
* src/devices/Makefile.am: Updates to EXTRA_DIST.

	* src/misc/misc_time.c, src/misc/printnum.c, src/misc/tilde.c:
	Code formatting updates.

	* tests/fourbitadder.out: Updates.
2000-07-03 15:32:29 +00:00
arno 478ee433ae * src/analysis/cktsens.c: Matrixes cannot be created non-complex.
Also added a check to detect an error condition on delta_Y =
	spCreate(...).

	* src/analysis/cktpzld.c: Formatting updates.
2000-07-03 15:30:05 +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 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 4d97a24aa2 * tests/Makefile.am: Update for make distcheck target. 2000-06-28 17:50:33 +00:00
arno 94a6eb5533 * doc/.cvsignore: Added TeX processing artifacts to the list. 2000-06-27 16:28:32 +00:00
arno a78d4c7340 * doc/ngspice.texi: Commented out an @include that broke the
make distcheck target.  I replaced with the actual file.
2000-06-27 16:18:17 +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
pnenzi 96da984f7a Removed line for cktbindn.c which is no more in this directory 2000-06-20 19:18:05 +00:00
arno 6f81cb9446 * src/analysis/cktask.c: moved to src/devices.
* src/analysis/cktbindn.c: moved, renamed to
	src/devices/cktbindnode.c.

	* src/analysis/cktfdev.c: moved, renamed to
	src/devices/cktfinddev.c.

	* TODO: Updates

	* src/analysis/Makefile.am src/devices/Makefile.am: Updates.
2000-06-19 19:03:54 +00:00
arno dd8b8c6c7c * AUTHORS: Small update. 2000-06-17 23:24:40 +00:00
arno e61ba3bcf0 * AUTHORS doc/ngspice.texi: Included an acknowledgements section. 2000-06-17 23:10:21 +00:00
arno d7ad0ee10c * AUTHORS TODO: Small updates.
* src/devices/dev.c src/devices/dev.h: Small updates.

	* src/devices/README: Short description of the purpose of the
	devices directory.

	* src/analysis/cktaccpt.c src/analysis/cktcrte.c
	src/analysis/cktinit.c: Moved these files into src/devices.

	* src/analysis/dctran.c: Updates to ease the move.

	* src/analysis/Makefile.am src/devices/Makefile.am: Updates

	* src/Makefile.am: Library loading reordered.

	* src/main.c: Small updates.

	* src/devices/devsup/devsup.c: Moved this file into src/devices.

	* src/devices/devsup/.cvsignore
	src/devices/devsup/Makefile.am: Superfluous files, removed

	* configure.in: Removed src/devices/devsup/Makefile.
2000-06-17 22:54:26 +00:00
arno 5cb17f3efc * tests/polezero/Makefile.am tests/polezero/filt_bridge_t.cir:
New test.

	* tests/polezero/filt_multistage.out
	tests/polezero/filt_rc.out tests/polezero/filt_bridge_t.out:
	Prototype output as a starting point.
2000-06-17 22:47:14 +00:00
arno b15a1f0d93 * cktpzstr.c: Enabling PZDEBUG lead to a segfault, added
checks to prevent this.
2000-06-17 15:20:46 +00:00
arno 4df9e9a410 * src/analysis/*.c: Removed register keywords, as they are
useless with the current compilers.
2000-06-17 14:42:03 +00:00
arno 9827360a33 * TODO: Updated 2000-06-16 21:53:35 +00:00
arno a17990bddf * src/Makefile.am: Removed some duplicate entries.
* TODO: Updated.
2000-06-16 21:31:57 +00:00
arno 17a59c4fb8 * configure.in: Small update. 2000-06-16 21:12:45 +00:00
arno 1f82eccd29 * src/devices/disto/*: Moved all files to src/maths/deriv/
* configure.in src/Makefile.am src/devices/Makefile.am
	src/include/ngspice.h src/maths/Makefile.am: Necessary updates
	to get it to compile again.
2000-06-16 21:11:59 +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
arno 0951379198 * src/frontend/Makefile.am
src/frontend/plotting/Makefile.am
	src/frontend/plotting/graphdb.c
	src/frontend/plotting/graphdb.h
	src/frontend/graphdb.c src/frontend/graphdb.h: Moved plotting
	related files into plotting directory.
2000-06-15 21:37:33 +00:00
arno 9d2cbb06b7 * src/ngspice.c src/devices/dev.c: Moved AN_* defines to
dev.c.

	* src/analysis/cktpzset.c: Removed unused code.

	* tests/polezero/.cvsignore tests/polezero/Makefile.am
	tests/polezero/filt_multistage.cir
	tests/polezero/filt_multistage.out tests/polezero/filt_rc.cir
	tests/polezero/filt_rc.out: New files to test pole zero
	operations.

	* configure.in tests/Makefile.am: Updated for new files.
2000-06-11 10:32:50 +00:00
arno e563776de8 * TODO src/circuit/inp2dot.c: Refactoring of the function
completed.
2000-06-11 10:10:45 +00:00
arno 0fcbceb82c * TODO: Yet another todo item. 2000-06-05 21:27:37 +00:00
arno d74a36c2e5 * configure.in tests/Makefile.am: Updates for the new
directories.

	* tests/check.sh tests/filters/.cvsignore
	tests/filters/Makefile.am tests/filters/lowpass.cir
	tests/filters/lowpass.out tests/resistance/.cvsignore
	tests/resistance/Makefile.am tests/resistance/res_array.cir
	tests/resistance/res_array.out
	tests/resistance/res_partition.cir
	tests/resistance/res_partition.out
	tests/resistance/res_simple.cir
	tests/resistance/res_simple.out: New files.

	* tests/config.sh tests/diffpair.sh tests/fourbitadder.sh
	tests/resistor.cir tests/resistor.out tests/resistor.sh
	tests/respart.cir tests/respart.out tests/respart.sh
	tests/resistance/test1.cir: No longer needed, removed.
2000-06-05 21:24:21 +00:00
arno 79c0d7e478 * AUTHORS: We have a new contributor. 2000-06-05 21:12:42 +00:00
pnenzi 4ca742ec74 Added RES_SCALE "question". This fix the sensitivity analysis error 2000-06-05 19:03:44 +00:00
pnenzi 6ccddbbffe Updated to reflect change in the resistor code 2000-06-04 11:42:06 +00:00
pnenzi 9136267560 Added scale parameter to resistor model. Updated documentation and tests 2000-06-04 11:37:29 +00:00
pnenzi ada86fd4b4 Updated documentation to reflect changes in resistor parameter 2000-06-04 09:12:52 +00:00
pnenzi 090c6b6d6f Added multiplicity parameter m to resistors and updated tests 2000-06-04 09:02:39 +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 7e88315320 * src/circuit/inp2dot.c: Refactoring introduced a bug in the
line parsing.  Adding line as an extra variable to the
	refactored functions, fixed it.
2000-06-02 18:49:38 +00:00
arno b426eaf349 * src/circuit/inp2dot.c: Integrated patch from Manfred
Metzger.  Circuit cards got parsed wrongly.
2000-06-01 11:08:12 +00:00
arno 1db20f4abf * TODO: Updated. 2000-05-30 19:56:04 +00:00
arno 5b7863e305 * src/maths/cmaths/Makefile.am, src/maths/cmaths/test_cx_mag.c,
src/maths/cmaths/test_cx_j.c: Added first testcases for complex
	math library.
2000-05-30 19:36:33 +00:00
arno ded99cd9e9 * inperror.c: Dynamic allocation through asprintf. 2000-05-29 19:42:43 +00:00