nautilus/libnautilus
Darin Adler 5df94af197 reviewed by: John Sullivan <sullivan@eazel.com>
A change to reduce the number of orphaned processes when Nautilus
	is not terminated cleanly. This is an architecture problem, and
	this hack only partly addresses it.

	Add code to NautilusViewFrame, NautilusView, and NautilusThrobber
	to destroy components when the corresponding widgets are
	destroyed.  Since X destroys windows when processes go away, this
	tells us immediately when processes disappear. This does not help
	in the case where Nautilus happens to die after creating a
	component, but before attaching the widget to its parent.

	This is not a complete solution to the orphaned processes problem
	because of 2 other categories of orphaned processes:

	    1) the adapter factory
	    2) non-NautilusView components, which won't get the advantage
	       of this fix because it's in Nautilus (a fix could go into
	       Bonobo, or into each component)

	* libnautilus/nautilus-bonobo-workarounds.h:
	* libnautilus/nautilus-bonobo-workarounds.c:
	(set_gone_flag), (nautilus_bonobo_object_force_destroy),
	(object_is_gone), (remote_check_data_free),
	(remote_check_timed_callback), (remote_check_destroy_callback),
	(nautilus_bonobo_object_call_when_remote_object_disappears),
	(force_destroy_cover),
	(nautilus_bonobo_object_force_destroy_when_owner_disappears):
	New code, implementing the machinery to notice when remote objects
	go away and to self-destruct when they do. Also code that does the
	timeout that used to be in NautilusViewFrame.

	* libnautilus/nautilus-view.c: (widget_destroyed_callback),
	(nautilus_view_construct_from_bonobo_control): Connect to the
	widget's destroy signal, and self-destruct when it happens.

	* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_destroy), (null_pointer_callback),
	(nautilus_throbber_initialize): Destroy the BonoboControl when the
	throbber (a widget) is destroyed. Requires noticing when the
	control goes away (the old code just had a stale pointer to it).

	* src/nautilus-view-frame.c: (destroy_view),
	(nautilus_view_frame_destroy), (view_frame_failed_callback),
	(queue_view_frame_failed), (view_frame_failed_cover),
	(check_socket_gone_idle_callback), (check_socket_gone_callback),
	(attach_view): Use the new machinery instead of doing it
	ourselves, but sadly had to add some fairly complex code to catch
	the case where the socket is destroyed because the plug is gone.
2001-03-29 01:39:07 +00:00
..
.cvsignore Add -ui.xml.h generated files to .cvsignore. 2000-12-14 04:10:24 +00:00
libnautilus.h Cut over to HEAD of Bonobo. This check-in includes all the changes 2000-10-05 23:47:54 +00:00
Makefile.am reviewed by: Maciej Stachowiak <mjs@eazel.com> 2001-01-30 01:47:21 +00:00
nautilus-bonobo-ui.h reviewed by: Darin Adler <darin@eazel.com> 2000-11-17 02:22:16 +00:00
nautilus-bonobo-workarounds.c reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-29 01:39:07 +00:00
nautilus-bonobo-workarounds.h reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-29 01:39:07 +00:00
nautilus-clipboard-ui.xml reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-23 02:34:16 +00:00
nautilus-clipboard.c reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-23 02:34:16 +00:00
nautilus-clipboard.h reviewed by: Pavel Cisler <pavel@eazel.com> 2000-11-22 02:08:48 +00:00
nautilus-distributed-undo.idl Tell everyone that we are back on bonobo HEAD. Make sure Nautilus doesn't 2000-11-04 00:48:52 +00:00
nautilus-idle-queue.c reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-08 19:53:30 +00:00
nautilus-idle-queue.h reviewed by: Maciej Stachowiak <mjs@eazel.com> 2001-01-30 01:47:21 +00:00
nautilus-undo-private.h The main change here is revamping the undo manager. 2000-06-07 02:47:10 +00:00
nautilus-undo-transaction.c reviewed by: John Sullivan <sullivan@eazel.com> 2001-02-23 02:08:46 +00:00
nautilus-undo-transaction.h The main change here is revamping the undo manager. 2000-06-07 02:47:10 +00:00
nautilus-undo.c Tell everyone that we are back on bonobo HEAD. Make sure Nautilus doesn't 2000-11-04 00:48:52 +00:00
nautilus-undo.h The main change here is revamping the undo manager. 2000-06-07 02:47:10 +00:00
nautilus-view-component.idl reviewed by: John Sullivan <sullivan@eazel.com> 2001-02-27 22:25:42 +00:00
nautilus-view-standard-main.c reviewed by: Gene Z. Ragan <gzr@eazel.com> 2001-02-19 20:46:26 +00:00
nautilus-view-standard-main.h reviewed by: John Sullivan <sullivan@eazel.com> 2001-01-31 00:27:01 +00:00
nautilus-view.c reviewed by: John Sullivan <sullivan@eazel.com> 2001-03-29 01:39:07 +00:00
nautilus-view.h reviewed by: John Sullivan <sullivan@eazel.com> 2001-02-27 22:25:42 +00:00
README Added a place to put cut-n-paste code. Cut-n-pasted the e-paned widget 1997-01-02 07:38:17 +00:00

README for nautilus/libnautilus

This library, libnautilus, is ALL you need to link with to create
a nautilus component.