Holger Vogt
df0ffcfc2b
XSPICE is Public Domain
Update to license info
6 years ago
Holger Vogt
cc5369816b
XSPICE is in the public domain.
Update to the license information.
6 years ago
Holger Vogt
617ed01a5b
licensi info:
Public Domain
Georgia Tech Research Corporation
Atlanta, Georgia 30332
PROJECT A-8503
6 years ago
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
6 years ago
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
6 years ago
Holger Vogt
6f03ac77af
add missing library info
6 years ago
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.
6 years ago
Holger Vogt
3c8a2d914d
enable MINGW compilation by adding path information for config.h
6 years ago
Holger Vogt
3c2bece87f
prevent MINGW compiler warnings
6 years ago
Jim Monte
004b27bd92
remove path error, fix file extension
6 years ago
Jim Monte
18d825e9c1
#includes modified
6 years ago
Jim Monte
381d4ec43d
#includes modified
6 years ago
Jim Monte
ed8221afde
Initialize pointer
6 years ago
Jim Monte
68e34f5a94
error messages, callback function moved
6 years ago
Jim Monte
2cac192814
initialize variables, add 'default:'
6 years ago
Holger Vogt
050cea146e
correct zeroing of allnodes array
6 years ago
Holger Vogt
833751ab3f
fix typo
6 years ago
Holger Vogt
bad2a4e467
Guard XSPICE plot switching against circuit being removed already
6 years ago
Holger Vogt
ae2d207344
don't forget to free jobs->statistics[i]
6 years ago
Holger Vogt
3b5c272096
free mor data in jobs struct. Avoid memory leak upon 'quit' command.
6 years ago
Holger Vogt
bc0cef9371
remove all data enlisted in the jobs structure
6 years ago
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.
6 years ago
Holger Vogt
d72b4c415f
get the plot name into the event job
6 years ago
Holger Vogt
b356b00014
Fixes bugs 476, 486: Reset code model init flag,
required when any run is called a second time.
6 years ago
dwarning
f19da3bd79
case correction for library name
6 years ago
Holger Vogt
c076c932b4
enable MINGW linking to -lShlwapi,
which failed during making 32 bit shared lib
6 years ago
Holger Vogt
96976ee49d
prevent non-English characters (e.g. Umlaute),
which gtkwave does not understand
6 years ago
Holger Vogt
2f23c58585
plug a memory leak (pll-xspice.cir)
6 years ago
dwarning
5e4c7a255e
update .gitignore and make clean
6 years ago
Holger Vogt
eab10ee065
prevent double closing of file (Linux does not NULL fp during fclose)
6 years ago
Holger Vogt
57e647c704
enable "null allowed" for reset input
6 years ago
Holger Vogt
28c0fbf397
Zero fp, this fixes bug no #475
6 years ago
Holger Vogt
c77da1870d
Fixed compiler warnings related to const, unreachable code, and an empty translation unit.
6 years ago
Holger Vogt
5bd45c0451
make path to dstring.c independent from build directory
6 years ago
Holger Vogt
5bc9a320eb
Revert "correct the path to dstring.c"
This reverts commit 28002be150 .
6 years ago
dwarning
129b219ed2
correct the path to dstring.c
6 years ago
Holger Vogt
5e76758e57
update to cmpp by J. Monte
6 years ago
Jim Monte
955dda749d
Jim Monte's update to cmpp
6 years ago
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.
6 years ago
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.
6 years ago
Jim Monte
b4757f934b
Added support for DSTRING in code modules with makefile builds
6 years ago
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.
6 years ago
Jim Monte
7990a82f02
Formatting and comments added
6 years ago
Jim Monte
3a2a05f7b0
Removed unnecessary comparisons when lowercasing a string.
6 years ago
Holger Vogt
53613f4e69
deprecated gets() -> fgets()
6 years ago
Holger Vogt
39ce1f77d2
patch provided by Vito (see
https://sourceforge.net/p/ngspice/discussion/133842/thread/31aa24261e/ )
6 years ago
Holger Vogt
9452121954
Remove memory leaks in cmpp.
Two small ones (a few bytes) are still there, difficult to assess.
6 years ago
Holger Vogt
29b2799c22
plug a memory leak by CALLBACK,
deleting locally malloced memory
6 years ago
Holger Vogt
e89a92f944
prevent referencing a NULL pointer
free the loc pointer and NULL its origin STATIC_VAR (locdata)
(that translates to mif_private->inst_var[0]->element[0].pvalue)
6 years ago
Holger Vogt
2f396187fa
Better indentation of message
7 years ago