rlar
1779d62558
add some `int' and `size_t' casts
2010-11-06 20:14:21 +00:00
rlar
8cd9d88d40
tiny rewrite, avoid type conversion warnings
2010-11-06 18:08:27 +00:00
rlar
5f4b0aa798
(int) cast the return value of some strlen() invocations
2010-11-06 16:54:11 +00:00
rlar
3afbeb53e2
minor rewrite, fix a minor bug in the x11 zoom-in function
2010-11-04 19:42:09 +00:00
rlar
0eccd17d9a
add casts for x11 operations, to silence type conversion warnings
2010-11-04 19:35:57 +00:00
rlar
3affeff848
move device dependent colors[] array from `graph' to the x11 specific struct
2010-11-04 19:32:53 +00:00
rlar
6b5debfc1e
use `NUMELEMS' and add some `(int)' casts
2010-11-02 17:23:46 +00:00
rlar
b4ffca60c4
(int) casts for some `strlen()' expressions
2010-11-02 17:17:43 +00:00
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
2010-11-02 17:07:57 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
15d12df25b
tmalloc usage unification, parenthesize some terms
2010-10-24 13:27:18 +00:00
rlar
d6353fb9ee
struct member devdep, use void* instead of char*
2010-10-24 13:15:35 +00:00
rlar
5e8e44cc0a
cast the tmalloc, MALLOC, return value
2010-10-24 12:59:20 +00:00
rlar
4622d0876e
ngcomplex_t instead of complex, #1/2
2010-10-24 12:45:05 +00:00
rlar
196262dd1b
move the com_*() prototypes around.
2010-10-16 17:09:46 +00:00
rlar
d7a9d71a1a
remove prototypes, avoid redeclarations
2010-10-16 15:58:14 +00:00
rlar
e71ca2c2b7
collect plot_cur in "fteext.h"
2010-10-16 15:52:19 +00:00
rlar
a9ca8d7331
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
2010-10-16 15:48:39 +00:00
rlar
320258dbd2
collect internalerror() in "fteext.h"
2010-10-16 15:45:53 +00:00
rlar
3c3b31fa60
declare some functions `static'
2010-10-15 18:43:52 +00:00
rlar
2540531c38
remove local prototypes, which are allready included
2010-10-15 18:31:20 +00:00
rlar
7db0ed44ee
collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h"
2010-10-15 18:20:56 +00:00
rlar
8f8071aceb
fix some ancient \n\r and \r\n typos
2010-09-19 16:30:39 +00:00
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
2010-09-17 16:11:25 +00:00
rlar
76d22c3691
function rename, Update() -> DevUpdate()
2010-09-08 18:06:51 +00:00
rlar
38abf408d5
function rename, DrawLine() -> DevDrawLine()
2010-09-08 18:03:40 +00:00
rlar
1693270d35
function rename, Text() -> DevDrawText()
2010-09-08 18:01:42 +00:00
rlar
984754de75
function rename, Arc() -> DevDrawArc()
2010-09-08 17:59:00 +00:00
rlar
241783d0b5
use for(;;) instead of while(1) to muffle some visual-C warnings
2010-09-07 20:07:57 +00:00
rlar
6713cb5e00
fix comment
2010-08-10 18:42:59 +00:00
rlar
a8c64094fc
fix busy waiting loop, when using editline
2010-08-09 18:36:57 +00:00
rlar
eaef9ffd7a
implement Arc() for plot5 and hpgl (smith diagram)
2010-08-02 16:31:35 +00:00
rlar
2fcbcc5f48
bug fix, implementation of the X11 draw arc implementation.
2010-08-01 13:47:33 +00:00
rlar
618c5961ad
fix some literal floating point constants, which should have been integers
2010-07-30 15:30:10 +00:00
rlar
fe696310d6
muffle `may be used uninitialized' warnings
2010-07-24 18:16:56 +00:00
rlar
8851f67efd
Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL)
2010-07-20 18:52:19 +00:00
rlar
d44f818cad
allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage
2010-07-20 18:41:25 +00:00
rlar
61bba96f42
textual replacement vt_types to cp_types, to complete the last change
2010-07-17 20:56:12 +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
0aa1c09d73
consolidate enum cp_types and enum vt_types .
...
use this enum for some function arguments and struct members .
drop some include "variable.h" which are no longer needed ,
propably many more could be droped .
drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
rlar
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
rlar
779e5a978c
ansi prototypes for the function pointers in struct DISPDEVICE
2010-06-30 16:50:09 +00:00
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
2010-06-27 17:22:11 +00:00
dwarning
532a13fd08
missing LF on end
2010-02-28 17:51:10 +00:00
h_vogt
4068f498c6
command wrdata
2010-02-27 21:11:30 +00:00
h_vogt
d8810a841a
patches by R. Larice
2010-01-17 16:40:22 +00:00
h_vogt
dc7d2d01a2
hardcopy button error removed
2010-01-06 22:48:21 +00:00
h_vogt
7dc6417e6d
add xfont, wfont, wfont_size variables
2010-01-02 18:05:07 +00:00
h_vogt
f34a09b540
gnuplot update
2010-01-02 15:24:03 +00:00
h_vogt
b500f3e32c
calling gnuplot via xterm
2010-01-01 13:13:48 +00:00
h_vogt
2c5ed4f83e
gnuplot updates
2009-12-31 15:42:28 +00:00
h_vogt
46e6df66ce
gnuplot enhancements (for Windows)
2009-12-30 13:23:57 +00:00
h_vogt
c1f06ba5c4
patch by R. Larice
2009-12-29 18:18:47 +00:00
dwarning
07e06cf701
initialize local variables
2009-10-04 11:48:37 +00:00
h_vogt
e778aab344
iplot graphics scaling, printing interrupt message
2009-05-09 13:23:08 +00:00
h_vogt
e43430a669
memory leaks removed
2009-04-05 08:02:03 +00:00
h_vogt
55848d318a
xlabel, ylabel, title: allow composite strings in zoomed windows
2009-03-08 12:10:15 +00:00
h_vogt
ed1c4cb09c
allow x-button to close plot windows
2009-02-12 23:08:36 +00:00
h_vogt
9b5c583f30
command 'destroy' removes graphics window before deleting data
2009-02-10 19:00:24 +00:00
pnenzi
ceecdbf97d
Fixed some issues with smith and polar plots. Patch from espice
...
(A.Roldan)
2009-01-18 16:37:05 +00:00
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
2008-08-27 13:39:05 +00:00
pnenzi
7f6ad5c706
Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS
2008-08-24 17:12:50 +00:00
pnenzi
64baf803b6
Small corrections: duplicate entries and redundant include.
2008-08-23 07:51:08 +00:00
pnenzi
966ec71b16
Applied patch from Lionel Sainte Cluque to compile spice without X
...
Windows
2008-08-21 10:34:29 +00:00
h_vogt
5e0964c4d4
remove iplot bug (line 686)
2008-04-28 18:39:06 +00:00
dwarning
c505cd4436
adding windows gnuplot, some modifications
2008-04-27 18:34:43 +00:00
pnenzi
6b61d1d660
Added initial support for gnuplot output (not yet working)
2008-03-22 13:10:46 +00:00
pnenzi
008c9d7a4c
Improved reporting (from Phil Barker)
2007-10-08 15:36:56 +00:00
pnenzi
5bcb23d795
Removed casting for strictier syntax of recent gcc compilers.
2005-08-22 19:29:20 +00:00
sjborley
67ff1b3a83
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
sjborley
c87326ebc8
Replaced extern references in .c file with #include of suitable headers.
2005-05-29 01:05:33 +00:00
sjborley
1d414b9595
Fix bug introduced in my last change. Thanks to Hitoshi Tanaka.
2005-05-28 17:31:49 +00:00
sjborley
84b7f8c73d
Fixed bug with 'plot title title_name' (see bug [ 557638 ] plot segmentation fault).
2005-05-26 21:46:54 +00:00
sjborley
1facfd764d
Added new syntax to the the resistor card to support HSpice style temperature dependence (from Hitoshi Tanaka <HDA01055@nifty.com>)
2005-05-09 20:20:18 +00:00
sjborley
cb247a15fb
Added support for the BSD licensed editline library (libedit).
2005-05-06 23:43:46 +00:00
pnenzi
985d977197
Applied Steven Borley patch for numparam and frontend. See Changelog.
2005-04-24 21:17:31 +00:00
pnenzi
1260ae08db
Update autoconf scripts and applied Niessner patch to remove compiler warnings.
2004-07-09 18:37:25 +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
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
pnenzi
1b7c9386fe
Bug fixes from previous commit.
2001-04-22 10:08:46 +00:00
pnenzi
22acf4b96a
Simple changes from patches to spice 3f4 (G. Roehrich) that restored the drawing of lines and boxes in plot windows in truecolor displays.
2001-04-15 19:32:25 +00:00
pnenzi
c68f3470e4
Code cleanup.
2001-02-09 19:46:36 +00:00
pnenzi
d735c9a871
Some code cleanup
2001-02-09 08:18:35 +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
f237c66aee
* graf.c: Removed need to press return after resizing the plot
...
window.
2000-10-10 12:20:57 +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
d1cbcf5052
src/frontend/doplot.c: refactored into the following files:
...
src/frontend/com_asciiplot.c src/frontend/com_asciiplot.h
src/frontend/com_hardcopy.c src/frontend/com_hardcopy.h
src/frontend/com_plot.c src/frontend/com_plot.h
src/frontend/com_xgraph.c src/frontend/com_xgraph.h
src/frontend/plotting/plotit.c src/frontend/plotting/plotit.h
src/frontend/doplot.h: Removed.
src/frontend/Makefile.am src/frontend/plotting/Makefile.am:
Updated for the new files.
2000-06-16 19:04:15 +00:00
arno
bf66221efc
* src/frontend/Makefile.am src/frontend/plotting/Makefile.am
...
src/frontend/plotting/plotcurv.c
src/frontend/plotting/plotcurv.h
src/frontend/plotcurv.c src/frontend/plotcurv.h: Moved
plotting related files into plotting subdirectory.
2000-06-15 21:42:01 +00:00
arno
0951379198
* src/frontend/Makefile.am
...
src/frontend/plotting/Makefile.am
src/frontend/plotting/graphdb.c
src/frontend/plotting/graphdb.h
src/frontend/graphdb.c src/frontend/graphdb.h: Moved plotting
related files into plotting directory.
2000-06-15 21:37:33 +00:00
pnenzi
d6cfb4b626
Corrected errors I made during last commit. Paolo
...
Arno, sorry for the notdef.
2000-05-26 08:35:05 +00:00
pnenzi
f9144f90b3
Applied Widlok patch
2000-05-23 20:04:32 +00:00
arno
3d4cf4d86c
* src/include/Makefile.am src/include/cpstd.h
...
src/include/dvec.h src/include/fteinput.h
src/include/ifsim.h src/include/wordlist.h
src/frontend/arg.c src/frontend/display.c
src/frontend/doplot.c src/frontend/graphdb.c
src/frontend/plotcurv.c src/frontend/points.c
src/frontend/postcoms.c src/frontend/postsc.c
src/frontend/plotting/graf.c src/frontend/plotting/grid.c
src/frontend/plotting/plot5.c src/frontend/plotting/x11.c
src/include/graph.h: Reduced dependency on header files
(avoid unneccessary recompilation on changes)
* src/include/fteconst.h src/include/ftedata.h
src/include/ftegraph.h: Removed unneeded header files.
2000-05-13 17:28:16 +00:00
arno
2507d4c7bf
* src/frontend/graf.c src/frontend/graf.h: Moved these
...
files...
* src/frontend/plotting/graf.c src/frontend/plotting/graf.h:
... here.
2000-05-13 10:31:55 +00:00
arno
4d26c7626b
* src/frontend/agraf.c src/frontend/agraf.h
...
src/frontend/grid.c src/frontend/grid.h src/frontend/clip.c
src/frontend/clip.h: Moved these files...
* src/frontend/plotting/agraf.c src/frontend/plotting/agraf.h
src/frontend/plotting/clip.c src/frontend/plotting/clip.h
src/frontend/plotting/grid.c src/frontend/plotting/grid.h:
... here
* src/frontend/Makefile.am src/frontend/plotting/Makefile.am:
Updates for new locations.
2000-05-13 10:29:25 +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