Commit Graph

7296 Commits

Author SHA1 Message Date
Holger Vogt 7ac77e818e X11: Add a button for writing an SVG file to the plot window.
Update button texts.
Add a function hardcopySVG to write the SVG file, called by
clicking the SVG button.
2021-03-02 18:11:07 +01:00
Holger Vogt 05e3c9a988 correct description 2021-03-02 18:08:36 +01:00
Holger Vogt 9eed75b192 WinGUI: Make the text output from com_hardcopy available immediately
by call to function UpdateMainText.

Enable color for postscript output.
2021-03-02 12:15:23 +01:00
Holger Vogt 2c23c9c528 use feh for plotting *.svg in Cygwin 2021-03-01 00:33:39 +01:00
Holger Vogt 0a0b31e36e examples for creating svg output and plotting 2021-02-28 19:57:23 +01:00
Holger Vogt cf6a190c76 Separate color and b&w
b&w in the plot window is not(yet) supported.
2021-02-28 19:34:51 +01:00
Holger Vogt 2257e40703 Select black&white, if appropriate
Return colorID to previous values after hardcopying.
2021-02-28 17:04:43 +01:00
Holger Vogt b9c0617439 svg hardcopy example 2021-02-28 08:21:30 +01:00
Holger Vogt 4ba84ec931 use colorN as for normal plots
color0 is background
svg_intops and svg_stropts may set all parameters
2021-02-28 08:21:13 +01:00
Holger Vogt a34aeaa242 modified from Giles Atkinson's patch:
use hardcopy entries to set variables
maybe overridden by stropts and intopts list variables
2021-02-28 08:20:57 +01:00
Holger Vogt 3b4e6ea123 separate svg and postscript handling 2021-02-28 08:20:42 +01:00
Holger Vogt 286570c746 separate svg and postscript
suitable text placement for svg
2021-02-28 08:20:21 +01:00
Holger Vogt 982464d590 add generation of svg graphics file
based on patch no. 97 by Giles Atkinson
2021-02-28 08:20:01 +01:00
Holger Vogt a81d75914d Revert "This version will leads to speedup of 5 - 7% with VS2019, Windows 10,"
This reverts commit 49acf17352.
2021-02-28 07:56:56 +01:00
Holger Vogt 50bfe4851c Update for ngspice-34
Should have been updated for the 34 release, but somehow
got lost in beween.
2021-02-22 16:49:10 +01:00
Holger Vogt 596cba1354 cmpp is no longer distributed
remove man entry
2021-02-20 18:44:34 +01:00
Holger Vogt f600f0599e Rename the ngspice version information offered in sharedspice.h 2021-02-12 10:06:44 +01:00
Holger Vogt 174cf26593 Safeguard against usage of --with-readline or --with-editline
Some package maintainers have erroneously used the above ./configure
flags during compiling libngspice-0.so. This has led to an unresolved
symbol history_file with ngspice-34.
2021-02-12 10:05:53 +01:00
Holger Vogt 3a4c746ea4 Check for double '{{ }}', replace the inner '{', '}' by '(', ')'
in .model lines, if compat mode ps is set. Enables use of some On-Semi
power transistor models.
2021-02-11 13:35:47 +01:00
Holger Vogt 49f26b7d9b remove obsolete parameter 2021-02-11 10:53:25 +01:00
Holger Vogt dd5c5044e8 enable parameter 'gain'
patch provided by  Bohdan Tkhir
2021-02-10 20:48:35 +01:00
Holger Vogt ff6c44392c Re-enable compiling ngsconvert again
Capability to compile ngsconvert is extremely sensitive to changes in
associated files as found in makefile.am and may esily be
broken again next time. Requires manual tweaking.
2021-02-09 17:20:26 +01:00
Holger Vogt 49acf17352 This version will leads to speedup of 5 - 7% with VS2019, Windows 10,
8 threads on 8 cores, iscas85Circuits\85\c7552\c7552_ann.net.
2021-02-06 10:21:11 +01:00
Holger Vogt 87fe83a31a Revert "This version will laeds to speedup of 5 - 7% with VS2019, Windows 10."
This reverts commit 215b3c513c.
2021-02-06 10:13:45 +01:00
Holger Vogt 215b3c513c This version will laeds to speedup of 5 - 7% with VS2019, Windows 10.
It is useful (necessary?) to have the loop index private,
it might not crash, but happpen that not all are set to 0.
The local ElementPtr  pElement does not sacrifice speed,
but removes a compiler warning.
2021-02-06 10:11:17 +01:00
dwarning 7bb590f249 New trial: OpenMP to spClear to parallelize the loop 2021-02-05 18:32:45 +01:00
Holger Vogt f15aaebc9f Revert "OpenMP to spClear to parallelize the loop."
This reverts commit d171530b33.
2021-02-04 22:12:45 +01:00
Holger Vogt 6bb95d686c We now have ngspice-34+ 2021-02-04 22:09:09 +01:00
Holger Vogt 64580ef47a Move version info from sharedspice.c to sharedspice.h 2021-02-04 22:08:48 +01:00
Holger Vogt d171530b33 OpenMP to spClear to parallelize the loop.
Just temporarily because it crahes ReleaseOmp
in VS2019
2021-02-04 21:52:25 +01:00
Holger Vogt 70d669a42b remove config.h from dist and install 2021-02-04 17:08:00 +01:00
Holger Vogt 0579dac2d4 remove obsolete command 2021-02-03 08:50:08 +01:00
Holger Vogt 279edff5d9 actual release date 2021-01-30 13:43:58 +01:00
Holger Vogt 65a47d3276 Remove compiler warnings: CIDER debug flags are used as int
FIXME: Why arer they defined as BOOLEAN in main.c
without generating a warning?
2021-01-29 10:46:10 +01:00
Holger Vogt a77b529928 set the locale to "C" locally, if shared ngspice 2021-01-29 10:44:28 +01:00
Holger Vogt 5747982ae8 Re-enable devices like E2 1 0 (2,3) 1
Add a new function nexttok_noparens(const char *s) which
skips tokens. Characters , ( and ) are treated like spaces.
2021-01-28 17:06:02 +01:00
Holger Vogt 433a76a1f2 Guard against vector "time" not being available 2021-01-28 17:01:30 +01:00
Holger Vogt c8a7b69190 re-enable setting options when 'set ngbehavior=hs' is set. 2021-01-27 16:29:15 +01:00
Holger Vogt ffef8e1d16 Remeove "redefinition" warning 2021-01-26 18:18:59 +01:00
Holger Vogt ca26364a7a Remove "incompatible pointer" warning 2021-01-26 18:18:28 +01:00
Holger Vogt 8de513e8e9 ngspice.exe and .dll (.so): seperate the main files:
main.c now belongs to exe, sharedspice.c to dll (so)
2021-01-26 18:17:59 +01:00
Holger Vogt 55359e36e0 if SHARED_MODULE, exclude some unused function from build.
Finally complete main.c should be removed in shared ngspice.
2021-01-24 17:40:18 +01:00
Holger Vogt 06eddf1adc We need config.h.in, when compiling with ./configure,
that is without resorting to autoconf, automake etc.
So partially undo the previous commit.
2021-01-24 12:55:51 +01:00
Holger Vogt c14680c951 Do not distribute config.h.in 2021-01-24 11:29:48 +01:00
Holger Vogt ebff1fe79f makefile.am for cppduals 2021-01-23 12:54:23 +01:00
Holger Vogt 71bc5feacb We need to include cppduals into the distribution process. 2021-01-23 12:45:49 +01:00
Holger Vogt 7dc6c47df5 config.h should not be distributed or installed
somewhere, because it is generated locally during
the build process.
2021-01-23 12:45:12 +01:00
Holger Vogt d45e95aa4c We no longer want to install cmpp or other XSPICE files.
The manual describes making code models from inside
the ngspice build process, and that's what we support
right now.
2021-01-23 12:43:51 +01:00
Holger Vogt a5eac333bb Revert "When installing ngspice, do not install the headers"
This reverts commit 5a0d213fec.
2021-01-22 16:05:14 +01:00
Holger Vogt b6b38dc4a6 remove link to tests/bsimbulk 2021-01-22 15:52:56 +01:00