Holger Vogt
cc8b651562
re-enable making old app nutmeg
3 years ago
Holger Vogt
59413a7f71
Add error messages when controlled_exit is called:
No exit without message.
3 years ago
Holger Vogt
2126230b64
Prevent crashes when nodes or tables are not available,
e.g. due to missing input file.
4 years ago
Holger Vogt
36868e0b0f
Use #ifdef XSPICE to exclude findvec_alle() if
XSPICE is not selected.
4 years ago
Holger Vogt
342a16d6e1
Add a flag 'alle' (all event nodes) to the plot command (and maybe others).
All event nodes with length greater than 1 are translated to vectors
with a common scale (named step) and are assembled in a new plot
named 'digital'. They may be plotted or otherwise used in a
.control section.
4 years ago
Holger Vogt
013c74918f
Command 'cutout': Don't add the scale vector to nv->v_scale.
So the new plot with its vectors copied resembles the old plot.
6 years ago
Holger Vogt
fe28feae4e
Cut out part of each vector of the current tran plot,
from times cut-tstart to cut-tstop and copy these
into a new tran plot. A new scale vector 'time' will be
generated as well. Vectors that are shorter than the
new scale vector will not be copied.
6 years ago
Holger Vogt
2c0729e8de
Print also the bool value 'off'.
Do not abort ngspice when vector LIST cannot be printed,
just skip printing and continue.
6 years ago
Jim Monte
1d62ae2d97
type casts
6 years ago
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
6 years ago
Holger Vogt
bbb0007466
add function EVTswitch_plot() to switch the event data
according tothe (analog) plot. Called from plot_setcur()
in vetors.c, when command 'setplot xxx' is given.
6 years ago
Holger Vogt
ded0092ad6
If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
6 years ago
Holger Vogt
1353a5de77
allow again single letter vector names
6 years ago
Holger Vogt
9d53780992
allow vec_get to verify vectors if their names are quoted by ""
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
Jim Monte
f7951af50b
Fixed locating vectors like V(node)
6 years ago
Jim Monte
b7d8c61cd9
Cleaned up code to locate a vector in a plot by name. The code was made more modular, and special names like allv are handled more efficiently
6 years ago
Jim Monte
89efe5aeae
Dynamic string (dstring) rework
6 years ago
Holger Vogt
f9a4800d86
[PATCH #55-2] Prevent reading from a NULL pointer
7 years ago
Jim Monte
ea81da2b01
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
7 years ago
Jim Monte
b66412f517
[PATCH] Changed prototypes of some functions having parameters that
should not be changed to const and added assorted comments. Also two very
minor efficiency improvements.
7 years ago
Holger Vogt
9ee359b1e9
beautify code with astyle
7 years ago
Holger Vogt
1fb2a04f79
use fcn plot_get
7 years ago
Holger Vogt
40411197e0
add function get_plot(name) to return address of named plot
7 years ago
Holger Vogt
c5b5190199
command 'setplot': add predefined 'previous' and 'next' parameters
to switch to the previous or next plot. A warning results if this
is not possible, then the currnt plot is not changed.
8 years ago
Holger Vogt
284f68765d
frontend/vectors.c, readability of warning message
8 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
h_vogt
3c2c6e8cde
vectors.c, vec_get(), remove a memory leak
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
9d32a0a5a9
simplify complex assignments
10 years ago
rlar
df70661c3a
dvec abstraction, #11/11, introduce `dvec_realloc()'
10 years ago
rlar
3962453739
dvec abstraction, #9/11, introduce `dvec_free()'
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
8a4a37b5bb
dvec abstraction, #4/11, emphasise `ZERO(dvec)' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
rlar
1c1fa6b333
frontend/vectors.c, vec_mkfamily(), #6/6 reorder
10 years ago
rlar
a3bf161f89
frontend/vectors.c, vec_mkfamily(), #5/6 fuse those two `for' loops
10 years ago
rlar
f86d5c60e4
frontend/vectors.c, vec_mkfamily(), #4/6 drop `j', reuse `i'
10 years ago
rlar
e52b85ac6c
frontend/vectors.c, vec_mkfamily(), #3/6 earlier initialisation of `count[]'
10 years ago
rlar
83ac9c1d2d
frontend/vectors.c, vec_mkfamily(), #2/6 rewrite v_link2 consing
10 years ago
rlar
d4558079e3
frontend/vectors.c, vec_mkfamily(), #1/6 bug fix, set v_dims[] properly
10 years ago
rlar
30becb4509
frontend/vectors.c, vec_get(), #2/2 rewrite
10 years ago