ngspice/src/frontend
rlar 241783d0b5 use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
..
help whitespace cleanup, add missing trailing newlines 2010-09-07 19:04:20 +00:00
numparam improve random number generation 2010-09-01 21:13:01 +00:00
parser fix busy waiting loop, when using editline 2010-08-09 18:36:57 +00:00
plotting use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
wdisp omit warnings 2010-08-17 07:37:46 +00:00
.cvsignore * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 2003-07-23 19:36:39 +00:00
Makefile.am include bison files in dist 2010-05-30 10:22:42 +00:00
README * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
arg.c add two unused arguments to arg_display(), to fit with struct comm.co_argfn 2010-06-27 15:44:53 +00:00
arg.h add two unused arguments to arg_display(), to fit with struct comm.co_argfn 2010-06-27 15:44:53 +00:00
aspice.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
aspice.h Initial revision 2000-04-27 20:03:57 +00:00
breakp.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
breakp.h Initial revision 2000-04-27 20:03:57 +00:00
breakp2.c comments 2009-12-19 16:04:22 +00:00
breakp2.h Added access to dbs and debugnumber 2005-05-29 01:01:40 +00:00
circuits.c * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
circuits.h Updated BSIM4 model to latest version (BSIM4.2.1) 2001-11-25 17:56:26 +00:00
com_ahelp.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
com_ahelp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
com_alias.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
com_alias.h comments added 2009-08-15 09:27:08 +00:00
com_asciiplot.c * main.c frontend/com_ahelp.c frontend/com_asciiplot.c 2000-07-18 18:07:16 +00:00
com_asciiplot.h src/frontend/doplot.c: refactored into the following files: 2000-06-16 19:04:15 +00:00
com_cdump.c Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches 2001-12-14 18:29:08 +00:00
com_cdump.h Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches 2001-12-14 18:29:08 +00:00
com_chdir.c don't need buffer w/o getcwd 2008-01-02 18:34:03 +00:00
com_chdir.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_compose.c comment 2010-03-20 15:28:54 +00:00
com_compose.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
com_display.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
com_display.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
com_dl.c add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
com_dl.h Second batch of added files. 2003-07-23 20:06:10 +00:00
com_dump.c Code clean up (removed some warning) 2001-02-09 13:27:21 +00:00
com_dump.h * com_set.h: New header file. 2000-07-16 13:24:58 +00:00
com_echo.c Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_echo.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_fft.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
com_fft.h improve amplitude accuracy 2010-02-28 17:52:09 +00:00
com_ghelp.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
com_ghelp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
com_gnuplot.c missing LF on end 2010-02-28 17:51:10 +00:00
com_gnuplot.h command wrdata 2010-02-27 21:11:30 +00:00
com_hardcopy.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
com_hardcopy.h src/frontend/doplot.c: refactored into the following files: 2000-06-16 19:04:15 +00:00
com_help.c add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
com_help.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
com_history.c Fixed compile warning that occur when readline or editline are used 2005-05-21 13:25:28 +00:00
com_history.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
com_let.c drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
com_let.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
com_measure2.c remove seg fault 2010-09-07 17:51:03 +00:00
com_measure2.h add dc and ac measurement 2009-08-30 10:56:50 +00:00
com_option.c use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
com_option.h Fixed stringutil missing bug. 2001-02-11 20:13:45 +00:00
com_plot.c TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
com_plot.h TCLSPICE IMPORT + libtool + measure2 command 2008-08-27 13:39:05 +00:00
com_rehash.c Added required include 2005-06-01 11:32:38 +00:00
com_rehash.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_set.c add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
com_set.h * com_set.h: New header file. 2000-07-16 13:24:58 +00:00
com_setscale.c Added Glao Dezai's patches (some memory leaks fixes) 2000-10-26 17:02:12 +00:00
com_setscale.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
com_shell.c Add a missing header to get a missing prototype for cp_ccon(). 2006-10-12 02:37:06 +00:00
com_shell.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_shift.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
com_shift.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_state.c Updated BSIM4 model to latest version (BSIM4.2.1) 2001-11-25 17:56:26 +00:00
com_state.h * com_set.h: New header file. 2000-07-16 13:24:58 +00:00
com_strcmp.c use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
com_strcmp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
com_sysinfo.c add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
com_unset.c Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_unset.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
com_xgraph.c initialize local variables 2009-10-04 11:48:37 +00:00
com_xgraph.h src/frontend/doplot.c: refactored into the following files: 2000-06-16 19:04:15 +00:00
commands.c 'option' command 2010-07-14 20:59:23 +00:00
commands.h src/Makefile.am src/help.c src/main.c 2000-06-27 16:09:02 +00:00
completion.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
control.c bug fix, segfaults and sickness caused by `plot' 2010-08-04 16:03:23 +00:00
control.h Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
cpitf.c use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
cpitf.h Initial revision 2000-04-27 20:03:57 +00:00
define.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
define.h `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
device.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
device.h fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
diff.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
diff.h * src/frontend/diff.c src/frontend/diff.h 2000-05-13 16:22:16 +00:00
dimens.c Code cleanup. 2001-02-09 19:46:36 +00:00
dimens.h Code cleanup. 2001-02-09 19:46:36 +00:00
display.c fix busy waiting loop, when using editline 2010-08-09 18:36:57 +00:00
display.h bug fix, implementation of the X11 draw arc implementation. 2010-08-01 13:47:33 +00:00
dotcards.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
dotcards.h new code for .measurement 2009-08-23 10:02:28 +00:00
error.c controlled_exit implementation 2010-01-30 13:21:27 +00:00
error.h controlled_exit implementation 2010-01-30 13:21:27 +00:00
evaluate.c change for readability 2010-08-15 17:22:50 +00:00
evaluate.h * src/frontend/diff.c src/frontend/diff.h 2000-05-13 16:22:16 +00:00
fourier.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
fourier.h * commands.c: Use fourier.h. 2000-09-09 13:24:30 +00:00
ftehelp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
gens.c fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
gens.h fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
hcomp.c add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
hcomp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
hpgl.c implement Arc() for plot5 and hpgl (smith diagram) 2010-08-02 16:31:35 +00:00
hpgl.h ansi prototypes for the function pointers in struct DISPDEVICE 2010-06-30 16:50:09 +00:00
init.c use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
init.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 2000-06-27 16:15:43 +00:00
inp.c bug no. 3047884 2010-08-19 19:48:00 +00:00
inp.h Initial revision 2000-04-27 20:03:57 +00:00
inpcom.c use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
inpcom.h no command file handling in numparam 2010-06-29 21:18:34 +00:00
interp.c * src/frontend/interp.c: Broken up into individual files and 2000-05-13 10:56:58 +00:00
interp.h Initial revision 2000-04-27 20:03:57 +00:00
linear.c Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
linear.h Initial revision 2000-04-27 20:03:57 +00:00
measure.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
misccoms.c muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
misccoms.h * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
miscvars.c brief option reimplementation. 2007-10-12 21:59:18 +00:00
miscvars.h Initial revision 2000-04-27 20:03:57 +00:00
mw_coms.c add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
mw_coms.h add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
newcoms.c * frontend/Makefile.am: Updates for new files. 2000-07-07 14:09:06 +00:00
newcoms.h Initial revision 2000-04-27 20:03:57 +00:00
nutinp.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
nutinp.h Initial revision 2000-04-27 20:03:57 +00:00
nutmegif.c fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
nutmegif.h fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
options.c use type void* to pass anonymous data to function if_option() 2010-07-17 22:11:51 +00:00
options.h Initial revision 2000-04-27 20:03:57 +00:00
outitf.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
outitf.h use the GENmodel and GENinstance type instead of void* 2010-07-08 17:20:03 +00:00
parse-bison.c bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
parse-bison.h bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
parse-bison.y bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
parse.c new function sunif() 2010-08-29 09:23:34 +00:00
parse.h add #include's for visibility of prototypes to their function definitions 2010-07-30 16:09:38 +00:00
points.c * src/include/Makefile.am src/include/cpstd.h 2000-05-13 17:28:16 +00:00
points.h Initial revision 2000-04-27 20:03:57 +00:00
postcoms.c Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
postcoms.h Initial revision 2000-04-27 20:03:57 +00:00
postsc.c bug fix, implementation of the X11 draw arc implementation. 2010-08-01 13:47:33 +00:00
postsc.h ansi prototypes for the function pointers in struct DISPDEVICE 2010-06-30 16:50:09 +00:00
quote.c cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
quote.h * parser/quote.c, parser/quote.h: The quote/unquote functions are 2000-07-07 14:07:22 +00:00
rawfile.c Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
rawfile.h Initial revision 2000-04-27 20:03:57 +00:00
resource.c use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
resource.h memory information from /proc/... (LINUX) or api functions (Windows) 2008-05-10 16:07:22 +00:00
runcoms.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
runcoms.h Added extern references to rawfileFp, rawfileBinary, last_used_rawfile, and resumption; 2005-05-29 01:04:08 +00:00
runcoms2.c textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
runcoms2.h Initial revision 2000-04-27 20:03:57 +00:00
shyu.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
shyu.h fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
signal_handler.c iplot graphics scaling, printing interrupt message 2009-05-09 13:23:08 +00:00
signal_handler.h Added reference to jbuf (now declared in signal_handler.c) 2005-05-30 17:21:11 +00:00
spec.c Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
spec.h reintroduce old free_pnode as free_pnode_o 2008-12-06 15:09:11 +00:00
spiceif.c drop a bunch of (void**) NULL casts {invocation of IFnewUid()} 2010-08-10 19:54:41 +00:00
spiceif.h use type void* to pass anonymous data to function if_option() 2010-07-17 22:11:51 +00:00
streams.c Reverted to placing the cp_* stream variable definitions back in to src/frontend/streams.c with their extern declarations in src/frontend/streams.h 2005-09-09 17:53:45 +00:00
streams.h Reverted to placing the cp_* stream variable definitions back in to src/frontend/streams.c with their extern declarations in src/frontend/streams.h 2005-09-09 17:53:45 +00:00
subckt.c use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
subckt.h removed prototype for inp_nummodes() 2005-04-06 16:37:29 +00:00
terminal.c allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
terminal.h use format (__printf__, 1, 2) 2010-02-11 21:51:09 +00:00
testcommands.c * src/Makefile.am src/main.c src/sconvert.c 2000-05-06 14:12:51 +00:00
typesdef.c update changelog, number of types 2010-07-17 10:25:52 +00:00
typesdef.h Initial revision 2000-04-27 20:03:57 +00:00
variable.c muffle compiler warnings 2010-07-24 18:51:06 +00:00
variable.h use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
vectors.c plot [alli | allv | ally] 2010-09-07 08:52:21 +00:00
vectors.h `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
where.c use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
where.h add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00: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.