glib/gio
David Zeuthen f4add8f0fa Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14  David Zeuthen  <davidz@redhat.com>

	* Makefile.am:
	* gio.symbols:
	* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
	(g_mount_eject), (g_mount_eject_finish):
	* gmount.h:
	* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
	(get_volume_for_uuid), (get_mount_for_uuid),
	(g_union_volume_monitor_class_init),
	(get_default_native_type_with_exclude), (get_default_native_type),
	(get_native_type), (update_native_type),
	(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
	* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
	(g_unix_mount_can_eject), (eject_unmount_cb),
	(eject_unmount_read_error), (eject_unmount_do),
	(g_unix_mount_unmount), (g_unix_mount_eject),
	(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
	* gunixmounts.c: (g_unix_mount_guess_can_eject),
	(g_unix_mount_point_guess_can_eject):
	* gunixmounts.h:
	* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
	(g_unix_volume_can_eject), (g_unix_volume_get_drive),
	(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
	(g_unix_volume_mount), (g_unix_volume_eject),
	(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
	* gunixvolumemonitor.c: (get_volume_for_uuid),
	(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
	(update_mounts):
	* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
	(g_volume_eject), (g_volume_eject_finish):
	* gvolume.h:
	* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
	(g_volume_monitor_get_mount_for_uuid):
	* gvolumemonitor.h:

	Provide eject() on both GMount and GVolume and utility functions
	to guess whether a GUnixMountPoint or GUnixMountEntry should be
	ejected. Introduce the concept of UUID's and wire it into GVolume
	and GMount and provide API on GVolumeMonitor to find such
	instances. Also handle the case where an external
	GNativeVolumeMonitor fails to initialize. Lock around the
	_g_get_mount_for_mount_path() function such that volume monitor
	implementations won't have to do locking themselves.



svn path=/trunk/; revision=6140
2007-12-17 09:31:08 +00:00
..
fam Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
inotify Fixed build when srcdir != builddir, made mkenums and friends use 2007-12-14 14:28:35 +00:00
xdgmime Added. Added. Added. Added. 2007-11-28 12:39:07 +00:00
abicheck.sh Fix copy-and-paste leftovers 2007-11-28 18:45:08 +00:00
ChangeLog Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gappinfo.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gappinfo.h More doc fixups 2007-12-15 06:05:40 +00:00
gasynchelper.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
gasynchelper.h gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
gasyncresult.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gasyncresult.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gbufferedinputstream.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
gbufferedinputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gbufferedoutputstream.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gbufferedoutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gcancellable.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
gcancellable.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gcontenttype.c Use hash iterators 2007-12-15 04:39:26 +00:00
gcontenttype.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gcontenttypeprivate.h gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
gdatainputstream.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gdatainputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gdataoutputstream.c Some more property work 2007-12-01 06:12:45 +00:00
gdataoutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gdesktopappinfo.c Documentation updates 2007-12-17 07:04:51 +00:00
gdesktopappinfo.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gdirectorymonitor.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gdirectorymonitor.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gdrive.c Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gdrive.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gdummyfile.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
gdummyfile.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
gfile.c Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
gfile.h Documentation updates 2007-12-17 07:04:51 +00:00
gfileattribute-priv.h Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
gfileattribute.c Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
gfileattribute.h Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
gfileenumerator.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
gfileenumerator.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfileicon.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gfileicon.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfileinfo.c Documentation updates 2007-12-17 07:04:51 +00:00
gfileinfo.h Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
gfileinputstream.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
gfileinputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfilemonitor.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gfilemonitor.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfilenamecompleter.c Added. Added. Added. Added. 2007-11-28 12:39:07 +00:00
gfilenamecompleter.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfileoutputstream.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
gfileoutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfilterinputstream.c Rename all struct members named: read, write, close, truncate, or mount to 2007-12-05 10:38:03 +00:00
gfilterinputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gfilteroutputstream.c Rename all struct members named: read, write, close, truncate, or mount to 2007-12-05 10:38:03 +00:00
gfilteroutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gicon.c Doc improvements 2007-12-01 04:38:29 +00:00
gicon.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
ginputstream.c g_push/pop_current_cancellable -> g_cancellable_push/pop_current 2007-12-13 16:48:06 +00:00
ginputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gio-marshal.list gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
gio.h Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gio.symbols Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gioenumtypes.c.template Fix typo. 2007-12-01 23:49:34 +00:00
gioenumtypes.h.template Templates for enum registration 2007-12-01 01:53:00 +00:00
gioerror.c More documentation cleanup and filling in missing information, bringing 2007-12-09 15:51:12 +00:00
gioerror.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
giomodule-priv.h Added. 2007-12-05 11:10:21 +00:00
giomodule.c Fix warnings 2007-12-05 11:05:49 +00:00
giomodule.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gioscheduler.c Documentation updates 2007-12-17 07:04:51 +00:00
gioscheduler.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gloadableicon.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gloadableicon.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
glocaldirectorymonitor.c Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
glocaldirectorymonitor.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
glocalfile.c Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
glocalfile.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
glocalfileenumerator.c Avoid warning spew if error == NULL 2007-12-07 11:47:31 +00:00
glocalfileenumerator.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
glocalfileinfo.c Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
glocalfileinfo.h Move GFileAttributeValue to a private header, as its sort of ugly. 2007-12-14 15:56:56 +00:00
glocalfileinputstream.c [gio compiles and links on win32, not sure how much already works] ifdefed 2007-12-08 12:01:06 +00:00
glocalfileinputstream.h s/parent/parent_instance/ in GObjects 2007-12-12 14:33:20 +00:00
glocalfilemonitor.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
glocalfilemonitor.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
glocalfileoutputstream.c Clean up all flags enums to not have _FLAGS in them Make the names of some 2007-12-14 11:07:31 +00:00
glocalfileoutputstream.h s/parent/parent_instance/ in GObjects 2007-12-12 14:33:20 +00:00
glocalvfs.c [start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include 2007-12-03 22:37:44 +00:00
glocalvfs.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
gmemoryinputstream.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gmemoryinputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gmemoryoutputstream.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
gmemoryoutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gmount.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gmount.h Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gmountoperation.c Clean up all flags enums to not have _FLAGS in them Make the names of some 2007-12-14 11:07:31 +00:00
gmountoperation.h More doc fixups 2007-12-15 06:05:40 +00:00
gmountprivate.h Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gnativevolumemonitor.c Removed unnecessary file 2007-11-28 16:01:59 +00:00
gnativevolumemonitor.h s/parent/parent_instance/ in GObjects 2007-12-12 14:33:20 +00:00
goutputstream.c Clean up all flags enums to not have _FLAGS in them Make the names of some 2007-12-14 11:07:31 +00:00
goutputstream.h Clean up all flags enums to not have _FLAGS in them Make the names of some 2007-12-14 11:07:31 +00:00
gpollfilemonitor.c More coding style fixes 2007-11-30 05:11:25 +00:00
gpollfilemonitor.h Removed unnecessary file 2007-11-28 16:01:59 +00:00
gseekable.c Rename all struct members named: read, write, close, truncate, or mount to 2007-12-05 10:38:03 +00:00
gseekable.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gsimpleasyncresult.c Rename gioscheduler calls so they all use the g_io_schedule_ prefix. Split 2007-12-14 09:42:59 +00:00
gsimpleasyncresult.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gthemedicon.c Fix up a bunch of details in the docs. 2007-12-12 12:19:02 +00:00
gthemedicon.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gunionvolumemonitor.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunionvolumemonitor.h Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gunixinputstream.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
gunixinputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gunixmount.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunixmount.h Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gunixmounts.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunixmounts.h Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunixoutputstream.c http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00
gunixoutputstream.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gunixvolume.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunixvolume.h Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gunixvolumemonitor.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gunixvolumemonitor.h Rework how volumes, drives and volume monitoring is done. Previosly the 2007-12-11 21:23:55 +00:00
gvfs.c Added. 2007-12-05 11:10:21 +00:00
gvfs.h Only allow including <gio/gio.h> from apps 2007-12-14 10:35:24 +00:00
gvolume.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gvolume.h Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gvolumemonitor.c Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gvolumemonitor.h Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
gwin32appinfo.c [gio compiles and links on win32, not sure how much already works] ifdefed 2007-12-08 12:01:06 +00:00
gwin32appinfo.h gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
Makefile.am Provide eject() on both GMount and GVolume and utility functions to guess 2007-12-17 09:31:08 +00:00
makefile.msc follow lib naming convention working implementation for user and group 2007-12-09 22:10:40 +00:00
makegioalias.pl Added. Added. Added. Added. 2007-11-28 12:39:07 +00:00
pltcheck.sh http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html 2007-12-10 14:07:42 +00:00