330 Commits (690b7730fe16c1ec66187ca0e49ec9fc9bd2ca3a)

Author SHA1 Message Date
Jim Monte 2df00ad8c9 Cleaned up defintions of macro constants 6 years ago
Jim Monte 70600258bb Made checking for single-character words faster. The testing now also uses less memory and works for 8-bit characters, which would have previously caused buffer overruns. It is also more modular and has additional documentation. 6 years ago
Jim Monte ad970ae4e7 Made cp_enqvar() mode modular by adding a separate function to handle the case of a vector. Lists are more efficiently handled by moving common comparisons out of the loop over elements. The first argument of cp_enqvar() is changed from char * to const char * since the name of the variable being found is not altered by the function. 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 873e4a8db0 Added no_histsubst option and related fixes 6 years ago
Jim Monte b7d8c61cd9 Cleaned up code to locate a vector in a plot by name. The code was made more modular, and special names like allv are handled more efficiently 6 years ago
Jim Monte 89efe5aeae Dynamic string (dstring) rework 6 years ago
Holger Vogt 7983b0d16a macOS: Do not use deprecated finite, but isfinite 7 years ago
Holger Vogt afdd0fe85e comments added 7 years ago
Holger Vogt 6669cbc17c add function inp_rem_unused_models(). 7 years ago
rlar 96bb0dd941 inpcom.c, introduce inp_add_levels(), add scope to decks 9 years ago
Jim Monte 8ed7080227 [PATCH #70] Made parameter const and reduced excess allocation. 7 years ago
Jim Monte e208aab4cd [PATCH #69] Changed vector type from to the enum assigned to it. 7 years ago
Jim Monte 73379f4146 [PATCH #66] Removed definition of macro MAXWORDS since it is unused. 7 years ago
Jim Monte e92e2c7362 [PATCH #62] Fixed buffer overrun. Reworked to not use dstring for more 7 years ago
Jim Monte 1665b53b84 [PATCH #59] Made INP*Cat() functions more modular and efficient. Also 7 years ago
Jim Monte 1c5176282b [PATCH #52] General cleanup of word list processing, such as adding 7 years ago
Jim Monte 10474a06a8 [PATCH #50] Ensured no buffer overrun for long namess and improved 7 years ago
Holger Vogt 9a9b7c68d0 unify the numerical constants 7 years ago
Holger Vogt b9901a2569 [PATCH 47] Refactored ft_getnames() and used the new function in 7 years ago
Jim Monte b66412f517 [PATCH] Changed prototypes of some functions having parameters that 7 years ago
Jim Monte 0183964d6f [PATCH #41] Made constants agree across ngspice simulator. File const.h 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 40411197e0 add function get_plot(name) to return address of named plot 7 years ago
Holger Vogt be6eca1dbb add 'option norefvalue' to suppress printing the reference value. 7 years ago
Holger Vogt 56701e3d10 add rotation angle to text output, currently used only by postscript, 8 years ago
h_vogt 87be5b9a41 Do not set Bit 8 in an ANSI char, when \ or ^ occured in a string. Thus the full ANSI set is now available in ngspice strings. The setting of Bit 8 was not exploitet anywhere, but did not allow using the characters from extended ANSI. 9 years ago
Holger Vogt 19380903cc add missing evtshared.h to the distribution 8 years ago
Holger Vogt 25cdf95262 replace deprecated sys_errlist[errno] by call to strerror(errno) 8 years ago
Holger Vogt 3930e27501 New compatibility modes (set ngbehavior=??): PS LT LTPS PSA LTA LTPSA 8 years ago
Holger Vogt d636f7899b cp_enqvar() returns freshly malloced variables as well 8 years ago
Holger Vogt 800c9711f2 add a flag 'type of the union' to safely free model->param[i]->element, 8 years ago
Holger Vogt d3b7619754 add a flag timezero to trnoise_state 8 years ago
Holger Vogt d1a8637a29 store deck for command mc_source for each circuit in ft_curckt->ci_mcdeck 8 years ago
Holger Vogt 7ca61b3c98 New command 'setseed' with function com_sseed 8 years ago
Holger Vogt 09c876550f prevent string overflow by adding the string length 8 years ago
Holger Vogt 824ac4fbc9 make functions static or add function prototypes 8 years ago
Holger Vogt a98d01e5f8 Use only internal memory functions, replace 8 years ago
Holger Vogt 417dbfef72 undo the previous commits dealing with snprintf, 8 years ago
Holger Vogt 7153891293 raise buffer size by 1 to retain previous resolution 8 years ago
h_vogt 1066bf0a7b Store the numparam dicoS structure for each circuit in a list. 10 years ago
h_vogt 7198056a41 patch no. 16 by Thomy add a function cm_get_circuit to allow accessing the circuit structure ckt from within an XSPICE code model. This is a change to the interface and requires recopiling all code models! 10 years ago
h_vogt 11bafd70ea update to callback functions SendEvtData, SendInitEvtData 9 years ago
h_vogt c890435383 clarify pointers to data structures for event nodes 9 years ago
h_vogt b5f31ec2b1 version conflict rersolved in sharedspice.c 9 years ago
h_vogt e36b028cdb add wantevtdata if event output should be sent to caller 9 years ago
h_vogt b621875abf sharedspice.h, .c, prepare adding callback functions: new ngSpice_Init_Evt() and function pointers 9 years ago