rlar
01039f81a2
device.c, #7/19, use a local wordlist *wn
9 years ago
rlar
50dd15093e
device.c, #6/19, this 'wl2' wont be used anywhere
9 years ago
rlar
26f7a0e04e
device.c, #5/19, drop 'eqfound', equivalent to 'wl != NULL'
9 years ago
rlar
3f09ab6634
device.c, #4/19, loop wont be executed, and 'step' wont be used any more
9 years ago
rlar
3baaa57d18
device.c, #3/19, move some code up
9 years ago
rlar
670d87a589
device.c, #2/19, 'wl' will not be used any more
9 years ago
rlar
1eca384a94
device.c, #1/19, can 'break' here, because 'wl' is NULL
9 years ago
h_vogt
761f3915f5
device.c, 'alter', don't insert empty "" token
when entering ' =' or '= ' in interactive mode
9 years ago
h_vogt
d06f39f67d
device.c, bug #342 , prevent crash when using 'alter'
#342 SegFault alter command
https://sourceforge.net/p/ngspice/bugs/342/
9 years ago
rlar
1e6b809af8
introduce command "check_ifparm" to check consistency of the device IFparm sets
For developing purpose only, and bound to HAVE_TSEARCH, HAVE_TDESTROY
IFparm descriptors must obey certain contracts,
1) aliases must be grouped together with their associated main descriptor,
and all must have flag IF_REDUNDANT set
2) there shall be no duplicated .id fields except for aliases.
3) aliased entries shall have consistent .dataType fields
check_ifparm will traverse all IFparm sets and report violations
9 years ago
rlar
2809ccaa13
shrink scope of expr_w_temper
9 years ago
rlar
dc6e1cb064
use strchr() instead of strstr()
9 years ago
rlar
059f2b6c0d
fix garbage collection of vectors returned by ft_evaluate()
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
3ab568fcba
frontend/device.c, com_alter_common(), #4/4 rename and reuse locals
10 years ago
rlar
dcef3da677
frontend/device.c, com_alter_common(), #3/4 use `wl_cons()'
10 years ago
rlar
335a47f70a
frontend/device.c, com_alter_common(), #2/4 shrink scope of locals
10 years ago
rlar
a3e06831fd
frontend/device.c, com_alter_common(), #1/4 rewrite for readability
10 years ago
rlar
c1b9f746a3
frontend/device.c, com_alter_common(), #10/11 whitespace
10 years ago
rlar
78a0f74bbc
frontend/device.c, com_alter_common(), #9/11 useless allocation
10 years ago
rlar
f04d6cffc2
frontend/device.c, com_alter_common(), #8/11 reorder
10 years ago
rlar
245ef2bbf1
frontend/device.c, com_alter_common(), #7/11 reorder
10 years ago
rlar
8fb0143043
frontend/device.c, com_alter_common(), #6/11 thats always true, drop `type'
10 years ago
rlar
88fa0bc8d2
frontend/device.c, com_alter_common(), #5/11 cleanup `i' usage
10 years ago
rlar
247767e3bf
frontend/device.c, com_alter_common(), #4/11 rewrite while() loop
10 years ago
rlar
80b76ebeb2
frontend/device.c, com_alter_common(), #3/11 rewrite while() loop
10 years ago
rlar
c284161949
frontend/device.c, com_alter_common(), #2/11 set `v_type' and `v_flags' too
10 years ago
rlar
fd2329c7e9
frontend/device.c, com_alter_common(), #1/11 fix error return
10 years ago
rlar
7bc6374138
cleanup, use '\0' instead of 0 in char context
11 years ago
rlar
19e427e3a5
cleanup, use NULL instead of 0 in pointer context
11 years ago
rlar
bcda90e258
src/frontend, cleanup, drop `GENcircuit'
11 years ago
rlar
b69e61d010
src/frontend/device.c, cleanup usage of `IFparm.dataType'
11 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
d598630b72
inpcom.c, cleanup inp_readall() #1/7, introduce inp_read()
13 years ago
h_vogt
1e88db6f7d
add command 'circbyline' to allow entering circuit line by line
13 years ago
rlar
d1764cc7fa
inp_readall() change function signature for readability
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
h_vogt
3d28a3a225
device.c: plug memory leak in 'alter' command
13 years ago
rlar
83e3100917
remove unused variables
14 years ago
rlar
98b38556aa
com_alter_common(), cleanup storage more thoroughly (on error)
14 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
adc9ee09ce
api change for ngdirname() to fix a memory leak
ngdirname did `own' the returned string.
now the invoker is responsible for the returned string.
note, this is contrary to the POSIX dirname() implementation,
which *might* return pointers to statical allocated memory.
14 years ago
dwarning
99b167b272
correct alter of mos geometries for binned models
14 years ago
rlar
e4c7a8df32
use wl_find()
14 years ago
rlar
891d99497d
use wl_find()
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
2a22c1b23c
bug fix, missing update of a wordlist's wl_prev pointer
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago