rlar
cf3514b9ae
remove ancient #defines for AND OR NOT substitute with && || !
2010-10-09 11:40:00 +00:00
rlar
8a7b507f84
remove winmessage() prototype, there is no such thing (hopefully)
2010-10-08 18:56:32 +00:00
rlar
933bd11c43
use the type JOB, remove redundant casts
2010-10-08 16:49:18 +00:00
dwarning
0d2b618f31
modification for sun compiler
2010-10-06 20:06:05 +00:00
rlar
d936068864
fix incorrect buffer type, and exit(1) on failure to open a tempfile
2010-09-12 17:29:43 +00:00
h_vogt
56679b429b
add __MINGW32__
2010-09-10 20:22:29 +00:00
h_vogt
355384e459
libiberty.h inclusion modified
2010-09-10 15:06:04 +00:00
rlar
241783d0b5
use for(;;) instead of while(1) to muffle some visual-C warnings
2010-09-07 20:07:57 +00:00
h_vogt
453b565f71
improve random number generation
2010-09-01 21:13:01 +00:00
h_vogt
ba539d9ef1
new fcn sgauss(), new rnd-no generator
2010-08-28 18:13:08 +00:00
rlar
a8c64094fc
fix busy waiting loop, when using editline
2010-08-09 18:36:57 +00:00
rlar
02e4a4f32b
bug fix, segfault caused by an ancient `editline' workaround
2010-08-07 10:24:58 +00:00
rlar
32e128d1a0
need an #ifdef for one of the just added #includes
2010-07-30 19:17:20 +00:00
rlar
8ff62fd262
add #include's for visibility of prototypes to their function definitions
...
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar
a49d446826
fix an incorrect type, (&char versus &bool)
2010-07-20 19:06:25 +00:00
rlar
2990821053
use type void* to pass anonymous data to function if_option()
...
indicate its actual type with an enum cp_types argument
2010-07-17 22:11:51 +00:00
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
2010-07-17 20:48:20 +00:00
rlar
94518fdb02
use CKTcircuit instead of void*, #3/4
2010-07-07 17:32:40 +00:00
rlar
d6ad853ecb
fix the type signature of the if_*() function family.
2010-07-06 19:03:40 +00:00
rlar
c79d21af82
convert K&R function definitions to ansi style
2010-06-27 09:27:49 +00:00
rlar
3a6540b584
use allready defined enumerate Digital_State_t and Ipc_Status_t
2010-06-24 19:00:15 +00:00
rlar
5946300a97
upgrade foo() --> foo(void) ansi function definition
2010-06-23 18:57:13 +00:00
h_vogt
e66ef33c57
ngspice compatibility mode
2010-04-23 22:00:40 +00:00
h_vogt
d8810a841a
patches by R. Larice
2010-01-17 16:40:22 +00:00
h_vogt
68b06c7a73
comments
2009-12-19 16:04:22 +00:00
h_vogt
5571e9b9fa
source file path as additional search path
2009-12-19 09:18:03 +00:00
h_vogt
400100d9c6
pipe mode option -p
2009-12-07 21:42:09 +00:00
h_vogt
13819432bd
flag for compatibility mode
2009-11-15 21:22:04 +00:00
dwarning
331facd98e
correct the command completion under X11
2009-10-24 06:28:09 +00:00
h_vogt
9fb0d31390
MS Visual Studio: build date, "quit" button
2009-10-18 10:32:11 +00:00
h_vogt
3feb4377a6
initialize variable history_file
2009-10-11 16:54:52 +00:00
h_vogt
9eb855b802
command completion, more comments
2009-08-15 11:47:05 +00:00
h_vogt
1dd7a2869f
comments added
2009-08-15 09:27:08 +00:00
dwarning
1ce76b68f1
small cosmetics
2009-07-25 10:21:38 +00:00
h_vogt
4ef61a65cf
SIGSEGV handling for Windows
2009-05-02 09:40:33 +00:00
dwarning
ded9f403d7
don't need string.h - comes from ngspice.h
2009-04-26 16:47:50 +00:00
h_vogt
6f4cdcac47
replace gpl getopt by BSD getopt
2009-04-12 21:08:18 +00:00
h_vogt
fdb0e0bed7
remove heap overflow ion tfree(path)
2009-02-22 21:02:25 +00:00
pnenzi
f0d3b7c976
Introduced the possibility to look for parameters in models and not only
...
in devices.
2009-01-15 16:46:31 +00:00
dwarning
75bb93925a
double semikolon in nutmeginfo decl.
2008-12-07 10:07:35 +00:00
h_vogt
75f68291aa
various compiler warnings removed
2008-11-26 20:33:20 +00:00
dwarning
530cb059fe
polish to prevent warning
2008-10-14 19:59:23 +00:00
h_vogt
3dc3d42553
Small changes, e.g. _MS_VER macro, added to allow compilation of tclspice with MS VC++ 2008
2008-10-04 22:44:52 +00:00
h_vogt
cdcf63aa46
add *.cir file path as search path (MS Windows)
2008-09-23 22:13:46 +00:00
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
2008-08-27 13:39:05 +00:00
pnenzi
5dfde8105f
Machine accuracy limits always defined.
2008-08-24 17:03:26 +00:00
dwarning
5159eac292
srandom has a macro in ngspice.h
2008-05-03 16:05:47 +00:00
dwarning
c241af9864
prevent unused
2008-04-16 20:18:25 +00:00
h_vogt
63ed715f75
temporary file for Win added, improved printout for batch mode
2008-04-13 14:29:16 +00:00
dwarning
bb1539b666
fix conflict for own shutdown function
2008-01-20 17:36:02 +00:00
dwarning
7b2c98dd1a
rflag still needed
2008-01-03 07:27:37 +00:00
dwarning
0618ecbf8b
prototypes for asprintf
2007-11-28 17:38:00 +00:00
dwarning
4c0fe001e4
unused variable rflag
2007-11-14 20:27:48 +00:00
dwarning
41325622fd
some clean-up's to come through MSC
2007-10-18 19:34:30 +00:00
pnenzi
7703a63230
Added -a option for switching on/off netlist autorun
2007-10-11 11:14:06 +00:00
pnenzi
f06a4da2cd
Change in rawfile flag
2007-10-10 11:23:40 +00:00
pnenzi
53e52f4a59
Model improvements from Phil Barker
2007-10-08 21:45:00 +00:00
sjborley
1f33b1ee02
Applied fix for logging supplied by Dietmar Warning (src/main.c).
...
Miscellaneous tidying for format, indentation, #include style ("" vis-a-vis <>). Also removal of some compile time warnings.
2005-05-31 16:47:48 +00:00
sjborley
3a0c488504
Replaced extern references in .c file with #include of suitable headers. Moved jbuf to signal_handler.c
2005-05-29 01:44:20 +00:00
sjborley
47e726bf12
Macros used for sigjmp_buf (JMP_BUF) and sigsetjmp (SETJMP)
2005-05-17 21:43:31 +00:00
sjborley
7545440a55
Added support for the BSD licensed editline library (libedit). Includes work-around for bug in v2.9 of this library.
2005-05-06 23:42:56 +00:00
sjborley
e602232500
Fixed issues with the alternate prompt. Translations for German comments provided by Dietmar Warning. fixed readline with ngnutmeg. Updated copyright date for --help. Tidy to removed some compiler warnings.
2005-05-04 01:30:09 +00:00
pnenzi
b3e47fbbd3
New logis in initialization files for ngspice.
2005-04-26 19:42:41 +00:00
pnenzi
0c2ff31d0b
Applied a set of patches from Steven Borley. See changelog for details.
2005-03-17 21:22:33 +00:00
pnenzi
6a6c41acb4
Corrected implementation of "-o" switch.
2004-08-14 14:55:09 +00:00
pnenzi
b03a70760b
Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y).
2004-01-10 21:39:36 +00:00
pnenzi
8686a73047
Added readline patch (support for command history).
2003-08-14 19:21:10 +00:00
pnenzi
8d893d890a
CIDER integration. Code updated for cider support.
2003-08-11 20:53:33 +00:00
pnenzi
d154d16449
Corrected errors I made in adding tclspice code.
2003-08-06 10:53:38 +00:00
pnenzi
78ad27c858
Applied vera patches and updated Changelog.
2003-07-25 19:57:34 +00:00
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
2003-07-23 19:36:39 +00:00
pnenzi
937e3db647
Holger Vogt Windows port for Ngspice.
2002-01-03 22:44:21 +00:00
rouat
d55d6bbc04
misc updates
2001-12-06 19:15:50 +00:00
rouat
45e21263c1
Fixed bug in gnu getopt handling
...
Made doc more readable
2001-12-04 19:37:56 +00:00
pnenzi
87f6f0673b
Applied Dan patches for Solaris. Asprintf is masked by HAVE_ASPRINTF. The check
...
is done by autoconf. getopt path not yet applied.
2001-04-16 09:58:25 +00:00
pnenzi
19129762ad
Added Glao Dezai's patches (some memory leaks fixes)
2000-10-26 17:02:12 +00:00
arno
cc51f0e8db
* src/main.c, src/multidec.c, src/proc2mod.c,
...
src/frontend/display.c, src/frontend/outitf.c,
src/frontend/help/readhelp.c, src/frontend/help/x11disp.c,
src/frontend/parser/complete.c, src/frontend/parser/glob.c,
src/frontend/plotting/graf.c,
src/frontend/plotting/graphdb.c,
src/frontend/plotting/x11.c, src/include/graph.h,
src/include/iferrmsg.h, src/include/ifsim.h,
src/include/macros.h, src/maths/poly/polyfit.c,
src/maths/sparse/spalloc.c, src/maths/sparse/spconfig.h,
src/misc/alloc.c, src/misc/mktemp.c,
src/spicelib/analysis/cktpzstr.c,
src/spicelib/devices/bsim2/b2temp.c,
src/spicelib/devices/bsim3/b3temp.c,
src/spicelib/devices/bsim3v1/b3v1temp.c,
src/spicelib/devices/bsim3v2/b3v2temp.c,
src/spicelib/devices/bsim4/b4temp.c: replaced malloc
realloc and free calls to use tmalloc trealloc and txfree.
* tests/diffpair.out, tests/fourbitadder.out,
tests/resistance/res_partition.out: Updated.
2000-10-14 13:16:53 +00:00
arno
8dc5eac0ee
* TODO, doc/ngspice.texi: Small updates
...
* configure.in: New --enable-smoketest.
* src/main.c
src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c
src/frontend/spiceif.c src/frontend/parser/numparse.c
src/include/cktdefs.h src/include/fteext.h
src/include/inpdefs.h src/include/jobdefs.h
src/include/ngspice.h src/include/tskdefs.h
src/spicelib/analysis/Makefile.am
src/spicelib/analysis/acsetp.c
src/spicelib/analysis/cktaskaq.c
src/spicelib/analysis/cktdojob.c
src/spicelib/analysis/cktnewan.c
src/spicelib/analysis/cktsetap.c
src/spicelib/analysis/cktsopt.c
src/spicelib/analysis/ckttroub.c
src/spicelib/analysis/dcosetp.c
src/spicelib/analysis/dctsetp.c
src/spicelib/analysis/dsetparm.c
src/spicelib/analysis/nsetparm.c
src/spicelib/analysis/pzsetp.c
src/spicelib/analysis/senssetp.c
src/spicelib/analysis/tfsetp.c
src/spicelib/analysis/transetp.c
src/spicelib/devices/bjt/bjtdset.h
src/spicelib/devices/bjt/bjtext.h
src/spicelib/devices/bjt/bjtsetup.c
src/spicelib/devices/bsim2/b2set.c
src/spicelib/devices/bsim3/b3acld.c
src/spicelib/devices/bsim3/b3set.c
src/spicelib/devices/bsim3/bsim3def.h
src/spicelib/devices/csw/cswtrunc.c
src/spicelib/devices/dio/diodset.c
src/spicelib/devices/dio/dioinit.c
src/spicelib/devices/jfet/jfetset.c
src/spicelib/devices/mes/messetup.c
src/spicelib/devices/mos1/mos1ask.c
src/spicelib/devices/mos1/mos1set.c
src/spicelib/devices/mos1/mos1temp.c
src/spicelib/devices/mos3/mos3load.c
src/spicelib/devices/mos6/mos6set.c
src/spicelib/devices/sw/swtrunc.c
src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c
src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie
<Alan.Gillespie@analog.com>.
2000-09-05 19:48:22 +00:00
pnenzi
6b26ddc539
File changed to relect the new layout (spicelib/...). Something reamins to be done. Wait for the next commit.
2000-07-23 18:35:45 +00:00
arno
57dfb0f945
* main.c frontend/com_ahelp.c frontend/com_asciiplot.c
...
frontend/com_help.c frontend/com_plot.c frontend/com_set.c
frontend/com_unset.c frontend/quote.c include/cpdefs.h
include/defines.h include/wordlist.h maths/ni/niconv.c
misc/Makefile.am parser/Makefile.am parser/numparse.c
misc/wlist.c parser/wlist.c parser/wlist.h: Sorry for the big
commit, I screwed up the last one. See the ChangeLogs for an
account of what changed.
2000-07-18 18:07:16 +00:00
arno
489fc66afd
src/Makefile.am src/help.c src/main.c
...
src/circuit/Makefile.am src/circuit/ifnewuid.c
src/frontend/Makefile.am src/frontend/aspice.c
src/frontend/circuits.h src/frontend/com_display.c
src/frontend/com_hardcopy.c src/frontend/commands.c
src/frontend/commands.h src/frontend/cpitf.c
src/frontend/debugcom.c src/frontend/device.c
src/frontend/diff.c src/frontend/display.c
src/frontend/dotcards.c src/frontend/fourier.c
src/frontend/inp.c src/frontend/inpcom.c src/frontend/linear.c
src/frontend/misccoms.c src/frontend/mw_coms.c
src/frontend/nutinp.c src/frontend/options.c
src/frontend/outitf.c src/frontend/parse.c
src/frontend/postcoms.c src/frontend/postsc.c
src/frontend/rawfile.c src/frontend/resource.c
src/frontend/runcoms.c src/frontend/runcoms2.c
src/frontend/shyu.c src/frontend/spec.c src/frontend/spiceif.c
src/frontend/subckt.c src/frontend/vectors.c
src/frontend/where.c src/frontend/plotting/Makefile.am
src/frontend/plotting/agraf.c src/frontend/plotting/graf.c
src/frontend/plotting/plotcurv.c
src/frontend/plotting/plotit.c src/frontend/plotting/x11.c
src/frontend/plotting/xgraph.c src/include/Makefile.am
src/maths/cmaths/cmath4.c src/misc/terminal.c
src/misc/terminal.h src/parser/cshpar.c src/parser/front.c
src/parser/front.h src/parser/history.c src/parser/history.h
src/parser/modify.c src/parser/var2.c src/parser/var2.h
src/parser/variable.c: Refactoring of frontend code.
* src/include/ftehelp.h src/include/variable.h: Moved into
frontend directory.
* src/include/cpdefs.h src/include/cpextern.h
src/include/ftedefs.h src/include/plot.h: Updates.
2000-06-27 16:09:02 +00:00
arno
d7ad0ee10c
* AUTHORS TODO: Small updates.
...
* src/devices/dev.c src/devices/dev.h: Small updates.
* src/devices/README: Short description of the purpose of the
devices directory.
* src/analysis/cktaccpt.c src/analysis/cktcrte.c
src/analysis/cktinit.c: Moved these files into src/devices.
* src/analysis/dctran.c: Updates to ease the move.
* src/analysis/Makefile.am src/devices/Makefile.am: Updates
* src/Makefile.am: Library loading reordered.
* src/main.c: Small updates.
* src/devices/devsup/devsup.c: Moved this file into src/devices.
* src/devices/devsup/.cvsignore
src/devices/devsup/Makefile.am: Superfluous files, removed
* configure.in: Removed src/devices/devsup/Makefile.
2000-06-17 22:54:26 +00:00
arno
6886b8793b
* configure.in src/main.c src/frontend/com_let.c: Updates.
2000-05-13 11:02:40 +00:00
arno
8696a52e89
* src/Makefile.am src/main.c src/sconvert.c
...
src/analysis/cktdisto.c src/analysis/cktnoise.c
src/analysis/noisean.c: Updates for the
new header files.
* src/maths/cmaths/cmath1.c src/maths/cmaths/cmath2.c
src/maths/cmaths/cmath3.c src/maths/cmaths/cmath4.c: Updates
for the new header files.
* src/frontend/.cvsignore src/frontend/Makefile.am: Updates
for the new files.
* src/frontend/agraf.c src/frontend/aspice.c
src/frontend/breakp.c src/frontend/breakp2.c
src/frontend/circuits.c src/frontend/cpitf.c
src/frontend/debugcom.c src/frontend/define.c
src/frontend/diff.c src/frontend/dimens.c
src/frontend/display.c src/frontend/doplot.c
src/frontend/dotcards.c src/frontend/evaluate.c
src/frontend/fourier.c src/frontend/graf.c
src/frontend/grid.c src/frontend/inp.c src/frontend/inpcom.c
src/frontend/interp.c src/frontend/linear.c
src/frontend/misccoms.c src/frontend/misccoms.h
src/frontend/miscvars.c src/frontend/mw_coms.c
src/frontend/newcoms.c src/frontend/nutinp.c
src/frontend/options.c src/frontend/outitf.c
src/frontend/parse.c src/frontend/plotcurv.c
src/frontend/points.c src/frontend/postcoms.c
src/frontend/rawfile.c src/frontend/runcoms.c
src/frontend/runcoms2.c src/frontend/shyu.c
src/frontend/spec.c src/frontend/spiceif.c
src/frontend/typesdef.c src/frontend/vectors.c
src/frontend/where.c src/frontend/postcoms.c: Updates for the
new header files. Some commands have moved into the new files
below.
* src/frontend/README src/frontend/com_compose.c
src/frontend/com_compose.h src/frontend/com_display.c
src/frontend/com_display.h src/frontend/com_let.c
src/frontend/com_let.h src/frontend/com_setscale.c
src/frontend/com_setscale.h src/frontend/commands.c
src/frontend/commands.h src/frontend/completion.h
src/frontend/streams.h src/frontend/testcommands.c:
Separation into different com_* commands. This is a start.
The rest of the subdirectory needs doing.
* src/include/complex.h src/include/cpdefs.h
src/include/cpextern.h src/include/cpstd.h
src/include/fteconst.h src/include/ftedata.h
src/include/ftedev.h src/include/fteext.h
src/include/ftegraph.h src/include/fteparse.h
src/include/dvec.h src/include/grid.h src/include/plot.h
src/include/pnode.h src/include/sim.h src/include/variable.h
src/include/wordlist.h src/include/bool.h: Separation of
header files into smaller pieces. This limits recompilation
to only the affected source files. The original header
files have a warning message embedded to flag obsoleted use.
* src/frontend/compose.c src/frontend/compose.h
src/frontend/nutctab.c src/frontend/nutctab.h
src/frontend/plot5.c src/frontend/plot5.h
src/frontend/spcmdtab.c src/frontend/x11.c
src/frontend/x11.h src/frontend/xgraph.c
src/frontend/xgraph.h: Moved these files into
src/frontend/plotting subdirectory.
* src/frontend/plotting/.cvsignore
src/frontend/plotting/Makefile.am
src/frontend/plotting/plot5.c src/frontend/plotting/plot5.h
src/frontend/plotting/plotting.c
src/frontend/plotting/plotting.h
src/frontend/plotting/pvec.c src/frontend/plotting/pvec.h
src/frontend/plotting/x11.c src/frontend/plotting/x11.h
src/frontend/plotting/xgraph.c
src/frontend/plotting/xgraph.h: The new libplotting library
with automake and CVS infrastructure.
2000-05-06 14:12:51 +00:00
arno
7472642832
* src/Makefile.am src/main.c src/ngspice.c
...
src/devices/Makefile.am, src/devices/dev.c src/devices/dev.h:
Refactored devices initialization code into the devices dir.
2000-05-01 17:43:38 +00:00
pnenzi
978f1c32a2
Initial revision
2000-04-27 20:03:57 +00:00