Commit Graph

6947 Commits

Author SHA1 Message Date
Holger Vogt 527abee022 Do not print "Units" on a graph, if unknown type
or settype notype is given.
2020-08-20 15:25:00 +02:00
Holger Vogt e2f98b71ed enable node names with special characters like '/' 2020-08-20 15:24:39 +02:00
Kevin Zheng 797f08893a When NGSPICE performs a transient simulation with initial conditions, it
prints out an "Initial Transient Solution" and plots the first timestep.

This is despite the fact that the first timestep is not meaningful when
initial conditions are applied. The first "real" output is available
only after the second transient timestep.

This patch suppresses "Initial Transient Solution" output and
plotting for the first timestep.
2020-08-20 15:24:28 +02:00
Holger Vogt da71726765 Do not print tansient initial conditions, if uic is selected.
This output at time 0 is 0 as well. Only the next time step
would be valid.
Do not save the time 0 values because they are 0.
2020-08-20 15:23:54 +02:00
Holger Vogt a459d37548 remove unused 2020-08-20 15:23:31 +02:00
Holger Vogt 6b0104849e Add statistics: load, subckt expansion, and parse times 2020-08-20 15:23:19 +02:00
Carsten Schoenert 5a0ed18907 Small fixup for misspelled words 2020-08-20 15:22:48 +02:00
holger 569bc228fd If code completetion is deselected, don't add keywords or key commands.
To prevent a crash in shared ngspice
2020-08-20 15:22:36 +02:00
holger 061e48253b definitely exclude command completion in shared ngspice 2020-08-20 15:22:26 +02:00
Holger Vogt 8c4394839d remove unused code that is now in CKTncDump() 2020-08-20 15:22:17 +02:00
Holger Vogt 18c532e74b improve comments 2020-08-20 15:22:07 +02:00
Holger Vogt 0cf6b89eb3 during removing the plot 'const', also delete the hash table 2020-08-20 15:21:49 +02:00
Holger Vogt f83bbb0d0f delete 'myvec' upon 'quit' 2020-08-20 15:21:29 +02:00
Holger Vogt 8be33bb361 clear all variables upon 'quit' 2020-08-20 15:21:12 +02:00
Holger Vogt 05f3d21c3e reset control structures (commands saved) upon 'quit' 2020-08-20 15:20:39 +02:00
Holger Vogt ce72667fcd shared lib version 32 2020-08-20 15:20:19 +02:00
Holger Vogt c522360a26 re-enable compiling with --enable-nobypass 2020-08-20 15:20:06 +02:00
Holger Vogt 8051a3c351 remove calling MIFdestroy() that is empty 2020-08-20 15:19:49 +02:00
Holger Vogt 75d14b73f4 add the icon also for the console build 2020-08-20 15:19:34 +02:00
Holger Vogt db28c65455 adding the ngspice icon to the MINGW executable 2020-08-20 15:19:21 +02:00
Holger Vogt ba7be26b95 If a g table source contains %, [, nor ] in its name,
replace it by _ in the a instance generated during parsing.
2020-08-20 15:18:40 +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