110 Commits (8063e56fdfee8f388b53caa534884ff50fe50a89)

Author SHA1 Message Date
Holger Vogt 037293c81e Improved error message: more info on the bad set form 4 years ago
Giles Atkinson 40c2419a43 Two memory leaks found interactively with valgrind with safe fixes. 4 years ago
Holger Vogt 7f085144a9 remove all the remains of quote() and strip() that had been 6 years ago
Holger Vogt 8639144093 cp_getvar: force a limit to a string entered 6 years ago
Jim Monte 8141a634d7 Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here. 6 years ago
Jim Monte 92725594f3 Used the new capabilities of ft_numparse() to allow the creation of variables and list items of type CP_NUM 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 873e4a8db0 Added no_histsubst option and related fixes 6 years ago
Jim Monte 75d233c40d If the prompt variable was set to a value that is not a string, memory that has been freed would be used when displaying the command prompt. This could lead to strange prompts and possible access violations, although it may appear to work OK if the freed memory has not been modified. This issue is fixed. Some useless duplications of strings when defining variables are also removed. 6 years ago
Jim Monte ea81da2b01 [PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019 7 years ago
Holger Vogt bfe9e29580 If a in command set name="value" value is encapsulated in double quotes, it is always treated as a string variable. 7 years ago
Holger Vogt d636f7899b cp_enqvar() returns freshly malloced variables as well 8 years ago
dwarning aa95da431a adaptive format specifier for size_t printf 8 years ago
Holger Vogt dc34632421 fix memory leaks when evaluating a variable 8 years ago
Holger Vogt 09c876550f prevent string overflow by adding the string length 8 years ago
Holger Vogt a98d01e5f8 Use only internal memory functions, replace 8 years ago
rlar 939555115d variables, cp_vprint, fix a memory leak 10 years ago
rlar bc325b17c5 variables, lift plot_cur->pl_env up to the invoker of cp_usrvars() 10 years ago
rlar e0db4aa665 variables, cp_vprint(), reorder for similarity 10 years ago
rlar a33876ff59 variables, variables, cp_getvar, rewrite 10 years ago
rlar 97c5e1567f variables, cp_getvar(), beware of retval == NULL 10 years ago
rlar 20b666e2d5 variables, clean up 10 years ago
rlar b2fb4e20bf variables, drop 'found', use identity found == (*p != NULL) 10 years ago
rlar 0784f76e51 variables, cleanup the for loops 10 years ago
rlar e39119c1c8 variables, use identity v == *p (and u == *p) 10 years ago
rlar d14ee053d7 variables, use a pointer to the anchor of the variable instead of 'lv' 10 years ago
rlar b13125ac84 variables, explicit processing of ft_curckt->ci_vars, drop uv2 10 years ago
rlar 7483ff9d8c variables, cp_remvar(), cleanup 10 years ago
rlar 485fba7548 variables, add some comments, add explicit case US_NOSIMVAR 10 years ago
rlar 97cdaae19f variables, cp_usrvars(), be more explicit 10 years ago
rlar 596599492e variables, drop redundant tfree(v->va_name), rely on free_struct_variable() 10 years ago
h_vogt fe24b3e6dd variable.c, remove memory leaks 10 years ago
rlar d32968bdaa variable.h, reduce visibility of auxiliary struct xxx to variable.c 10 years ago
rlar 141ed61ec8 use memcpy() instead of deprecated bcopy() 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 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 01a0449420 struct variable, #2/18, reorder struct variable field initialisation 10 years ago
rlar 1d15f6bfce fix struct variable initialisation 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 07aba2e2ae frontend/variable.c, used `isalnum()' instead of homegrown `isalphanum()' 10 years ago