Commit Graph

759 Commits

Author SHA1 Message Date
rlar 5f4b0aa798 (int) cast the return value of some strlen() invocations 2010-11-06 16:54:11 +00:00
rlar 927470e12f minor rewrite, avoid type conversion warnings 2010-11-06 16:50:21 +00:00
dwarning b4d3cc8646 ancient configure options removed 2010-11-06 13:23:25 +00:00
rlar 3afbeb53e2 minor rewrite, fix a minor bug in the x11 zoom-in function 2010-11-04 19:42:09 +00:00
rlar 0eccd17d9a add casts for x11 operations, to silence type conversion warnings 2010-11-04 19:35:57 +00:00
rlar 3affeff848 move device dependent colors[] array from `graph' to the x11 specific struct 2010-11-04 19:32:53 +00:00
rlar 411c6fc8c3 minor rewrites 2010-11-04 19:28:00 +00:00
rlar f30f96a4c7 use `size_t' variables for fread/fwrite operations 2010-11-04 19:15:41 +00:00
rlar 96992f770a use the type `bool' instead of `unsigned char' in the numparam world 2010-11-02 17:55:32 +00:00
rlar 6e3bbd49ae casts, to make int <-> char conversions explicit 2010-11-02 17:31:19 +00:00
rlar 6ac005103b add some more `int' versus `size_t' casts 2010-11-02 17:28:22 +00:00
rlar 754406a335 minor beautification 2010-11-02 17:25:32 +00:00
rlar 6b5debfc1e use `NUMELEMS' and add some `(int)' casts 2010-11-02 17:23:46 +00:00
rlar db9125fecc convert some variables, from `int' to `size_t' 2010-11-02 17:20:05 +00:00
rlar b4ffca60c4 (int) casts for some `strlen()' expressions 2010-11-02 17:17:43 +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 ea8d250999 bug fix, incorrect handling of `co_spiceonly' commands 2010-10-28 18:12:27 +00:00
rlar 2b3bcfea74 bug fix, const data space was used, instead of malloced area 2010-10-27 16:59:50 +00:00
h_vogt 3ddc20621a guards for strstr 2010-10-25 10:45:55 +00:00
rlar 6e9e8e2e51 trealloc usage unification 2010-10-24 13:32:17 +00:00
rlar 15d12df25b tmalloc usage unification, parenthesize some terms 2010-10-24 13:27:18 +00:00
rlar d6353fb9ee struct member devdep, use void* instead of char* 2010-10-24 13:15:35 +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 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +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 4622d0876e ngcomplex_t instead of complex, #1/2 2010-10-24 12:45:05 +00:00
h_vogt 6a7c0eb74d prototypes 2010-10-16 22:40:20 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
h_vogt 102420262c error message 'no graphics interface... 2010-10-16 16:05:42 +00:00
rlar 60caf347a3 remove unused variables 2010-10-16 15:59:37 +00:00
rlar d7a9d71a1a remove prototypes, avoid redeclarations 2010-10-16 15:58:14 +00:00
rlar f49a0e765b collect inp_deckcopy() inp_subcktexpand() in "subckt.h" 2010-10-16 15:56:07 +00:00
rlar 2c975413b7 collect arg_*() prototypes in "arg.h" 2010-10-16 15:54:51 +00:00
rlar 16e8689529 collect vec_get() in "fteext.h" 2010-10-16 15:53:33 +00:00
rlar e71ca2c2b7 collect plot_cur in "fteext.h" 2010-10-16 15:52:19 +00:00
rlar 894dcead35 collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h" 2010-10-16 15:50:32 +00:00
rlar a9ca8d7331 collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h" 2010-10-16 15:48:39 +00:00
rlar b22f75c9f4 collect hcomp() in "hcomp.h" 2010-10-16 15:47:16 +00:00
rlar 320258dbd2 collect internalerror() in "fteext.h" 2010-10-16 15:45:53 +00:00
rlar ed73405d0f collect ft_nutmeg() in "fteext.h" 2010-10-16 15:44:23 +00:00
h_vogt afdf6ee134 new command wrs2p 2010-10-16 12:05:09 +00:00
h_vogt 32c134f481 #include "../misc/tilde.h" 2010-10-15 21:04:44 +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 a10759a699 remove static fftext() from "com_fft.h" 2010-10-15 18:24:10 +00:00
rlar a1e09cdcd1 collect free_pnode_o() in "parse.h" 2010-10-15 18:22:39 +00:00
rlar 7db0ed44ee collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h" 2010-10-15 18:20:56 +00:00
rlar 513c1d50a6 collect datestring() and seconds() in "misc_time.h" 2010-10-15 18:15:29 +00:00
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