Holger Vogt
ad23146544
Don't check continuously for autostop, only when option flag is set
...
This speeds up simulations with simple device evaluation, but many
time stepps.
2023-09-09 18:37:13 +02:00
Holger Vogt
923f7efab0
Prevent crash (seg fault), if measure statement is incomplete
2023-05-27 10:46:01 +02:00
Holger Vogt
ced2128f58
.measure results from batch mode may be saved in a file
...
(in addition to the printout)
Add command
set measoutfile=<path/filename>
to .spiceinit or to a .control section in the netlist
2022-01-15 23:28:06 +01:00
Holger Vogt
09f829b863
Further improvement of error message im 'meas'
2020-03-15 08:50:56 +01:00
Holger Vogt
94d5ad312e
Improve error messages for the 'meas' command.
2020-03-15 08:50:56 +01:00
dwarning
aed5ba01c0
prevent a small memory leak
2018-08-22 13:05:19 +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
Holger Vogt
b07ae3123e
use only internal memory functions,
...
replace strdup by copy
2018-07-21 23:54:51 +02:00
rlar
19dfaf03f3
numparam, #1/2, nupa_eval(), use struct card * argument
2018-02-17 19:15:53 +01:00
rlar
511cdd7188
struct card, #3/6, rename members from struct line to struct card
2018-02-17 19:15:53 +01:00
rlar
dc6e1cb064
use strchr() instead of strstr()
2017-03-19 20:24:49 +01:00
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
2017-03-19 20:11:01 +01:00
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
2016-10-15 15:06:20 +02:00
h_vogt
9ab2960e87
frontend/measure.c, remove memory leak
2016-07-30 20:56:32 +02:00
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
2016-03-21 21:22:07 +01:00
rlar
5ac7858a79
rewrite, use tprintf
2015-03-28 20:10:29 +01:00
h_vogt
02555fbe99
bug reported by Yamamaya: revert deleting dicoS structure in inp.c and measure.c:
...
still to be used by 'listing param'
deletion moved to com_remcirc()
2013-12-31 16:26:01 +01:00
h_vogt
da10f49755
remove memory leak freeing dicoS
...
reported by Jonathan Knott
2013-12-31 16:13:19 +01:00
h_vogt
745ea9ff3e
measure.c: disable autostop, if no .meas commands found
2013-12-31 16:08:11 +01:00
h_vogt
df65fa28cf
separate progress report from having Windows GUI
2013-12-31 12:56:59 +01:00
h_vogt
5a44b3f7f8
fix `SetAnalyse()' re-declaration
2013-12-31 12:56:58 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
4184aa8c10
cleanup, use array operator
...
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
2013-12-31 12:54:43 +01:00
h_vogt
8f44839f3e
com_measure.c, measure.c: remove memory leaks
2012-12-09 16:24:39 +01:00
h_vogt
12e19d140b
measure.c, rewrite do_measure()
2012-12-09 13:27:53 +01:00
h_vogt
a13e5bf867
measure.c: outputting 'meas' status in Windows GUI
2012-12-05 23:06:16 +01:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
1a2477bdcc
avoid `meas' syntax error causing segfault
...
Invalid meas crashes ngspice with SIGSEV - ID: 3554330
http://sourceforge.net/tracker/?func=detail&aid=3554330&group_id=38962&atid=423915
2012-08-06 19:42:49 +02:00
h_vogt
11ae043c3d
com_measure2.c: enable 'meas dc' without 'from' and 'to' given
...
measure.c: no error printout during autostop
2012-08-05 20:03:00 +02:00
h_vogt
12e60822fb
measure.c: indentations
2012-07-23 23:26:20 +02:00
h_vogt
ed5491c179
measure.c: Update on error message for .meas
2012-07-23 23:23:42 +02:00
h_vogt
d1d2ff94e4
measure, error message updated and return(NAN) in case of measure failure
...
test for failure with isnan()
2012-07-23 22:57:32 +02:00
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
2012-07-14 10:23:51 +02:00
rlar
d8105873db
remove error.h, use fteext.h for controlled_exit()
2012-06-12 21:26:29 +02:00
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
2011-12-13 19:57:45 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
h_vogt
2bbacac418
correct handling of =<vector>
2011-06-23 10:02:05 +00:00
h_vogt
747c606e30
remove bug in command meas, allow / and \ in Windows file paths
2011-06-18 17:45:43 +00:00
h_vogt
ebda0af288
update FIND ... WHEN measurements
2011-02-19 22:11:45 +00:00
rlar
e6c30efe46
Nr 4/5 (x = ...) != NULL , swallow warnings
2010-11-19 18:52:44 +00:00
rlar
d0dba768f8
change the type of a bunch of variables from `int' to `size_t'
2010-11-06 20:11:24 +00:00
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
2010-10-28 19:32:34 +00:00
rlar
196262dd1b
move the com_*() prototypes around.
2010-10-16 17:09:46 +00:00
rlar
5bc8777a9b
remove #define for EOS use '\0' instead
2010-10-09 11:42:10 +00:00
rlar
d44f818cad
allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage
2010-07-20 18:41:25 +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
3369d860b4
cast the return values of malloc() function calls
2010-07-01 19:52:23 +00:00
rlar
4420a3ecdd
add prototypes, remove some NULL casts
2010-06-23 17:40:56 +00:00
h_vogt
f1a4f27d21
improved numparam error message
2010-02-07 11:27:59 +00:00