Commit Graph

36 Commits

Author SHA1 Message Date
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
rlar 2d1e44787b fix a segfault, when invoking `destroy' while running in batch mode on unix 2011-06-02 13:28:36 +00:00
rlar 55638c8023 various cleanups 2011-04-30 12:29:19 +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 e6c30efe46 Nr 4/5 (x = ...) != NULL , swallow warnings 2010-11-19 18:52:44 +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 75b6eeb94a add `int' casts to some strlen() expressions, and center labels on a xlog scale 2010-11-06 20:17:19 +00:00
rlar 5f4b0aa798 (int) cast the return value of some strlen() invocations 2010-11-06 16:54:11 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar 8f8071aceb fix some ancient \n\r and \r\n typos 2010-09-19 16:30:39 +00:00
rlar 76d22c3691 function rename, Update() -> DevUpdate() 2010-09-08 18:06:51 +00:00
rlar 38abf408d5 function rename, DrawLine() -> DevDrawLine() 2010-09-08 18:03:40 +00:00
rlar 1693270d35 function rename, Text() -> DevDrawText() 2010-09-08 18:01:42 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
rlar 61bba96f42 textual replacement vt_types to cp_types, to complete the last change 2010-07-17 20:56:12 +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 0aa1c09d73 consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
  drop some include "variable.h" which are no longer needed ,
    propably many more could be droped .
  drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
h_vogt 2c5ed4f83e gnuplot updates 2009-12-31 15:42:28 +00:00
h_vogt e778aab344 iplot graphics scaling, printing interrupt message 2009-05-09 13:23:08 +00:00
pnenzi fa549df82a TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
pnenzi 64baf803b6 Small corrections: duplicate entries and redundant include. 2008-08-23 07:51:08 +00:00
h_vogt 5e0964c4d4 remove iplot bug (line 686) 2008-04-28 18:39:06 +00:00
sjborley c87326ebc8 Replaced extern references in .c file with #include of suitable headers. 2005-05-29 01:05:33 +00:00
pnenzi 937e3db647 Holger Vogt Windows port for Ngspice. 2002-01-03 22:44:21 +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 d735c9a871 Some code cleanup 2001-02-09 08:18:35 +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
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 3d4cf4d86c * src/include/Makefile.am src/include/cpstd.h
src/include/dvec.h src/include/fteinput.h
	src/include/ifsim.h src/include/wordlist.h
	src/frontend/arg.c src/frontend/display.c
	src/frontend/doplot.c src/frontend/graphdb.c
	src/frontend/plotcurv.c src/frontend/points.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/plotting/graf.c src/frontend/plotting/grid.c
	src/frontend/plotting/plot5.c src/frontend/plotting/x11.c
	src/include/graph.h: Reduced dependency on header files
	(avoid unneccessary recompilation on changes)

	* src/include/fteconst.h src/include/ftedata.h
	src/include/ftegraph.h: Removed unneeded header files.
2000-05-13 17:28:16 +00:00
arno 2507d4c7bf * src/frontend/graf.c src/frontend/graf.h: Moved these
files...

	* src/frontend/plotting/graf.c src/frontend/plotting/graf.h:
	... here.
2000-05-13 10:31:55 +00:00