1. 01 Oct, 2015 1 commit
  2. 11 Dec, 2014 1 commit
  3. 31 Jan, 2014 1 commit
  4. 13 Jan, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 12 Dec, 2012 1 commit
  7. 26 May, 2012 1 commit
  8. 20 Feb, 2012 1 commit
  9. 18 Jan, 2012 1 commit
  10. 16 Jan, 2012 6 commits
  11. 15 Aug, 2010 1 commit
  12. 20 Jul, 2010 1 commit
    • David Zeuthen's avatar
      Bug 617483 – Credentials passing · 7eba4134
      David Zeuthen authored
       - Make GCredentials instance and class structures private so it can't
         be subclassed and we don't have to worry about ABI compat
         issues. This also allows us to get rid of the GCredentialsPrivate
       - Add a GCredentialsType enumeration that is used whenever exchanging
         pointers with the user. This allows us to support OSes with
         multiple native credential types. In particular, it allows
         supporting OSes where the native credential evolves or even changes
         over time.
       - Add g_socket_get_credentials() method.
       - Add tests for g_socket_get_credentials(). Right now this is in the
         GDBus peer-to-peer test case but we can change that later.
       - Move GTcpConnection into a separate gtk-doc page as was already
         half-done with GUnixConnection. Also finish the GUnixConnection
         move and ensure send_credentials() and receive_credentials()
         methods are in the docs. Also nuke comment about GTcpConnection
         being empty compared to its superclass.
      Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
  13. 23 Apr, 2010 1 commit
  14. 30 Jun, 2009 1 commit
    • Dan Winship's avatar
      Add GCancellables to GSocket ops · 53beca95
      Dan Winship authored
      Currently, to implement cancellability correctly, all synchronous
      calls to GSocket must be preceded by a g_socket_condition_wait() call,
      (even though GSocket does this internally as well) and all
      asynchronous calls must do occasional manual
      g_cancellable_is_cancelled() checks. Since it's trivial to do these
      checks inside GSocket instead, and we don't particularly want to
      encourage people to use the APIs non-cancellably, move the
      cancellation support into GSocket and simplify the existing callers.
  15. 12 Jun, 2009 1 commit
  16. 20 May, 2009 1 commit
    • Alexander Larsson's avatar
      Remove protocol names, instead use an enum with common protocols · 5cd86fbd
      Alexander Larsson authored
      The whole protocol name thing is pretty weird. The getprotobyname functions
      seem to only specify one mapping for name <-> ids, so all families/types
      must use the same values. Plus the values used for the protocols are
      standardized by IANA, so are always the same.
      So, we drop using names for protocols, intead introducing an enum with
      a few commonly availible and used protocols.
  17. 19 May, 2009 2 commits
  18. 18 May, 2009 2 commits
  19. 15 May, 2009 1 commit
    • Alexander Larsson's avatar
      Store protocol by id, add lookup function for name · f662e7e8
      Alexander Larsson authored
      We want to use the protocol id for lookup in the GSocketConnection
      code, so we expose it. We also make GSocket store the protocol
      as an int for less memory use and to allow platform specific protocols
      to be specified.
      Also added g_socket_protocol_id_lookup_by_name() to allow the higher
      level code to specify the name by string, and g_socket_get_protocol_name()
      to get it.
  20. 14 May, 2009 1 commit
    • 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.