You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dwarning a2c5cb4301 It is odd that pointer to 'char' type is compared with the '\0' value. 8 years ago
..
help It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
numparam It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
parser It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
plotting It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
trannoise It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
wdisp It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 23 years ago
Makefile.am dvec abstraction, #2/11, introduce `dvec_alloc()' 10 years ago
README * src/Makefile.am src/main.c src/sconvert.c 26 years ago
arg.c src/frontend/** whitespace, indentation, ... 14 years ago
arg.h unify #ifndef include wrapper 12 years ago
aspice.c fix bug no. 362, reported by Bohdan Tkhir 8 years ago
aspice.h unify #ifndef include wrapper 12 years ago
breakp.c use strchr() instead of strstr() 9 years ago
breakp.h unify #ifndef include wrapper 12 years ago
breakp2.c breakp2.c, copynode(), prevent segfault if missing ')' 10 years ago
breakp2.h unify #ifndef include wrapper 12 years ago
circuits.c harmonise `struct circ' variables, `ckt' --> `ci' 10 years ago
circuits.h unify #ifndef include wrapper 12 years ago
com_ahelp.c prevent string overflow by adding the string length 8 years ago
com_ahelp.h avoid leading underscore in preprocessor macros 12 years ago
com_alias.c frontend/com_alias.c, asubst(), bug fix 8 years ago
com_alias.h unify #ifndef include wrapper 12 years ago
com_asciiplot.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_asciiplot.h avoid leading underscore in preprocessor macros 12 years ago
com_cdump.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_cdump.h avoid leading underscore in preprocessor macros 12 years ago
com_chdir.c Command 'cd' now switches to the home directory also for MS Windows. 8 years ago
com_chdir.h Command 'cd' now switches to the home directory also for MS Windows. 8 years ago
com_commands.h new command 'alterparam', to be used in conjunction with 'mc_source' 8 years ago
com_compose.c data[i] is no longer written beyond its allocated length 8 years ago
com_compose.h avoid leading underscore in preprocessor macros 12 years ago
com_display.c prevent string overflow by adding the string length 8 years ago
com_display.h avoid leading underscore in preprocessor macros 12 years ago
com_dl.c com_dl.c: exit upon codemodel load error 13 years ago
com_dl.h unify #ifndef include wrapper 12 years ago
com_dump.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_dump.h avoid leading underscore in preprocessor macros 12 years ago
com_echo.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_echo.h unify #ifndef include wrapper 12 years ago
com_fft.c prevent a huge memory leak by calling fftw3 in a loop 8 years ago
com_fft.h unify #ifndef include wrapper 12 years ago
com_ghelp.c fix missing tokens in cp_getvar 8 years ago
com_ghelp.h avoid leading underscore in preprocessor macros 12 years ago
com_gnuplot.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_gnuplot.h avoid leading underscore in preprocessor macros 12 years ago
com_hardcopy.c fix bug no. 362, reported by Bohdan Tkhir 8 years ago
com_hardcopy.h avoid leading underscore in preprocessor macros 12 years ago
com_help.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_help.h avoid leading underscore in preprocessor macros 12 years ago
com_history.c com_history.c, static declaration for 'cp_hprint()' 10 years ago
com_history.h avoid leading underscore in preprocessor macros 12 years ago
com_let.c use memcpy() instead of deprecated bcopy() 10 years ago
com_let.h avoid leading underscore in preprocessor macros 12 years ago
com_measure2.c prevent a small memory leak 8 years ago
com_measure2.h avoid leading underscore in preprocessor macros 12 years ago
com_option.c introduce option "epsmin" 9 years ago
com_option.h avoid leading underscore in preprocessor macros 12 years ago
com_plot.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_plot.h avoid leading underscore in preprocessor macros 12 years ago
com_rehash.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_rehash.h unify #ifndef include wrapper 12 years ago
com_set.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_set.h avoid leading underscore in preprocessor macros 12 years ago
com_setscale.c src/frontend/**, whitespace, indentation, ... 14 years ago
com_setscale.h avoid leading underscore in preprocessor macros 12 years ago
com_shell.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_shell.h unify #ifndef include wrapper 12 years ago
com_shift.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_shift.h unify #ifndef include wrapper 12 years ago
com_state.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_state.h avoid leading underscore in preprocessor macros 12 years ago
com_strcmp.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_strcmp.h avoid leading underscore in preprocessor macros 12 years ago
com_sysinfo.c initialize pn in ft_getpnames() parse.c 8 years ago
com_unset.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_unset.h unify #ifndef include wrapper 12 years ago
com_xgraph.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_xgraph.h avoid leading underscore in preprocessor macros 12 years ago
commands.c Command 'cd' now switches to the home directory also for MS Windows. 8 years ago
commands.h avoid leading underscore in preprocessor macros 12 years ago
completion.h avoid leading underscore in preprocessor macros 12 years ago
control.c remove a small memoryleak in (nested) goto loops 8 years ago
control.h unify #ifndef include wrapper 12 years ago
cpitf.c frontend/parser/lexical.c, cp_lexer(), allow # and * comment 8 years ago
cpitf.h unify #ifndef include wrapper 12 years ago
define.c Use only internal memory functions, replace 8 years ago
define.h unify #ifndef include wrapper 12 years ago
device.c It is odd that pointer to 'char' type is compared with the '\0' value. 7 years ago
device.h unify #ifndef include wrapper 12 years ago
diff.c prevent string overflow by adding the string length 8 years ago
diff.h avoid leading underscore in preprocessor macros 12 years ago
dimens.c cleanup `skip_ws()' usage 10 years ago
dimens.h unify #ifndef include wrapper 12 years ago
display.c fix bug no. 362, reported by Bohdan Tkhir 8 years ago
display.h unify #ifndef include wrapper 12 years ago
dotcards.c use strchr() instead of strstr() 9 years ago
dotcards.h unify #ifndef include wrapper 12 years ago
dvec.c src/frontend/outif.c, plotAddRealValue() etc, rallocate more coarsely 10 years ago
error.c error.c, ft_sperror(), memory leak, free memory returned by `if_errstring()' 10 years ago
evaluate.c use `SWAP' macro 10 years ago
evaluate.h avoid leading underscore in preprocessor macros 12 years ago
fourier.c prevent string overflow by adding the string length 8 years ago
fourier.h unify #ifndef include wrapper 12 years ago
ftehelp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 26 years ago
ftesopt.c struct variable, #17/18, clean 10 years ago
gens.c use memcpy() instead of deprecated bcopy() 10 years ago
gens.h unify #ifndef include wrapper 12 years ago
hcomp.c #1/4 #include <ngspice/...> --> #include "ngspice/..." 14 years ago
hcomp.h avoid leading underscore in preprocessor macros 12 years ago
hpgl.c add fourth parameter to cp_getvar(), in functions missing so far 8 years ago
hpgl.h unify #ifndef include wrapper 12 years ago
init.c use memset() instead of deprecated bzero() 10 years ago
init.h avoid leading underscore in preprocessor macros 12 years ago
inp.c s variable was assigned values twice successively 8 years ago
inp.h new command 'mc_source' to internally reload circuit 8 years ago
inpcom.c Enable psa, ltpsa compatibility mode 8 years ago
inpcom.h unify #ifndef include wrapper 12 years ago
interp.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 10 years ago
interp.h unify #ifndef include wrapper 12 years ago
inventory.c src/frontend/** remove superfluous `return' invocations 14 years ago
linear.c com_linarize(), support load'ed vectors 10 years ago
linear.h unify #ifndef include wrapper 12 years ago
measure.c prevent a small memory leak 8 years ago
misccoms.c free global string errMsg 8 years ago
misccoms.h unify #ifndef include wrapper 12 years ago
miscvars.c remove the ancient nobjthack option to fake 3-terminal bjt's 10 years ago
miscvars.h unify #ifndef include wrapper 12 years ago
mw_coms.c use only internal memory functions, 8 years ago
mw_coms.h unify #ifndef include wrapper 12 years ago
newcoms.c skip-ws, #6/6, rename to match inpcom.c 10 years ago
newcoms.h unify #ifndef include wrapper 12 years ago
nutinp.c prevent string overflow by adding the string length 8 years ago
nutinp.h unify #ifndef include wrapper 12 years ago
nutmegif.c #1/4 #include <ngspice/...> --> #include "ngspice/..." 14 years ago
nutmegif.h unify #ifndef include wrapper 12 years ago
options.c cp_enqvar() returns freshly malloced variables as well 8 years ago
options.h unify #ifndef include wrapper 12 years ago
outitf.c Commit ad0f59657 ("fix a memory leak", 2018-08-13) made 8 years ago
outitf.h fix commit: introduce OUTerrorf() and IFerrorf() 12 years ago
parse-bison-y.h drop yyparse() prototypes, require bison >= 2.7 which emits them 11 years ago
parse-bison.y declare free() / realloc() arguments `const void *' 10 years ago
parse.c remove memory leak, when ft_getnames ... free_pnode couple 8 years ago
parse.h protect vec_free() and free_pnode() macro for use in non braced blocks 9 years ago
points.c src/frontend/**, whitespace, indentation, ... 14 years ago
points.h unify #ifndef include wrapper 12 years ago
postcoms.c fix memory leak: before killing a plot, remove its hash table entry 8 years ago
postcoms.h unify #ifndef include wrapper 12 years ago
postsc.c prevent string overflow by adding the string length 8 years ago
postsc.h unify #ifndef include wrapper 12 years ago
quote.c cleanup, use NULL instead of 0 in pointer context 11 years ago
quote.h unify #ifndef include wrapper 12 years ago
rawfile.c prevent string overflow by adding the string length 8 years ago
rawfile.h unify #ifndef include wrapper 12 years ago
resource.c prevent core dump to get the baseaddress 8 years ago
resource.h unify #ifndef include wrapper 12 years ago
runcoms.c prevent pass null pointer into setvbuf 8 years ago
runcoms.h unify #ifndef include wrapper 12 years ago
runcoms2.c prevent pass null pointer into setvbuf 8 years ago
runcoms2.h unify #ifndef include wrapper 12 years ago
shyu.c struct card, #6/6, drop some redundant casts 8 years ago
shyu.h unify #ifndef include wrapper 12 years ago
signal_handler.c signal_handler.c, ft_sigintr(), exit after three SIGINT requests 10 years ago
signal_handler.h abstraction, introduce ft_sigintr_cleanup() 12 years ago
spec.c prevent string overflow by adding the string length 8 years ago
spec.h fix `SetAnalyse()' re-declaration 12 years ago
spiceif.c no null pointer to fprintf 8 years ago
spiceif.h struct card, #3/6, rename members from struct line to struct card 8 years ago
streams.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
streams.h unify #ifndef include wrapper 12 years ago
subckt.c re-number the lines during copying, 8 years ago
subckt.h subckt.c, introduce new function inp_deckcopy_oc() 8 years ago
terminal.c prevent string overflow by adding the string length 8 years ago
terminal.h avoid leading underscore in preprocessor macros 12 years ago
testcommands.c src/frontend/**, whitespace, indentation, ... 14 years ago
typesdef.c add a new vector type "temperature" 8 years ago
typesdef.h unify #ifndef include wrapper 12 years ago
variable.c cp_enqvar() returns freshly malloced variables as well 8 years ago
variable.h variable.h, reduce visibility of auxiliary struct xxx to variable.c 10 years ago
vectors.c command 'setplot': add predefined 'previous' and 'next' parameters 8 years ago
vectors.h protect vec_free() and free_pnode() macro for use in non braced blocks 9 years ago
where.c cleanup, use NULL instead of 0 in pointer context 11 years ago
where.h unify #ifndef include wrapper 12 years ago

README

This directory contains the code that is behind the commands of the
interactive frontend. Note that every command has a source file
associated with it. The source file is prefixed with `com_' to
distinguish command source files from other supporting code.