Commit Graph

285 Commits

Author SHA1 Message Date
rlar 0440f0584e fix an incorrect typedef and cast
which was of no consequence,
  because nobody made use of it.

ancient, already in the very first commit of ngspice
  Date:   Thu Apr 27 20:03:57 2000 +0000
2013-12-31 16:07:31 +01:00
h_vogt 1767991236 new flag `SHARED_MODULE' for shared module 2013-12-31 12:57:51 +01:00
h_vogt 30a44d1be5 --with-windows --> --with-wingui 2013-12-31 12:56:59 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar 8a154a7a9a use SP_VOLTAGE instead of literal value `3'
(grep "git --no-pager grep -nH -e '->[ \t]*type.*[0-9]'")
2013-12-31 12:56:29 +01:00
rlar b3847817a1 retire #define NODE_VOLTAGE, use SP_VOLTAGE instead
(grep "git --no-pager grep -nH -e '\\(SP_\\|NODE_\\)\\(VOLTAGE\\|CURRENT\\)'")
2013-12-31 12:56:22 +01:00
rlar 4184aa8c10 cleanup, use array operator
checked for object file invariance on linux with
   ./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
2013-12-31 12:54:43 +01:00
rlar 6c8f002eea unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rlar 1ee88a5694 prepare for #ifndef include wrapper unification 2013-12-31 12:54:31 +01:00
rlar c377b7a6b3 avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
Francesco Lannutti f153208a5f nipred.c, remove unused variable `temp' 2012-12-25 01:40:16 +01:00
Francesco Lannutti 574d39e29c remove almost empty src/maths/ni/nipred.h 2012-12-25 02:27:04 +01:00
Francesco Lannutti e27d43cd0c remove empty src/maths/ni/*.h include files 2012-12-24 11:28:30 +01:00
h_vogt cea4eb09d6 niiter.c: indentations 2012-12-15 20:07:42 +01:00
rlar 83e3100917 remove unused variables 2012-12-01 16:05:20 +01:00
Francesco Lannutti 08ec219417 remove all .cvsignore files 2012-10-26 18:30:14 +02:00
Francesco Lannutti 1dc70189a7 remove compilation warnings (type casts) 2012-10-26 18:04:44 +02:00
Francesco Lannutti c23bd59c44 removed ancient PARALLEL_ARCH feature
removed variables
  ARCHme
  ARCHsize

removed functions
  SMPcombine()
  SMPcCombine()
  CKTpartition()

removed files
  spcombin.c
  cktpartn.c

removed struct slots
  STATcombineTime
  STATtranCombTime
  STATacCombTime
  GENowner
  <MODEL>owner
2012-10-22 23:06:25 +02:00
rlar a394d79c56 use utf-8 encoding 2012-10-20 21:27:15 +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 0beb95757f cancer of the semicolon 2012-08-07 21:20:36 +02:00
rlar cb0a48801d introduce AM_CFLAGS = $(STATIC) 2012-07-07 14:51:39 +02:00
h_vogt a0b64a8624 spfactor.c, indentations 2012-07-07 10:04:21 +02:00
rlar b1cbebaa99 fix tcl module compilation
test programs don't compile when compiling for TCL_MODULE
due to redefinition of fprintf()
2012-06-12 21:26:30 +02:00
h_vogt 8f3f757813 command mrdump 2012-02-19 11:11:31 +00:00
h_vogt dffe4ed156 command mdump 2012-02-19 10:23:56 +00:00
rlar 2e4d4a0e02 unuse srandom() and random() 2012-02-09 20:39:24 +00:00
rlar a056ea3065 #3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex 2012-02-07 19:53:12 +00:00
rlar 94e3abd847 #2/4 switch cph() and cmag() args from ngcomplex* to ngcomplex 2012-02-07 19:49:31 +00:00
rlar f17b14102c bug fix, incorrect '%le' printf format specifier 2012-01-08 10:26:36 +00:00
rlar d3c3741f43 #4/6 config.h --> ngspice/config.h, AM_CPPFLAGS 2011-12-27 12:07:52 +00:00
rlar afa1371746 #3/6 config.h --> ngspice/config.h, AM_CPPFLAGS 2011-12-27 12:05:51 +00:00
rlar 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00:00
h_vogt 75767fcc3d floor(), ceil() added 2011-12-26 11:34:21 +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
h_vogt 4cbfbad8b5 type long --> int 2011-08-21 10:43:07 +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 53ac5a888a remove maths/fft/fftext.h 2011-08-20 08:24:36 +00:00
h_vogt 220cc83458 fft calculation with type double (instead of float) 2011-08-19 20:46:23 +00:00
rlar 11de01c304 swallow some warnings, and use <stdint.h> 2011-08-09 12:31:23 +00:00
h_vogt e7ce26c118 convert float to double 2011-08-08 19:39:15 +00:00
rlar b5f823f599 cph(vec), rewrite, cleanup, and add missing test_cx_cph.c 2011-08-06 17:20:58 +00:00
h_vogt 2e2bf04d6a function cph() 2011-08-06 14:52:41 +00:00
rlar 2c0144a849 rewrite to fix potential (actuall impossible) usage of variable `c' 2011-08-05 19:29:57 +00:00
rlar 18570fc035 cleanup redeclarations for todays tanh commit 2011-07-17 10:47:19 +00:00
h_vogt 4679fdf046 sinh, cosh, tanh 2011-07-16 23:03:27 +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
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +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 0b6a557334 code cleanup 2011-04-27 18:30:15 +00:00
rlar 39aac106c5 updates for the make infrastructure (trannoise and tests/xspice) 2011-01-15 22:08:06 +00:00
dwarning c8aee0f84a inline functions to static 2011-01-02 16:17:57 +00:00
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +00:00
h_vogt 1ea76af678 add statistical functions to numparam and nutmeg parsers 2010-12-28 19:01:30 +00:00
h_vogt 5fd49349f6 update to RTS noise 2010-12-19 11:05:03 +00:00
h_vogt f476389531 RTS noise 2010-12-18 17:05:44 +00:00
dwarning 5556515e6a cvs ignore *.lo, *.la, .libs 2010-12-12 09:48:21 +00:00
dwarning 3ab9e6d060 cvs ignore .libs 2010-12-12 09:42:47 +00:00
dwarning b964cf949c cvs ignore *.lo and *.la 2010-12-12 09:34:10 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +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 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 15d12df25b tmalloc usage unification, parenthesize some terms 2010-10-24 13:27:18 +00:00
rlar 3cc50320e3 rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain 2010-10-24 12:51:43 +00:00
rlar 4622d0876e ngcomplex_t instead of complex, #1/2 2010-10-24 12:45:05 +00:00
rlar d7a9d71a1a remove prototypes, avoid redeclarations 2010-10-16 15:58:14 +00:00
rlar 7f8ee8818e collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc' 2010-10-15 19:24:52 +00:00
rlar 3c3b31fa60 declare some functions `static' 2010-10-15 18:43:52 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +00:00
rlar 4d31d2a12f some .c file local prototypes 2010-10-08 18:05:00 +00:00
rlar 36b9d794df cx_avg() prototype 2010-10-08 18:02:58 +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
h_vogt d4fc5581d2 comments improved 2010-09-02 16:14:34 +00:00
h_vogt 453b565f71 improve random number generation 2010-09-01 21:13:01 +00:00
dwarning 03d91ab8b0 new function sunif() 2010-08-29 09:23:34 +00:00
h_vogt 5c5bbe987d Tausworthe not ready under MINGW 2010-08-28 21:06:42 +00:00
h_vogt ba539d9ef1 new fcn sgauss(), new rnd-no generator 2010-08-28 18:13:08 +00:00
rlar bfc6636b61 fix txfree() prototype 2010-08-15 17:13:17 +00:00
rlar 547a8fc7f5 drop (SMPmatrix*) casts 2010-08-10 18:07:13 +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 d074de41f2 fix the type signature of the cx_* functions 2010-07-24 12:37:41 +00:00
rlar f4d0163885 use the types MatrixPtr and SMPmatrix instead of void and char *
both are the same thing,
     MatrixPtr is used inside the sparse/* domain,
     SMPmatrix is used in the rest of spice
  remove casts, which are no longer necessary
2010-07-23 17:33:10 +00:00
rlar 1ee29c3e96 use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c 2010-07-23 17:23:13 +00:00
rlar 3e95037b0e convert K&R function definitions to ansi style 2010-07-23 17:16:27 +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 a0b0f550ab ansi style function args for a function pointer arg of spInitialize() 2010-07-10 14:06:14 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar 2744462d01 void *AllocatedPtr 2010-07-04 17:41:17 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
rlar a14e59866e ansi function declarations (prototypes) 2010-06-23 19:33:54 +00:00
rlar 5946300a97 upgrade foo() --> foo(void) ansi function definition 2010-06-23 18:57:13 +00:00
h_vogt 71c371485c K&R->ANSI patches by R. Larice 2010-02-13 16:01:56 +00:00
h_vogt 31203ce2ab macro ERROR -> MERROR 2010-02-11 22:32:10 +00:00
dwarning 586af63f36 changed the declarator to new format 2009-11-26 20:04:09 +00:00
h_vogt 257d218893 option noinit, ref. to _logb 2009-08-22 16:54:03 +00:00
dwarning 322e87d9d0 init vector d 2009-08-04 19:29:38 +00:00
dwarning a755164f06 relay on ngspice.h 2009-04-26 09:04:43 +00:00
dwarning 8cae733fcd fix a conflict for isinf defined in missing_math.h 2009-02-12 19:33:50 +00:00
pnenzi f543aa8c06 Improvements in vector derivative computation and new functions to
compute group delay and moving average. From espice (A. Roldan).
2009-01-15 21:08:09 +00:00
dwarning 91f10abc65 small polish regarding HAVE_DECL_XXX macros 2009-01-05 21:31:45 +00:00
dwarning c702897d13 correct HAVE_DECL_XXX asking 2009-01-04 20:36:25 +00:00
dwarning abc18c40f0 try to catch isinf over ieeefp.h 2009-01-04 13:23:58 +00:00
dwarning 4ab0193271 a simple workaround for isinf needed by adms 2009-01-04 11:17:42 +00:00
dwarning af03646462 POSIX conform configure isnan 2009-01-01 20:44:49 +00:00
h_vogt 1fa4faf88c tclspice for Windows 2008-12-31 14:42:49 +00:00
dwarning 780eab118b only a DOS/UNIX file problem 2008-12-07 10:08:11 +00:00
h_vogt b297577a23 random generator functions 2008-11-29 20:40:37 +00:00
h_vogt e7fe33ece8 random number generation organized 2008-11-29 20:21:56 +00:00
h_vogt 75f68291aa various compiler warnings removed 2008-11-26 20:33:20 +00:00
dwarning b32feaa18d hopefull better scalb handling 2008-11-19 19:57:27 +00:00
h_vogt 73e581f015 VC++ 2008 compatibility 2008-09-23 22:10:56 +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
dwarning 6bd5f8470b Changes to compile under Sun Studio 11 for Solaris 2008-05-18 19:25:17 +00:00
dwarning 6c91a269ce all supplied erfc only valid for x > 0 2008-05-13 19:45:43 +00:00
dwarning 201f5f42d8 better erfc for lossy transmission line 2008-05-11 20:29:50 +00:00
dwarning a28ad1a197 math functions in one central place maths/misc 2008-05-11 20:27:28 +00:00
dwarning af3afcca38 Reconstruct NEWCONV macro 2008-04-20 09:33:06 +00:00
dwarning 15f735cdd7 fix conflict with cexp function 2007-11-04 19:43:49 +00:00
dwarning 41325622fd some clean-up's to come through MSC 2007-10-18 19:34:30 +00:00
pnenzi 6d5a4474aa Fixed minimum iterations number to 100 (Phil Barker) 2007-10-10 11:21:16 +00:00
pnenzi 008c9d7a4c Improved reporting (from Phil Barker) 2007-10-08 15:36:56 +00:00
pnenzi 5296cd51b8 Partially applied Paul Reich patch (missing include and c++ style comments) 2005-12-04 08:52:10 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
sjborley c8babc9450 Added prototype for evalAccLimits() 2005-05-31 16:37:22 +00:00
sjborley 358b5f829a Replace C++ style comment with C style comment 2005-05-22 20:39:07 +00:00
sjborley 23273668b6 Exclude test files that don't compile when Windows (MinGW) 2005-05-18 12:47:24 +00:00
sjborley d96ec87987 Added .cvsignore file 2005-05-07 01:23:33 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 9066452b23 Trimmed Makefiles.am for "make dist" and added tests placeholders. 2004-02-14 19:19:23 +00:00
pnenzi ada277e81b Cleaned up the code removing unnecessary includes. 2004-01-20 20:32:57 +00:00
pnenzi c54bda7dc0 Removed #if INTERPOLATE 2003-12-26 11:03:24 +00:00
pnenzi 531fb3575a Applied Vera Patch to correct bugs in shell code and re-enabling interpolate command. 2003-12-25 17:30:36 +00:00
pnenzi 1471aac6b2 Cleaned the code. 2003-08-23 20:02:47 +00:00
pnenzi 858f0442eb Bug fixing. Added externs for memory allocation functions and fixed SMPcDProd code. 2003-08-23 19:49:03 +00:00
pnenzi deafc9915c Better way to compare two doubles. 2003-08-14 15:03:54 +00:00
pnenzi b8cece5fba Modified code for CIDER simulator. 2003-08-14 11:46:55 +00:00