rlar
18426c755d
harmonise `struct circ' variables, `ckt' --> `ci'
2015-12-15 18:36:59 +01:00
rlar
f6716af635
frontend/ftesopt.c, rename local variable `ft_curckt' --> `ci'
...
to avoid compiler warning:
'ft_curckt' hides global declaration
2015-12-15 18:36:45 +01:00
rlar
f826ff82f8
introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()'
2015-12-15 18:10:18 +01:00
h_vogt
84e31cae82
xspice/icm/digital/d_source/cfunc.mod, bug #301 , increase MAX_STRING_SIZE for input file reading
...
Thats a workaround for a segmentation fault (buffer overrun)
caused by too long lines in the input file for a xspice "d_source"
Thanks to Siddhant Saraf, who reported this in
#301 d_source gives wrong error and then SIGSEGV (Address boundary error)
http://sourceforge.net/p/ngspice/bugs/301/
2015-12-13 12:28:46 +01:00
h_vogt
ab05d9df04
numparm/spicenum.c, rename local variable `cp_out' --> `fp'
...
to avoid a "hides global declaration" compiler warning
2015-12-13 12:24:38 +01:00
h_vogt
f7d387005f
numparam/spicenum.c, bug #300 , exit gracefully upon numparam error (SHARED_MODULE)
...
Thanks to Sergii Baitala, who reported this in
#300 Shared ngspice: ngspice hangs on getchar
http://sourceforge.net/p/ngspice/bugs/300/
2015-12-13 11:46:11 +01:00
h_vogt
806fdfb029
vsrc/vsrcask.c, bug #299 , add "nop" handler for VSRC_EXTERNAL in SHARED_MODULE
...
Avoid NAN error when executing "show all"
Thanks to Sergii Baitala, who reported this in
#299 Shared ngspice: missed VSRC_EXTERNAL handler in VSRCask
http://sourceforge.net/p/ngspice/bugs/299/
2015-12-13 11:46:09 +01:00
dwarning
7fb8368133
favor exponential temperatur equation if all parameters tc1, tc2 and tce are given
2015-11-22 10:43:42 +01:00
h_vogt
df846346a1
visualc, cope with `bool' and `isnan()' in visual studio 2015
...
now they have isnan(),
(presumably in math.h)
now they have a C99 `bool',
(maybe even though not asked for with <stdbool.h>)
2015-11-15 15:09:27 +01:00
rlar
917ae030c9
src/sharedspice.c, fix #include style
2015-11-15 15:09:26 +01:00
rlar
f33d9953b3
frontend/define.c, cleanup `ft_substdef()'
2015-11-13 20:17:18 +01:00
rlar
8f69a04833
frontend/define.c, cleanup `numargs()'
2015-11-13 20:17:17 +01:00
rlar
22d5a7124a
frontend/define.c, abstraction, introduce `numargs()'
2015-11-13 20:17:16 +01:00
rlar
37979de65a
frontend/define.c, trcopy(), rename `nn' --> `args'
2015-11-13 20:17:16 +01:00
rlar
e99ba7478b
frontend/define.c, trcopy(), rename `args' --> `arg_names'
2015-11-13 20:17:15 +01:00
rlar
bc44be41ad
frontend/define.c, ft_substdef(), rename `s' --> `arg_names'
2015-11-13 20:17:14 +01:00
rlar
045de93d3b
frontend/define.c, cleanup `prtree1()'
2015-11-13 20:17:13 +01:00
rlar
83938330eb
frontend/define.c, cleanup `prdefs()'
2015-11-13 20:17:13 +01:00
rlar
e7c7e7052b
frontend/define.c, cleanup `prtree()'
2015-11-13 20:17:12 +01:00
rlar
15f0f5f22f
frontend/define.c, com_undefine(), rename `ludf' --> `prev_udf'
2015-11-13 20:17:11 +01:00
rlar
3be8335224
frontend/define.c, abstraction, use `strchr()'
2015-11-13 19:51:50 +01:00
rlar
501c0238d7
frontend/define.c, cleanup
2015-11-13 19:50:56 +01:00
rlar
29dde7206a
frontend/parse.c, introduce `alloc_pnode()'
2015-11-12 18:32:39 +01:00
rlar
381a690cd8
frontend/define.c, ntharg(), bug fix, fix check for end of PT_OP_COMMA args list
...
ancient bug, yet not much of a consequence because there was already
another check for correct arity of a function application.
("define"'ed function in the .control section)
2015-11-10 19:44:54 +01:00
rlar
5706fbd890
parser/inpptree-parser.y, bug fix, allow unary `+'
...
reported by Andy Fierman on the ngspice-users mailing list in message
"Help to identify 'parameter value out of range or the wrong type' error please?"
2015-11-07 21:02:21 +01:00
rlar
97c1ec733a
frontend/define.c, ntharg(), #15/15 whitespace and indentation
2015-11-07 20:26:54 +01:00
rlar
a7f776872b
frontend/define.c, ntharg(), #14/15 rewrite for(;;) loop
2015-11-07 20:26:45 +01:00
rlar
101b5ada81
frontend/define.c, ntharg(), #13/15 delay `num--' a bit
2015-11-07 20:26:36 +01:00
rlar
06b6237199
frontend/define.c, ntharg(), #12/15 delay `num--' a bit
2015-11-07 20:26:28 +01:00
rlar
bd40bbd437
frontend/define.c, ntharg(), #11/15 `args' can't be NULL here
2015-11-07 20:26:18 +01:00
rlar
cd0941367a
frontend/define.c, ntharg(), #10/15 can move this up
2015-11-07 20:26:09 +01:00
rlar
3b6b71f680
frontend/define.c, ntharg(), #9/15 can move this up
2015-11-07 20:25:47 +01:00
rlar
bc793fbf27
frontend/define.c, ntharg(), #8/15 this `if' condition can't be true
2015-11-07 20:25:27 +01:00
rlar
e93327fdb7
frontend/define.c, ntharg(), #7/15 substitute tail of ntharg() for `break'
2015-11-07 20:25:20 +01:00
rlar
e98bfc720f
frontend/define.c, ntharg(), #6/15 rewrite while() --> for(;;)
2015-11-07 20:25:12 +01:00
rlar
67301b25fe
frontend/define.c, ntharg(), #5/15 make use of `fact: num >= 1'
2015-11-07 20:25:04 +01:00
rlar
f538b4dba3
frontend/define.c, ntharg(), #4/15 express some facts
2015-11-07 20:24:56 +01:00
rlar
71908ef194
frontend/define.c, ntharg(), #3/15 drop redundant `if', already guarded by `while'
2015-11-07 20:24:48 +01:00
rlar
8ac0329bd9
frontend/define.c, ntharg(), #2/15 minor cleanup
2015-11-07 20:24:39 +01:00
rlar
f91f8c2a09
frontend/define.c, ntharg(), #1/15 drop `struct pnode *ptry', use `args' instead
2015-11-07 20:24:26 +01:00
rlar
600d289000
frontend/define.c, ntharg(), avoid segfault when out of `args'
...
return NULL instead
2015-11-07 20:15:53 +01:00
rlar
b137930330
xpressn.c, formula(), #6/6 simplify
2015-11-07 19:11:54 +01:00
rlar
a805fe6b56
xpressn.c, formula(), #5/6 whitespace and indentation
2015-11-07 19:10:25 +01:00
rlar
577352e6bb
xpressn.c, formula(), #4/6 move around
2015-11-07 19:09:44 +01:00
rlar
b156921ea0
xpressn.c, formula(), #3/6 refactor fetchid(), pass substring, include `upcase()'
2015-11-07 19:08:40 +01:00
rlar
1d9592c591
xpressn.c, formula(), #2/6 move dstring buildup out of `fetchid()'
2015-11-07 19:08:23 +01:00
rlar
d6ce788539
xpressn.c, formula(), #1/6 upside-down an `if..else..'
2015-11-07 18:59:07 +01:00
rlar
b447f26703
`E..table {expr} {pairs}', `G..', allow an optional `=' after `table'
2015-11-07 17:52:19 +01:00
rlar
7479e48f7a
`E..value=', `G..value=', allow `=' being optional
2015-11-07 17:49:06 +01:00
rlar
28c0c96bbc
devices/res, introduce TCE, exponential temperature coefficient
2015-11-02 19:25:43 +01:00