Commit Graph

2986 Commits

Author SHA1 Message Date
h_vogt d1d2ff94e4 measure, error message updated and return(NAN) in case of measure failure
test for failure with isnan()
2012-07-23 22:57:32 +02:00
rlar 05e5854268 plotit.c, whitespace cleanup 2012-07-23 19:17:25 +02:00
rlar 512644ca34 rewrite using wl_ functions 2012-07-22 11:58:29 +02:00
rlar cd2cab2a94 bug fix, cp_ioreset(): fclosing an already closed stream
causing memory corruption when using `>&' stderr redirection
2012-07-22 11:56:25 +02:00
h_vogt 4d0d0fafb9 repair broken ternary function in B-Source
failed if parameters were included in function.
fixed by finding nested parens in gettok_char()
2012-07-21 22:23:49 +02:00
h_vogt c3141d94e0 table: prevent crashes upon wrong inputs, allow time, temper, hertz as part of device or node name (e.g. Rtime), remove some memory leaks 2012-07-21 21:18:24 +02:00
rlar 1e65ea9e80 rewrite using wl_ functions
this fixed following bug as well:
   echo "echo abra ; ; echo kadabra" | ngspice -p
building a circular list and looping forever
2012-07-21 18:22:10 +02:00
rlar 561d30e5bf implement wl_chop() 2012-07-21 14:42:18 +02:00
h_vogt 87c80b842c gettok_char(), return(NULL) if substring not found 2012-07-19 23:16:15 +02:00
rlar fee664bc19 untabify 2012-07-19 20:26:13 +02:00
rlar 31ee05ceef mw_coms.c, fix the cleanup using wl_cons() 2012-07-19 20:25:06 +02:00
rlar 8d0306c27a cpif.c, whitespace, indentation, cleanups 2012-07-19 20:15:33 +02:00
rlar 75d6f6da5e cpitf.c, cleanup using wl_ functions 2012-07-19 20:15:30 +02:00
rlar 3062e25184 mw_comms.c, whitespace, indentation, cleanups 2012-07-19 18:49:27 +02:00
rlar 95978d3697 mw_coms.c, cleanup using wl_cons() 2012-07-19 18:49:25 +02:00
rlar 2b859633a1 fix the fix wl_reverse() for empty lists 2012-07-15 19:42:09 +02:00
rlar a890a55937 fix wl_reverse() for empty lists 2012-07-14 12:39:13 +02:00
rlar 5859f1a61d comments for wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 12:39:02 +02:00
rlar 9655b9885a cleanup, use wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 10:23:51 +02:00
rlar d9ddaec784 implement wl_cons(), wl_append_word() and wl_chop_rest() 2012-07-14 09:18:39 +02:00
h_vogt 8defa56cf6 remove second call to tmpfile() 2012-07-14 00:10:21 +02:00
rlar 2a22c1b23c bug fix, missing update of a wordlist's wl_prev pointer 2012-07-12 20:44:53 +02:00
rlar e1f8033f1c bug fix, incorrect update of a wordlist's wl_prev pointer 2012-07-12 18:49:01 +02:00
h_vogt 4ca6e56863 printf() ---> out_printf(): allow output redirection into file 2012-07-11 18:56:19 +02:00
rlar 9b34d99e51 emphasize the adms3 `U' device hijack 2012-07-07 20:13:05 +02:00
rlar 84b58ebd3b don't mess with libtools --enable-static / --enable-shared
tie libspice to -shared
    ngspice et al to -static

and use $(STATIC) elsewhere
  which is governed by configure.ac
2012-07-07 14:51:43 +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
h_vogt 2bff8985e3 Adding TD to the fopen() is sufficient in MS Windows
to reliably unlink the temporary file
2012-07-07 09:53:35 +02:00
dwarning c9b729032d no double count of area for capacitances 2012-07-04 22:41:56 +02:00
dwarning dcc22ada60 new scalable diode model including tunnel component 2012-07-04 08:14:33 +02:00
h_vogt cc44d34f70 tmpfile() on MS Windows
create temporary files with Microsoft specific fopen() flags "TD"
and (propably redundant) remove them with an atexit() handler

see bug report #3535348
  "sp*.tmp file created, but not deleted when Windows UAC is en"
  https://sourceforge.net/tracker/?func=detail&atid=423915&aid=3535348&group_id=38962
2012-07-03 18:38:30 +02:00
h_vogt 3a603cf17c Visual Studio: isatty --> _isatty 2012-07-02 19:45:43 +02:00
h_vogt 14914025c0 measure_at(), allow real valued data for meas ac 2012-06-26 23:43:50 +02:00
h_vogt 0207dc7239 no exchange of ' ' by { } inside .control section 2012-06-26 23:28:31 +02:00
h_vogt 188acd0060 correct usage of `unlink()' error return value -1 2012-06-25 15:13:02 +02:00
dwarning 4a75ce744d dioload.c, diosetup.c, correct knee current parameter defaults 2012-06-25 07:43:27 +02:00
dwarning a7ffb7d69f dio/dioload.c, whitespace change 2012-06-25 07:31:03 +02:00
rlar 25efde6d8a configure.ac, unify `x' escape of `test' expressions 2012-06-22 21:46:45 +02:00
rlar 0b35770b0c configure.ac, robustness
unify and honor some hints from
  (info "(autoconf) Limitations of Builtins")

use shell || and && instead of test -o and test -a

! test a = b    -->   test a != b

dont use ()

drop eval

missing quotes
2012-06-22 21:33:08 +02:00
rlar aea1dbb09c configure.ac, use AS_HELP_STRING 2012-06-21 21:55:03 +02:00
rlar cc1a011c98 configure.ac, cleanup 2012-06-21 21:32:40 +02:00
rlar e01db38416 configure.ac, comment style, (dnl -> #) 2012-06-21 21:17:52 +02:00
rlar 714b9d064f configure.ac, whitespace cleanup 2012-06-21 20:59:27 +02:00
rlar 1baec0b6b1 bug fix, first run libtoolize then aclocal
reported by Joseph Trebbien on
  [Ngspice-devel] Build error "required file `./ltmain.sh' not found"
2012-06-21 19:17:01 +02:00
rlar f661a1032d bug fix, ltra and tra, (initial conditions)
reported in
  https://sourceforge.net/tracker/?func=detail&atid=423915&aid=3535544&group_id=38962

bug was introduced in this commit:
  Date:   Wed Dec 31 17:02:46 2003 +0000
  Cleaned up LTRA, TRA and URC code and updated DEVICES file.
2012-06-16 13:06:28 +02:00
dwarning 9648238ed7 call omp_set_num_threads once in central place instead in model routines 2012-06-15 23:14:08 +02:00
dwarning 72afda41ad mv ext_CFLAGS on the end for overwriting existing CFLAGS 2012-06-15 19:57:08 +02:00
rlar b398d39772 xpsice, use the CFLAGS when linking .cm code models 2012-06-13 19:15:28 +02:00
dwarning 9ea4897d06 use unified macro USE_OMP and nthreads is set in setup once - not in load as clause 2012-06-13 19:15:27 +02:00