87 Commits (099c0e65c25584a64fc863482eb69cbbac7aa4dd)

Author SHA1 Message Date
Mamoru TASAKA 099c0e65c2 misc/string.c: fix one byte ahead access in dup_string 2 years ago
Holger Vogt ff9c98f597 Patch 112 by Robert Turnbull 3 years ago
Holger Vogt 59413a7f71 Add error messages when controlled_exit is called: 3 years ago
Holger Vogt e6772f4e4e Prevent crash in gettok() and similar functions by checking for NULL 4 years ago
Holger Vogt 1329942865 Add a new function char* gettok_np(char** s) 4 years ago
Holger Vogt e80dad01fc Fix bug 581, reported by Adam Denton 4 years ago
Holger Vogt 08a12b5355 Add a function itoa10 and use it 4 years ago
Holger Vogt 736d42a5b0 remove unused 5 years ago
Holger Vogt 5747982ae8 Re-enable devices like E2 1 0 (2,3) 1 5 years ago
Holger Vogt 4a8065c3ee replace strncpy by memcpy to prevent valgrind error message 5 years ago
Holger Vogt 238f8d393a Suppress some compiler warnings 5 years ago
Holger Vogt ced7604fc4 fix comment 5 years ago
Jim Monte 1d62ae2d97 type casts 6 years ago
Holger Vogt 02cf88c119 correct the return values 6 years ago
Holger Vogt d967e18632 compatibility to old vsnprintf() in MINGW is no longer needed. 6 years ago
Holger Vogt 249304a06f Instantiations of string and dstring functions as inline 6 years ago
Holger Vogt bcfdc806a5 work around a bug in MINGW 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
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 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
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
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 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" 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 7b0275ebf7 string.c, swallow "warning: value computed is not used" 11 years ago
rlar 7524ad2ee6 src/misc/string.c, rewrite using `copy_substring()' 12 years ago
rlar f5d05af51d inpgmod.c, INPgetModBin(), use model_name_match() 12 years ago
rlar b663731379 rewrite model_bin_match(), rename --> model_name_match() 12 years ago
rlar 7f7453a227 inp_do_macro_param_replace(), fix several bugs concerning .func processing 12 years ago