1. 01 Nov, 2017 1 commit
  2. 29 May, 2017 1 commit
  3. 31 Jan, 2014 1 commit
  4. 13 Jul, 2013 2 commits
  5. 20 Aug, 2012 2 commits
    • Marc-André Lureau's avatar
      win32: make gio stream cancellable · b9d7b808
      Marc-André Lureau authored
      v2:
       - fix cancellation of concurrent readers
       - replace g_assert() usage with g_warn_if_fail()
      v3:
       - fix indentation
       - fix loop code to not leak (silly me)
      
      https://bugzilla.gnome.org/show_bug.cgi?id=679288
      b9d7b808
    • Marc-André Lureau's avatar
      win32: use overlapped events for streams · 23d80a04
      Marc-André Lureau authored
      Any file handle created with FLAG_OVERLAPPED must have
      ReadFile()/WriteFile() called with an OVERLAPPED structure.
      Failing to do so will give unspecified results, invalid read/write or
      corruption.
      
      Without FLAG_OVERLAPPED, it is not possible to read and write
      concurrently, even with two seperate threads, created by 2 input and
      output gio streams. Also, only with FLAG_OVERLAPPED may an IO
      operation be asynchronous and thus be cancellable.
      
      We may want to call ReOpenFile() to make sure the FLAG is set, but
      this API is only available since Vista+.
      
      According to MSDN doc, adding the OVERLAPPED argument for IO operation
      on handles without FLAG_OVERLAPPED is allowed, and indeed the existing
      test still passes.
      
      v2:
      - update GetLastError() after _g_win32_overlap_wait_result ()
      - split the unrelated ERROR_MORE_DATA handling
      
      https://bugzilla.gnome.org/show_bug.cgi?id=679288
      23d80a04
  6. 21 Feb, 2012 1 commit
  7. 18 Oct, 2011 1 commit
  8. 06 Sep, 2011 1 commit
  9. 26 Nov, 2010 2 commits
  10. 03 Aug, 2010 1 commit
    • Matthias Clasen's avatar
      Fix a possible deadlock · b2715bbc
      Matthias Clasen authored
      the FdSource was calling g_cancellable_disconnect while holding the
      main context lock, which is bad news if the ::cancelled handler is
      trying to get that lock to wake up the mainloop...
      
      Bug 586432
      b2715bbc
  11. 07 Jul, 2010 1 commit
  12. 23 Apr, 2010 1 commit
  13. 30 Jun, 2009 1 commit
  14. 14 May, 2009 1 commit
  15. 20 Apr, 2009 1 commit
  16. 22 Jun, 2008 1 commit
  17. 21 Feb, 2008 1 commit
  18. 18 Dec, 2007 1 commit
  19. 10 Dec, 2007 1 commit
    • 15:08:59  Tim Janik's avatar
      http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html · cc3de68e
      15:08:59 Tim Janik authored
      2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
      
              * let g_warn_if_fail replace g_assert as discussed here:
                http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
      
              * fix bug #502498: Test framework assertion failures should follow
              gcc error format.
      
              * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
              unused now. removed g_assert*() definitions whcih are provided by 
              gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()  
              which are recommended as g_assert/g_assert_not_reached replacements
              for non-test programs.
              added g_warn_message() to implement g_warn_*() macros.
              use emacs-next-error friendly formatting for file:line: for warnings.
      
              * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
              implement g_assert_not_reached() with g_assertion_message() and
              g_assert() in terms of g_assertion_message_expr() so we'll be able to
              provide assertion messages in test logs.
      
              * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
              or g_return_if_fail() where suitable.
      
              * gio/: changed g_assert to g_warn_if_fail.
      
      
      
      svn path=/trunk/; revision=6086
      cc3de68e
  20. 29 Nov, 2007 1 commit
  21. 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
  22. 27 Nov, 2007 1 commit
  23. 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