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
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
dwarning
b4d3cc8646
ancient configure options removed
16 years ago
rlar
a9ca8d7331
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
16 years ago
rlar
b22f75c9f4
collect hcomp() in "hcomp.h"
16 years ago
h_vogt
28622b5a75
remove bug no. 3080398
16 years ago
h_vogt
8db3c17bc0
welcome message, version 22
16 years ago
rlar
60ff9aaef2
muffle `nested extern' warnings, and drop a handcrafted malloc prototype
16 years ago
rlar
8851f67efd
Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL)
16 years ago
rlar
a76cd1e104
textual replacement VT_* to CP_*, to avoid conflict in the windows world
16 years ago
pnenzi
1ada4d3530
Finish first batch of imports from espice.
17 years ago