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.
 
 
 
 
 
 
Jim Monte e1ec2a21dd Added error recovery when invalid foreach statement found 6 years ago
..
help cleanup `skip_ws()' usage 10 years ago
numparam Fixed usage of new dstring functions. Also added const to some parameters that did not change. 6 years ago
parser Made UI more consistent when comments are entered. 6 years ago
plotting Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
trannoise add function trnoise_state_free and use it 8 years ago
wdisp Make interface responsive during plotting, 7 years ago
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 23 years ago
Makefile.am Complete redesign of memory monitoring in resource.c. 6 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
com_compose.h avoid leading underscore in preprocessor macros 12 years ago
com_display.c prevent crash 7 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
com_fft.h unify #ifndef include wrapper 12 years ago
com_ghelp.c correct typos found by linthian 7 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 [PATCH 47] Refactored ft_getnames() and used the new function in 7 years ago
com_let.h avoid leading underscore in preprocessor macros 12 years ago
com_measure2.c Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 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 Fixed merge conflict. Also made readifile() static and removed an unnecessary string duplication there. 6 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 [PATCH #64] Made shell command with no arguments functional for Windows. 7 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 Fixed reporting of system information in Windows. 6 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 correct typos found by linthian 7 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 Added error recovery when invalid foreach statement found 6 years ago
control.h unify #ifndef include wrapper 12 years ago
cpitf.c Does crash with recent Linux openSUSE Tumbleweed 7 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 Fixed compiler warnings regarding type of argument passed 6 years ago
device.h unify #ifndef include wrapper 12 years ago
diff.c Dynamic string (dstring) rework 6 years ago
diff.h avoid leading underscore in preprocessor macros 12 years ago
dimens.c [PATCH #48] Fixed infinite loop and variation from documented behavior of 7 years ago
dimens.h [PATCH #48] Fixed infinite loop and variation from documented behavior of 7 years ago
display.c add rotation angle to text output, currently used only by postscript, 7 years ago
display.h add rotation angle to text output, currently used only by postscript, 7 years ago
dotcards.c Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
dotcards.h unify #ifndef include wrapper 12 years ago
dvec.c [PATCH] Changed prototypes of some functions having parameters that 7 years ago
error.c error.c, ft_sperror(), memory leak, free memory returned by `if_errstring()' 10 years ago
evaluate.c [PATCH 47] Refactored ft_getnames() and used the new function in 7 years ago
evaluate.h avoid leading underscore in preprocessor macros 12 years ago
fourier.c Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 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
get_avail_mem_size.c fix for macOS 6 years ago
get_phys_mem_size.c Complete redesign of memory monitoring in resource.c. 6 years ago
get_resident_set_size.c update for Linux 6 years ago
hcomp.c #1/4 #include <ngspice/...> --> #include "ngspice/..." 15 years ago
hcomp.h avoid leading underscore in preprocessor macros 12 years ago
hpgl.c add rotation angle to text output, currently used only by postscript, 7 years ago
hpgl.h unify #ifndef include wrapper 12 years ago
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. 6 years ago
init.h avoid leading underscore in preprocessor macros 12 years ago
inp.c fix typos 7 years ago
inp.h new command 'mc_source' to internally reload circuit 8 years ago
inpcom.c Used Win32 function PathIsRelativeA() to identify an absolute path instead of checking the string since the system function may handle more cases (network shares, etc.). Also reviewed formatting that was done on inpcom.c by a code beautifier in an earlier commit. Nearly all of it was an improvement, but a few cases were reverted back to closer to the original form. One particular instance was comments where a list of steps was given one per line. 6 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 creating a linearized cutout of the original vector 7 years ago
linear.h unify #ifndef include wrapper 12 years ago
measure.c prevent a small memory leak 8 years ago
misccoms.c allow very short version information with new options -v and -d 7 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/..." 15 years ago
nutmegif.h unify #ifndef include wrapper 12 years ago
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. 6 years ago
options.h unify #ifndef include wrapper 12 years ago
outitf.c Remove printing an empty line to stderr 7 years ago
outitf.h Set up all memory in a single step for vector list in a plot. 7 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
postcoms.h unify #ifndef include wrapper 12 years ago
postsc.c correct typos found by linthian 7 years ago
postsc.h unify #ifndef include wrapper 12 years ago
quote.c [PATCH #70] Made parameter const and reduced excess allocation. 7 years ago
quote.h unify #ifndef include wrapper 12 years ago
rawfile.c Do not bail out if 'load file' command has unavailable file, 7 years ago
rawfile.h unify #ifndef include wrapper 12 years ago
resource.c remove 'unreachable code' warning 6 years ago
resource.h Complete redesign of memory monitoring in resource.c. 6 years ago
runcoms.c verify pointer before utilization 7 years ago
runcoms.h unify #ifndef include wrapper 12 years ago
runcoms2.c Do not start a spurious thread with empty controls 7 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 Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM. 6 years ago
spec.h fix `SetAnalyse()' re-declaration 12 years ago
spiceif.c add 'option norefvalue' to suppress printing the reference value. 7 years ago
spiceif.h struct card, #3/6, rename members from struct line to struct card 8 years ago
streams.c enable setting a variable from an input file 6 years ago
streams.h unify #ifndef include wrapper 12 years ago
subckt.c Fixed usage of new dstring functions. Also added const to some parameters that did not change. 6 years ago
subckt.h subckt.c, introduce new function inp_deckcopy_oc() 8 years ago
terminal.c [PATCH #63] Fixed infinite loop when setscale is given as a command. 7 years ago
terminal.h avoid leading underscore in preprocessor macros 12 years ago
testcommands.c src/frontend/**, whitespace, indentation, ... 14 years ago
typesdef.c [PATCH #40] Fixed memory leaks under 3 different conditions when the 7 years ago
typesdef.h unify #ifndef include wrapper 12 years ago
variable.c Used the new capabilities of ft_numparse() to allow the creation of variables and list items of type CP_NUM 6 years ago
variable.h variable.h, reduce visibility of auxiliary struct xxx to variable.c 10 years ago
vectors.c Fixed locating vectors like V(node) 6 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.