1. 18 Jan, 2016 1 commit
    • Philip Withnall's avatar
      gio: Add DTLS interfaces · c3d6934f
      Philip Withnall authored
      Add a new GDtlsConnection interface, plus derived GDtlsClientConnection
      and GDtlsServerConnection interfaces, for implementing Datagram TLS
      support in glib-networking.
      
      A GDtlsConnection is a GDatagramBased, so may be used as a normal
      datagram socket, wrapping all datagrams from a base GDatagramBased in
      DTLS segments.
      
      Test cases are included in the implementation in glib-networking.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=752240
      c3d6934f
  2. 13 Oct, 2015 1 commit
  3. 17 Feb, 2015 1 commit
  4. 30 Jan, 2015 2 commits
  5. 31 Jan, 2014 1 commit
  6. 21 Oct, 2013 1 commit
  7. 17 Oct, 2013 1 commit
    • Colin Walters's avatar
      GSubprocess: New class for spawning child processes · 5b48dc40
      Colin Walters authored
      There are a number of nice things this class brings:
      
      0) Has a race-free termination API on all platforms (on UNIX, calls to
         kill() and waitpid() are coordinated as not to cause problems).
      1) Operates in terms of G{Input,Output}Stream, not file descriptors
      2) Standard GIO-style async API for wait() with cancellation
      3) Makes some simple cases easy, like synchronously spawning a
         process with an argument list
      4) Makes hard cases possible, like asynchronously running a process
         with stdout/stderr merged, output directly to a file path
      
      Much rewriting and code review from Ryan Lortie <desrt@desrt.ca>
      
      https://bugzilla.gnome.org/show_bug.cgi?id=672102
      5b48dc40
  8. 11 Jul, 2013 1 commit
  9. 21 Apr, 2013 1 commit
    • Allison Karlitskaya's avatar
      Introduce GBytesIcon · 9cc222c0
      Allison Karlitskaya authored
      GBytesIcon is an icon that has a GBytes inside of it where the GBytes
      contains some sort of encoded image in a widely-recognised file format.
      Ideally this will be a PNG.
      
      It implements GLoadableIcon, so GTK will already understand how to use
      it, but we will add another patch there to make things more efficient.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=688820
      9cc222c0
  10. 14 Feb, 2013 1 commit
  11. 10 Oct, 2012 1 commit
  12. 19 Apr, 2012 1 commit
  13. 18 Apr, 2012 2 commits
  14. 17 Apr, 2012 1 commit
  15. 26 Jan, 2012 1 commit
  16. 13 Jan, 2012 1 commit
    • Alexander Larsson's avatar
      Initial version of GResource · b87cf491
      Alexander Larsson authored
      GResource is a bundle of files combined into a single binary blog.
      The API lets you access the files the resource contains by
      using resource paths. You can also register resources with a
      global list and access these globally in a merged resource namespace.
      
      The normal way this is used is to link in the resources into your
      application/library and have it be automatically registred.
      
      Resources are compiled from an xml description using
      glib-compile-resources.
      b87cf491
  17. 17 Dec, 2011 1 commit
    • Allison Karlitskaya's avatar
      introduce GRemoteActionGroup · eefd0899
      Allison Karlitskaya authored
      This interfaceifies the extra functions that were on GDBusActionGroup
      for dealing with platform data.
      
      The two main benefits of doing this:
      
        - no longer have to do a silly song and dance in GApplication to avoid
          calling GDBusActionGroup API from non-dbus-aware code
      
        - the interface can be reused by the action group exporter to avoid
          ugly and unbindable hook callbacks
      
      https://bugzilla.gnome.org/show_bug.cgi?id=665737
      eefd0899
  18. 08 Dec, 2011 9 commits
  19. 17 Nov, 2011 1 commit
  20. 14 Nov, 2011 2 commits
  21. 22 Aug, 2011 1 commit
    • Colin Walters's avatar
      GTimeZoneMonitor: Revert addition of this class · 5b68b49b
      Colin Walters authored
      The main rationale for adding it was to avoid having gnome-shell
      mmap'ing /etc/localtime once a second.  However, we can just as easily
      run inotify there, and given no one else was clamoring for a way to
      detect when the time zone changes, I don't see a need for public API
      here - at least not yet.
      
      In the bigger picture, I just don't believe that the vast majority of
      applications are going to go out of their way to instantiate and keep
      around a random GTimeZoneMonitor class.  And if they do, it's has the
      side effect that for other bits of code in the process, local GDateTime
      instances may start varying again!
      
      So, if code can't rely on local GDateTime instances being in a
      consistent state anyways, let's just do that always.  The
      documentation now says that this is the case.  Applications have
      always been able to work in a consistent local time zone by
      instantiating a zone and then using it for GDateTime constructors.
      
      We fix the "gnome-shell stats /etc/localtime once a second" issue by
      using timerfd (in glib) and inotify (in gnome-shell).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=655129
      5b68b49b
  22. 04 Aug, 2011 1 commit
  23. 13 Apr, 2011 1 commit
  24. 08 Apr, 2011 1 commit
  25. 31 Mar, 2011 1 commit
    • Allison Karlitskaya's avatar
      Add GTimeZoneMonitor · e9ce8f23
      Allison Karlitskaya authored
      Monitors /etc/localtime for changes and instructs GTimeZone to drop its
      cache.  Also has a signal for interested 3rd parties.
      e9ce8f23
  26. 15 Dec, 2010 1 commit
    • Matthias Clasen's avatar
      Remove GPeriodic for now · 683a5632
      Matthias Clasen authored
      The necessary review and integration work has not happened, and
      we don't want to enshrine it in this unproven state.
      It will be back when the world is ready for it.
      683a5632
  27. 26 Nov, 2010 3 commits
    • Dan Winship's avatar
      Add initial TLS (SSL) support to gio · 59d62726
      Dan Winship authored
      This adds an extension point for TLS connections to gio, with a
      gnutls-based implementation in glib-networking.
      
      Full TLS support is still a work in progress; the current API is
      missing some features, and parts of it may still be changed before
      2.28.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=588189
      59d62726
    • Dan Winship's avatar
      make GProxyConnection public, as GTcpWrapperConnection · a1690339
      Dan Winship authored
      GProxyConnection is a class that was added for proxy support;
      g_socket_client_connect() returns a GSocketConnection, but in some
      cases (eg, encrypted SOCKS), GProxy might return a GIOStream that is
      not a GSocketConnection. In that case, GSocketClient would wrap the
      stream up in a GProxyConnection, which is a subclass of
      GSocketConnection but uses the input/output streams of the wrapped
      connection.
      
      GTlsConnection is not a GSocketConnection, so it has the same problem,
      so it will need the same treatment. Rename the class to
      GTcpWrapperStream, and make it public, so people can extract the base
      stream from it when necessary.
      
      (This is not ideal and GSocketClient will need to be revisited as an
      API at some point...)
      
      https://bugzilla.gnome.org/show_bug.cgi?id=588189
      a1690339
    • Dan Winship's avatar
      Add pollable input/output streams · c20c2c0a
      Dan Winship authored
      When interfacing with APIs that expect unix-style async I/O, it is
      useful to be able to tell in advance whether a read/write is going to
      block. This adds new interfaces GPollableInputStream and
      GPollableOutputStream that can be implemented by a GInputStream or
      GOutputStream to add _is_readable/_is_writable, _create_source, and
      _read_nonblocking/_write_nonblocking methods.
      
      Also, implement for GUnixInput/OutputStream and
      GSocketInput/OutputStream
      
      https://bugzilla.gnome.org/show_bug.cgi?id=634241
      c20c2c0a