Commit Graph

35 Commits

Author SHA1 Message Date
rlar a86f2068c8 skip-ws, #3/6, use TEMPORARY macros, obj-invariant 2016-03-22 15:26:06 +01:00
rlar 6d1171ad6f skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
2016-03-22 15:26:05 +01:00
rlar 1ad65120d5 skip-ws, #1/6, prepare for rewrite, obj-invariant 2016-03-22 15:26:04 +01:00
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 2016-03-09 20:24:36 +01:00
rlar d598630b72 inpcom.c, cleanup inp_readall() #1/7, introduce inp_read() 2013-12-31 16:26:12 +01:00
h_vogt 1e88db6f7d add command 'circbyline' to allow entering circuit line by line 2013-12-31 12:56:56 +01:00
rlar d1764cc7fa inp_readall() change function signature for readability 2013-12-31 12:56:35 +01:00
rlar fe1acd3757 src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +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 80bc975e33 plug a memory leak in inp_spsource/inp_nutsource (deck title string) 2012-08-23 21:13:44 +02:00
rlar a890a55937 fix wl_reverse() for empty lists 2012-07-14 12:39:13 +02:00
rlar 9655b9885a cleanup, use wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 10:23:51 +02: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
rlar e7849c20d7 cleanup fseek() usage 2011-07-09 16:22:51 +00:00
rlar 23056573d8 code cleanup, drop NULL pointer casts 2011-04-28 15:59:36 +00:00
rlar 05441d5823 Nr 5/5 (x = ...) == NULL , swallow warnings 2010-11-19 18:54:40 +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 f30f96a4c7 use `size_t' variables for fread/fwrite operations 2010-11-04 19:15:41 +00:00
rlar f49a0e765b collect inp_deckcopy() inp_subcktexpand() in "subckt.h" 2010-10-16 15:56:07 +00:00
rlar 8209c0aef3 collect smktemp() in "mktemp.h" 2010-10-15 18:11:11 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
h_vogt 947e19bde7 no command file handling in numparam 2010-06-29 21:18:34 +00:00
h_vogt d8810a841a patches by R. Larice 2010-01-17 16:40:22 +00:00
pnenzi 936cd7a4fc Improvements in frontend by Phil Barker 2007-10-08 21:10:34 +00:00
pnenzi 008c9d7a4c Improved reporting (from Phil Barker) 2007-10-08 15:36:56 +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
pnenzi b3e47fbbd3 New logis in initialization files for ngspice. 2005-04-26 19:42:41 +00:00
pnenzi c68f3470e4 Code cleanup. 2001-02-09 19:46:36 +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
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00