Commit Graph

6204 Commits

Author SHA1 Message Date
dwarning bb0ccbbcf8 variables are assigned values twice successively 2018-11-02 17:38:06 +01:00
dwarning 0181a05a58 bug #368: x-axis description for nested dc sweeps should inline with first level sweep 2018-11-02 14:22:03 +01:00
Holger Vogt d2d1095958 various fonts and font sizes for plotting 2018-11-01 23:17:18 +01:00
Holger Vogt c43ee240f6 grid.c, windisp.c, vertical text for postscript and WINGUI
Arial as standard font for WINGUI
2018-11-01 23:15:39 +01:00
Holger Vogt 568e719354 add rotation angle to text output, currently used only by postscript,
ignored by all others
2018-11-01 22:50:54 +01:00
Holger Vogt 27ba17c205 re-eable compiling without xgraph 2018-11-01 22:16:34 +01:00
Holger Vogt e165f61450 postsc.c, enable postscript output for extended ascii.
Currently only Western European latin-1 (ISO/IEC 8859-1) encoding
is supported.
2018-11-01 21:58:33 +01:00
h_vogt b4daddc211 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. 2018-11-01 21:52:27 +01:00
Holger Vogt 7dbe9cf506 inpcom.c, command gnuplot: no lower case in xlabel, ylabel, title 2018-11-01 21:50:30 +01:00
Holger Vogt c9b91e2c05 noisean.c, beautify the code 2018-11-01 21:38:04 +01:00
h_vogt afe36c73d5 noisean.c, ensure correct user input:
number of points always > 0
single frequ measurement if 1 point given
2018-11-01 21:31:13 +01:00
h_vogt c743ba08e5 com_measure2.c, write a fft vector (sp plot) with complex data
and real frequency to file and load it again, frequency now has become
a complex number as well. This was not recognized, thus ngspice crashed
(see https://sourceforge.net/p/ngspice/discussion/127605/thread/8cccd69c/
by Michal Janik - 2014-11-04
2018-11-01 21:30:21 +01:00
Holger Vogt 5dbcea3044 move model name example to examples/various 2018-11-01 21:23:40 +01:00
Holger Vogt b8c4201010 Exclude from model search all lines beginning
with a character contained in this list: *vibefghkt
2018-11-01 21:18:17 +01:00
Holger Vogt 56bc325a35 update to model search function 2018-11-01 21:17:36 +01:00
Holger Vogt e1424287e7 some model name examples 2018-11-01 21:13:24 +01:00
Holger Vogt 89a659b6a1 Update to the model name search function:
A model name is any token not being a true ngspice number,
except for tokens with some prohibited front characters
{*^@\\\' .
2018-11-01 20:50:29 +01:00
Holger Vogt 6dd02eaf64 Revert "allow model names starting with underscore _"
This reverts commit df411ad1c9.
2018-11-01 20:47:52 +01:00
Holger Vogt df411ad1c9 allow model names starting with underscore _ 2018-11-01 18:50:09 +01:00
Holger Vogt bee866b926 remove xgraph from ngspice distribution.
ngspice supports gnuplot instead.
30 year old legacy code, not maintained.
Does not compile on MS Windows,
compiles on Cygwin, but xgraph.exe crahes immediately.
Lots of compiler warnings.
2018-11-01 13:47:25 +01:00
Holger Vogt 18fc3fcc3b version 29+ 2018-11-01 13:38:59 +01:00
dwarning 57f8fae0ba backup to original state - but changing name of local struct t to tc 2018-11-01 10:38:09 +01:00
dwarning 6f577684dd remove compiler warning about double declaration of DEVices 2018-10-31 14:15:50 +01:00
dwarning 58b3f6d1ab no use of string 't' - but struct 't' is still used 2018-10-31 13:31:46 +01:00
dwarning c6e5b13775 verify pointer before utilization 2018-10-31 08:55:30 +01:00
dwarning 1974be8156 remove the entire file buffer modification which was never come in effect
Take over this task to the OS which will handle this properly.
2018-10-31 08:23:56 +01:00
dwarning 533e3842dc In case the file open failed we have no need to set the IO buffer size.
And this should also not be done with a NULL pointer into setvbuf.
2018-10-30 09:44:42 +01:00
dwarning 0a8d90e164 The 'j' variable is assigned values twice successively.
Obviously the first assigment is waste because 'j' has the meaning of row count.
2018-10-29 17:07:57 +01:00
dwarning e64c26a593 A call of the 'memset' function will lead to underflow of the buffer 'table'.
Table structure multiplied by N_GLOBAL_NODES will initialize the entire table with 0.
2018-10-29 17:04:19 +01:00
dwarning ccd2c0d66e It is odd that pointer to 'char' type is compared with the '\0' value.
Correct compare with *eqword follows in a correct error message.
2018-10-29 17:00:13 +01:00
Holger Vogt d504991177 new definition of cp_enqvar also in seldom used ngsconvert.c 2018-10-27 18:07:44 +02:00
Holger Vogt 578a42e084 provide correct output path for cmpp.exe during 64 bit compilation 2018-10-27 17:57:14 +02:00
Holger Vogt 78ba9fec55 add some files to the distribution 2018-10-27 16:38:00 +02:00
Holger Vogt 19380903cc add missing evtshared.h to the distribution 2018-10-27 16:37:33 +02:00
Holger Vogt 94fa272c9d A hack to repair bug reported by Clyde R. Shappee 2018-10-27 12:28:01 +02:00
dwarning 6b99bc8f7a prevent pass null pointer into setvbuf 2018-10-27 11:33:48 +02:00
dwarning 93f35afe69 s variable was assigned values twice successively 2018-10-27 11:33:00 +02:00
dwarning 360efabf36 no null pointer to fprintf 2018-10-27 11:24:22 +02:00
dwarning ae698c208a variable was assigned to itself 2018-10-27 11:21:06 +02:00
dwarning 5459404c47 prevent fallthrough by missing return 2018-10-27 11:20:29 +02:00
dwarning 740987382b The 'then' statement was equivalent to the 'else' statement. 2018-10-27 11:19:57 +02:00
dwarning cf24081507 prevent unused warning 2018-10-27 11:12:56 +02:00
dwarning be79efbf7a Remove recurring check 2018-10-27 11:09:49 +02:00
dwarning ef61972910 Add missing break 2018-10-27 11:09:20 +02:00
dwarning 06430b7f14 rm extra text after end of preprocessing directive 2018-10-27 11:09:07 +02:00
dwarning 079b3bb7fd add some missing prototypes 2018-10-27 11:08:17 +02:00
Holger Vogt 4738edeab5 symbol visibility=hidden only in release mode
for shared library and codemodels
2018-10-27 11:06:16 +02:00
Holger Vogt 75d1e45737 consider all PSPICE containing compatibility settings
for the evaluation of the pwr function
or allowing '-' in a subcircuit name
2018-10-20 23:54:02 +02:00
Holger Vogt f31f044e30 set the search path for the code models relative to ngspice.exe
(for Windows GUI and console)
2018-10-18 21:39:33 +02:00
Holger Vogt ff2304625f allows to start ngspice WinGUI by double click on an input file, if
the file extension has been associated with ngspice.exe
2018-10-18 21:37:50 +02:00