Commit Graph

759 Commits

Author SHA1 Message Date
rlar 8209c0aef3 collect smktemp() in "mktemp.h" 2010-10-15 18:11:11 +00:00
dwarning caf05d1fce better output format 2010-10-14 09:19:44 +00:00
rlar 80b2f2b164 update the bison generated files 2010-10-09 14:38:43 +00:00
rlar 0fb5f2142a avoid function redeclaration, PPparse() and PTparse() 2010-10-09 14:28:28 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar 1d62b41bfa collect cp_* prototypes / extern-declarations in "cpextern.h" 2010-10-09 12:49:34 +00:00
rlar 5bc8777a9b remove #define for EOS use '\0' instead 2010-10-09 11:42:10 +00:00
rlar cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +00:00
rlar e945ab68bc collect some cx_*() prototypes in "cmath2.h" 2010-10-08 18:59:41 +00:00
rlar 9e75489e9f consider the op_*() functions to be less public 2010-10-08 18:46:38 +00:00
rlar b5f1a18f7c ngspice_compat_mode() prototype --> include files 2010-10-08 18:15:04 +00:00
rlar 4d31d2a12f some .c file local prototypes 2010-10-08 18:05:00 +00:00
rlar cef8a530af com_dotmeasure() prototype 2010-10-08 18:01:40 +00:00
rlar 933bd11c43 use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar d49b1d7d0b use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar 74d62ab486 use the types TSKtask and JOB, instead of void 2010-10-08 16:46:06 +00:00
rlar 7047535f96 type bistromatic 2010-10-08 16:41:13 +00:00
rlar bffcbad0e7 remove a redundant cast 2010-10-08 16:34:35 +00:00
rlar 04dea78e58 fix an incorrect prototype 2010-10-08 16:32:36 +00:00
h_vogt e45aff5549 b. added to i(b.xxx.byyy) 2010-10-07 21:43:40 +00:00
dwarning 0d2b618f31 modification for sun compiler 2010-10-06 20:06:05 +00:00
h_vogt 28622b5a75 remove bug no. 3080398 2010-10-04 20:58:00 +00:00
h_vogt 8db3c17bc0 welcome message, version 22 2010-09-25 14:15:26 +00:00
rlar 8f8071aceb fix some ancient \n\r and \r\n typos 2010-09-19 16:30:39 +00:00
rlar d76862055e cp_unqoute(), avoid segfault when applied to a single quote "\"" 2010-09-19 14:09:12 +00:00
rlar 24f55df1ae fix parse-bison.y dependencies 2010-09-17 16:41:10 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
h_vogt 590bf0a677 meas ac: remove seg fault 2010-09-15 21:54:46 +00:00
h_vogt 56679b429b add __MINGW32__ 2010-09-10 20:22:29 +00:00
h_vogt 355384e459 libiberty.h inclusion modified 2010-09-10 15:06:04 +00:00
rlar cd197da4e5 fix commit from today, `function rename, Arc() -> DevDrawArc()` 2010-09-08 20:14:04 +00:00
rlar af4589529d function rename, struct DISPDEVICE . Text() -> DrawText() 2010-09-08 18:11:26 +00:00
rlar 4f915cb283 function rename, struct DISPDEVICE . Arc() -> DrawArc() 2010-09-08 18:09:30 +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 984754de75 function rename, Arc() -> DevDrawArc() 2010-09-08 17:59:00 +00:00
rlar 2010672489 rename configure.in -> configure.ac 2010-09-08 17:14:44 +00:00
rlar f7c8eb1d2a muffle some visual-C warnings 2010-09-07 20:23:07 +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 b1f6da536a whitespace cleanup, add missing trailing newlines 2010-09-07 19:04:20 +00:00
h_vogt 4f45e4aa7f remove seg fault 2010-09-07 17:51:03 +00:00
h_vogt 113f4ca13d plot [alli | allv | ally] 2010-09-07 08:52:21 +00:00
h_vogt d89d52039f bug in B source parsing removed 2010-09-03 12:51:42 +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 ba539d9ef1 new fcn sgauss(), new rnd-no generator 2010-08-28 18:13:08 +00:00
h_vogt fc2df06f9b bug no. 3047884 2010-08-19 19:48:00 +00:00
dwarning f58d7a5001 omit warnings 2010-08-17 07:37:46 +00:00
rlar bfa767fd7c change for readability 2010-08-15 17:28:01 +00:00
rlar 7f3fdad192 change for readability 2010-08-15 17:22:50 +00:00
rlar d897817800 drop a bunch of (void**) NULL casts {invocation of IFnewUid()} 2010-08-10 19:54:41 +00:00
rlar 6713cb5e00 fix comment 2010-08-10 18:42:59 +00:00
rlar 91a9eb5a10 drop (INPtables*) casts 2010-08-10 18:02:26 +00:00
rlar aa11b7b84f drop (GENmodel*) casts 2010-08-10 17:59:49 +00:00
rlar a8c64094fc fix busy waiting loop, when using editline 2010-08-09 18:36:57 +00:00
rlar 74f7a4f908 bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
dwarning 586acbe45c fallback for not handled enumeration values in switch 2010-08-06 07:50:20 +00:00
rlar 8dd05de4ca bug fix, segfaults and sickness caused by `plot' 2010-08-04 16:03:23 +00:00
rlar eaef9ffd7a implement Arc() for plot5 and hpgl (smith diagram) 2010-08-02 16:31:35 +00:00
rlar 2fcbcc5f48 bug fix, implementation of the X11 draw arc implementation. 2010-08-01 13:47:33 +00:00
rlar 010e046e6b work around a segmentation fault, plot .. vs vec 2010-07-31 17:04:37 +00:00
rlar d60bee2d40 fix an ancient bug, garbage and segfaults when plotting multidimensional complex data 2010-07-31 16:47:15 +00:00
rlar c6bac55ef3 fix an ancient typo, responsible for segfault or garbage when operating on vectors 2010-07-30 19:44:11 +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 618c5961ad fix some literal floating point constants, which should have been integers 2010-07-30 15:30:10 +00:00
h_vogt f7da0b9f00 update inp_cmpat() 2010-07-25 09:21:33 +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 fe696310d6 muffle `may be used uninitialized' warnings 2010-07-24 18:16:56 +00:00
rlar 62afa50a1c fix dangerous things, potential bugs, at least for big endian machines 2010-07-24 14:27:47 +00:00
rlar d074de41f2 fix the type signature of the cx_* functions 2010-07-24 12:37:41 +00:00
rlar 73cf2a8ea5 use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
rlar 8851f67efd Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
rlar 2990821053 use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
2010-07-17 22:11:51 +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
h_vogt 5cbb4d2c67 update changelog, number of types 2010-07-17 10:25:52 +00:00
rlar ff459393d0 `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
h_vogt 79831ac331 'option' command 2010-07-14 20:59:23 +00:00
rlar e1a86fad43 remove leftover /*FALSE,*/ comments from the last commit
which where left for the single purpose of better visualization in a diff tool.
2010-07-14 15:52:44 +00:00
rlar cab9417c9a eliminate co_stringargs, which is used nowhere 2010-07-14 15:43:50 +00:00
rlar 0772afc517 fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
rlar 5397fd9fdd split the function printstr() into printstr_n() and printstr_m() 2010-07-13 18:17:06 +00:00
rlar 922d5c69ac fix the type of the function pointer argument of wl_forall() 2010-07-13 18:10:57 +00:00
rlar 4102c27164 fix function pointer initialization 2010-07-11 20:18:47 +00:00
rlar 62c6626254 add casts for void* returning functions 2010-07-11 19:34:15 +00:00
rlar f7f4a7dd91 tiny, fix two casts 2010-07-11 16:02:23 +00:00
h_vogt e07486df2a patch B. Swartz 2010-07-04 2010-07-10 13:22:44 +00:00
h_vogt fe2d079b31 par('expression') 2010-07-10 11:27:57 +00:00
rlar 7d6abb2fde upgrade some casts from void* to more specific type 2010-07-09 19:03:02 +00:00
rlar 805f60448a INPtables, remove some casts 2010-07-08 17:50:29 +00:00
rlar 63fae60605 use the GENmodel and GENinstance type instead of void* 2010-07-08 17:20:03 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar 72fc1a0186 use CKTcircuit instead of void*, #1/4 2010-07-07 17:26:05 +00:00
rlar d6ad853ecb fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
rlar 59d4e5d961 fix various type glitches 2010-07-04 17:54:22 +00:00
rlar c30028310b ansi style function args for some function pointers 2010-07-03 21:27:53 +00:00
rlar d19476685a tiny fixes 2010-07-03 17:55:44 +00:00
h_vogt e3b0a4b0dd .TITLE line 2010-07-02 07:34:18 +00:00
h_vogt 9f84139ffa no white space removal in echo ' ' 2010-07-01 20:42:20 +00:00
h_vogt 2edf6bafd2 no white space removal in echo ' ' 2010-07-01 20:29:53 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar 0dbebc870c fix some typecasts to *malloc() return values 2010-07-01 17:20:35 +00:00
rlar 643728aca4 explicit compare with NULL 2010-07-01 16:43:28 +00:00
rlar c178bdb059 cosmetical changes 2010-06-30 20:08:57 +00:00
h_vogt 6874c454fc allow {$var} 2010-06-30 19:20:01 +00:00
rlar 779e5a978c ansi prototypes for the function pointers in struct DISPDEVICE 2010-06-30 16:50:09 +00:00
h_vogt 947e19bde7 no command file handling in numparam 2010-06-29 21:18:34 +00:00
rlar a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
h_vogt 111d25b0fc short -> int 2010-06-27 16:42:59 +00:00
h_vogt 3a96b98900 short -> int 2010-06-27 16:19:27 +00:00
rlar 6c4e0cb6d0 add two unused arguments to arg_display(), to fit with struct comm.co_argfn 2010-06-27 15:44:53 +00:00
rlar 5e35b809ec drop cast of NULL to non-ansi function pointer 2010-06-26 19:58:42 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
rlar 5b5297ac2f remove abandoned prototypes 2010-06-25 17:23:40 +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
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt a3a4d4409c .measure skip braces in a special case 2010-06-19 18:50:39 +00:00
h_vogt aab308e863 bug, see support tracker no. 3013968 2010-06-19 18:23:32 +00:00
h_vogt 7f9885c842 remove extra white spaces in inp_fix_gnd_name() 2010-06-17 21:55:40 +00:00
h_vogt a38846464f bug fix 300800 2010-06-04 20:45:03 +00:00
h_vogt 0c3cbd5410 bug report 3008000 2010-06-04 20:16:43 +00:00
h_vogt 16e01a69e2 update for 'show all' 2010-05-30 17:17:50 +00:00
h_vogt 180087ec0f include bison files in dist 2010-05-30 10:22:42 +00:00
h_vogt d080f6dfc0 updates for making dist, new internal fcn getline_xgrapgh 2010-05-30 09:26:34 +00:00
h_vogt af32733fa8 remove unused array 2010-05-27 19:33:57 +00:00
h_vogt 92abb04185 update on B source pwl handling 2010-05-27 19:20:10 +00:00
h_vogt 806227a164 scientific notation of level parameter 2010-05-22 15:46:41 +00:00
h_vogt 2fe85974ce ternary fcn in numparam bugfix 2936702 2010-05-21 20:58:31 +00:00
h_vogt dd66fc7220 abort if .inc fails 2010-05-16 16:31:03 +00:00
h_vogt 1cf306f8e8 remove bugs in processing of lines 2010-05-16 11:55:07 +00:00
h_vogt 63c6260696 update fcn inp_bsource_compat 2010-05-14 22:39:56 +00:00
h_vogt 8a69132a1c cleanup 2010-05-12 21:02:58 +00:00
h_vogt 0bebd1e9e0 new replacement of gnd by 0 2010-05-12 20:48:23 +00:00
h_vogt d850fdd7a3 fcn finishLine: add e. or h. to token inside i(...) 2010-05-10 21:57:36 +00:00
h_vogt 030011fc79 new comments 2010-05-09 13:58:39 +00:00
h_vogt 9548bdd710 tiny update 2010-05-09 12:47:43 +00:00
h_vogt e5e54f9270 correct resistor expression line 3707 2010-05-08 15:47:24 +00:00
h_vogt 9eaba91bf2 update on E, G sources with expressions 2010-05-08 14:21:31 +00:00
h_vogt bfd1b3cb23 L, C implementation: avoid substraction from a builtin 1.0 2010-05-08 09:36:57 +00:00
h_vogt e66ef33c57 ngspice compatibility mode 2010-04-23 22:00:40 +00:00
dwarning 5fcf9c2afe ternary operation in control blocks 2010-04-11 08:49:05 +00:00
dwarning 112261297d Bill Swartz patch 2010-03-25 22:44:37 +00:00
h_vogt 625b3d14fc no crash after 'unset undefined' 2010-03-21 21:23:47 +00:00
h_vogt 9e2f02fbe2 HERTZ added to B source 2010-03-20 15:32:23 +00:00
h_vogt b85ea660dd comment 2010-03-20 15:28:54 +00:00
h_vogt 85788591ff remove 291,292 2010-03-16 23:10:18 +00:00
dwarning 944f756d2f cut the ouput message 2010-03-09 19:30:38 +00:00
h_vogt 288e0b7214 patches R. Larice 2010-03-08 22:20:25 +00:00
h_vogt 9bdf85c43c fcn sgn() 2010-03-07 15:59:08 +00:00
dwarning f210758bdb applied patch to prevent sun cc warnings 2010-03-01 10:28:22 +00:00
dwarning 6d1ab1e505 improve amplitude accuracy 2010-02-28 17:52:09 +00:00
dwarning 532a13fd08 missing LF on end 2010-02-28 17:51:10 +00:00
danmc f208ca56f5 On posix systems, wait() is:
pid_t wait(int *status);
so remove some broken #ifdef's that had the wrong type for status.
2010-02-28 16:58:28 +00:00
h_vogt 75d891e4c0 new parser for B source 2010-02-28 16:00:40 +00:00
h_vogt 4068f498c6 command wrdata 2010-02-27 21:11:30 +00:00
h_vogt 76feebbbfa various bug fixes 2010-02-25 21:43:03 +00:00
dwarning 25ebb25269 correct the 15 digit placeholder 2010-02-22 21:00:16 +00:00
h_vogt 5a710c5ac9 remove makedefs 2010-02-15 10:02:35 +00:00
h_vogt 07f90563dc patches R. Larice 2010-02-13 14:47:45 +00:00
h_vogt c6088c8db1 use format (__printf__, 1, 2) 2010-02-11 21:51:09 +00:00
h_vogt b289dc60c8 *** empty log message *** 2010-02-08 22:25:41 +00:00
h_vogt d4b80c6ced patched for Windows 2010-02-08 22:17:57 +00:00
h_vogt bf706e9e61 patched for CYGWIN 2010-02-08 22:12:34 +00:00
h_vogt d7d5a38583 patches by R. Larice 2010-02-08 21:15:17 +00:00
h_vogt f721fdf782 64 bit support 2010-02-08 20:25:30 +00:00
dwarning ba54c4d9b8 big kspice model update 2010-02-07 18:16:17 +00:00
h_vogt f1a4f27d21 improved numparam error message 2010-02-07 11:27:59 +00:00
h_vogt df4428b239 bug. no 2936702 2010-02-07 09:51:03 +00:00
dwarning 8585a00243 controlled_exit implementation 2010-01-30 13:21:27 +00:00
h_vogt 005dae2462 more characts for real number params 2010-01-29 22:33:59 +00:00
dwarning 88c64bc954 devmodtranslation for txl and cpl in subckts 2010-01-27 21:26:08 +00:00
h_vogt 3959b48afb ps output for X11 2010-01-17 19:06:03 +00:00
h_vogt d8810a841a patches by R. Larice 2010-01-17 16:40:22 +00:00
h_vogt 204362044e .gllobal bug 2010-01-17 14:49:42 +00:00
h_vogt ecf5665104 patch for translate(), R. Larice, .global bug 2010-01-15 22:05:23 +00:00
h_vogt dc7d2d01a2 hardcopy button error removed 2010-01-06 22:48:21 +00:00
h_vogt 7dc6417e6d add xfont, wfont, wfont_size variables 2010-01-02 18:05:07 +00:00
h_vogt f34a09b540 gnuplot update 2010-01-02 15:24:03 +00:00
h_vogt b500f3e32c calling gnuplot via xterm 2010-01-01 13:13:48 +00:00
h_vogt 2c5ed4f83e gnuplot updates 2009-12-31 15:42:28 +00:00
h_vogt 2dc814f613 patches by R. Larice 2009-12-31 15:37:08 +00:00
h_vogt 46e6df66ce gnuplot enhancements (for Windows) 2009-12-30 13:23:57 +00:00
h_vogt c1f06ba5c4 patch by R. Larice 2009-12-29 18:18:47 +00:00
h_vogt 28d5114f43 comments, new examples 2009-12-28 08:34:55 +00:00
h_vogt 8cee489660 bugfix in com_meas() 2009-12-22 15:03:58 +00:00
h_vogt 70b2408f39 updates for .measure
new example files
2009-12-21 18:17:38 +00:00
h_vogt d6350ca86d add vectors to meas 2009-12-21 00:27:15 +00:00
h_vogt 248e44b883 new measure commands 2009-12-20 16:43:51 +00:00
h_vogt 99533fa109 start value for sine 2009-12-20 08:44:50 +00:00
h_vogt 68b06c7a73 comments 2009-12-19 16:04:22 +00:00
h_vogt 5571e9b9fa source file path as additional search path 2009-12-19 09:18:03 +00:00
dwarning b995267b29 prevent int to unsigned compare 2009-12-18 16:59:54 +00:00
h_vogt f72545d4d0 do_meas only if .meas cards are available 2009-12-12 11:49:05 +00:00
h_vogt 8a2f81f61f warning: .meas not possible with -b 2009-12-11 17:18:03 +00:00