1. 19 Dec, 2007 1 commit
    • David Zeuthen's avatar
      Introduce g_volume_monitor_adopt_orphan_mount() function. Also add signals · 88679aba
      David Zeuthen authored
      2007-12-19  David Zeuthen  <davidz@redhat.com>
      
      	Introduce g_volume_monitor_adopt_orphan_mount() function. Also
      	add signals 'disconnected' and 'eject-button' on GDrive. Add
      	signal 'removed' on GVolume and 'unmounted' on GMount.
      
      	* gdrive.c: (g_drive_base_init):
      	* gdrive.h:
      	* gfile.c: (g_file_mount_mountable),
      	(g_file_mount_enclosing_volume):
      	* gio.symbols:
      	* gioerror.h:
      	* gmount.c: (g_mount_base_init):
      	* gmount.h:
      	* gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
      	* gunixvolumemonitor.c: (update_volumes), (update_mounts):
      	* gvolume.c: (g_volume_base_init), (g_volume_mount):
      	* gvolume.h:
      	* gvolumemonitor.h:
      
      
      svn path=/trunk/; revision=6153
      88679aba
  2. 18 Dec, 2007 5 commits
  3. 17 Dec, 2007 10 commits
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 3f29cf24
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=6147
      3f29cf24
    • Matthias Clasen's avatar
      Add some very modest beginnings · 747bb6be
      Matthias Clasen authored
      svn path=/trunk/; revision=6146
      747bb6be
    • Matthias Clasen's avatar
      Stub of a migration chapter Stub of an overview Overview diagram taken · 66ff85f3
      Matthias Clasen authored
      2007-12-17  Matthias Clasen <mclasen@redhat.com>
      
              * gio/migration.xml: Stub of a migration chapter
              * gio/overview.xml: Stub of an overview
              * gio/gvfs-overview.{odg,png}: Overview diagram taken
              from Alex Guadec slides.
      
              * gio/Makefile.am:
              * gio/gio-docs.xml: Include these
      
      
      svn path=/trunk/; revision=6145
      66ff85f3
    • Alexander Larsson's avatar
      Add is_supported() to GNativeVolumeMonitorClass so that we can avoid · c4e3cfbf
      Alexander Larsson authored
      2007-12-17  Alexander Larsson  <alexl@redhat.com>
      
              * gnativevolumemonitor.h:
              * gunionvolumemonitor.c:
              * gunixvolumemonitor.c:
      	Add is_supported() to GNativeVolumeMonitorClass so
      	that we can avoid having to create an object to see
      	if the backend is supported at runtime.
      	Also add name member and an env var to pick a specific
      	volume monitor backend.
      	
              * gmountprivate.h:
              * glocalfile.c:
      	Add cancellable to _g_mount_get_for_mount_path()
      	
              * glocaldirectorymonitor.c:
              * glocalfilemonitor.c:
      	Avoid loading and unloading modules while sorting.
      
      
      
      svn path=/trunk/; revision=6144
      c4e3cfbf
    • Matthias Clasen's avatar
      Namespace waste reduction, move some g_get_unix_mount functions to the · feb5258c
      Matthias Clasen authored
      2007-12-17  Matthias Clasen  <mclasen@redhat.com>
      
              * gio.symbols:
              * gunixmounts.[hc]: Namespace waste reduction, move some
              g_get_unix_mount functions to the g_unix_mount namespace.
      
              * gunixmounts.c:
              * gunixvolumemonitor.c:
              * glocalfile.c:
              * glocaldirectorymonitor.c: Update all callers.
      
              * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
      
      
      svn path=/trunk/; revision=6143
      feb5258c
    • Alexander Larsson's avatar
      Add doc comments about what GFile operations are guaranteed to not block. · 19e895d8
      Alexander Larsson authored
      2007-12-17  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.c:
      	Add doc comments about what GFile operations are
      	guaranteed to not block.
      
      
      svn path=/trunk/; revision=6142
      19e895d8
    • Alexander Larsson's avatar
      Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult) · 6ad96b36
      Alexander Larsson authored
      2007-12-17  Alexander Larsson  <alexl@redhat.com>
      
              * gunixmounts.c:
      	Add missing #ifdef fixing OSX build.
      	(#503334, patch from Richard Hult)
      
      
      
      svn path=/trunk/; revision=6141
      6ad96b36
    • David Zeuthen's avatar
      Provide eject() on both GMount and GVolume and utility functions to guess · f4add8f0
      David Zeuthen authored
      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
      f4add8f0
    • Matthias Clasen's avatar
      Updates · 96a0e238
      Matthias Clasen authored
      svn path=/trunk/; revision=6139
      96a0e238
    • Matthias Clasen's avatar
      Documentation updates · 2e3f4899
      Matthias Clasen authored
      svn path=/trunk/; revision=6138
      2e3f4899
  4. 16 Dec, 2007 1 commit
  5. 15 Dec, 2007 7 commits
  6. 14 Dec, 2007 12 commits
    • Alexander Larsson's avatar
      Move GFileAttributeValue to a private header, as its sort of ugly. · f5063650
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
      	* Makefile.am:
              * gfileattribute.[ch]:
              * gfileattribute-priv.h:
      	Move GFileAttributeValue to a private header, as
      	its sort of ugly.
      	
              * gfile.[ch]:
      	Make set_attribute take a type + a pointer instead
      	of a GFileAttributeValue.
      	
              * gfileinfo.[ch]:
      	Fix up for above changes.
      	Add g_file_info_get_attribute_data to get
      	all info in one call, g_file_info_get_attribute_status
      	to get the status and g_file_info_get_attribute_as_string.
      	
              * gio.symbols:
              * glocalfile.c:
              * glocalfileinfo.[ch]:
      	Update for changes
      	
              * gunixmounts.c:
      	Make _guess_type static.
      
      
      svn path=/trunk/; revision=6129
      f5063650
    • Yevgen Muntyan's avatar
      Say Makefile.am instead of gio/Makefile.am in changelog · 2ceae92e
      Yevgen Muntyan authored
      svn path=/trunk/; revision=6128
      2ceae92e
    • Yevgen Muntyan's avatar
      Moved the ChangeLog entry to gio/ChangeLog · 887e4588
      Yevgen Muntyan authored
      svn path=/trunk/; revision=6127
      887e4588
    • Yevgen Muntyan's avatar
      Fixed build when srcdir != builddir, made mkenums and friends use · ee5aacbc
      Yevgen Muntyan authored
      2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gio/Makefile.am:
      	* gio/inotify/Makefile.am: Fixed build when srcdir != builddir,
      	made mkenums and friends use temporary files to avoid leaving
      	empty generated files on failure (#503470).
      
      
      svn path=/trunk/; revision=6126
      ee5aacbc
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 35f17490
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=6125
      35f17490
    • Stéphane Raimbault's avatar
      Updated French translation by Robert-André Mauchin and Stéphane · cc450e46
      Stéphane Raimbault authored
      2007-12-14  Stéphane Raimbault  <stephane.raimbault@gmail.com>
      
      	* fr.po: Updated French translation by Robert-André Mauchin and
      	Stéphane Raimbault.
      
      svn path=/trunk/; revision=6124
      cc450e46
    • Stéphane Raimbault's avatar
      Updated file list (gio). · b0cbc5fd
      Stéphane Raimbault authored
      2007-12-14  Stéphane Raimbault  <stephane.raimbault@gmail.com>
      
      	* POTFILES.in: Updated file list (gio).
      
      svn path=/trunk/; revision=6122
      b0cbc5fd
    • Alexander Larsson's avatar
      Fix AKS -> ASK typo · 3abace81
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * gmountoperation.h:
      	Fix AKS -> ASK typo
      
      
      svn path=/trunk/; revision=6120
      3abace81
    • Alexander Larsson's avatar
      Clean up all flags enums to not have _FLAGS in them Make the names of some · 4cb6eab8
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * gappinfo.h:
              * gfile.[ch]:
              * gfileattribute.[ch]:
              * gio.symbols:
              * glocalfile.c:
              * glocalfileoutputstream.c:
              * gmountoperation.[ch]:
              * goutputstream.[ch]:
      	Clean up all flags enums to not have _FLAGS in them
      	Make the names of some of the enums better.
      
              * glocalfileinfo.c:
      	Fix warning
      
      
      svn path=/trunk/; revision=6119
      4cb6eab8
    • Michael Natterer's avatar
      fix g_io_scheduler symbol names. · 0f8f5432
      Michael Natterer authored
      2007-12-14  Michael Natterer  <mitch@imendio.com>
      
      	* gio.symbols: fix g_io_scheduler symbol names.
      
      
      svn path=/trunk/; revision=6118
      0f8f5432
    • Alexander Larsson's avatar
      Only allow including <gio/gio.h> from apps · ced29277
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * fam/Makefile.am:
              * gappinfo.h:
              * gasyncresult.h:
              * gbufferedinputstream.h:
              * gbufferedoutputstream.h:
              * gcancellable.h:
              * gcontenttype.h:
              * gdatainputstream.h:
              * gdataoutputstream.h:
              * gdesktopappinfo.h:
              * gdirectorymonitor.h:
              * gdrive.h:
              * gfile.h:
              * gfileattribute.h:
              * gfileenumerator.h:
              * gfileicon.h:
              * gfileinfo.h:
              * gfileinputstream.h:
              * gfilemonitor.h:
              * gfilenamecompleter.h:
              * gfileoutputstream.h:
              * gfilterinputstream.h:
              * gfilteroutputstream.h:
              * gicon.h:
              * ginputstream.h:
              * gio.h:
              * gioerror.h:
              * giomodule.h:
              * gioscheduler.h:
              * gloadableicon.h:
              * gmemoryinputstream.h:
              * gmemoryoutputstream.h:
              * gmount.h:
              * gmountoperation.h:
              * goutputstream.h:
              * gseekable.h:
              * gsimpleasyncresult.h:
              * gthemedicon.h:
              * gunixinputstream.h:
              * gunixmounts.h:
              * gunixoutputstream.h:
              * gvfs.h:
              * gvolume.h:
              * gvolumemonitor.h:
              * inotify/Makefile.am:
      	Only allow including <gio/gio.h> from apps
      
      
      svn path=/trunk/; revision=6117
      ced29277
    • Alexander Larsson's avatar
      Rename gioscheduler calls so they all use the g_io_schedule_ prefix. Split · 3db93c01
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * gioscheduler.[ch]:
              * gsimpleasyncresult.c:
      	Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
      	Split out the send_to_mainloop call into two versions instead
      	of having the block argument.
      
      
      svn path=/trunk/; revision=6116
      3db93c01
  7. 13 Dec, 2007 4 commits