Commit Graph

60 Commits

Author SHA1 Message Date
rlar 22875d056b skip-ws, #5/6, use functional style 2016-03-22 15:26:09 +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 71a7c3459b use char variants of the <ctype.h> isxxxx() family 2016-03-09 20:24:36 +01:00
rlar 8ce99a3c66 plotting/graf.c, bug fix, dbfree1() is wanted instead of dbfree() 2016-03-09 18:23:22 +01:00
rlar 68bd883535 plotting/graf.c, collect related global variables in a struct 2015-12-27 12:08:48 +01:00
rlar c405d0ff86 plotting/graf.c, cleanup initialisation, `gr_init()' is in charge to do that 2015-12-27 12:08:44 +01:00
rlar 7bc6374138 cleanup, use '\0' instead of 0 in char context 2015-05-02 10:24:54 +02:00
rlar 19e427e3a5 cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
rlar 6f21c3b9db use `enum simulation_types' 2015-03-10 18:27:39 +01:00
rlar 7aa454e5b4 rewrite, using tprintf() 2014-04-05 19:10:12 +02:00
h_vogt 7bc879726d make database dbs local to each circuit 2013-12-31 12:56:53 +01:00
rlar 83e3100917 remove unused variables 2012-12-01 16:05:20 +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 d8105873db remove error.h, use fteext.h for controlled_exit() 2012-06-12 21:26:29 +02:00
h_vogt b4516b08ca bug fix, iplot(): Buffer overflow
Thanks to Zsolt Makaró for the bug report in
  Buffer overflow detected - ID: 3510521
  http://sourceforge.net/tracker/?func=detail&aid=3510521&group_id=38962&atid=423915
2012-03-24 18:29:36 +01:00
rlar a056ea3065 #3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex 2012-02-07 19:53:12 +00:00
rlar d5f6bcbedf drop some more casts 2012-02-06 20:11:10 +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 9e86e5ca66 rewrite (double)literal --> floating-point-literal 2011-08-09 08:07:56 +00:00
rlar d59845b427 graf.c, swallow type conversion warning 2011-06-25 17:05:29 +00:00
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