1. 15 Apr, 2010 1 commit
  2. 14 Mar, 2010 1 commit
  3. 01 Mar, 2010 1 commit
    • Alexander Larsson's avatar
      Remove GUtf8InputStream for now · 2bfddf16
      Alexander Larsson authored
      It turns out that the way this worked did not work out for the current
      main usecase (gedit) due to issues with how this is best integrated
      with GtkTextView. So, in order to not have to support an unused non-ideal
      API forever we remove this before its been in a stable release.
      The basic feature seems to have some utility though, so we hope for it
      to eventually return in a better form.
  4. 22 Feb, 2010 1 commit
  5. 12 Jan, 2010 1 commit
    • Alexander Larsson's avatar
      Add support for lazy loading of giomodules · 488bede1
      Alexander Larsson authored
      Adds an optional query method to giomodules which should return all
      possible extension points the module may implement.
      Then we add a new call g_io_modules_scan_all_in_directory() similar to
      g_io_modules_load_all_in_directory() that doesn't return all loaded
      modules, thus allowing lazy loading.
      In g_io_modules_scan_all_in_directory we look for an optional
      giomodule.cache file and use the information in that to avoid
      loading modules until they are needed for an extension point.
  6. 06 Dec, 2009 1 commit
  7. 30 Nov, 2009 1 commit
  8. 24 Nov, 2009 1 commit
  9. 19 Nov, 2009 1 commit
  10. 18 Nov, 2009 1 commit
  11. 19 Aug, 2009 1 commit
    • Benjamin Otte's avatar
      Add g_cancellable_release_fd() · 63426886
      Benjamin Otte authored
      This patch only adds the function. The function is a NOP.
      See the API documentation for a rationale.
      Part of: Bug 591388 - number of GCancellables available is too limited
  12. 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
          - needed for the GDU Nautilus extensions to format a volume
          - mimics g_drive_can_start_degraded()
          - mimics g_drive_can_poll_for_media()
          - mimics g_drive_is_media_check_automatic()
  13. 01 Jul, 2009 1 commit
  14. 23 Jun, 2009 3 commits
  15. 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.
  16. 12 Jun, 2009 1 commit
  17. 25 May, 2009 1 commit
  18. 20 May, 2009 5 commits
  19. 19 May, 2009 2 commits
  20. 15 May, 2009 2 commits
  21. 14 May, 2009 3 commits
    • Alexander Larsson's avatar
      Import GInitable, GSocket and dependencies from gnio · 145cec3c
      Alexander Larsson authored
      This adds:
      GInitable - failable object constructor interface
      GAsyncInitable - async failable object constructor interface
      GSocket - Platform independent lowlevel berkely socket style object
      GSocketControlMessage - For passing control messages over GSocket
      GUnixFDMessage - unix fd passing socket control message
      Some changes were done during the import from gnio to make things
      work in glib. For instance, types were moved to other headers, header
      file boiler plate were updated to glib style and gio.symbols stuff
      was added.
    • Alexander Larsson's avatar
      Add g_network_address_parse · 33c00e5c
      Alexander Larsson authored
      This is useful if you want to allow users to specify
      the hostname and optionally a port.
    • Alexander Larsson's avatar
      Add the new GFile ops to gio.symbols · 80a484ad
      Alexander Larsson authored
      This adds all the symbols related to GFile GIOStream support that was
      recently added.
  22. 13 May, 2009 2 commits
  23. 22 Apr, 2009 3 commits
    • Dan Winship's avatar
      GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectable · 9a3d18d2
      Dan Winship authored
      Higher-level wrappers around GResolver. GSocketConnectable provides an
      interface for synchronously or asynchronously iterating multiple
      socket addresses, with GNetworkAddress and GNetworkService providing
      interfaces based on hostname and SRV record resolution.
      Part of #548466.
    • Dan Winship's avatar
      Add GResolver, a glib-ish interface to DNS · c94d3f92
      Dan Winship authored
      GResolver provides asynchronous (and synchronous-but-cancellable) APIs
      for resolving hostnames, reverse-resolving IP addresses back to
      hostnames, and resolving SRV records. Part of #548466.
    • Dan Winship's avatar
      Add network address and socket types · 68fc0556
      Dan Winship authored
      Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX
      domain socket addresses under UNIX). This does not include code for
      actual socket I/O.
      Originally from "gnio". Much of the code was written by Christian
      Kellner, Samuel Cormier-Iijima, and Ryan Lortie.
      Part of #548466.
  24. 20 Apr, 2009 1 commit
    • Alexander Larsson's avatar
      Add helpers for connecting/disconnecting to cancelled signal · 0001014c
      Alexander Larsson authored
      There are race conditions when connecting and disconnecting from the
      "cancelled" signal on GCancellable which you need to do when
      implementing cancellable operations. This adds helper functions that
      avoid these races and mentions these races in the docs. (#572844)
  25. 17 Feb, 2009 1 commit
  26. 28 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568575 – _async functions for GDataInputStream · 129e86cf
      Allison Karlitskaya authored
      2009-01-28  Ryan Lortie  <desrt@desrt.ca>
              Bug 568575 – _async functions for GDataInputStream
              * gdatainputstream.h:
              * gdatainputstream.c: add _async versions of read_line and read_until.
              * gio.symbols:
              * ../docs/reference/gio/gio-sections.txt: add new functions
              * tests/sleepy-stream.c: new test case for async read line
              * tests/Makefile.am: add new test
      svn path=/trunk/; revision=7835
  27. 21 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568394 – dropping the last reference to a stream filter closes the · a9c978a3
      Allison Karlitskaya authored
      2009-01-20  Ryan Lortie  <desrt@desrt.ca>
              Bug 568394 – dropping the last reference to a stream filter closes the
              base stream
              * gfilterinputstream.h:
              * gfilterinputstream.c: add "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gfilteroutputstream.h:
              * gfilteroutputstream.c: add a "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
              before closing the base stream.  fix invalid source tag comparison in
              close_async (was comparing to flush_async).
              * ../docs/reference/gio/gio-sections.txt:
              * gio.symbols: add
              * tests/filter-streams.c: new test cases
              * tests/Makefile.am: add new test
              * tests/.gitignore: add new test
      svn path=/trunk/; revision=7825