1. 31 Jan, 2014 1 commit
  2. 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
  3. 13 Jul, 2013 1 commit
  4. 20 Aug, 2012 1 commit
    • 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
  5. 26 Nov, 2010 1 commit
  6. 23 Apr, 2010 1 commit
  7. 14 May, 2009 1 commit
  8. 02 Sep, 2008 1 commit
  9. 01 Jul, 2008 1 commit
    • Cody Russell's avatar
      Moved all relevant typedefs into these files. · 3d93bf69
      Cody Russell authored
      2008-07-01  Cody Russell  <bratsche@gnome.org>
      
              * gio/gioenums.h:
              * gio/giotypes.h:
      	Moved all relevant typedefs into these	files.
      
              * gio/*.[ch]:
      	Updated wrt added files.
      
              Split types into separate file	for easier maintainership. (#538564)
      
      
      svn path=/trunk/; revision=7127
      3d93bf69
  10. 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