Holger Vogt
b81953fafd
enable true gmin stepping
...
The old behavior, stepping diagmin, is re-obtained by adding flag
set 'dyngmin'
to .spiceinit or spinit
This flag may also be set within a .control section (e.g. to
compare results)
2020-03-15 08:51:18 +01:00
Holger Vogt
4bcb38abb5
clean up winmain.c
2020-03-15 08:51:18 +01:00
Holger Vogt
8d9d40d621
enable compiling wide char with MINGW
2020-03-15 08:51:18 +01:00
Holger Vogt
7a7f717574
make flag 'nolegend' localfor each plot
2020-03-15 08:51:17 +01:00
Holger Vogt
1398ee7aa0
set the proper preprocessor flag __MINGW32__
2020-03-15 08:51:17 +01:00
Holger Vogt
249304a06f
Instantiations of string and dstring functions as inline
...
This will remove the redundant-decls warning
2020-03-15 08:51:17 +01:00
Holger Vogt
0e4b736a5d
remove outdated function GlobalMemoryStatus(&ms)
2020-03-15 08:51:17 +01:00
Holger Vogt
08a2f04e8d
make code compile with MINGW (preliminary)
2020-03-15 08:51:17 +01:00
Holger Vogt
bcfdc806a5
work around a bug in MINGW
...
Reported in
https://github.com/msys2/MINGW-packages/issues/6254
2020-03-15 08:51:17 +01:00
Holger Vogt
09d3fbe3ad
remove false bracket in EXT_ASC
2020-03-15 08:51:17 +01:00
Holger Vogt
027b342a9c
prevent crash if premature exit (without ckt)
2020-03-15 08:51:17 +01:00
Holger Vogt
ded6bbbe34
make declaration inline
2020-03-15 08:51:16 +01:00
Holger Vogt
cab9cbdddf
re-enable making old apps with --enable-oldapps
2020-03-15 08:51:16 +01:00
Holger Vogt
2ff0e3b1b7
ngsconvert.c: add const to cp_enqvar
2020-03-15 08:51:16 +01:00
Holger Vogt
10c312856e
re-enable making nutmeg
2020-03-15 08:51:16 +01:00
Holger Vogt
06239e567f
plug a memory leak (in case of failing op for tran calculation)
2020-03-15 08:51:16 +01:00
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
2020-03-15 08:51:16 +01:00
Holger Vogt
14c0828a65
plug a memory leak (IXTH80N20L-IXTH48P20P-quasisat.sp)
2020-03-15 08:51:16 +01:00
dwarning
15b8e0ba7f
add aliases for temp coeffs
2020-03-15 08:51:15 +01:00
dwarning
5e4c7a255e
update .gitignore and make clean
2020-03-15 08:51:15 +01:00
dwarning
e9abecc8c7
change vdmos flag to thermal, not to confuse with b4soi
2020-03-15 08:51:15 +01:00
dwarning
3686dbfb78
filter only mos instances with thermal switch
2020-03-15 08:51:15 +01:00
Holger Vogt
f24ed96cbd
plug some memory leaks
2020-03-15 08:51:15 +01:00
dwarning
791f18053f
change vdmos flag to thermal, not to confuse with b4soi
2020-03-15 08:51:15 +01:00
Jim Monte
b9d45349d5
Added featurest to com_let to allow default low and high indices and to allow the last dimension to default to its full range
2020-03-15 08:51:15 +01:00
dwarning
59bb80f3d3
free errMsg only if available
2020-03-15 08:51:14 +01:00
dwarning
f632f79056
use errMsg under ngdebug condition and prevent memory leak
2020-03-15 08:51:14 +01:00
Holger Vogt
eab10ee065
prevent double closing of file (Linux does not NULL fp during fclose)
2020-03-15 08:51:14 +01:00
Holger Vogt
e53632c368
When plotting arrays of curves, plot lines only in the direction
...
of (in absolute terms) growing x values.
Example: MOS output characteristics.
In the rare case of plotting versus varying x directions
(e.g. example memristor.sp), one has to add the flag
'retraceplot' to the plot command.
2020-03-15 08:51:14 +01:00
Holger Vogt
14b154f5f3
Copy the scale vector as well and attach it to the data vector.
...
Remove it again when the graph is destroyed.
2020-03-15 08:51:14 +01:00
Holger Vogt
f518766c66
add a slight offset between y axis labels and grid
2020-03-15 08:51:14 +01:00
Holger Vogt
1919cf5c94
replace variable 'gridwidth' by 'xgridwidth'
2020-03-15 08:51:13 +01:00
Holger Vogt
c2cf4d7eda
required for reliable re-plotting, however still has the
...
return line bug no #472
2020-03-15 08:51:13 +01:00
Holger Vogt
57e647c704
enable "null allowed" for reset input
2020-03-15 08:51:13 +01:00
Holger Vogt
acbec3ae81
Preliminary 'fix' to a plotting bug (visible return line in an array of curves):
...
Partially undo code added in commit 10415875f4 /
This will need further discussion or updates
2020-03-15 08:51:13 +01:00
Holger Vogt
71ad2903ff
plug a memory leak in inpcom.c vdmos code
2020-03-15 08:51:13 +01:00
Holger Vogt
4ddcff55e7
add const declaration to newfopen
2020-03-15 08:51:13 +01:00
Holger Vogt
c4045d371d
single space indent in analysis window
2020-03-15 08:51:13 +01:00
Holger Vogt
8ff4c7cd3b
just another remains of quote
2020-03-15 08:51:12 +01: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
Holger Vogt
8d986e50cc
remove the remains of the old xgraph program
...
that has not been supported for many years
2020-03-15 08:51:12 +01:00
Holger Vogt
32722ecc57
some missing brackets, typos
2020-03-15 08:51:12 +01:00
Holger Vogt
93a408598a
switch to colorarray in graph to string all color data,
...
one set per each graph.
If we are zooming or selecting a cutout, copy the
source graph's colors to the new graph. Transfer the
old graphs id to the new graph via graph->graphid.
2020-03-15 08:51:12 +01:00
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.
2020-03-15 08:51:12 +01:00
Holger Vogt
a7aaac854f
enable color and font selection for X11:
...
Add graphics context gridgc for plotting the grids.
Enable rgbd:, input of color by RGB 0 ... 255
If no color1 (text/grid) is given,
select black or white according to backgrund color.
Error message, but no crash if font cannot be selected.
Enable separate linewidth selection for grid and graph.
2020-03-15 08:51:11 +01:00
Holger Vogt
800cd05f3d
new variable nolegend: with 'set nolegend' plotting of
...
the legend is suppressed.
2020-03-15 08:51:11 +01:00
Holger Vogt
fed7ef378f
add variable ticchar, allow an arbitrary character as ticmark
2020-03-15 08:51:11 +01:00
Holger Vogt
8639144093
cp_getvar: force a limit to a string entered
...
Issue a warning, truncate the string
2020-03-15 08:51:11 +01:00
Holger Vogt
1fda03382e
color input for text/grids (color1), background (color0)
...
and graphs (color2-22) on Windows via
set color2=red
set color2=rgb:ff/0/0
set color2=rgbd:255,0,0
several examples given in the example files
2020-03-15 08:51:11 +01:00
Holger Vogt
86917e3d36
enclose in WinGUI #ifdef
2020-03-15 08:51:11 +01:00