Holger Vogt
bcec3cb5e3
Updating links to ngspice web pages
3 years ago
Holger Vogt
a6c28e44ff
Add info on shared library
3 years ago
Holger Vogt
7e8e9ef001
Update copyright info to 2022
4 years ago
Holger Vogt
b86c85f85b
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.
5 years ago
Holger Vogt
f83bbb0d0f
delete 'myvec' upon 'quit'
6 years ago
Holger Vogt
8be33bb361
clear all variables upon 'quit'
6 years ago
Holger Vogt
05f3d21c3e
reset control structures (commands saved) upon 'quit'
6 years ago
Holger Vogt
dd5d1f1868
new copyright notice added
6 years ago
Jim Monte
3b0b944128
#include sequence, error message
6 years ago
Holger Vogt
d3866a6315
Spice_Notice is never NULL
6 years ago
Holger Vogt
b3fdff7bc0
Spice_Build_Date is never NULL
6 years ago
Holger Vogt
c4e23989f3
Don't us atexit(), but delete memory during 'quit'
6 years ago
Holger Vogt
46adeb5eaa
plug memory leaks for the 'plot' command
6 years ago
Holger Vogt
b27d0e701c
allow very short version information with new options -v and -d
7 years ago
Holger Vogt
0828a8e706
new command bg_ctrl initializing the .control executing thread
pthreads: using detached threads only
keep controls during 'reset', delete only upon 'quit'
7 years ago
Holger Vogt
fc3ffb2e3c
free global string errMsg
8 years ago
Holger Vogt
7d12b4897c
clean-up function com_quit
8 years ago
Holger Vogt
fa60f7d21d
avoid memory leak in X11
8 years ago
Holger Vogt
06df6ca8e7
avoid pre-matuire exit (byemessage not called)
8 years ago
Holger Vogt
d1a8637a29
store deck for command mc_source for each circuit in ft_curckt->ci_mcdeck
remove this storage during remcirc
keep most recent deck in recent_deck
8 years ago
Holger Vogt
7e611e7b57
remove the circuits upon quit
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
h_vogt
5c3a6a3829
new command 'mc_source' to internally reload circuit
We store a copy of the whole deck in 'mc_deck'.
'mc_source' can be used to re-read this copy.
10 years ago
h_vogt
5d82d1b04a
misccoms.c, com_quit(), don't free memory, unless shared ngspice
Traversing all linked memory structures to free their memory
can be a somewhat lengthy business, especially in xspice,
which is not worth the effort when we simply want to exit()
Long delays have been reported in certain cases.
For developers and for the usage of such tools as valgrind,
we still free all the memory if 'set ngdebug' is given.
9 years ago
h_vogt
fc83bd099a
miscoms.c, mscvars.c, spinit.in, variable 'askquit' instead of 'noaskquit'
10 years ago
rlar
7bc6374138
cleanup, use '\0' instead of 0 in char context
11 years ago
h_vogt
28dcedbfa6
misccoms.c: add more deleting function in 'quit' for shared ngspice
13 years ago
h_vogt
62324299e1
misccoms.c: special return value for shared module
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
rlar
dfe8342b91
invoke com_remcirc() in com_quit()
14 years ago
rlar
998c7f2934
disable some more cleanup code in com_quit()
destroy_ivars() is reported to freeze
14 years ago
rlar
d1d4eb11a5
invoke cleanup functions in com_quit()
trying to get the valgrind reports down.
14 years ago
rlar
71240d19be
free spice_init_devices() allocated memory in com_quit()
14 years ago
rlar
811bf5664a
destroy `const' plot in com_quit()
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
3d7ab6a297
cleanup keyword databases on proram termination
14 years ago
rlar
84283b43d4
cleanup ivars() related globals on program termination
14 years ago
rlar
6c01089be1
plug memory leak in x11.c
try to obey the Xt toolkit protocol when closing widgets and application
14 years ago
rlar
9390a9a9ec
rewrite com_quit()
emphasize user confirmation
and if we are going to remove dangling circuits,
then do so unconditionally
14 years ago
rlar
6ae6223250
misccoms.c, com_quit(), implement exitcode
14 years ago
rlar
5436de5bab
misccoms.c, tiny rewrite
14 years ago
rlar
8dcf132199
misccoms.c, shrink scope
14 years ago
rlar
cc32eae60b
misccoms.c, collect byemessage()
14 years ago
rlar
b9c0159cd6
misccoms.c, noask
14 years ago
rlar
41de8d95ff
misccoms.c, collapse strings
14 years ago
rlar
11878ee4ad
misccoms.c, use strncasecmp()
14 years ago
rlar
5f3b453a30
misccoms.c, indentation and whitespace cleanup
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
h_vogt
57c9b44c73
inproved error messages in pipe mode
15 years ago