Commit Graph

54 Commits

Author SHA1 Message Date
h_vogt c687c3763b main.c, misccoms.c, preliminary fix to bug no. 315 longjmp creates segfault under Windows 10 (VS and MINGW), when WM_CLOSE is activated. Set signal handler function to cp_evloop, which leads to com_quit here, undo this function again in com_quit to avoid loops if segfault occurs in com_quit. 2016-11-05 20:32:54 +01:00
h_vogt 802c7c3261 misccoms.c, clear controls upon 'quit' 2016-11-05 20:32:40 +01:00
h_vogt 35fabfc845 misccoms.c, enable freeing more memory allocations upon 'quit'
reduces valgrind 'still reachable' allocations
will finally allow using 'virtual leak detector' on Windows
2016-11-05 20:32:40 +01:00
h_vogt 16da4a20fd misccoms.c, call function to delete some structures in sharedspice.c upon 'quit' 2016-11-05 20:32:18 +01:00
h_vogt f42e49770b 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.
2016-11-05 20:26:54 +01:00
h_vogt fc83bd099a miscoms.c, mscvars.c, spinit.in, variable 'askquit' instead of 'noaskquit' 2016-02-07 17:37:42 +01:00
rlar 7bc6374138 cleanup, use '\0' instead of 0 in char context 2015-05-02 10:24:54 +02:00
h_vogt 28dcedbfa6 misccoms.c: add more deleting function in 'quit' for shared ngspice 2013-12-31 16:19:06 +01:00
h_vogt 62324299e1 misccoms.c: special return value for shared module 2013-12-31 16:06:45 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar dfe8342b91 invoke com_remcirc() in com_quit() 2012-10-06 15:20:17 +02:00
rlar 998c7f2934 disable some more cleanup code in com_quit()
destroy_ivars() is reported to freeze
2012-09-25 21:31:45 +02:00
rlar d1d4eb11a5 invoke cleanup functions in com_quit()
trying to get the valgrind reports down.
2012-09-22 10:53:05 +02:00
rlar 71240d19be free spice_init_devices() allocated memory in com_quit() 2012-09-21 21:19:44 +02:00
rlar 811bf5664a destroy `const' plot in com_quit() 2012-09-21 21:19:44 +02:00
rlar 7454a6d486 src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...

checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar 3d7ab6a297 cleanup keyword databases on proram termination 2012-08-23 21:19:15 +02:00
rlar 84283b43d4 cleanup ivars() related globals on program termination 2012-08-23 21:09:25 +02:00
rlar 6c01089be1 plug memory leak in x11.c
try to obey the Xt toolkit protocol when closing widgets and application
2012-08-19 19:18:34 +02:00
rlar 9390a9a9ec rewrite com_quit()
emphasize user confirmation

and if we are going to remove dangling circuits,
then do so unconditionally
2012-08-15 20:15:15 +02:00
rlar 6ae6223250 misccoms.c, com_quit(), implement exitcode 2012-06-12 21:26:30 +02:00
rlar 5436de5bab misccoms.c, tiny rewrite 2012-06-12 21:26:30 +02:00
rlar 8dcf132199 misccoms.c, shrink scope 2012-06-12 21:26:30 +02:00
rlar cc32eae60b misccoms.c, collect byemessage() 2012-06-12 21:26:30 +02:00
rlar b9c0159cd6 misccoms.c, noask 2012-06-12 21:26:30 +02:00
rlar 41de8d95ff misccoms.c, collapse strings 2012-06-12 21:26:30 +02:00
rlar 11878ee4ad misccoms.c, use strncasecmp() 2012-06-12 21:26:30 +02:00
rlar 5f3b453a30 misccoms.c, indentation and whitespace cleanup 2012-06-12 21:26:30 +02:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
h_vogt 57c9b44c73 inproved error messages in pipe mode 2011-08-10 16:39:46 +00:00
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
dwarning b4d3cc8646 ancient configure options removed 2010-11-06 13:23:25 +00:00
rlar a9ca8d7331 collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h" 2010-10-16 15:48:39 +00:00
rlar b22f75c9f4 collect hcomp() in "hcomp.h" 2010-10-16 15:47:16 +00:00
h_vogt 28622b5a75 remove bug no. 3080398 2010-10-04 20:58:00 +00:00
h_vogt 8db3c17bc0 welcome message, version 22 2010-09-25 14:15:26 +00:00
rlar 60ff9aaef2 muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
rlar 8851f67efd Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
pnenzi 1ada4d3530 Finish first batch of imports from espice. 2009-01-16 15:35:00 +00:00
saintel 6fe0cebe58 *** empty log message *** 2008-11-22 10:31:46 +00:00
dwarning 1bd68dcab3 no more INT_NOISE 2008-11-19 19:47:58 +00:00
gdiso 60d7ac039a *** empty log message *** 2007-05-01 03:40:17 +00:00
sjborley cb247a15fb Added support for the BSD licensed editline library (libedit). 2005-05-06 23:43:46 +00:00
pnenzi b03a70760b Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y). 2004-01-10 21:39:36 +00:00
pnenzi 7d0f2f2276 Improved the "version" command to show compilation switches. Updated
documentation to reflect changes.
2003-08-24 16:45:15 +00:00
pnenzi 8686a73047 Added readline patch (support for command history). 2003-08-14 19:21:10 +00:00