Giles Atkinson
78924a86a1
Support use of XSPICE event nodes with iplot.
In graf.c, local function set() is renamed setflag() to avoid conflict
with a newly-visible global function with the same name.
2 years ago
Giles Atkinson
d18479b45b
Always check for GUI events during simulation, if any graphs exist.
Previously this check was only made if an iplot window existed.
The 100W.sp example displayed frozen windows with X11-based plotting.
1 year ago
Holger Vogt
a04c909a23
Don't add copied scale vector as new vector, but as new scale vector,
thus preventing crash after pushing X11 'Hardcopy' twice or
pushing 'quit' after 'Hardcopy'.
Scale vector was deleted two times, then crashimg ngsoice.
6 years ago
Holger Vogt
14b154f5f3
Copy the scale vector as well and attach it to the data vector.
Remove it again when the graph is destroyed.
6 years ago
Vogt
728ddae41e
Set the color tables and linewidths personal for each graph,
added to strucht graph
Use only these data for plotting.
If zooming a plot windows, set as an extra parameter the graph id
of the 'mother graph'. Copy its color and line data to the new graph.
This is done by an extra parameter sgraphid to the internal plot
command that is issued in fcn PlotWindowProc().
Thus zooming will keep the background, text/line and graph colors.
Function setcolor() will always look into the colorarray of the
current graph.
6 years ago
Holger Vogt
b7012065ae
remove compiler warning by setting variables to 0
6 years ago
Jim Monte
8141a634d7
Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here.
6 years ago
Holger Vogt
ec6d676920
Make CopyGraph safe against NULL argument.
Otherwise memcpy will fail.
7 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
3962453739
dvec abstraction, #9/11, introduce `dvec_free()'
10 years ago
rlar
9473ec575f
drop some remaining `NEW*' macros, use TMALLOC instead
10 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
f3b5336d3a
cleanup some macros, try to be more careful
14 years ago
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
7db0ed44ee
collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h"
16 years ago
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
16 years ago
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)
21 years ago
sjborley
c87326ebc8
Replaced extern references in .c file with #include of suitable headers.
21 years ago
pnenzi
8362dec274
Integrated code from tclspice, brorson xspice and Vera memleak.
23 years ago
arno
cc51f0e8db
* src/main.c, src/multidec.c, src/proc2mod.c,
26 years ago
arno
0951379198
* src/frontend/Makefile.am
26 years ago
arno
3d4cf4d86c
* src/include/Makefile.am src/include/cpstd.h
26 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago