Holger Vogt
284f68765d
frontend/vectors.c, readability of warning message
8 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
h_vogt
3c2c6e8cde
vectors.c, vec_get(), remove a memory leak
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
9d32a0a5a9
simplify complex assignments
10 years ago
rlar
df70661c3a
dvec abstraction, #11/11, introduce `dvec_realloc()'
10 years ago
rlar
3962453739
dvec abstraction, #9/11, introduce `dvec_free()'
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
8a4a37b5bb
dvec abstraction, #4/11, emphasise `ZERO(dvec)' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
rlar
1c1fa6b333
frontend/vectors.c, vec_mkfamily(), #6/6 reorder
10 years ago
rlar
a3bf161f89
frontend/vectors.c, vec_mkfamily(), #5/6 fuse those two `for' loops
10 years ago
rlar
f86d5c60e4
frontend/vectors.c, vec_mkfamily(), #4/6 drop `j', reuse `i'
10 years ago
rlar
e52b85ac6c
frontend/vectors.c, vec_mkfamily(), #3/6 earlier initialisation of `count[]'
10 years ago
rlar
83ac9c1d2d
frontend/vectors.c, vec_mkfamily(), #2/6 rewrite v_link2 consing
10 years ago
rlar
d4558079e3
frontend/vectors.c, vec_mkfamily(), #1/6 bug fix, set v_dims[] properly
10 years ago
rlar
30becb4509
frontend/vectors.c, vec_get(), #2/2 rewrite
10 years ago
rlar
d360023e14
frontend/vectors.c, vec_get(), #1/2 drop unused allocation
10 years ago
rlar
192eeadb0b
remove crufty comments which where used to support broken text editors
11 years ago
rlar
e609c7411d
src/frontend/vectors.c, abstraction, introduce `vec_iszero()'
11 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 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
rlar
190932bf65
use enum simulation_types values instead of numericals
13 years ago
h_vogt
c5de0c21c9
findvec(), use hash tables for the vector search
patch originally provided by Bill Swartz, 2010
reduces vector search time from O(n) to O(1)
13 years ago
rlar
0336e31c57
vector.c, rewrite vec_basename(), FIXME !
This rewritten code is functionally equivalent to the previous code,
yet the result is queer,
because the char *v_name slot of struct dvec is read
beyond its terminating '\0'
Is there indeed some code in ngspice which creates
v_name strings with an embedded '\0' ?
14 years ago
rlar
0280a49b69
bug fix, avoid segfault when the refered plot is still empty
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
h_vogt
9eaff645f5
vectors.c, resask.c: indentation
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago
h_vogt
fc7692a896
outheap removed
14 years ago
h_vogt
5d101f46f9
updates tcl for Windows
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
e396b15104
use type `struct ccom'
14 years ago
rlar
d04f0948d6
preserve const'ness of some casts
14 years ago
rlar
f285dd0aa8
use strchr() instead of index()
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
aa0b602b87
cleanup some reoccuring function prototypes
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
0b6a557334
code cleanup
15 years ago