1. 16 Mar, 2019 1 commit
    • LRN's avatar
      GIO: Convert ENOTSOCK to G_IO_ERROR_INVALID_ARGUMENT · 5df0337f
      LRN authored
      instead of using a generic G_IO_ERROR_FAILED error code.
      This is in line with what W32 part of the code is doing with WSAENOTSOCK.
      
      This fix will break two tests in libsoup, which were written following
      the implementation and thus expect G_IO_ERROR_FAILED when attempting to
      do stuff with no-longer-valid socket descriptors.
      5df0337f
  2. 03 Aug, 2017 1 commit
  3. 29 May, 2017 1 commit
  4. 07 Dec, 2016 1 commit
  5. 01 Oct, 2015 1 commit
  6. 08 Sep, 2015 1 commit
  7. 02 Dec, 2014 2 commits
  8. 29 Nov, 2014 1 commit
    • Dan Winship's avatar
      gsocket: add G_IO_ERROR_CONNECTION_CLOSED · 967fedc0
      Dan Winship authored
      Add G_IO_ERROR_CONNECTION_CLOSED as an alias for
      G_IO_ERROR_BROKEN_PIPE, and also return it on ECONNRESET.
      
      It doesn't really make sense to try to distinguish EPIPE and
      ECONNRESET at the GLib level, since the exact choice of which error
      gets returned in what conditions depends on the OS. Given that, we
      ought to map the two errors to the same value, and since we're already
      mapping EPIPE to G_IO_ERROR_BROKEN_PIPE, we need to map ECONNRESET to
      that too. But the existing name doesn't really make sense for sockets,
      so we add a new name.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=728928
      967fedc0
  9. 30 Mar, 2014 2 commits
    • Dan Winship's avatar
      gio: move Winsock error mapping to g_io_error_from_win32_error() · 3da5d590
      Dan Winship authored
      Rather than having special code in gsocket.c, handle Winsock errors
      along with other Win32 errors in gioerror.c
      
      Also, reference g_win32_error_message() from the
      g_io_error_from_win32_error() docs, and update the
      g_win32_error_message() docs to clarify that it works with Winsock
      error codes too.
      3da5d590
    • Dan Winship's avatar
      gioerror: map some more values to G_IO_ERROR_NOT_SUPPORTED · 9fc35dbf
      Dan Winship authored
      Map EPROTONOSUPPORT, ESOCKTNOSUPPORT, EPFNOSUPPORT and EAFNOSUPPORT to
      G_IO_ERROR_NOT_SUPPORTED in g_io_error_from_errno(). (GSocket's
      socket_io_error_from_errno() already did this with the corresponding
      Winsock errors.)
      
      Also map EOPNOTSUPP, which on Linux is the same as ENOTSUP, but may
      not be on other platforms.
      
      Also, rewrite the EAGAIN/EWOULDBLOCK section to use the simpler idiom
      used by EEXIST/ENOTEMPTY and (now) ENOTSUP/EOPNOTSUPP.
      9fc35dbf
  10. 20 Mar, 2014 1 commit
  11. 20 Feb, 2014 1 commit
  12. 31 Jan, 2014 1 commit
  13. 29 Nov, 2012 1 commit
  14. 28 Aug, 2012 2 commits
  15. 19 Aug, 2010 1 commit
  16. 07 Jul, 2010 1 commit
  17. 19 Apr, 2010 1 commit
    • Tor Lillqvist's avatar
      Add GWin32InputStream and GWin32OutputStream classes · 9af8b832
      Tor Lillqvist authored
      Correspond to GUnixInputStream and GUnixOutputStream. No true async
      support though. But that is how the Win32 API is, for files not
      explicitly opened for so-called overlapped IO.
      
      The API to create these streams takes Win32 HANDLEs. Not file
      descriptors, because file descriptors are specific to the C library
      used. The user code and GLib might be using different C libraries.
      
      Also add a test program for the new classes, and a gio-windows-2.0.pc
      file.
      9af8b832
  18. 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.
      145cec3c
  19. 12 Feb, 2009 1 commit
  20. 29 Jan, 2009 1 commit
  21. 08 Jan, 2009 1 commit
  22. 22 Jun, 2008 1 commit
  23. 21 Feb, 2008 1 commit
  24. 18 Dec, 2007 1 commit
  25. 09 Dec, 2007 1 commit
    • A. Walton's avatar
      More documentation cleanup and filling in missing information, bringing · ab69ee29
      A. Walton authored
      2007-12-09  A. Walton  <awalton@svn.gnome.org>
      
      	* gdesktopappinfo.c:
      	* gdrive.c:
      	* gdrive.h:
      	* gfile.c:
      	* gfile.h:
      	* gfileattribute.c:
      	* gfileenumerator.c:
      	* gioerror.c:
      	* gioscheduler.c:
      	* gioscheduler.h:
      	* gloadableicon.c:
      	* gmemoryinputstream.c:
      	* gmemoryoutputstream.c:
      	* goutputstream.h:
      	* gsimpleasyncresult.c:
      	More documentation cleanup and filling in missing information, 
      bringing
      	GIO to 99% symbol coverage.
      
      svn path=/trunk/; revision=6077
      ab69ee29
  26. 28 Nov, 2007 2 commits
    • Alexander Larsson's avatar
      Added. Added. Added. Added. · 7f328023
      Alexander Larsson authored
      2007-11-28  Alexander Larsson  <alexl@redhat.com>
      
              * Makefile.am:
              * abicheck.sh: Added.
              * makegioalias.pl: Added.
              * pltcheck.sh: Added.
              * gio.symbols: Added.
      	* *.c:
              * inotify/*.c
      	Initial work on adding symbol handling.
      
      	* gvfs.h:
      	Correct ifdef guard name
      
              * fam/Makefile.am:
              * inotify/Makefile.am:
              * xdgmime/Makefile.am:
      	Include toplevel Makefile.decl
      
      
      svn path=/trunk/; revision=5972
      7f328023
    • Matthias Clasen's avatar
      Another round of trivial doc fixes · 61582bd9
      Matthias Clasen authored
      svn path=/trunk/; revision=5970
      61582bd9
  27. 27 Nov, 2007 1 commit
  28. 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