Holger Vogt
c331a2b4ac
Oversampling default is 1
2025-09-10 11:57:15 +02:00
Holger Vogt
14642f7472
prevent a segfault when TSTOP less than TSTART in tran command
2025-09-10 11:57:14 +02:00
Holger Vogt
d0dbc71280
allow other simulation types, e.g. ac
...
prevents crash
2025-09-10 11:57:14 +02:00
Holger Vogt
1cb326f738
add progress report when entering wav output stage
2025-09-10 11:57:11 +02:00
Holger Vogt
fbcf2d0195
add commands sndprint, sndparam with
...
associated functions com_sndprint and com_sndparam
2025-09-10 11:57:11 +02:00
Holger Vogt
3d55c16531
Don't print a form feed if 'option nopage' is given.
...
Print the header really only once if 'option nopage' is given.
2025-07-29 11:05:00 +02:00
Holger Vogt
1b7c8eb2d7
Fix a crash due to buggy user input.
...
Improve error message.
Reported in
https://gitlab.com/kicad/code/kicad/-/issues/19439#note_2277932762
2025-01-09 13:21:05 +01:00
Holger Vogt
250e9afd92
Set pl_lookup_table to NULL after freeing: allow another initialization
2024-11-02 22:27:08 +01:00
Holger Vogt
764a651b73
Add a note that wrs2p currently is limited to two ports only.
2022-04-29 07:29:24 +02:00
Holger Vogt
129893b399
S-parameters: Replace S11 by S_1_1 etc. to avoid ambiguity
...
when more than 10 ports are measured.
Update to S-parameter script and command wr2sp
2022-04-29 07:29:14 +02:00
Holger Vogt
c09839b209
Enable math characters in vector (node) names for commands
...
write and print
Replace ft_getpnames() by ft_getpnames_quotes().
2021-12-13 21:41:37 +01:00
Holger Vogt
4a6fff05b6
typo
2021-01-05 23:11:50 +01:00
Holger Vogt
d06ff2abab
New variable 'plainwrite' added. Allows 'write' with node names
...
containing characters like + - /. Function are the disabled.
This replaces the automatic selection of this mode by compat flags,
which is not transparent enough to the user.
2020-12-22 11:09:40 +01:00
Holger Vogt
b76ac6be1c
Add writing all vectors if compat mode eg or ki is selected.
2020-12-22 11:09:09 +01:00
Holger Vogt
c90230b43f
If the compatibility flags ki or eg are set, the 'write' command
...
will not use function parsing and evaluation, but simply plot
the listed vectors. vec1 vs vec2 is also not supported.
This option is useful if node names vs+ or /mynode are used and
have to be written into a raw file, as may be used by KiCad or EAGLE.
2020-12-22 11:08:03 +01:00
Holger Vogt
0cf6b89eb3
during removing the plot 'const', also delete the hash table
2020-08-20 15:21:49 +02:00
Holger Vogt
e0f5181bee
Correct comment
2020-05-02 20:16:48 +02:00
Holger Vogt
8a1eff8e88
Add function 'remzerovec' to remove vectors of length 0
...
from current plot. Maybe of interest if you have option
savecurrents, write xx all, and ac generates length 0 vectors
2020-05-02 20:06:58 +02:00
Jim Monte
1d62ae2d97
type casts
2020-04-27 10:22:40 +02:00
Holger Vogt
7f085144a9
remove all the remains of quote() and strip() that had been
...
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
2020-03-15 08:51:12 +01:00
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.
2020-03-15 08:50:54 +01:00
Jim Monte
068df274bf
Made ft_numparse() thread-safe (no internal static variables) and prepared to support ngspice variable type CP_NUM.
2020-03-15 08:50:52 +01:00
Jim Monte
b677ae1611
The check for the scale vector was not comparing the name in a case-insensitive manner, so unlet Yes would delete the default yes scale vector, for example. That issue was corrected. The code was also made more modular and descriptive regarding the check for the scale vector. Also, the warning now prints the scale vector as it is stored to make clear that vector names are not case sensitive.
2020-03-15 08:50:51 +01:00
Jim Monte
c7b95587de
Fixed compiler warnings regarding type of argument passed
2020-03-15 08:50:51 +01:00
Jim Monte
ea81da2b01
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
2019-08-13 23:29:13 +02:00
Holger Vogt
2a947a933e
bug 253: Do not delete the scale vector of the current plot
2018-11-18 15:53:50 +01:00
dwarning
5590406acf
The 'j' variable is assigned values twice successively.
...
Obviously the first assigment is waste because 'j' has the meaning of row count.
2018-11-18 15:44:32 +01:00
Holger Vogt
934656f6e8
fix memory leak: before killing a plot, remove its hash table entry
2018-08-07 20:42:55 +02:00
Holger Vogt
09c876550f
prevent string overflow by adding the string length
...
to the cp_getvar parameters. Used only with CP_STRING
2018-07-22 14:57:49 +02:00
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
2016-07-30 20:58:19 +02:00
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
2016-03-09 20:24:36 +01:00
h_vogt
e6034b0e95
postcoms.c, change command `setplot'
...
`setplot'
print a list of plots available
`setplot <plotname>'
make <plotname> the current plot
`setplot new'
create a new plot
2016-02-07 17:34:15 +01:00
rlar
9d32a0a5a9
simplify complex assignments
2015-12-29 18:15:06 +01:00
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
2015-12-28 20:34:42 +01:00
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
2015-12-28 20:34:42 +01:00
rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
2015-12-28 20:34:42 +01:00
h_vogt
1cd8bbf744
frontend/postcoms.c, add variable `width' to command "print line ..."
2015-12-16 20:12:01 +01:00
rlar
254be00842
src/frontend/postcoms.c, cleanup, unused variable `appendwrite'
2014-10-12 22:08:19 +02:00
Jim Holmes
85ae073471
src/frontend/postcoms.c, bugfix, write/save an xspice `event' node
...
In function EVTfindvec() XSPICE can create
a `dvec' with a non NULL `v_scale' slot.
This special scale with name "step"
differs from the current plot `pl_scale' slot
and triggered ancient buggy code here.
2014-10-12 19:32:17 +02:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
15606cf281
com_print(), fix a memory leak
2012-10-17 19:51:30 +02:00
rlar
31fa48cf17
com_write(), com_write_sparam(), fix a big memory leak
2012-10-15 20:55:55 +02:00
rlar
7a65ea0318
com_write_sparam(), cleanup storage more thoroughly (`wl_sparam')
2012-10-01 21:28:48 +02:00
rlar
124f0f4727
com_write(), com_write_sparam(), com_cross(), cleanup storage more thoroughly
2012-10-01 21:03:53 +02:00
rlar
a891e7dc9c
com_print(), cleanup storage more thoroughly
2012-10-01 19:44:49 +02:00
rlar
35c0e9eca3
variable rename, unify the source
...
checked for object file invariance
2012-10-01 17:59:40 +02:00
rlar
f95aaaafc1
com_print(), com_cross(), use for(;;) loops
2012-10-01 17:53:01 +02:00
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
rlar
811bf5664a
destroy `const' plot in com_quit()
2012-09-21 21:19:44 +02:00
rlar
7a5eeb2d9c
drop a superfluous cast
2012-09-21 21:19:44 +02:00