Commit Graph

5345 Commits

Author SHA1 Message Date
h_vogt 014c9f26d1 command.c, inpcom.c, add command 'setcf': like command 'set',
but keeping upper or lower case of subsequent characters
2017-04-23 19:40:26 +02:00
h_vogt e4208a06db grid.c, windisp.c, vertical text for postscript and WINGUI Arial as standard font for WINGUI 2017-04-23 19:40:26 +02:00
h_vogt f9dae1cd09 add rotation angle to text output, currently used only by postscript,
ignored by all others
2017-04-23 19:40:26 +02:00
h_vogt c53f52e64f grid.c, adding a 'poor man's' title to the postscript output 2017-04-23 19:40:25 +02:00
h_vogt ee47abeaab postsc.c, enable postscript output for extended ascii.
Currently only Western European latin-1 (ISO/IEC 8859-1) encoding
is supported.
2017-04-23 19:40:25 +02:00
h_vogt 667e76a137 Do not set Bit 8 in an ANSI char, when \ or ^ occured in a string. Thus the full ANSI set is now available in ngspice strings. The setting of Bit 8 was not exploitet anywhere, but did not allow using the characters from extended ANSI. 2017-04-23 19:40:25 +02:00
h_vogt adced88a4b inpcom.c, improved method for detecting model names 2017-04-23 19:40:25 +02:00
h_vogt 74788d016f prevent crash if files for debug-out could not be opened,
e.g. due to missing permission
2017-04-23 19:40:25 +02:00
h_vogt a4e504057a inpcom.c, suppress warning on missing model for lines like
C n1 n2 c=10p
2017-04-23 19:40:25 +02:00
h_vogt 9c5412cb9c spinit.in, distinguish between shared and normal mode 2017-04-23 19:40:22 +02:00
h_vogt 4219f4ddb8 sharedspice.c, remove line create_circbyline(NULL);, breaks compatibility
partial revert of
inp.c, sharedspice.c, enable adding scripts by 'circbyline'
2017-04-23 19:34:02 +02:00
h_vogt e0a1b4230a ivars.c, return of env_overr is bool, free var. temp 2017-04-23 19:34:01 +02:00
h_vogt 1fcca3a8d3 configure.ac, src/Makefile.am, add --enable-relpath to set preprocessor flag HAS_RELPATH 2017-04-23 19:34:01 +02:00
h_vogt 264d487848 configure.ac, src/Makefile.am, add libtool versioning for shared library 2017-04-23 19:34:01 +02:00
h_vogt ea3821b578 compile_shared.sh, compile instruction for shared ngspice library, release version 2017-04-23 19:34:01 +02:00
h_vogt e71fa90f1c cpitf.c; allow spaces in paths like "Program Files" as search path for spinit if in MS Windows 2017-04-23 19:34:01 +02:00
h_vogt 232ea80a57 main.c, add USERPROFILE to search path for .spiceinit search sequence: current directory, HOME, USERPROFILE 2017-04-23 19:34:01 +02:00
h_vogt fabcc8770a ivars.c, add flag HAS_RELPATH, obtain the absolut location of ngspice.dll and set a path for spinit relative to that location 2017-04-23 19:34:00 +02:00
h_vogt d4d37cf323 cpitf.c, sharedspice.c, add debug output by defining OUTDEBUG preprocessor flag 2017-04-23 19:34:00 +02:00
h_vogt 9f8c168281 sharedspice.c, read initialization file .spiceinit
search sequence: current diretory, HOME environment, USERPROFILE environmet
2017-04-23 19:34:00 +02:00
h_vogt 40947b377f use only a single spinit file for installation (spinit_orig) 2017-04-23 19:34:00 +02:00
h_vogt b65391c63f psinit, add a special spinit that allows relative paths during debugging 2017-04-23 19:34:00 +02:00
h_vogt 0546e69982 vngspice.vcxproj, add path to executables for local debugging 2017-04-23 19:34:00 +02:00
h_vogt 995eb818fb visualc/ /config.h: make search path for spinit relative to
ngspice.exe: ../share/ngspice/scripts/spinit
2017-04-23 19:34:00 +02:00
h_vogt fb9bed78b4 winmain.c: make source window scalable, adapt font in text window to modern displays 2017-04-23 19:34:00 +02:00
h_vogt b61bc8ac91 gnuplot.c, add 'noretraceplot' to prevent retracing of
the graph if plotting against a vetor which is not the
original scale vector ('plot vec1 vs vec2')
2017-04-23 19:33:59 +02:00
h_vogt 22ea64cfc4 avoid retrace in output graph by adding label 'noretraceplot'
to the plot command, that creates a lin plot trying to avoid retracing
2017-04-23 19:33:59 +02:00
h_vogt 3deca9e5cf digital n-input x m-output look-up table gate provided by Tim Edwards 2017-04-23 19:33:59 +02:00
h_vogt b43140fcec add xspice digital model d_lut (digital n-input look-up table gate) provided by Tim Edwards 2017-04-23 19:33:59 +02:00
h_vogt 7c6dd9f66a numparam, use NESTINGDEPTH for the nupa dico stack too 2017-04-23 19:33:59 +02:00
h_vogt 60571da33c subckt.c, xpressn.c, spicenum.c, add level information for .subckt entries nupa_scan is totally without level info. This preliminary fix at least lets us decide to issue a warning if subckt have equal names and are on the same level. Still nupa_scan only enters the first entry into its hash table, irrespective of its level. 2017-04-23 19:33:59 +02:00
h_vogt 94f562cd7e MC_ring_ts.sp, example for using the variable 'sharedmode' 2017-04-23 19:33:59 +02:00
h_vogt f1142c301c inp.c, sharedspice.c, enable adding scripts by 'circbyline' 2017-04-23 19:33:59 +02:00
h_vogt 975745fa3c update to Monte Carlo examples 2017-04-23 19:33:58 +02:00
h_vogt 932665124f inp.c, randnumb.c, option seedinfo
Print seed information only when option is set.
2017-04-23 19:33:58 +02:00
h_vogt 1c87f6b3b0 examples Monte_Carlo, replace variable rndseed by function setseed 2017-04-23 19:33:58 +02:00
h_vogt b63396288b inp.c, enable .option seed=val || random || 'random'
setting the seed value of the random number generator either to val
or to a random number drawn from the amount
of seconds passed since 1.1.1970
May be overrideden at any time later by command 'setseed newval'
2017-04-23 19:33:58 +02:00
h_vogt 310efd1307 randnumb.c, main.c, sharedspice.c,spinit.in
replace 'set seed = val' by 'setseed val'
no more check_seed in every random number calculation
2017-04-23 19:33:58 +02:00
h_vogt 4e04f1f17c command.c, add command 'setseed'
randnumb.c, add function com_sseed
for immediately setting the seed of the random number generator
'setseed' uses variable rndseed as seed
'setseed <n>' uses <n> as seed and sets rndseed to <n>
2017-04-23 19:33:58 +02:00
h_vogt 187a1ab2a5 inp.c, xpressn.c, cmath2.c, apply gauss1() instead of gauss0()
-> reproducible start value if 'set rndseed=val' is given.
2017-04-23 19:33:58 +02:00
h_vogt 2d2b7f9257 redo random number generation
wallace.c, main.c, randnumb.c, sharedspice.c:
set a seed value by getpid, may be overridden by 'set rndseed=val'
add func gauss1() returning only a single value
speed up gauss0()
add checkseed() to rgauss() and poisson() to read 'rndseed', if changed
2017-04-23 19:33:58 +02:00
h_vogt 746d1dc46c misccoms.c, clear controls upon 'quit' 2017-04-23 19:33:57 +02:00
h_vogt 6e8ade3ba3 misccoms.c, enable freeing more memory allocations upon 'quit'
reduces valgrind 'still reachable' allocations
will finally allow using 'virtual leak detector' on Windows
2017-04-23 19:33:57 +02:00
h_vogt 0e986f7059 variable.c, introduce cp_remvar_all() to free all variables 2017-04-23 19:33:57 +02:00
h_vogt 4f229d450a main.c free argv after its use (Win GUI only) 2017-04-23 19:33:57 +02:00
h_vogt 60cb9f109e inpcom.c, enable current measurement in B-line like
Isup 1 0 1
Rsup 1 0 2
Bsup 2 0 i=i(Isup)
Rb 2 0 1
2017-04-23 19:33:57 +02:00
h_vogt a2f69530a5 spiceif.c, remove memory leak ** to be tested thouroughly ** 2017-04-23 19:33:57 +02:00
h_vogt ec083630bc misccoms.c, call function to delete some structures in sharedspice.c upon 'quit' 2017-04-23 19:33:57 +02:00
h_vogt 4875ae9e7d sharedspice.c, add functions to delete myvec, pvc, vecsa 2017-04-23 19:33:57 +02:00
h_vogt 48ee93760c inp.c, correction for shared ngspice 2017-04-23 19:33:56 +02:00