ngspice/src/frontend
h_vogt 137f8e9641 com_option.c, mif_inp2.c: remove memory leaks 2016-01-07 16:54:59 +01:00
..
help cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
numparam src/sharedspice.c, add ATTRIBUTE_NORETURN to function `shared_exit()' declaration 2015-12-15 22:05:14 +01:00
parser remove crufty comments which where used to support broken text editors 2015-09-24 18:23:54 +02:00
plotting dvec abstraction, #11/11, introduce `dvec_realloc()' 2015-12-28 20:34:42 +01:00
trannoise avoid multiple declarations of controlled_exit(), add 'noreturn' attribute 2014-05-14 21:36:18 +02:00
wdisp cleanup, use '\0' instead of 0 in char context 2015-05-02 10:24:54 +02:00
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
Makefile.am dvec abstraction, #2/11, introduce `dvec_alloc()' 2015-12-28 20:34:42 +01:00
README * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
arg.c src/frontend/** whitespace, indentation, ... 2012-09-22 19:33:50 +02:00
arg.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
aspice.c cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
aspice.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
breakp.c cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
breakp.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
breakp2.c remove crufty comments which where used to support broken text editors 2015-09-24 18:23:54 +02: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 cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_ahelp.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_alias.c src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02: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 src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
com_chdir.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_commands.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_compose.c simplify complex assignments 2015-12-29 18:15:06 +01:00
com_compose.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_display.c com_display.c: remove memory leak 2012-12-15 22:44:21 +01: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 dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
com_fft.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_ghelp.c frontend/com_ghelp.c, avoid unused variables 2015-12-15 20:08:31 +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 HAS_WINDOWS --> HAS_WINGUI 2013-12-31 12:56:57 +01:00
com_hardcopy.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_help.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_help.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_history.c rewrite, use tprintf 2015-03-28 20:10:29 +01:00
com_history.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_let.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
com_let.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_measure2.c frontend/com_measure2.c, bug fix for "meas AVG" 2015-04-16 21:20:20 +02:00
com_measure2.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_option.c com_option.c, mif_inp2.c: remove memory leaks 2016-01-07 16:54:59 +01: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 cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02: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 cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +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 cleanup some extra parentheses 2013-12-31 16:12:44 +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 cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +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 frontend/control.c, bug fix, "#310 Command parser problem with wrdata" 2015-12-27 15:36:04 +01:00
control.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
cpitf.c frontend/cpitf.c, free a temporary vector which was left in `cp_istrue()' 2015-05-02 12:33:45 +02:00
cpitf.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
define.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
define.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
device.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
device.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
diff.c com_diff(), use hash tables for the vector search 2012-12-09 13:27:53 +01:00
diff.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
dimens.c src/frontend/**, whitespace, indentation, ... 2012-09-20 20:30:53 +02:00
dimens.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
display.c display.c: exclude SHARED_MODULE if console 2013-12-31 16:06:43 +01:00
display.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
dotcards.c remove crufty comments which where used to support broken text editors 2015-09-24 18:23:54 +02:00
dotcards.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
dvec.c src/frontend/outif.c, plotAddRealValue() etc, rallocate more coarsely 2016-01-07 09:05:00 +01:00
error.c src/sharedspice.c, add ATTRIBUTE_NORETURN to function `shared_exit()' declaration 2015-12-15 22:05:14 +01:00
evaluate.c simplify complex assignments 2015-12-29 18:15:06 +01:00
evaluate.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
fourier.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +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 frontend/ftesopt.c, rename local variable `ft_curckt' --> `ci' 2015-12-15 18:36:45 +01:00
gens.c drop macro `NEW', use TMALLOC instead 2015-12-19 19:38:55 +01:00
gens.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01: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 src/frontend/**, whitespace, indentation, ... 2012-09-20 20:30:53 +02:00
hpgl.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
init.c src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
init.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
inp.c src/frontend/inp.c, avoid warning, drop nested local `wl' 2015-12-17 21:45:18 +01:00
inp.h add command 'circbyline' to allow entering circuit line by line 2013-12-31 12:56:56 +01:00
inpcom.c introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()' 2015-12-15 18:10:18 +01:00
inpcom.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
interp.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +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 dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
linear.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
measure.c rewrite, use tprintf 2015-03-28 20:10:29 +01:00
misccoms.c cleanup, use '\0' instead of 0 in char context 2015-05-02 10:24:54 +02:00
misccoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
miscvars.c src/frontend/** whitespace, indentation, ... 2012-09-22 19:33:50 +02:00
miscvars.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
mw_coms.c rewrite, use tprintf 2015-03-28 20:10:29 +01:00
mw_coms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
newcoms.c cleanup, use '\0' instead of 0 in char context 2015-05-02 10:24:54 +02:00
newcoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
nutinp.c inpcom.c, cleanup inp_readall() #1/7, introduce inp_read() 2013-12-31 16:26:12 +01: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 rewrite, using tprintf() 2014-04-05 19:10:12 +02:00
options.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
outitf.c src/frontend/outif.c, plotAddRealValue() etc, rallocate more coarsely 2016-01-07 09:05:00 +01:00
outitf.h fix commit: introduce OUTerrorf() and IFerrorf() 2014-05-07 20:06:00 +02: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 drop yyparse() prototypes, require bison >= 2.7 which emits them 2015-10-18 00:46:13 +02:00
parse.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
parse.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +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 simplify complex assignments 2015-12-29 18:15:06 +01:00
postcoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
postsc.c src/frontend/postsc.c, avoid warning, rename local variable `scale' 2015-12-17 19:50:49 +01:00
postsc.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
quote.c cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
quote.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rawfile.c dvec abstraction, #10/11, introduce `dvec_trunc()' 2015-12-28 20:34:42 +01:00
rawfile.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
resource.c HAS_WINDOWS --> HAS_WINGUI 2013-12-31 12:56:57 +01:00
resource.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
runcoms.c make database dbs local to each circuit 2013-12-31 12:56:53 +01:00
runcoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
runcoms2.c runcoms2.c: prevent crash after 'remcirc' if no circuit is loaded 2014-01-29 21:21:16 +01:00
runcoms2.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
shyu.c whitespace 2013-12-31 16:12:56 +01:00
shyu.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
signal_handler.c execute ft_sigintr_cleanup() outside of the signal handler 2013-12-31 16:25:45 +01:00
signal_handler.h abstraction, introduce ft_sigintr_cleanup() 2013-12-31 16:25:44 +01:00
spec.c dvec abstraction, #8/11, upgrade `dvec_alloc()' 2015-12-28 20:34:42 +01:00
spec.h fix `SetAnalyse()' re-declaration 2013-12-31 12:56:58 +01:00
spiceif.c drop `NEWN', use `TMALLOC' 2015-04-12 20:10:07 +02:00
spiceif.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
streams.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
streams.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
subckt.c rewrite model_bin_match(), rename --> model_name_match() 2014-08-09 18:17:34 +02:00
subckt.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
terminal.c drop asprintf() 2014-04-12 21:02:31 +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 noisean, introduce a .control variable "sqrnoise" to deliver noise data in squared representation 2015-03-23 19:32:33 +01:00
typesdef.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
variable.c remove crufty comments which where used to support broken text editors 2015-09-24 18:23:54 +02:00
variable.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
vectors.c simplify complex assignments 2015-12-29 18:15:06 +01:00
vectors.h unify #ifndef include wrapper 2013-12-31 12:54:32 +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

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.