Commit Graph

58 Commits

Author SHA1 Message Date
Jim Monte 2035442a9f fixed path created by ngdirname in Windows. Also added const to parameters whose arguments do not change and fixed some potential buffer overruns. 2020-02-12 22:40:46 +01:00
rlar 5e04924890 cleanup `skip_ws()' usage 2016-03-22 15:26:11 +01:00
rlar b1d8b99018 skip-ws, #6/6, rename to match inpcom.c 2016-03-22 15:26:10 +01:00
rlar 22875d056b skip-ws, #5/6, use functional style 2016-03-22 15:26:09 +01:00
rlar d12679fccd skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
2016-03-22 15:26:08 +01:00
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 4c1c95e20f everywhere, use `TMALLOC()' instead of `alloc()' 2016-03-21 21:22:07 +01:00
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 2016-03-09 20:24:36 +01:00
rlar 19e427e3a5 cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
Francesco Lannutti 08ec219417 remove all .cvsignore files 2012-10-26 18:30:14 +02:00
rlar 11579d9369 cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
rlar fe1acd3757 src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
rlar ab98f03622 src/frontend/** whitespace, indentation, ...
checked for object file invariance on linux
2012-09-22 19:33:50 +02:00
rlar 9655b9885a cleanup, use wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 10:23:51 +02:00
rlar cb0a48801d introduce AM_CFLAGS = $(STATIC) 2012-07-07 14:51:39 +02:00
rlar 11878ee4ad misccoms.c, use strncasecmp() 2012-06-12 21:26:30 +02:00
rlar 323bceb33b #5/6 config.h --> ngspice/config.h, some more -I include paths 2011-12-27 12:09:21 +00:00
rlar d3c3741f43 #4/6 config.h --> ngspice/config.h, AM_CPPFLAGS 2011-12-27 12:07:52 +00:00
rlar 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00: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 b06eb95b87 textdisp.c, minor rewrite to swallow type conversion warnings 2011-07-01 16:03:52 +00:00
rlar b93fcb3779 remove some useless casts 2011-06-22 17:17:40 +00:00
h_vogt 561e339365 reduce compiler warnings 2011-05-21 12:44:27 +00:00
rlar e973fb3e97 cleanup Xt usage 2011-05-08 09:04:04 +00:00
rlar d80da277f2 rename function delete --> delete_w 2011-05-01 19:02:25 +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 d0dba768f8 change the type of a bunch of variables from `int' to `size_t' 2010-11-06 20:11:24 +00:00
rlar 8141892f72 tiny rewrite, to avoid type conversion warnings 2010-11-06 17:14:34 +00:00
rlar 0eccd17d9a add casts for x11 operations, to silence type conversion warnings 2010-11-04 19:35:57 +00:00
rlar 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07:57 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar b2aae741a0 tmalloc usage, drop explicit (unsigned) cast 2010-10-24 13:10:09 +00:00
rlar 32a255f47c tmalloc usage, minor usage unification 2010-10-24 13:06:23 +00:00
rlar bf0b7b4386 qsort() usage, drop cast of the first argument (which is a void *) 2010-10-24 12:53:52 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
rlar b1f6da536a whitespace cleanup, add missing trailing newlines 2010-09-07 19:04:20 +00:00
rlar 60ff9aaef2 muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar a14e59866e ansi function declarations (prototypes) 2010-06-23 19:33:54 +00:00
h_vogt 46261c4eae allow closing of help windows with WM x-button 2009-02-20 18:25:17 +00:00
h_vogt 4b055a4ca8 Small changes to allow compilation with MS Visual C++ 2008 2008-09-21 22:18:06 +00:00
pnenzi fa549df82a TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00