h_vogt
fa9eb77c0a
com_option.c, com_option(), remove a memory leak
10 years ago
h_vogt
3c2c6e8cde
vectors.c, vec_get(), remove a memory leak
10 years ago
h_vogt
1ef05dc51b
inpcom.c, free_function(), remove a memory leak
10 years ago
h_vogt
77380219d8
breakp2.c, prevent crash in `save' command if no circuit is loaded
10 years ago
h_vogt
7ea4e99842
numparam/general.h, remove redundant memory management functions
10 years ago
rlar
994bec7859
declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
10 years ago
h_vogt
6a7895fbc1
frontend/options.c, fix memory leak (pl_name, pl_title, pl_date)
10 years ago
rlar
1c565a1a89
frontend/rawfile.c, raw_write(), fix memory ownership for pl_title and pl_date
avoid assigning cloned strings
to pl_date/pl_title fields of multiple plots
avoid excess allocation
10 years ago
h_vogt
f66e76fb5f
implement option 'xmu' to control trapezoidal integration method
default is 0.5
option xmu=0.49
can be used to add some damping to reduce trap ringing
set xmu=0.49
or
.option xmu=0.49
works as well
10 years ago
Francesco Lannutti
ef0dcfe5f2
avoid bison dependency `version >= 2.7'
10 years ago
rlar
97cc400efb
ngspice/evt.h, ngspice/enh.t, reduce scope of these include files
10 years ago
h_vogt
efcd8584f1
error.c, ft_sperror(), memory leak, free memory returned by `if_errstring()'
10 years ago
rlar
d58fd306f3
input.c, inchar(), cleanup
10 years ago
h_vogt
0443a2690c
glob.c, brac1(), fix a memory leak
10 years ago
h_vogt
841f2846fe
plotit.c, properly free a reversed wordlist
10 years ago
h_vogt
8480898399
frontend/variable.c, remove memory leak
10 years ago
rlar
ac726f0cf4
struct variable, #18/18, clean
10 years ago
rlar
a6cd5eea45
struct variable, #17/18, clean
10 years ago
rlar
af81e6810e
struct variable, #16/18, drop intermediate variable
10 years ago
rlar
212121d373
struct variable, #15/18, rewrite in terms of `var_alloc_xxx()' (do-3)
10 years ago
rlar
57f56f53a6
struct variable, #14/18, introduce `var_alloc_xxx()'
10 years ago
rlar
bf5acda362
struct variable, #13/18, reorder var_alloc() invocation
10 years ago
rlar
eb53b4d703
struct variable, #12/18, rewrite in terms of `var_alloc()' (do-2)
10 years ago
rlar
8691368a81
struct variable, #11/18, introduce `var_alloc()'
10 years ago
rlar
68042b3d1b
struct variable, #10/18, rewrite in terms of `var_set_xxx()' (do-1)
10 years ago
rlar
bbbd531d8d
struct variable, #9/18, introduce `var_set_xxx()'
10 years ago
rlar
cc3a124120
struct variable, #8/18, collect struct variable operations
10 years ago
rlar
41b5f17906
struct variable, #7/18, reorder struct variable operations
10 years ago
rlar
f4f0ae3f61
struct variable, #6/18, collect struct variable operations
10 years ago
rlar
e0ae0bcff1
struct variable, #5/18, reorder struct variable initialisation
10 years ago
rlar
b748f2d6d0
struct variable, #4/18, shrink scope of local variables
10 years ago
rlar
830b4f443f
struct variable, #3/18, cleanup struct variable field initialisation
10 years ago
rlar
01a0449420
struct variable, #2/18, reorder struct variable field initialisation
10 years ago
rlar
cb4c07b7f0
struct variable, #1/18, cleanup for loops
10 years ago
rlar
a9aca09320
frontend/ftesopt.c, getFTEstat(), collect struct variable operations
10 years ago
rlar
cdf2b69a38
frontend/ftesopt.c, getFTEstat(), prepare for rewrite
10 years ago
rlar
1d15f6bfce
fix struct variable initialisation
10 years ago
rlar
698cbe20dd
frontend/options.c, fix `cp_enqvar(char *word)', missing `copy()'
10 years ago
rlar
81bf9fb9ba
frontend/ftesopt.c, ft_getstat(), cleanup
10 years ago
rlar
371bbf487b
frontend/ftesopt.c, getFTEstat(), include struct variable initialisation
10 years ago
rlar
53531da715
frontend/ftesopt.c, getFTEstat(), add `next' to the function arguments
10 years ago
rlar
a98dde245c
frontend/ftesopt.c, shrink scope of local variables
10 years ago
rlar
413ae5784c
frontend/ftesopt.c, ft_getstat(), cleanup for loop variable consing
10 years ago
rlar
44de319c34
frontend/ftesopt.c, getFTEstat(), cleanup signature
10 years ago
rlar
a8d96c0d17
frontend/ftesopt.c, getFTEstat(), cleanup signature
10 years ago
h_vogt
e60f2f63e1
frontend/cpitf.c, cp_istrue(), cleanup comments
10 years ago
h_vogt
8b709a394f
cpitf.c, cp_istrue(), avoid surplus Warning Message when an `if' condition expands to nothing
When in expression
if $var ...
the variable `var' was undefined, then
ngspice printed a surplus warning message
> Warning: NULL arithmetic expression
in addition to the error message
> Error: var: no such variable.
ngspice continues to process the conditional construct
and evaluates the condition as "FALSE"
10 years ago
rlar
059f2b6c0d
fix garbage collection of vectors returned by ft_evaluate()
10 years ago
rlar
9652cc46c8
plotting/graf.c, cleanup
10 years ago
h_vogt
c332b33d23
parser/lexical.c, #10/10, add some comments
10 years ago