1. 03 May, 2010 1 commit
  2. 08 Mar, 2010 1 commit
  3. 30 Jan, 2010 1 commit
  4. 13 Oct, 2009 1 commit
  5. 06 Jul, 2009 1 commit
    • David Zeuthen's avatar
      Allow interaction when unmounting mounts · 99a1c473
      David Zeuthen authored
      For details, see bug 587482. The new api:
      
       - Provide new _with_operation() variants of all unmount and eject methods
      
       - Add GMountOperation::show-processes signal
         - this can be used to show processes blocking an unmount operation
      
       - Deprecate all unmount and eject methods
      
       - Add g_drive_can_start_degraded() method
         - this is to avoid auto-starting degraded drives
      
       - Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation
         - these ops were recently added and not yet public API so it's fine
           to change how they work
      
       - Provide a way to poll mountable files, e.g. g_file_poll_mountable()
      
       - Add some missing file attributes for mountable files
        - G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE
          - needed for the GDU Nautilus extensions to format a volume
        - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED:
          - mimics g_drive_can_start_degraded()
        - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL:
          - mimics g_drive_can_poll_for_media()
        - G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC
          - mimics g_drive_is_media_check_automatic()
      99a1c473
  6. 23 Jun, 2009 3 commits
  7. 15 Jun, 2009 1 commit
    • David Zeuthen's avatar
      Bug 585591 – Starting/stopping drives · fae755e0
      David Zeuthen authored
      Add API for starting/stopping drives. This new API will enable
      GVolumeMonitor and GVfs implementations to add support for the
      following features
      
       1. Powering down external hard disk enclosures / drives
      
       2. Starting/stopping multi-disk devices (such as RAID/btrfs/ZFS)
      
       3. Connecting/disconnecting iSCSI devices
      
       4. Reacting to the user pressing e.g. the "remove drive" button on
          a IBM/Lenovo Ultrabay: http://www.thinkwiki.org/wiki/Ultrabay
      
      See the bug for the corresponding GVfs and Nautilus changes.
      fae755e0
  8. 23 Feb, 2009 1 commit
  9. 16 Feb, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 505042 – add file attribute for actually used file size in bytes · e8c63584
      Allison Karlitskaya authored
      2009-02-13  Ryan Lortie  <desrt@desrt.ca>
      
      	Bug 505042 – add file attribute for actually used file size in bytes
      
      	* gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
      	"standard::allocated-size"
      	* gfileattribute.c: document
      	* glocalfileinfo.c: set the allocated size from st_blocks * 512
      
      
      svn path=/trunk/; revision=7865
      e8c63584
  10. 21 Oct, 2008 1 commit
  11. 02 Sep, 2008 1 commit
  12. 01 Jul, 2008 1 commit
    • Cody Russell's avatar
      Moved all relevant typedefs into these files. · 3d93bf69
      Cody Russell authored
      2008-07-01  Cody Russell  <bratsche@gnome.org>
      
              * gio/gioenums.h:
              * gio/giotypes.h:
      	Moved all relevant typedefs into these	files.
      
              * gio/*.[ch]:
      	Updated wrt added files.
      
              Split types into separate file	for easier maintainership. (#538564)
      
      
      svn path=/trunk/; revision=7127
      3d93bf69
  13. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent code from · d922bf63
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
      	code from being checked in that breaks the build of applications
      	which use G_DISABLE_SINGLE_INCLUDES.
      
      	* makegioalias.pl: make the alias file include "glib.h" instead of
      	"glibconfig.h".
      
      	* gio.symbols: whitespace change to force regeneration of the
      	alias file after above script change.
      
      	* gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
      
      	* gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
      
      	* gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
      
      	* glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
      
      
      svn path=/trunk/; revision=6879
      d922bf63
  14. 06 Mar, 2008 1 commit
  15. 23 Feb, 2008 1 commit
  16. 21 Feb, 2008 1 commit
    • David Zeuthen's avatar
      Implement this function by moving bits from glocalfileinfo.c · bfda430e
      David Zeuthen authored
      2008-02-21  David Zeuthen  <davidz@redhat.com>
      
      	* glocalfileinfo.c: (_g_local_file_info_get):
      	* gcontenttype.c:
      	(g_content_type_get_icon): Implement this function by
      	moving bits from glocalfileinfo.c
      	(g_content_type_get_description): Unalias before getting
      	description (#517687)
      
      	* gfile.c: (g_file_class_init),
      	(g_file_query_filesystem_info_async),
      	(g_file_query_filesystem_info_finish),
      	(query_filesystem_info_data_free),
      	(query_filesystem_info_async_thread),
      	(g_file_real_query_filesystem_info_async),
      	(g_file_real_query_filesystem_info_finish):
      	* gfile.h: Implement async version of
      	g_file_query_filesystem_info()
      
      	* gfileinfo.h: Add new attributes for filesystem::use-preview
      
      	* gio.symbols: Update
      
      	* gthemedicon.c: (g_themed_icon_append_name):
      	* gthemedicon.h: Add new new convenience function.
      
      	* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
      	(get_mounts), (get_volumes), (get_connected_drives),
      	(get_volume_for_uuid), (get_mount_for_uuid),
      	(g_union_volume_monitor_init), (populate_union_monitor),
      	(g_volume_monitor_get), (_g_mount_get_for_mount_path),
      	(g_volume_monitor_adopt_orphan_mount):
      	* gvolumemonitor.c:
      	* gvolumemonitor.h: Use recursive locks so it's safe for volume
      	monitor implementations to call into the main volume monitor. Also
      	separate object initialization and volume monitor initialization
      	such that non-native volume monitors can properly adopt their
      	mounts away.
      
      
      svn path=/trunk/; revision=6550
      bfda430e
  17. 13 Feb, 2008 1 commit
    • Allison Karlitskaya's avatar
      add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT · 8cb3db68
      Allison Karlitskaya authored
      2008-02-13  Ryan Lortie  <desrt@desrt.ca>
      
              * docs/reference/gio/gio-sections.txt: add
              G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
      
      2008-02-13  Ryan Lortie  <desrt@desrt.ca>
      
              * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
      
      
      svn path=/trunk/; revision=6511
      8cb3db68
  18. 11 Feb, 2008 1 commit
  19. 06 Jan, 2008 2 commits
  20. 03 Jan, 2008 1 commit
  21. 20 Dec, 2007 1 commit
  22. 14 Dec, 2007 2 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
    • 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
  23. 12 Dec, 2007 2 commits
    • Alexander Larsson's avatar
      Make attribute namespace separator "::" instead of ":". Use - instead of _ · 1c57670f
      Alexander Larsson authored
      2007-12-12  Alexander Larsson  <alexl@redhat.com>
      
              * gfileattribute.c:
              * gfileinfo.[ch]:
              * glocalfile.c:
              * glocalfileinfo.c:
      	Make attribute namespace separator "::" instead of ":".
      	Use - instead of _ as separator in attribute names.
      
      
      svn path=/trunk/; revision=6104
      1c57670f
    • Alexander Larsson's avatar
      Fix up a bunch of details in the docs. · 41d1650c
      Alexander Larsson authored
      2007-12-12  Alexander Larsson  <alexl@redhat.com>
      
              * gappinfo.[ch]:
              * gasyncresult.c:
              * gbufferedinputstream.c:
              * gbufferedoutputstream.c:
              * gcancellable.c:
              * gcontenttype.c:
              * gdatainputstream.[ch]:
              * gdesktopappinfo.c:
              * gdirectorymonitor.c:
              * gfile.[ch]:
              * gfileattribute.[ch]:
              * gfileicon.[ch]:
              * gfileinfo.h:
              * gfileinputstream.h:
              * gfilemonitor.[ch]:
              * gfileoutputstream.[ch]:
              * gfilterinputstream.h:
              * gfilteroutputstream.h:
              * gicon.h:
              * gioscheduler.c:
              * gloadableicon.[ch]:
              * gmemoryinputstream.c:
              * gmountoperation.c:
              * gthemedicon.c:
      	Fix up a bunch of details in the docs.
      
              * glocalfileinfo.c:
      	CR/LF -> LF fixups
      
      
      svn path=/trunk/; revision=6100
      41d1650c
  24. 28 Nov, 2007 2 commits
  25. 27 Nov, 2007 2 commits
  26. 26 Nov, 2007 1 commit
    • Alexander Larsson's avatar
      gio/ docs/reference/gio Merged gio-standalone into glib. · 37813437
      Alexander Larsson authored
      2007-11-26  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * configure.in:
              * gio-2.0-uninstalled.pc.in:
              * gio-2.0.pc.in: 
              * gio-unix-2.0-uninstalled.pc.in:
              * gio-unix-2.0.pc.in:
      	* gio/
      	* docs/reference/gio
      	Merged gio-standalone into glib.
      	
              * glib/glibintl.h:
              * glib/gutils.c:
      	Export glib_gettext so that gio can use it
      	Add P_ (using same domain for now)
      	Add I_ as g_intern_static_string
      
      
      svn path=/trunk/; revision=5941
      37813437