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.
 
 
 
 
 
 
Holger Vogt 732c12c93f Remove another potential crash if buggy user input 2 years ago
..
help EXITPOINT, memory leaks upon failure 6 years ago
numparam Stat. functions: safeguard against divide by zero, return nominal value 3 years ago
parser Make the special "noglob" variable work. To preserve previous behaviour 3 years ago
plotting Modify the previous commit a616a0abe: 3 years ago
trannoise We start not at 0, but use the mean value (given in PARAM2) as 4 years ago
wdisp Fix bug 624 also for MS Windows 3 years ago
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 23 years ago
Makefile.am New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
README * src/Makefile.am src/main.c src/sconvert.c 26 years ago
arg.c Two memory leaks found interactively with valgrind with safe fixes. 4 years ago
arg.h Add 'esave' command to save only specific event nodes. 4 years ago
aspice.c Remove the obsolete RETSIGTYPE, replace by void 3 years ago
aspice.h unify #ifndef include wrapper 12 years ago
breakp.c Fix an infinite loop bug that may be seen with "stop whan a>b" or 3 years ago
breakp.h unify #ifndef include wrapper 12 years ago
breakp2.c plug a memory leak 4 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 Fix Bug #402 "Crash related to aliases". Do not return freed pointer. 4 years ago
com_alias.h Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc. 6 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 remove all the remains of quote() and strip() that had been 6 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 Improve commands for vector scales. "setscale" can now change 3 years ago
com_compose.h avoid leading underscore in preprocessor macros 12 years ago
com_display.c remove all the remains of quote() and strip() that had been 6 years ago
com_display.h avoid leading underscore in preprocessor macros 12 years ago
com_dl.c prototype for Verilog-A integration using OSDI and OpenVAF 3 years ago
com_dl.h prototype for Verilog-A integration using OSDI and OpenVAF 3 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 remove all the remains of quote() and strip() that had been 6 years ago
com_echo.h unify #ifndef include wrapper 12 years ago
com_fft.c correct fft dc scaling bug #620 3 years ago
com_fft.h unify #ifndef include wrapper 12 years ago
com_fileio.c New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_fileio.h New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_ghelp.c Updating links to ngspice web pages 3 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 a comment 5 years ago
com_hardcopy.h avoid leading underscore in preprocessor macros 12 years ago
com_help.c Fix a bug in the "help" command. Some commands have no action function, 3 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 Introduce variacle 'plainlet' which allow simple copying 5 years ago
com_let.h avoid leading underscore in preprocessor macros 12 years ago
com_measure2.c Remove another potential crash if buggy user input 2 years ago
com_measure2.h avoid leading underscore in preprocessor macros 12 years ago
com_option.c Improve iteration limit options display 4 years ago
com_option.h avoid leading underscore in preprocessor macros 12 years ago
com_plot.c The 'plot' command is not available in batch mode. 3 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 Improve commands for vector scales. "setscale" can now change 3 years ago
com_setscale.h avoid leading underscore in preprocessor macros 12 years ago
com_shell.c Make the returned status of the "shell" command available as interpreter 3 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 New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_strcmp.h New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_sysinfo.c add missing get_sysmem() when no info available 6 years ago
com_unset.c clear all variables upon 'quit' 6 years ago
com_unset.h clear all variables upon 'quit' 6 years ago
com_wr_ic.c Update to command 'wrnodev': 3 years ago
com_wr_ic.h Add command 'write_ic' 5 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 New interpreter commands strstr, strslice, fopen, fread and fclose. 2 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 Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 3 years ago
control.h unify #ifndef include wrapper 12 years ago
cpitf.c Make the special "noglob" variable work. To preserve previous behaviour 3 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 Add new flags to command devhelp: 4 years ago
device.h Add new flags to command devhelp: 4 years ago
diff.c Add error messages when controlled_exit is called: 3 years ago
diff.h avoid leading underscore in preprocessor macros 12 years ago
dimens.c type modifier, parameter graph removed from SetColor() 6 years ago
dimens.h [PATCH #48] Fixed infinite loop and variation from documented behavior of 7 years ago
display.c Make the error message a little more reasonable. 3 years ago
display.h Add parameter 'isgrid' to plotting of arcs. 4 years ago
dotcards.c Fix warnings from gcc 10.2.1. 3 years ago
dotcards.h unify #ifndef include wrapper 12 years ago
dvec.c Update to comments, restrict mutex definitions to shared ngspice 2 years ago
error.c WinGUI: Push any remaining error message into text window 5 years ago
evaluate.c Always propgate any individual scale for a vector that appears 3 years ago
evaluate.h avoid leading underscore in preprocessor macros 12 years ago
fourier.c Enable math characters in vector (node) names for command fourier 4 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 Add statistics: load, subckt expansion, and parse times 6 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 Add a check for sys/sysctrl.h, which has been declared deprecated, 5 years ago
get_phys_mem_size.c Add a check for sys/sysctrl.h, which has been declared deprecated, 5 years ago
get_resident_set_size.c #include resource.h added, fcn parameter void 6 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 parameter 'isgrid' to plotting of arcs. 4 years ago
hpgl.h unify #ifndef include wrapper 12 years ago
init.c Enable history substitution of interactive commands only when variable 'histsubst' is set. 3 years ago
init.h avoid leading underscore in preprocessor macros 12 years ago
inp.c Recognise *ng_script_with_params" in the first line of the first 2 years ago
inp.h Insert XSPICE bridging devices automatically when an analogue node 4 years ago
inpc_probe.c Fix bug in fprintf 3 years ago
inpcom.c Prevent some strings being mis-recognised by strstr(), including 2 years ago
inpcom.h Shift all compatibility handlinmg from inpcom.c into its own source files 3 years ago
inpcompat.c Shift all compatibility handlinmg from inpcom.c into its own source files 3 years ago
inpcompat.h Shift all compatibility handlinmg from inpcom.c into its own source files 3 years ago
interp.c Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak 6 years ago
interp.h unify #ifndef include wrapper 12 years ago
inventory.c Only print the devices that are really used in the circuit 5 years ago
linear.c Check for tran at first when linearize is called. 4 years ago
linear.h Cut out part of each vector of the current tran plot, 6 years ago
logicexp.c remove compiler warning wrt. prototypes 3 years ago
measure.c Don't check continuously for autostop, only when option flag is set 3 years ago
misccoms.c Fix intro comment: NDEV is no longer supported in ngspice 3 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 Change error messages to warning messages, because simulator moves on 4 years ago
mw_coms.h unify #ifndef include wrapper 12 years ago
newcoms.c remove all the remains of quote() and strip() that had been 6 years ago
newcoms.h unify #ifndef include wrapper 12 years ago
nutinp.c Remove some compiler warnings 5 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 Add a predifined variable 'skywaterpdk' to speed up circuit 2 years ago
options.h unify #ifndef include wrapper 12 years ago
outitf.c Fix Bug #467 - ".OPTION INTERP has accuracy issue". 2 years ago
outitf.h Remove "incompatible pointer" warning 5 years ago
parse-bison-y.h drop yyparse() prototypes, require bison >= 2.7 which emits them 11 years ago
parse-bison.y proper size_t to int conversion 6 years ago
parse.c Add a control language function cvector, to create a complex vector. 3 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 Add a note that wrs2p currently is limited to two ports only. 4 years ago
postcoms.h Add function 'remzerovec' to remove vectors of length 0 6 years ago
postsc.c Add parameter 'isgrid' to plotting of arcs. 4 years ago
postsc.h Define the function DevFinalize as used in the previous commit. 5 years ago
quote.c remove all the remains of quote() and strip() that had been 6 years ago
quote.h unify #ifndef include wrapper 12 years ago
rawfile.c remove typo 4 years ago
rawfile.h unify #ifndef include wrapper 12 years ago
resource.c Remove the obsolete RETSIGTYPE, replace by void 3 years ago
resource.h #includes modified 6 years ago
runcoms.c During setup of the models thre have been search scans in the 2 years ago
runcoms.h S parameter simulation 4 years ago
runcoms2.c During setup of the models thre have been search scans in the 2 years ago
runcoms2.h unify #ifndef include wrapper 12 years ago
shyu.c S parameter simulation 4 years ago
shyu.h unify #ifndef include wrapper 12 years ago
signal_handler.c Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 3 years ago
signal_handler.h Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 3 years ago
spec.c Enable math characters in vector (node) names for command spectrum 4 years ago
spec.h fix `SetAnalyse()' re-declaration 12 years ago
spiceif.c During setup of the models thre have been search scans in the 2 years ago
spiceif.h struct card, #3/6, rename members from struct line to struct card 8 years ago
streams.c Small fixup for misspelled words 6 years ago
streams.h unify #ifndef include wrapper 12 years ago
subckt.c Add a predifined variable 'skywaterpdk' to speed up circuit 2 years ago
subckt.h Reduce the memory requirements if there is a PDK with 5 years ago
svg.c Add parameter 'isgrid' to plotting of arcs. 4 years ago
svg.h Define the function DevFinalize as used in the previous commit. 5 years ago
terminal.c remove unused 6 years ago
terminal.h avoid leading underscore in preprocessor macros 12 years ago
testcommands.c src/frontend/**, whitespace, indentation, ... 14 years ago
typesdef.c Allow 'nulltype', which returns NULL pointer. 4 years ago
typesdef.h unify #ifndef include wrapper 12 years ago
udevices.c By default, use the shortest typical delay estimate. This makes the digi_74LS90_74LS42.cir testcase for bug641 behave almost the same as MicroCap 12. In ngspice and MicroCap, the only signal with a glitch is not_y8. The other not_* signals look the same. Setting ps_use_mntymx in .spiceinit will change the delay estimates. See the function set_u_devices_info in src/frontend/udevices.c for the various settings of ps_use_mntymx. 3 years ago
variable.c When substituting interpreter variables, allow '$' to be part of 2 years ago
variable.h variable.h, reduce visibility of auxiliary struct xxx to variable.c 10 years ago
vectors.c re-enable making old app nutmeg 3 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.