Holger Vogt
1bcfe886f3
GPL instead of BSD
2020-10-10 12:22:27 +02:00
Holger Vogt
468769df16
Update on various licences for XSPICE code models
2020-10-10 12:22:12 +02:00
Holger Vogt
2335639848
License 3-clause BSD
...
Update to license information
2020-10-10 12:22:01 +02:00
Holger Vogt
df0ffcfc2b
XSPICE is Public Domain
...
Update to license info
2020-10-10 12:21:35 +02:00
Holger Vogt
cc5369816b
XSPICE is in the public domain.
...
Update to the license information.
2020-10-10 12:21:22 +02:00
Holger Vogt
617ed01a5b
licensi info:
...
Public Domain
Georgia Tech Research Corporation
Atlanta, Georgia 30332
PROJECT A-8503
2020-10-10 12:21:10 +02:00
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
2020-08-20 15:22:48 +02:00
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
2020-08-20 15:19:49 +02:00
Holger Vogt
6f03ac77af
add missing library info
2020-05-08 00:00:12 +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
3c8a2d914d
enable MINGW compilation by adding path information for config.h
2020-05-01 18:47:32 +02:00
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
2020-05-01 18:38:45 +02:00
Jim Monte
004b27bd92
remove path error, fix file extension
2020-04-27 10:25:35 +02:00
Jim Monte
18d825e9c1
#includes modified
2020-04-27 10:24:22 +02:00
Jim Monte
381d4ec43d
#includes modified
2020-04-27 10:23:59 +02:00
Jim Monte
ed8221afde
Initialize pointer
2020-04-27 10:22:24 +02:00
Jim Monte
68e34f5a94
error messages, callback function moved
2020-04-27 10:21:14 +02:00
Jim Monte
2cac192814
initialize variables, add 'default:'
2020-04-27 10:20:48 +02:00
Holger Vogt
050cea146e
correct zeroing of allnodes array
2020-04-25 10:24:25 +02:00
Holger Vogt
833751ab3f
fix typo
2020-04-25 10:24:02 +02:00
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
2020-04-21 20:01:49 +02:00
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
2020-04-21 20:01:06 +02:00
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
2020-04-21 20:00:49 +02:00
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
2020-04-21 20:00:35 +02:00
Holger Vogt
bbb0007466
add function EVTswitch_plot() to switch the event data
...
according tothe (analog) plot. Called from plot_setcur()
in vetors.c, when command 'setplot xxx' is given.
2020-04-21 20:00:17 +02:00
Holger Vogt
d72b4c415f
get the plot name into the event job
2020-04-21 19:59:58 +02:00
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
...
required when any run is called a second time.
2020-04-21 19:59:43 +02:00
dwarning
f19da3bd79
case correction for library name
2020-04-04 14:18:38 +02:00
Holger Vogt
c076c932b4
enable MINGW linking to -lShlwapi,
...
which failed during making 32 bit shared lib
2020-04-04 14:17:54 +02:00
Holger Vogt
96976ee49d
prevent non-English characters (e.g. Umlaute),
...
which gtkwave does not understand
2020-04-04 14:12:05 +02:00
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
2020-03-15 08:51:16 +01:00
dwarning
5e4c7a255e
update .gitignore and make clean
2020-03-15 08:51:15 +01:00
Holger Vogt
eab10ee065
prevent double closing of file (Linux does not NULL fp during fclose)
2020-03-15 08:51:14 +01:00
Holger Vogt
57e647c704
enable "null allowed" for reset input
2020-03-15 08:51:13 +01:00
Holger Vogt
28c0fbf397
Zero fp, this fixes bug no #475
2020-03-15 08:51:04 +01:00
Holger Vogt
c77da1870d
Fixed compiler warnings related to const, unreachable code, and an empty translation unit.
2020-03-15 08:51:03 +01:00
Holger Vogt
5bd45c0451
make path to dstring.c independent from build directory
2020-03-15 08:51:03 +01:00
Holger Vogt
5bc9a320eb
Revert "correct the path to dstring.c"
...
This reverts commit 28002be150 .
2020-03-15 08:51:03 +01:00
dwarning
129b219ed2
correct the path to dstring.c
2020-03-15 08:51:03 +01:00
Holger Vogt
5e76758e57
update to cmpp by J. Monte
2020-03-15 08:51:02 +01:00
Jim Monte
955dda749d
Jim Monte's update to cmpp
2020-03-15 08:51:02 +01:00
Holger Vogt
375a92d788
Fix of buffer overrun in interpolation at endpoint of interval.
...
Made cfunc.mod for tables more modular.
Prevented buffer overrun when building file name.
Added error checking for allocation failures in many locations.
Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte
1867f5b727
Fix of buffer overrun in interpolation at endpoint of interval. Made cfunc.mod for tables more modular. Prevented buffer overrun when building file name. Added error checking for allocation failures in many locations. Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte
b4757f934b
Added support for DSTRING in code modules with makefile builds
2020-03-15 08:51:02 +01:00
Jim Monte
b967caaabb
File path built more efficiently and now allows an arbitrary length. Prevented strdup() of NULL if path too long. Similarly prevented fopen with a NULL file name. Added function to determine Windows absolute paths properly. Fixed numerous issues that were caused by including Windows system header due to conflicting names. Generally a CMPP_ prefix was added as a "namespace". Also used the standard C bool type instead of defining one.
2020-03-15 08:51:01 +01:00
Jim Monte
7990a82f02
Formatting and comments added
2020-03-15 08:51:01 +01:00
Jim Monte
3a2a05f7b0
Removed unnecessary comparisons when lowercasing a string.
2020-03-15 08:51:01 +01:00
Holger Vogt
53613f4e69
deprecated gets() -> fgets()
2020-03-15 08:50:56 +01:00
Holger Vogt
39ce1f77d2
patch provided by Vito (see
...
https://sourceforge.net/p/ngspice/discussion/133842/thread/31aa24261e/ )
2020-03-15 08:50:56 +01:00
Holger Vogt
9452121954
Remove memory leaks in cmpp.
...
Two small ones (a few bytes) are still there, difficult to assess.
2020-03-15 08:50:51 +01:00