Commit Graph

6933 Commits

Author SHA1 Message Date
Holger Vogt 11affdc3b9 re-enable compiling with --enable-nobypass 2020-05-19 23:14:48 +02:00
Holger Vogt 33acb3ea6a Revert "re-enable compilation with --enable-nobypass"
This reverts commit b0e0055f58.
2020-05-19 23:10:44 +02:00
Holger Vogt 927daf3223 remove calling MIFdestroy() that is empty 2020-05-19 23:10:09 +02:00
Holger Vogt 1422d3744b add the icon also for the console build 2020-05-19 23:09:31 +02:00
Holger Vogt f61ba6a2fe adding the ngspice icon to the MINGW executable 2020-05-16 14:08:46 +02:00
Holger Vogt b0e0055f58 re-enable compilation with --enable-nobypass
patch supplied by Joël BERTRAND
2020-05-16 11:10:30 +02:00
Holger Vogt eceb0e9cad If a g table source contains %, [, nor ] in its name,
replace it by _ in the a instance generated during parsing.
2020-05-16 11:02:04 +02:00
Holger Vogt 238f85b10a We now develop ngspice 32+ 2020-05-13 22:38:25 +02:00
Holger Vogt 02fdcaff2d try first storing the temporary file in user directory,
only then in current directory
2020-05-13 22:14:52 +02:00
Holger Vogt 80ad645b49 prevent crash if Col==-1 2020-05-13 22:06:05 +02:00
Holger Vogt 8143fb67c2 comment, missing \n 2020-05-13 22:05:31 +02:00
Holger Vogt 6f03ac77af add missing library info 2020-05-08 00:00:12 +02:00
Holger Vogt 8d64983659 const parameter added 2020-05-06 11:12:54 +02:00
Holger Vogt 05bf86caaa safeguard against empty lines which may be sent to shared ngspice 2020-05-06 11:12:21 +02:00
Holger Vogt 5c3e2b6526 'make clean' added 2020-05-05 20:55:22 +02:00
Mamoru TASAKA fe207966d7 Fix compilation with gcc10 wrt multiple definitions issue
gcc10 now defaults to -fno-common (ref: https://gcc.gnu.org/gcc-10/changes.html ). Now with compiled with gcc10, multiple definitions are found which causes linker error as:

*  --with-tcl:
```
/usr/bin/ld: table/table3D/cfunc.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/../../../src/include/../xspice/icm/dlmain.h:8: multiple definition of `coreitf'; table/dlmain.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/dlmain.c:45: first defined here
```

*  --enable-oldapps
```
/bin/ld: frontend/com_history.o:(.data+0x4): multiple definition of `cp_maxhistlength'; ngsconvert.o:(.bss+0xa4): first defined here
collect2: error: ld returned 1 exit status
```

This commit fixes these issues.
2020-05-06 01:15:53 +09:00
Holger Vogt bbe81ca8f8 shared ngspice may transmit netlists with empty lines,
guard against crashing
2020-05-05 12:00:19 +02:00
Holger Vogt db91e19e36 enable making ngnutmeg, when --enable-oldapps is set 2020-05-05 11:59:23 +02:00
Holger Vogt ffe49a11d4 only 64 bit release and debug 2020-05-04 17:18:32 +02:00
Holger Vogt 2b4394e34b add wincolornames.h 2020-05-03 23:06:17 +02:00
Holger Vogt 0f2470cad3 remove com_xgraph 2020-05-03 22:38:12 +02:00
Holger Vogt c36104390e removed unused call to com_xgraph 2020-05-03 22:27:34 +02:00
Holger Vogt 228d6e19ef Add path to freetype2 and link library omp 2020-05-03 18:06:05 +02:00
Holger Vogt bce2d9ac2c add compile_macos.sh to dist 2020-05-03 18:03:44 +02:00
Holger Vogt dd5d1f1868 new copyright notice added 2020-05-03 11:47:22 +02:00
Holger Vogt 4629fb797a Update to recent install procedures 2020-05-03 11:47:03 +02:00
Holger Vogt 5011f760f3 some enhancements to macOS compile script 2020-05-03 11:46:03 +02:00
Holger Vogt 194d514fdd new copyright notice 2020-05-03 11:45:10 +02:00
Holger Vogt 8555ad6c00 author added 2020-05-03 11:44:48 +02:00
Holger Vogt 70be7508ce Prevent 'unused variable' compiler message 2020-05-03 00:49:53 +02:00
Holger Vogt 913635d252 remove unused function 2020-05-03 00:47:45 +02:00
Holger Vogt 13c23fd71b Prevent buf2 buffer overflow by limiting the the amount of bytes printed 2020-05-03 00:19:48 +02:00
Holger Vogt 58a61c4c3b update compile scripts for Linux and macOS 2020-05-03 00:18:23 +02:00
Holger Vogt e0f5181bee Correct comment 2020-05-02 20:16:48 +02:00
Holger Vogt 8a1eff8e88 Add function 'remzerovec' to remove vectors of length 0
from current plot. Maybe of interest if you have option
savecurrents, write xx all, and ac generates length 0 vectors
2020-05-02 20:06:58 +02:00
Holger Vogt 3a00520071 Improve error message 2020-05-02 14:59:31 +02:00
Holger Vogt 9b67992fe8 comment corrected 2020-05-02 12:00:16 +02:00
Holger Vogt 676ba04425 typo 2020-05-02 11:59:02 +02:00
Holger Vogt cbab726d69 use memcpy instead of strncpy to copy an exact amount of characters
remove unused function header
2020-05-01 18:49:45 +02:00
Holger Vogt 5e37955dc5 prevent buffer overrun by using snprintf 2020-05-01 18:48:18 +02:00
Holger Vogt 3c8a2d914d enable MINGW compilation by adding path information for config.h 2020-05-01 18:47:32 +02:00
Holger Vogt a32da32885 set parentheses for initializing struct 2020-05-01 18:46:44 +02:00
Holger Vogt 4bcc118406 exclude unused variable 2020-05-01 18:41:22 +02:00
Holger Vogt e2ddc5c06b exclude unused function 2020-05-01 18:40:56 +02:00
Holger Vogt 3c2bece87f prevent MINGW compiler warnings 2020-05-01 18:38:45 +02:00
Holger Vogt beb27f27a6 Enable 64 bit release and debug compilation
32 bit compilation has to be enabled manually.
2020-05-01 18:36:33 +02:00
Holger Vogt 38f7bf31ef Replace $ by ; as end-of-line comment delimiter
$ is a standard character in PSPICE
2020-05-01 18:35:40 +02:00
Holger Vogt b0f99b900e Prevent crash if not enough nodes for standard MOS device 2020-04-28 18:59:18 +02:00
Holger Vogt 8ea51cc2f3 If command 'source' fails, don't move on with the script
(and od nonsens simulations), but stop ngspice and await
detaching (shared ngspice), or wait for user input.
2020-04-28 17:23:07 +02:00
Holger Vogt 2d4549ad96 There will be no default model paramaters without
the minimum model line:
J1 a b c JM1
.model JM1 njf
2020-04-28 17:18:57 +02:00