..
help
fixed path created by ngdirname in Windows. Also added const to parameters whose arguments do not change and fixed some potential buffer overruns.
2020-02-12 22:40:46 +01:00
numparam
return extended ascii as alpha
2020-02-22 09:37:48 +01:00
parser
just use strcmp instead of wrapper function
2020-02-13 16:56:13 +01:00
plotting
add missing declaration of old_x11
2020-02-22 09:39:16 +01:00
trannoise
Add const to some parameters, made function static
2020-02-12 22:40:32 +01:00
wdisp
remove bracket left over from recent manual merge conflict resolution
2020-02-22 09:35:31 +01:00
ChangeLog
Integrated code from tclspice, brorson xspice and Vera memleak.
2003-07-23 19:36:39 +00:00
Makefile.am
Complete redesign of memory monitoring in resource.c.
2019-10-19 18:45:52 +02:00
README
* src/Makefile.am src/main.c src/sconvert.c
2000-05-06 14:12:51 +00:00
arg.c
Add const to some parameters, made function static
2020-02-12 22:40:32 +01:00
arg.h
Add const to some parameters, made function static
2020-02-12 22:40:32 +01:00
aspice.c
fix bug no. 362, reported by Bohdan Tkhir
2018-07-30 00:35:25 +02:00
aspice.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
breakp.c
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-01-04 11:17:54 +01:00
breakp.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
breakp2.c
breakp2.c, copynode(), prevent segfault if missing ')'
2016-11-01 11:56:25 +01:00
breakp2.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
circuits.c
harmonise `struct circ' variables, `ckt' --> `ci'
2015-12-15 18:36:59 +01:00
circuits.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_ahelp.c
prevent string overflow by adding the string length
2018-07-22 14:57:49 +02:00
com_ahelp.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_alias.c
frontend/com_alias.c, asubst(), bug fix
2018-02-17 15:30:06 +01:00
com_alias.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_asciiplot.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_asciiplot.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_cdump.c
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
com_cdump.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_chdir.c
Command 'cd' now switches to the home directory also for MS Windows.
2018-08-18 21:22:59 +02:00
com_chdir.h
Command 'cd' now switches to the home directory also for MS Windows.
2018-08-18 21:22:59 +02:00
com_commands.h
new command 'alterparam', to be used in conjunction with 'mc_source'
2018-05-15 22:46:06 +02:00
com_compose.c
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-01-04 11:17:54 +01:00
com_compose.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_display.c
prevent crash
2019-08-13 22:54:30 +02:00
com_display.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_dl.c
com_dl.c: exit upon codemodel load error
2012-12-30 15:32:44 +01:00
com_dl.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_dump.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_dump.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_echo.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_echo.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_fft.c
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-01-04 11:17:54 +01:00
com_fft.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_ghelp.c
Added basic help messages in addtion to reference to web pages
2020-01-04 15:29:41 +01:00
com_ghelp.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_gnuplot.c
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
com_gnuplot.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_hardcopy.c
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.
2020-01-04 15:25:31 +01:00
com_hardcopy.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_help.c
Added basic help messages in addtion to reference to web pages
2020-01-04 15:29:41 +01:00
com_help.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_history.c
com_history.c, static declaration for 'cp_hprint()'
2016-08-15 11:27:15 +02:00
com_history.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_let.c
fixed singluar/plural agreement in an error message generated by the let command
2020-02-12 22:40:53 +01:00
com_let.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_measure2.c
Add const to some parameters, made function static
2020-02-12 22:40:32 +01:00
com_measure2.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_option.c
introduce option "epsmin"
2017-04-19 18:56:00 +02:00
com_option.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_plot.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_plot.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_rehash.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_rehash.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_set.c
Fixed merge conflict. Also made readifile() static and removed an unnecessary string duplication there.
2020-01-04 11:17:45 +01:00
com_set.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_setscale.c
src/frontend/**, whitespace, indentation, ...
2012-09-20 20:30:53 +02:00
com_setscale.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_shell.c
[PATCH #64 ] Made shell command with no arguments functional for Windows.
2019-08-13 23:31:22 +02:00
com_shell.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_shift.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_shift.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_state.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_state.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_strcmp.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_strcmp.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
com_sysinfo.c
another preliminary patch for macOS
2020-01-19 15:42:27 +01:00
com_unset.c
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
com_unset.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
com_xgraph.c
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
com_xgraph.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
commands.c
correct typos found by linthian
2019-09-28 12:25:18 +02:00
commands.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
completion.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
control.c
Added error recovery when invalid foreach statement found
2020-01-04 15:24:05 +01:00
control.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
cpitf.c
Does crash with recent Linux openSUSE Tumbleweed
2019-09-25 10:12:03 +02:00
cpitf.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
define.c
Use only internal memory functions, replace
2018-07-21 23:54:43 +02:00
define.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
device.c
just use strcmp instead of wrapper function
2020-02-13 16:56:13 +01:00
device.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
diff.c
Dynamic string (dstring) rework
2020-01-04 10:22:35 +01:00
diff.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
dimens.c
[PATCH #48 ] Fixed infinite loop and variation from documented behavior of
2019-08-13 23:28:25 +02:00
dimens.h
[PATCH #48 ] Fixed infinite loop and variation from documented behavior of
2019-08-13 23:28:25 +02:00
display.c
Give a better, modern name for this type of display
2020-01-05 15:28:58 +01:00
display.h
add rotation angle to text output, currently used only by postscript,
2018-11-18 15:50:56 +01:00
dotcards.c
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-01-04 11:17:54 +01:00
dotcards.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
dvec.c
Rework of let command. Added support for slices as described in feature #69 and fixed several crashes and issues described in bugs #443 , #444 , #446 , #447 , and #448 .
2020-02-12 22:14:51 +01:00
error.c
error.c, ft_sperror(), memory leak, free memory returned by `if_errstring()'
2016-04-03 18:50:28 +02:00
evaluate.c
[PATCH 47] Refactored ft_getnames() and used the new function in
2019-08-13 23:27:49 +02:00
evaluate.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
fourier.c
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-01-04 11:17:54 +01:00
fourier.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
ftehelp.h
* src/frontend/com_ahelp.c src/frontend/com_ahelp.h
2000-06-27 16:15:43 +00:00
ftesopt.c
struct variable, #17/18, clean
2016-04-01 17:39:22 +02:00
gens.c
use memcpy() instead of deprecated bcopy()
2016-07-30 20:58:19 +02:00
gens.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
get_avail_mem_size.c
fix for macOS
2019-10-19 19:36:13 +02:00
get_phys_mem_size.c
Complete redesign of memory monitoring in resource.c.
2019-10-19 18:45:52 +02:00
get_resident_set_size.c
update for Linux
2019-10-19 20:23:32 +02:00
hcomp.c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
hcomp.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
hpgl.c
add angle to allow text rotation
2020-02-22 09:36:46 +01:00
hpgl.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
init.c
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.
2020-01-04 15:03:20 +01:00
init.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
inp.c
Formatting
2020-02-12 22:31:20 +01:00
inp.h
new command 'mc_source' to internally reload circuit
2018-05-15 22:45:29 +02:00
inpcom.c
add wide char for string i/o under Windows
2020-02-22 09:38:25 +01:00
inpcom.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
interp.c
Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak
2020-02-19 15:28:34 +01:00
interp.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
inventory.c
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
linear.c
creating a linearized cutout of the original vector
2019-03-21 20:13:27 +01:00
linear.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
measure.c
Further improvement of error message im 'meas'
2020-01-05 09:56:00 +01:00
misccoms.c
plug memory leaks for the 'plot' command
2020-01-11 11:25:14 +01:00
misccoms.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
miscvars.c
remove the ancient nobjthack option to fake 3-terminal bjt's
2016-11-01 11:56:48 +01:00
miscvars.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
mw_coms.c
use only internal memory functions,
2018-07-21 23:54:51 +02:00
mw_coms.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
newcoms.c
skip-ws, #6/6, rename to match inpcom.c
2016-03-22 15:26:10 +01:00
newcoms.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
nutinp.c
prevent string overflow by adding the string length
2018-07-22 14:57:49 +02:00
nutinp.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
nutmegif.c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
nutmegif.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
options.c
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.
2020-01-04 11:19:21 +01:00
options.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
outitf.c
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.
2020-01-04 15:25:31 +01:00
outitf.h
Set up all memory in a single step for vector list in a plot.
2019-03-21 15:51:19 +01:00
parse-bison-y.h
drop yyparse() prototypes, require bison >= 2.7 which emits them
2015-10-18 00:46:13 +02:00
parse-bison.y
declare free() / realloc() arguments `const void *'
2016-07-17 11:19:34 +02:00
parse.c
prevent false freeing of vector
2020-02-13 21:32:02 +01:00
parse.h
protect vec_free() and free_pnode() macro for use in non braced blocks
2017-03-25 19:54:40 +01:00
points.c
src/frontend/**, whitespace, indentation, ...
2012-09-20 20:30:53 +02:00
points.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
postcoms.c
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.
2020-01-04 15:25:31 +01:00
postcoms.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
postsc.c
add extended ascii and its selection
2020-02-22 09:35:38 +01:00
postsc.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
quote.c
[PATCH #70 ] Made parameter const and reduced excess allocation.
2019-08-13 23:32:01 +02:00
quote.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
rawfile.c
Opened binary files for writing using "wb" in all cases
2020-01-04 15:30:11 +01:00
rawfile.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
resource.c
Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions.
2020-02-12 22:07:07 +01:00
resource.h
Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions.
2020-02-12 22:07:07 +01:00
runcoms.c
Opened binary files for writing using "wb" in all cases
2020-01-04 15:30:11 +01:00
runcoms.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
runcoms2.c
Do not start a spurious thread with empty controls
2019-09-25 10:12:36 +02:00
runcoms2.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
shyu.c
struct card, #6/6, drop some redundant casts
2018-02-17 19:15:53 +01:00
shyu.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
signal_handler.c
Revert "enable compiling with readline for macOS"
2019-10-26 16:18:29 +02:00
signal_handler.h
abstraction, introduce ft_sigintr_cleanup()
2013-12-31 16:25:44 +01:00
spec.c
partially revert commit b4bbcb149 for spec analysis functionality
2020-02-17 09:56:05 +01:00
spec.h
fix `SetAnalyse()' re-declaration
2013-12-31 12:56:58 +01:00
spiceif.c
add 'option norefvalue' to suppress printing the reference value.
2019-03-21 16:07:12 +01:00
spiceif.h
struct card, #3/6, rename members from struct line to struct card
2018-02-17 19:15:53 +01:00
streams.c
Fixed resolution of ~ to home directory. (Bug #405 ) Also fixed potential buffer overruns in glob expansion
2020-01-04 15:27:58 +01:00
streams.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
subckt.c
Formatting and added comments
2020-02-12 22:31:35 +01:00
subckt.h
subckt.c, introduce new function inp_deckcopy_oc()
2018-05-15 22:45:10 +02:00
terminal.c
[PATCH #63 ] Fixed infinite loop when setscale is given as a command.
2019-08-13 23:30:20 +02:00
terminal.h
avoid leading underscore in preprocessor macros
2013-12-31 12:54:27 +01:00
testcommands.c
src/frontend/**, whitespace, indentation, ...
2012-09-20 20:30:53 +02:00
typesdef.c
[PATCH #40 ] Fixed memory leaks under 3 different conditions when the
2019-08-13 23:19:51 +02:00
typesdef.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
variable.c
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.
2020-01-04 15:25:31 +01:00
variable.h
variable.h, reduce visibility of auxiliary struct xxx to variable.c
2016-10-15 15:06:16 +02:00
vectors.c
allow again single letter vector names
2020-01-26 09:04:53 +01:00
vectors.h
protect vec_free() and free_pnode() macro for use in non braced blocks
2017-03-25 19:54:40 +01:00
where.c
cleanup, use NULL instead of 0 in pointer context
2015-05-02 10:24:49 +02:00
where.h
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00