Holger Vogt
cefb0966ae
Do not bail out if 'load file' command has unavailable file,
...
just post error message and continue
A fix to https://sourceforge.net/p/ngspice/discussion/127605/thread/986c04f22b/
by Clyde
2019-08-09 22:18:36 +02:00
Jim Monte
a7bd2ac199
bug #408 : prevent invalid data or crash by not reading beyond end of string
2019-07-28 16:21:28 +02:00
Holger Vogt
62a94db542
Improve commant
2019-07-27 17:56:05 +02:00
Holger Vogt
de6675295b
Partially undo commit 016c558d7, 2019-05-01
...
If sacles for plotting differ, issue a warning.
Skip this plot command only, when strict_errorhandling is set.
2019-07-27 17:55:23 +02:00
AsamMich
59e925c710
Patch #83
...
Improve and complete command 'compose'
2019-07-20 17:33:58 +02:00
Holger Vogt
979f7957fb
Change variable 'stepsizelimit', added in commit
...
c86f6265d ("relieve the step size limitation..." 2019-02-02)
to 'nostepsizelimit', thus keeping the limit, if not set.
Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
May be overridden by giving 'set nostepsizelimit' to (tstop - tstart)/50.
Both may be overriden by setting tmax.
2019-07-20 15:33:10 +02:00
Holger Vogt
4253fcdcbb
Revert "Add 'set stepsizelimit' also to spinit in 'make check'"
...
This reverts commit 23402a01cc .
2019-07-20 15:26:41 +02:00
Holger Vogt
62628b6087
Speed up the text output in Windows GUI:
...
The stream is pushed to the display only every 30 milliseconds.
For the first 200ms the stream is still pushed for every line.
2019-07-20 11:35:48 +02:00
Holger Vogt
de3d90e8e1
make GUI more responsive. Prevent output freezing
...
if large data volumes are sent to the display
2019-07-20 09:16:42 +02:00
Holger Vogt
ff0163188d
fix typos
2019-07-15 23:35:49 +02:00
Holger Vogt
b9dc2d0b37
If the comaptibility mode is PS, LTPS or LTPSA, '$' is treated as a valid
...
character, not a s end-of-line comment delimiter, except for that it is
located at the beginning of a line.
2019-07-14 19:57:08 +02:00
Holger Vogt
7dd98dddfa
safeguard against vectors with 0 length
2019-07-13 17:43:57 +02:00
Holger Vogt
dd9c8988e8
allow very short version information with new options -v and -d
2019-07-13 17:43:31 +02:00
Holger Vogt
f57f96abe9
Instead of the reverted commit
...
5542f2ec1 ("dio/diotemp.c, drop DIOgradingCoeff limit", 2017-07-18)
allow setting a new limit for the diode grading coefficient by
set DIOgradingCoeffMax=0.85
Default is 0.9
2019-07-07 13:55:41 +02:00
Holger Vogt
f1d4bd3861
Revert "dio/diotemp.c, drop DIOgradingCoeff limit"
...
This reverts commit 5542f2ec10 .
2019-07-07 12:24:01 +02:00
Holger Vogt
664f3303c7
raise warning only when params are on the .subckt line
2019-06-29 14:45:55 +02:00
Holger Vogt
1936931c12
The PSPICE area token for a device instance may be not only a number,
...
but also a parametrized token like {tok}
2019-06-15 11:29:42 +02:00
Jim Monte
2562dea7af
[PATCH #70 ] Made parameter const and reduced excess allocation.
2019-06-15 11:10:23 +02:00
Jim Monte
e92f20ccc0
[PATCH #76 ] Fixed access violation when iplot called without a circuit
...
loaded.
2019-06-15 00:39:56 +02:00
Jim Monte
f4b47da693
[PATCH #73 ] Fixed crash when attempting to set a breakpoint without a
...
circuit loaded.
2019-06-15 00:34:11 +02:00
Jim Monte
5973bea69e
[PATCH #69 ] Changed vector type from to the enum assigned to it.
2019-06-15 00:09:33 +02:00
Jim Monte
ceb5b4b907
[PATCH #66 ] Removed definition of macro MAXWORDS since it is unused.
2019-06-14 23:09:24 +02:00
Jim Monte
72068e035c
[PATCH #64 ] Made shell command with no arguments functional for Windows.
2019-06-14 23:01:59 +02:00
Holger Vogt
6d59f8a3b1
prevent crash upon wrong user input
2019-06-14 22:22:55 +02:00
Holger Vogt
82bdb4aa0a
prevent crash if function is called with NULL argument
2019-06-14 22:22:17 +02:00
Holger Vogt
f92f3f5f65
including hist_info files
2019-06-08 11:27:45 +02:00
Jim Monte
7f0379e08c
missing part of patch #56
2019-06-08 11:23:18 +02:00
Jim Monte
f4c0a9c61d
[PATCH #62 ] Fixed buffer overrun. Reworked to not use dstring for more
...
efficient parsing.
2019-06-01 19:41:42 +02:00
Jim Monte
b338ae2794
[PATCH #63 ] Fixed infinite loop when setscale is given as a command.
2019-06-01 19:31:45 +02:00
Jim Monte
c0647b8eb4
[PATCH #56-2] Added hist_info source and header files for new history API
...
and system DLL Shlwapi.dll to resolve PathIsRelative()
2019-06-01 18:39:16 +02:00
Jim Monte
e0039e12da
[PATCH #56 ] New history buffering
2019-06-01 18:15:43 +02:00
Jim Monte
aaf7af790b
[PATCH #61 ] Removed unnecessary check for null pointer. There would have
...
been several access violations before the check if it were invalid.
2019-06-01 17:54:48 +02:00
Jim Monte
194e6d02e9
[PATCH #60 ] Fixed build warnings about inconsistencies in the output
...
location for cmpp. The destination was not changed (due to dependencies of
batch files on the location) but $(ProjectDir) was used to make the path
absolute, which simplifies verifying the correct location.
2019-06-01 17:49:49 +02:00
Jim Monte
09021c22ce
[PATCH #59 ] Made INP*Cat() functions more modular and efficient. Also
...
eliminated the possibility of a buffer overrun in INPstrCat() due to an error
in the calling funciton.
2019-06-01 17:40:36 +02:00
Jim Monte
cb14fc0fbb
[PATCH #58 ] Made annotations of WinMain() agree with its prototype
2019-06-01 17:22:08 +02:00
Jim Monte
0303b2da63
[PATCH #57 ] Fixed several issues with win_x_fread()
2019-06-01 17:06:07 +02:00
Holger Vogt
84530eee37
[PATCH #55-2] Prevent reading from a NULL pointer
2019-05-29 23:02:18 +02:00
Jim Monte
3d77a32be1
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
2019-05-29 22:57:40 +02:00
Jim Monte
8a6c9a29e5
[PATCH #54 ] Fixed bug with processing of user input when the user input
...
size equals or exceeds the allowed amount. A 1-byte buffer overrun resulted
in incorrect processing of the buffer returned from the window supplying user
input which lead to an infinite loop.
2019-05-29 22:38:02 +02:00
Jim Monte
c76bdee606
[PATCH #53 ] Removed useless zeroing of a copy of a variable (twice) when
...
the original variable should be zeroed. Made cp_free_control static because
it was only used in control.c and it was not defined in any header file.
Added comments
2019-05-29 22:36:53 +02:00
Jim Monte
a4c3f7b608
[PATCH #52 ] General cleanup of word list processing, such as adding
...
comments and const. Also added a new function wl_from_string() to convert a
single word into a word list. This function can be useful when calling a
function taking a single-word word list.
2019-05-29 22:17:53 +02:00
Jim Monte
24e8e7d33b
[PATCH #50 ] Ensured no buffer overrun for long namess and improved
...
efficiency of compare. Also made more modular.
2019-05-27 22:30:10 +02:00
Jim Monte
61d50f7177
[PATCH #49 ] Ensured no buffer overrun for long script strings and
...
improved efficiency of building string
2019-05-27 21:59:52 +02:00
Jim Monte
9a7459b8e0
[PATCH #48 ] Fixed infinite loop and variation from documented behavior of
...
atodims()
2019-05-27 21:06:34 +02:00
Jim Monte
65dcb0b4eb
[PATCH #51 ] Added scrolling to input window
2019-05-26 19:10:29 +02:00
Holger Vogt
b3605fba04
unify the numerical constants
2019-05-26 18:33:28 +02:00
Holger Vogt
018025df1e
[PATCH 47] Refactored ft_getnames() and used the new function in
...
com_let().
2019-05-26 18:32:55 +02:00
Holger Vogt
016c558d77
Try to detect, if one wants to plot vectors with
...
different scale vectors into the same graph.
Issue a warning and skip the plot command.
2019-05-01 18:49:34 +02:00
Holger Vogt
f1c454c0be
Update to patch #33 , stdlib.h required on Linux for size_t
2019-05-01 18:44:21 +02:00
Jim Monte
f6c720c288
[PATCH #46 ] Fixed uninitialized buffer in case of 0 dim for dimstring()
...
and prevented the compilation of unused functions. Also a comment was
corrected.
2019-05-01 16:56:22 +02:00