h_vogt
0af75f3bd9
subckt.c, mif_inp2.c: plug XSPICE setup memory leaks
2012-08-18 18:31:23 +02:00
rlar
d4ced47e8e
drop out_pbuf, which was an ancient workaround
...
obviously an old implementation of out_printf()
has been unreliable.
2012-08-18 18:27:13 +02:00
rlar
0825c10471
bug fix, print complex yet real valued frequency
...
when printing a complex frequency vector, yet with real value
some left over nonsens was printed instead of the actual real value.
this bug was introduced in commit:
Date: Thu Jan 15 21:08:09 2009 +0000
Improvements in vector derivative computation and new functions to
compute group delay and moving average. From espice (A. Roldan).
2012-08-18 17:10:06 +02:00
h_vogt
b02a497490
mif_inp2.c, subckt.c: plug memory leaks at XSPICE setup
2012-08-15 23:11:07 +02:00
rlar
9390a9a9ec
rewrite com_quit()
...
emphasize user confirmation
and if we are going to remove dangling circuits,
then do so unconditionally
2012-08-15 20:15:15 +02:00
rlar
be183407cd
cleanup (checked for code invariance)
2012-08-15 19:18:15 +02:00
rlar
ae6a16e3e4
plug a memory leak when executing `shell'
2012-08-14 21:00:21 +02:00
rlar
fa81e9d007
plug a memory leak when (un)setting variables
2012-08-14 20:39:11 +02:00
rlar
64139a243c
spiceif.c, cleanup (checked for code invariance)
2012-08-14 20:38:25 +02:00
rlar
0c230b2970
spiceif.c, cleanup (checked for code invariance)
2012-08-12 20:28:42 +02:00
rlar
10a9ae32c5
options.c cleanup
2012-08-12 12:48:27 +02:00
rlar
a2f58da0d0
options.c, whitespace
2012-08-12 12:43:09 +02:00
rlar
e93960f9ed
cleanup, if_options() will copy() anyway
2012-08-12 12:25:00 +02:00
rlar
7126dd6f1d
display.c, cleanup
2012-08-08 18:54:52 +02:00
rlar
0beb95757f
cancer of the semicolon
2012-08-07 21:20:36 +02:00
rlar
d50ffdd987
swallow warnings
2012-08-06 19:50:23 +02:00
rlar
1a2477bdcc
avoid `meas' syntax error causing segfault
...
Invalid meas crashes ngspice with SIGSEV - ID: 3554330
http://sourceforge.net/tracker/?func=detail&aid=3554330&group_id=38962&atid=423915
2012-08-06 19:42:49 +02:00
rlar
46980f2cc6
plotit.c #9/9, whitespace
2012-08-05 21:41:25 +02:00
rlar
4803d8bba2
plotit.c #8/9, braces
2012-08-05 21:41:25 +02:00
rlar
6a334da2b4
plotit.c #7/9, braces
2012-08-05 21:41:25 +02:00
rlar
f587553217
plotit.c #6/9, braces
2012-08-05 21:41:25 +02:00
rlar
088e88d9b2
plotit.c #5/9, localize
2012-08-05 21:41:25 +02:00
rlar
5f1387892c
plotit.c #4/9, line wrap
2012-08-05 21:41:25 +02:00
rlar
ed4ad1c0dd
plotit.c #3/9, drop some comments
2012-08-05 21:41:25 +02:00
rlar
5c43e8f2fc
plotit.c #2/9, emphasize maximize/minimize
2012-08-05 21:41:25 +02:00
rlar
406fc29007
plotit.c #1/9, think positive
2012-08-05 21:41:25 +02:00
h_vogt
11ae043c3d
com_measure2.c: enable 'meas dc' without 'from' and 'to' given
...
measure.c: no error printout during autostop
2012-08-05 20:03:00 +02:00
rlar
d6ba5e5b3f
cleanup free_struct_variable()
2012-08-05 12:22:47 +02:00
rlar
75c59a26fa
variable.c, cleanup (mostly whitespace)
2012-08-05 12:22:47 +02:00
dwarning
99b167b272
correct alter of mos geometries for binned models
2012-08-05 12:11:16 +02:00
rlar
51271d2a0b
cp_oddcomm(), plug a memory leak
2012-08-04 22:27:04 +02:00
h_vogt
acfc7a2a27
remove memory leaks
2012-08-04 19:09:13 +02:00
h_vogt
05437b1d48
inpcom.c: safely uncomment unused subcircuits (top level only)
...
if they contain further nested subcircuits
2012-08-03 22:42:33 +02:00
rlar
e4c7a8df32
use wl_find()
2012-08-03 20:48:11 +02:00
rlar
cf2a0f3df3
cleanup, linewrap
2012-08-03 20:43:12 +02:00
rlar
191ae9ea90
cleanup, char 0
2012-08-03 20:43:10 +02:00
rlar
5a69b9efc4
cleanup, void return
2012-08-03 20:43:06 +02:00
rlar
ef37252155
lexical, use wl_append_word()
2012-08-03 20:24:58 +02:00
rlar
62a4ee77d5
lexical #6/6, whitespace
2012-08-03 20:20:18 +02:00
rlar
ea558fbc7f
lexical #5/6, cleanup
2012-08-03 20:18:17 +02:00
rlar
aa188c0766
lexical #4/6, parentheses and braces
2012-08-03 20:16:47 +02:00
rlar
c73c0f4318
lexical #3/6, rewrite
2012-08-03 20:12:58 +02:00
rlar
5656203a6c
lexical #2/6, linewrap
2012-08-03 20:12:19 +02:00
rlar
5d245c9dab
lexical #1/6, cleanup
2012-08-03 20:09:34 +02:00
rlar
64d00a6b43
lexical #3/3, collapse append(NULL) into cp_ccom()
...
the sequence
orig_wlist = wlist;
append(NULL);
cp_ccom(wlist, ...);
is transformed.
expressions to care about in cp_ccom()
C1 := (wlist->wl_next != NULL)
C2 := (wlist->wl_word != NULL)
C3 := wl_length(wlist)
D1 := (orig_wlist != NULL)
D2 := (orig_wlist->wl_word != NULL)
D3 := wl_length(orig_wlist);
cases and their significance in cp_ccom():
orig_wlist = NULL;
wlist = wl_cons(NULL, NULL);
C1 == false
D1 == false
C2,C3 dont care
orig_wlist = wl_cons(E1, wl_cons(E2, ... wl_cons(En, NULL)))
wlist = wl_cons(E1, wl_cons(E2, .... wl_cons(En, wl_cons(NULL, NULL))))
C1 == true
D1 == true
C2 === D2
C3 === D3 + 1
2012-08-02 18:55:54 +02:00
rlar
fec5b00a0d
lexical #2/3, fix memory leaks
2012-08-02 18:55:54 +02:00
rlar
042311d0c3
lexical #1/3, move append(NULL) invokations into position
2012-08-02 18:55:54 +02:00
rlar
1195498978
lexical #19/19, rewrite
2012-07-31 20:49:34 +02:00
rlar
5b67ecda79
lexical #18/19, rewrite
...
`cw' won't be looked at, thus the append + removal can be dropped
`wl_word' is already NULL
2012-07-31 20:49:34 +02:00
rlar
f990e517b5
lexical #17/19, rewrite
2012-07-31 20:49:34 +02:00