Commit Graph

324 Commits

Author SHA1 Message Date
rlar 06bbefb5ee fix usage of an uninitialized variable 2011-07-23 20:02:19 +00:00
h_vogt 6979f1c76a NSPICE_INPUT_DIR 2011-07-10 11:18:57 +00:00
rlar 0892d04c8a explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough 2011-07-09 19:45:22 +00:00
rlar 0d12371e7d minor bug fix, use EOF 2011-07-01 16:08:03 +00:00
rlar 0160ec8c4d cm.c, swallow type conversion warnings 2011-06-30 16:06:54 +00:00
h_vogt d95f76629a remove char to char* conversion 2011-06-25 23:25:23 +00:00
rlar 828e04c9fd ipc.c and ipcsockets.c, swallow type conversion warnings 2011-06-25 17:36:17 +00:00
h_vogt 661d287029 env. var NGSPICE_INPUT to hold additional path for input files 2011-06-25 16:03:05 +00:00
rlar 451f88c5e1 swallow type conversion warnings 2011-06-24 15:26:52 +00:00
rlar 5d302ee823 tiny rewrite, round to nearest integer and reset errno for strtol() 2011-06-23 20:04:08 +00:00
h_vogt ce3d11f56e codemodel 'filesource' added to analog models 2011-06-23 19:52:57 +00:00
rlar 71a9a526cd malloc return value cast 2011-06-23 16:55:33 +00:00
rlar 9ee308a2a5 function pointer invocation, (*p)(...) ---> p(...) 2011-06-23 16:45:32 +00:00
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
rlar 2b66531eb4 mop up some fixme comments 2011-05-08 12:52:58 +00:00
rlar da31886723 rename variable private --> mif_private 2011-05-08 08:48:43 +00:00
dwarning cded776aa6 few build changes 2011-05-07 08:01:22 +00:00
rlar 23ba264cd3 rename variable class --> ctype_class 2011-05-01 19:46:53 +00:00
rlar 6a6a52ebbe mop up, in the shadow of the last two commits 2011-05-01 17:32:41 +00:00
rlar 3d8fb96647 cleanup, (modtmp) --> modtmp 2011-05-01 17:29:21 +00:00
rlar c1683a5571 cleanup, some more (*p).foo --> p->foo 2011-05-01 17:27:52 +00:00
rlar 23056573d8 code cleanup, drop NULL pointer casts 2011-04-28 15:59:36 +00:00
rlar 0b6a557334 code cleanup 2011-04-27 18:30:15 +00:00
dwarning 5059bcb624 using DEPFLAGS for sun cc 2011-03-24 21:08:46 +00:00
dwarning 029f8c99e6 no message 2011-02-23 18:37:38 +00:00
rlar f7f4bfe70f bug fix, when `show' a xspice spice2poly device (acgains) 2011-02-11 19:16:48 +00:00
rlar f40f6c705a fix `make check' for build in a separate directory 2011-01-25 18:39:06 +00:00
rlar c349a97ea1 rework the xspice/icm Makefile for build in a separate directory 2011-01-25 18:34:11 +00:00
rlar 3fec598934 prepare the xspice cmpp processor for build in a separate directory 2011-01-25 17:39:23 +00:00
rlar e1292b0c3a bug fix, segmentation fault caused by `reset' when xspice used 2010-12-04 10:59:28 +00:00
rlar b7d969a472 drop -D CM_WINDOWS and -D CM_LINUX 2010-11-25 19:39:09 +00:00
rlar 83f9110dc1 use NG_IGNORE() ... 2010-11-23 20:00:50 +00:00
rlar 5ea63abb47 fix an ancient bug (typo `!=' versus `=!') 2010-11-23 19:22:57 +00:00
rlar 1755ee8626 d_source, bug fix 2010-11-22 18:54:46 +00:00
rlar b5702020b7 d_source d_state d_ram, rewrite bit operations 2010-11-21 15:44:56 +00:00
rlar 560126526a d_source d_state d_ram, rewrite index operations 2010-11-21 15:43:12 +00:00
rlar c57c3fe972 d_source d_state, change float --> double 2010-11-21 15:41:38 +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 5412e4bfd2 convert macro `U()' to `IGNORE()' 2010-11-16 19:13:20 +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 21a31ab2c2 tiny rewrite, make use of strtolower() and strtoupper() 2010-11-06 17:39:18 +00:00
rlar fbe0def68e change a (int) cast application, to avoid type conversion warnings 2010-11-06 17:16:53 +00:00
rlar 6e3bbd49ae casts, to make int <-> char conversions explicit 2010-11-02 17:31:19 +00:00
rlar 4ca91fbd82 local prototypes in `dlmain.c' 2010-11-02 17:21:49 +00:00
rlar b4ffca60c4 (int) casts for some `strlen()' expressions 2010-11-02 17:17:43 +00:00
rlar c9ba660155 (int) casts for cm_event_alloc and cm_analog_alloc 2010-11-02 17:14:52 +00:00
rlar 01566f2b49 add casts to make `int' versus `size_t' conversions explicit 2010-11-02 17:07:57 +00:00
rlar c3f20f8321 cleanup TMALLOC etc macros 2010-10-31 19:36:57 +00:00
rlar 7b3960506f wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC 2010-10-28 19:32:34 +00:00
rlar de35847146 realloc does work, even with NULL argument 2010-10-27 16:40:10 +00:00
rlar cc5b9007a7 use tmalloc and trealloc instead of MALLOC and REALLOC 2010-10-27 16:34:27 +00:00
rlar 11c2ff1720 RALLOC usage unification, drop braces around the second argument 2010-10-24 13:24:02 +00:00
rlar 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +00:00
rlar de10506199 cmpp shall add a function prototype to the generated "cfunc.c" file 2010-10-15 18:59:07 +00:00
rlar 59e223c5e4 disable dangling artifact 2010-10-15 18:53:58 +00:00
rlar 7f7504f30a collect prototype for ifs_yyerror() in "ifs_yacc_y.h", and fix return type 2010-10-15 18:49:12 +00:00
rlar 1c2bae2c48 collect prototype for mod_yyerror() in "mod_yacc_y.h", and fix return type 2010-10-15 18:47:20 +00:00
rlar 47d271d0c0 declare udn_int_ and udn_real_functions `static' 2010-10-15 18:36:28 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar 746c9d1212 static function definition 2010-10-08 18:20:39 +00:00
rlar 101f6d5f4a str_to_lower() init_error() protoypes --> include files 2010-10-08 18:11:48 +00:00
rlar 9cb57888d5 too much quoting caused an error for quoted things in CFLAGS 2010-10-08 17:18:55 +00:00
rlar 61f4fffdac use $(MAKE) instead of literal `make' 2010-09-30 20:24:07 +00:00
rlar 7816052481 bug fix, ./configure && make dist was broken, hardwire flex 2010-09-30 20:21:57 +00:00
h_vogt 97085752a4 external LDFLAGS for MINGW 2010-09-18 16:58:31 +00:00
rlar 001ad0c2bc `make dist' add some missing artifacts 2010-09-17 16:24:01 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
rlar d4946a6e81 convert K&R function definitions to ansi style 2010-09-07 20:11:13 +00:00
rlar 241783d0b5 use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
rlar e20e18b855 whitespace cleanup, \r\n -> \n 2010-09-07 18:57:22 +00:00
dwarning f58d7a5001 omit warnings 2010-08-17 07:37:46 +00:00
rlar 50ad9c548e chomp some warnings 2010-08-15 18:26:56 +00:00
rlar 44a182c1ba use the type CKTnode instead of void* 2010-08-11 18:54:31 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar b31aef0557 find a suitable home for **DEVices and DEVmaxnum in devdefs.h 2010-07-24 21:16:50 +00:00
rlar 60ff9aaef2 muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
rlar 4cdd842cd8 muffle compiler warnings 2010-07-24 18:51:06 +00:00
rlar d0a7220f6f muffle `unused variable' warnings 2010-07-24 18:24:43 +00:00
rlar a0a7d0ca70 xspice, xtraevt/*real*, add casts to `INPUT' and `OUTPUT'
the *.ifs files specify this to be `real'
  yet the *.mod translator seems to be incomplete, and delivers void *
2010-07-16 15:47:05 +00:00
rlar ba91a6074a add a missing `const' qualifier 2010-07-16 15:42:46 +00:00
rlar 1915f964dc xspice, digital/d_fdiv, fix the type of counter and counter_old
from Digital_State_t to int
2010-07-16 15:38:27 +00:00
rlar 84a69a3896 xspice, flip-flops and ram, cast the `ic' PARAM to Digitial_State_t
the *.ifs file claims this parameter to be an integer in range 0..2
  meant to represent ZERO, ONE and UNKNOWN
2010-07-16 15:33:25 +00:00
rlar 26412f883e xspice, cast so called `STATIC_VAR' pointers to their concrete type 2010-07-16 15:26:05 +00:00
rlar a44cc3dd7e for c++, lex input() function is named yyinput() 2010-07-11 19:22:36 +00:00
rlar fd7ef635a2 missing casts 2010-07-11 16:04:27 +00:00
rlar cc1cdbeeac dont compare with '\0' when NULL was meant 2010-07-11 12:33:54 +00:00
rlar 98ae3c949f cast the udn*() function args 2010-07-11 10:59:03 +00:00
rlar 3600f91ab0 drop some malloc prototypes, use <stdlib.h> 2010-07-10 12:48:56 +00:00
rlar 26f2d23e6c cleanups 2010-07-10 12:37:49 +00:00
rlar c2ca9a7998 drop -1, extend enum Mif_Cntl_Src_Type_t 2010-07-10 12:23:33 +00:00
rlar d7e2e7f7f0 cast malloc... return values 2010-07-09 16:53:34 +00:00
rlar eb6e3e9827 fix some casts 2010-07-08 18:27:17 +00:00
rlar c9bfe72187 use CKTcircuit instead of void*, #4/4 2010-07-07 17:36:56 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar e26cec467d initialization of the struct IFdevice.flags element in generated code 2010-07-05 16:42:48 +00:00
rlar d6d7fbde26 cast the return values of the void* returning functions 2010-07-05 16:16:56 +00:00
rlar d19476685a tiny fixes 2010-07-03 17:55:44 +00:00
rlar 70420197e6 ansi style function args for some function pointers 2010-07-02 17:00:21 +00:00
rlar b1151b4934 drop useless cast of a copy() return value 2010-06-27 17:57:30 +00:00
rlar 0000dda9af ansi function declarations (prototypes) 2010-06-27 13:28:09 +00:00
rlar c79d21af82 convert K&R function definitions to ansi style 2010-06-27 09:27:49 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
rlar 3a6540b584 use allready defined enumerate Digital_State_t and Ipc_Status_t 2010-06-24 19:00:15 +00:00
rlar 1f290ed13e remove junk from tarball, and fix some Makefile.am dependencies 2010-06-19 16:08:07 +00:00
rlar ed556f3afc Makefile.am cleanups 2010-06-14 20:01:29 +00:00
h_vogt 1fe8cbbf26 xspice api update 2010-05-26 05:51:04 +00:00
h_vogt 8ddd172cc9 tmalloc patch R Larice 2010-05-14 20:26:54 +00:00
h_vogt c7470aa895 line endings 2010-02-15 10:28:48 +00:00
h_vogt 07f90563dc patches R. Larice 2010-02-13 14:47:45 +00:00
h_vogt d7d5a38583 patches by R. Larice 2010-02-08 21:15:17 +00:00
pnenzi aca8a20107 Removes .o files from codemodel dirs 2009-11-03 10:34:20 +00:00
pnenzi 335a4a89af Removed .deps and .cvsignore from dist package 2009-11-03 10:06:06 +00:00
pnenzi 176a777bac Now we remove .cvsignore and .deps from dist 2009-11-02 21:46:17 +00:00
h_vogt 2eba12d518 bugfix no. 2859013, comments 2009-09-20 20:28:12 +00:00
h_vogt 63dee6c2fd line 428 malloc(len+1): +1 added 2009-05-06 21:08:00 +00:00
h_vogt c22be4689d *.cm for CYGWIN need to be made executable (755 instead of 644) 2009-02-22 12:41:18 +00:00
dwarning b858988905 not used 2008-12-14 18:09:03 +00:00
dwarning 8395692a59 compiler dependent options as DEPFLAGS 2008-12-14 18:00:55 +00:00
dwarning 3e534f1387 prevent warnings under sun 2008-12-14 17:57:21 +00:00
saintel 6fe0cebe58 *** empty log message *** 2008-11-22 10:31:46 +00:00
saintel c797191050 *** empty log message *** 2008-09-01 20:29:27 +00:00
pnenzi fa549df82a TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
pnenzi 7f6ad5c706 Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS 2008-08-24 17:12:50 +00:00
pnenzi 64baf803b6 Small corrections: duplicate entries and redundant include. 2008-08-23 07:51:08 +00:00
pnenzi 9cc832a57f Removed duplicate entry for ccvs. 2008-08-21 09:43:54 +00:00
dwarning 153a89afcd FLAGS for sun studio compiler 2008-05-24 17:53:49 +00:00
dwarning 29fc491c8e no message 2008-05-21 20:32:50 +00:00
dwarning b84cbc7127 xspice ipc is possible 2008-01-12 16:24:22 +00:00
dwarning f665403e7c rm unused variables 2007-12-15 16:37:10 +00:00
sjborley 955b18a7c6 Added missing targets 2007-12-14 10:41:44 +00:00
dwarning b051567069 no c++ comments 2007-11-14 20:30:37 +00:00
dwarning 0bfe93e242 allow different mingw versions 2007-11-14 15:08:19 +00:00
dwarning e75c80f589 Fixing problems in comments 2007-11-14 15:07:23 +00:00
pnenzi eda9bcd823 Added multi input gate (Phil Barker) 2007-10-09 09:16:41 +00:00
pnenzi 4bfa1b7c19 Added multi input vcvs (Phil Barker) 2007-10-09 09:13:52 +00:00
pnenzi f3069e042a Check for flex and yacc moved out of XSPICE for making distributions (Stuart Brorson) 2005-08-27 20:45:20 +00:00
pnenzi f3e144bc8d Changed according to code supplied by Hitoshi Tanaka. 2005-08-23 18:29:53 +00:00
pnenzi ef5fab62a5 Removed extra blank lines. They break compilation with mingw. 2005-08-23 08:33:51 +00:00
pnenzi f805d7ab71 Applied changes to cfunc.mod sent by Hitoshi 2005-08-23 08:21:00 +00:00
pnenzi 9bb78c2d28 Mingw porting. 2005-08-22 21:00:02 +00:00
pnenzi 3c0898d7ac Updated MIFunsetup() 2005-08-06 08:41:27 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
sjborley 51988dfb80 Changes supplied bt Hitoshi Tanaka to allow XSpice to compile using MinGW in Windows. 2005-06-16 00:28:16 +00:00
sjborley 066114fb6d Added .cvsignore files for each directory 2005-05-17 23:01:34 +00:00
sjborley 6f529b3612 Added .cvsignore files 2005-05-10 21:49:35 +00:00
sjborley 5b4347f3a6 Renamed strcmpi() to local_strcmpi() to avoid clash with system function when compiling in cygwin 2005-05-05 12:37:20 +00:00
sjborley f59180ea79 added .cvsignore 2005-05-05 12:27:11 +00:00
pnenzi f59a7c0450 Removed a spurious "+" 2005-04-18 08:25:46 +00:00
pnenzi 7989c811fb Fixed memory allocation to account for string termination character. 2005-04-16 22:41:23 +00:00
pnenzi 40017e1290 Added support for MAC OSX. 2005-04-16 22:39:57 +00:00
pnenzi 23734b142c Removed a comment (it was a personal comment). 2004-08-22 17:34:39 +00:00
pnenzi 60fb846f40 Fixed an invalid free, a segfault and removed POLY(2) limitation. 2004-08-22 17:33:02 +00:00
pnenzi abd65a6f71 Updated files. 2004-08-09 16:40:30 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 7056d37343 Autoconf trimming. 2004-02-14 21:40:57 +00:00
pnenzi 18403d2aa5 Reworked cmpp compilation. More automake compliant. 2004-02-14 19:52:58 +00:00
pnenzi 9066452b23 Trimmed Makefiles.am for "make dist" and added tests placeholders. 2004-02-14 19:19:23 +00:00
pnenzi 4fa3c84d99 Corrected make mrproper barfing. 2004-01-10 19:46:00 +00:00
pnenzi b0306b3425 Make configure automatically set paths for lex yacc and install dir and chenged linking order of libxspmif.a and libxspcm.a. 2004-01-10 17:12:35 +00:00
pnenzi b1b0841625 Codemodel support update. 2004-01-10 17:01:39 +00:00
pnenzi 112766d160 Updated xspice code from tclspice (first commit). 2004-01-10 16:48:05 +00:00
pnenzi 8d05f51d74 Added CIDER define to interface, needed by CIDER. 2003-08-14 16:09:23 +00:00
pnenzi b15349b847 REmoved compiled codemodel 2003-08-05 17:30:34 +00:00
pnenzi dd49ea7eaa Added changes from tclspice 0.2.13 2003-08-05 17:20:17 +00:00
pnenzi 531d3a1fc6 Removed poly directory (and its content). 2003-08-05 15:37:48 +00:00
pnenzi 98f7c6c9cd *** empty log message *** 2003-08-05 15:32:25 +00:00
pnenzi ca37aa0858 Removed dlinfo.h 2003-08-05 15:24:27 +00:00
pnenzi b459529ca0 Removed icm_spice2poly directory (and contained files) and committed
changes to dlmain.c.
2003-08-05 15:23:27 +00:00
pnenzi 9317355c0c First batch of added file. 2003-07-23 19:59:53 +00:00
stefanjones ab9ab1640d Remove rubbish from import 2002-11-26 11:27:28 +00:00
stefanjones d2ae47441b Initial revision 2002-11-26 10:11:59 +00:00