250 Commits (1353a5de77ffcb69815b62caa047c709ba680e1d)

Author SHA1 Message Date
Holger Vogt 966b69090d use only TMALLOC and TREALLOC for memory allocation 6 years ago
Jim Monte 0cf53a34b2 Fixed resolution of ~ to home directory. (Bug #405) Also fixed potential buffer overruns in glob expansion 6 years ago
Jim Monte 72801b1ab1 Fixed buffer resizing, made string utilities more modular, and added several new utilities, some which do not require a null termination, potentially avoiding the need to copy a string. Also some substring utilities using the Rabin-Karp algorithm were added. 6 years ago
Jim Monte 81fa829b7d Fixed potential infinite loop (until memory is exhausted) and added several utility functions for processing strings. 6 years ago
Jim Monte 068df274bf Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
Jim Monte 89efe5aeae Dynamic string (dstring) rework 6 years ago
Holger Vogt c50dfa2be8 prevent crash if function is called with NULL argument 7 years ago
Jim Monte e92e2c7362 [PATCH #62] Fixed buffer overrun. Reworked to not use dstring for more 7 years ago
Jim Monte ea81da2b01 [PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019 7 years ago
Jim Monte 1c5176282b [PATCH #52] General cleanup of word list processing, such as adding 7 years ago
Jim Monte b66412f517 [PATCH] Changed prototypes of some functions having parameters that 7 years ago
Holger Vogt 61039c2736 add a new function gettok_model to consider {...} expressions 7 years ago
Jim Monte 0ddd4a8456 Fixed excess buffer allocation and converted wordlist to string more efficiently 7 years ago
Holger Vogt 7f3f46ebea license modified to be compatible to 3-clause BSD according to 7 years ago
dwarning cf24081507 prevent unused warning 8 years ago
Holger Vogt f31f044e30 set the search path for the code models relative to ngspice.exe 8 years ago
Holger Vogt cffc7d27ff beautify code with astyle 8 years ago
Holger Vogt a98d01e5f8 Use only internal memory functions, replace 8 years ago
h_vogt 07ea6466ad configure option --enable-relpath 9 years ago
rlar 900bed550d string.c, #6/6, use skip_ws() and skip_back_ws() 9 years ago
rlar 0da47c644b string.c, #5/6, cleanup 9 years ago
rlar 5b23b54769 string.c, #4/6, cleanup token fetching 9 years ago
rlar c6a3438408 string.c, #3/6, cleanup 'return' 9 years ago
rlar ed13e8a15a string.c, #2/7, drop 'register' 9 years ago
rlar d48bec757c string.c, #1/6, whitespace 9 years ago
rlar dc6e1cb064 use strchr() instead of strstr() 9 years ago
rlar 7a42510cc0 const'ify some 'skip'ing functions 10 years ago
rlar 45ad60b738 rename gettok_nc() --> nexttok(), and functionalize it 9 years ago
rlar 52a1a58e14 wlist.c, wl_find(), avoid crash when `string' argument is NULL 10 years ago
h_vogt 6a0a6071a0 gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)). 10 years ago
h_vogt 33b11f9598 comments improved 10 years ago
rlar d298d5cc2f use memset() instead of deprecated bzero() 10 years ago
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 10 years ago
rlar 994bec7859 declare free() / realloc() arguments `const void *' 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 d12679fccd skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0' 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" 10 years ago
rlar 4b5669a51c frontend/resource.c, fix bizarre time mathematics 10 years ago
rlar bd0bc3038b use `SWAP' macro 10 years ago
rlar f84d2d4e44 misc/wlist.c, minor cleanup 10 years ago
rlar 4c1c95e20f everywhere, use `TMALLOC()' instead of `alloc()' 10 years ago
rlar 726d0be34c use char variants of the <ctype.h> toxxxx() family 10 years ago
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 10 years ago
rlar d37f18d777 misc/string.c, sprinkle some const'ness 10 years ago
rlar 192eeadb0b remove crufty comments which where used to support broken text editors 11 years ago
rlar 0c0bc4079f configure.ac, allow cross-compilation, especially for MinGW-w64 11 years ago
rlar 7bc6374138 cleanup, use '\0' instead of 0 in char context 11 years ago