gimp/libgimpbase
Michael Natterer 86e4b1ef65 Another try to get the signal/dead child recovery stuff right.
2000-05-10  Michael Natterer  <mitch@gimp.org>

	Another try to get the signal/dead child recovery stuff right.

	Could the brave signal crew (TM) (Austin, Garry, Raphael, Tim)
	please do bad tests to the new code? I removed all strange
	constants (SA_NODEFER etc.) and used only glib and POSIX stuff.

	* app/main.c
	* libgimp/gimp.c:
	- Call gimp_signal_private() with no flags to enforce a proper
	  sigaction() behaviour (block signals while handler is active).
	- Removed the reentrancy guards from the handlers.
	- Renamed the handlers.
	- Ignore SIGPIPE in the app and in plugins.
	- Re-introduced the SIGCHLD handler because it should work
	  now. Also added a SIGCHLD handler to libgimp/gimp.c.

	* app/errors.c
	* libgimp/gimp.c: in the signal handler, unblock all signals
	with sigprocmask() before calling g_on_error_query() because
	gdb otherwise inherits the blocked signals and does nothing.
	Wrapped the statements with "if (TRUE) { }" blocks so it's
	easy to make the stack trace a command line option.

	* app/plug_in.c
	* libgimp/gimp.c: listen for G_IO_ERR and G_IO_HUP on the read
	channels. In the app, pop up an error message and clean up the
	plugin. In plugins, clean up and exit.

	* libgimp/gimpwire.c: removed the "plug-in chrashed?" message
	and print the program's name with all error messages.

	* plug-ins/helpbrowser/helpbrowser.c: typo.
2000-05-10 21:21:23 +00:00
..
gimpdatafiles.c Add gimp_ui_init. 2000-04-23 20:27:41 +00:00
gimpdatafiles.h app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the 2000-02-22 15:14:54 +00:00
gimpenv.c fill empty "default" with a "break" (#9431). g_path_is_absolute wants a 2000-04-26 00:17:54 +00:00
gimpenv.h excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimplimits.h changed GIMP_MIN_RESOLUTION to 5e-3, 2000-04-06 18:59:48 +00:00
gimpparasite.c excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimpparasite.h excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimpparasiteio.c excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimpparasiteio.h excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimpprotocol.c gimprc.in replaced "color-cube" by "min-colors". 2000-04-30 18:17:55 +00:00
gimpprotocol.h forgot to actually bump the version number. 2000-04-30 21:16:18 +00:00
gimpsignal.c libgimp/gimpsignal.[ch] don't panic, this is not another signal handling 2000-05-01 16:53:14 +00:00
gimpsignal.h libgimp/gimpsignal.[ch] don't panic, this is not another signal handling 2000-05-01 16:53:14 +00:00
gimpunit.h excluded gserialize.[ch] from the build 2000-02-26 03:41:06 +00:00
gimputils.c The stat() function in the Win32 C runtime doesn't like if directory names 2000-04-11 18:39:31 +00:00
gimputils.h provided gimp_strescape() which is the glib-1.3 g_strescape function 2000-03-12 00:17:30 +00:00
gimpversion.h.in *** empty log message *** 1999-11-17 21:13:50 +00:00
gimpwire.c Another try to get the signal/dead child recovery stuff right. 2000-05-10 21:21:23 +00:00
gimpwire.h added spec file to EXTRA_DIST 1999-12-26 07:54:39 +00:00