1. 22 Mar, 2019 1 commit
  2. 15 Mar, 2019 1 commit
  3. 29 May, 2017 1 commit
  4. 04 May, 2017 1 commit
  5. 13 Apr, 2017 3 commits
  6. 22 Nov, 2016 1 commit
  7. 12 Oct, 2016 1 commit
  8. 29 Jun, 2016 1 commit
  9. 11 Jan, 2016 1 commit
  10. 17 Feb, 2015 2 commits
  11. 21 Oct, 2014 2 commits
    • Allison Karlitskaya's avatar
      docs: explain inconsistency of _{read,write}_all() · 223b5f75
      Allison Karlitskaya authored
      These functions are inconsistent with our normal conventions in that
      they set an output variable to a specified value, even in the case that
      an error is thrown.
      
      Document very clearly that this should be considered exceptional.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=737451
      223b5f75
    • Allison Karlitskaya's avatar
      Add g_input_stream_read_all_async() · 76b890d0
      Allison Karlitskaya authored
      Add an asynchronous version of _read_all().
      
      This API is not fully consistent with the normal expectations of a
      non-asynchronous version.  Consistency between the sync and async version is
      probably more important.
      
      The API will still bind correctly, but access to all functionality will
      not be available: specifically, in the case of an error, higher level
      languages will be unable to determine how many bytes were successfully
      read before the error.  Most users will probably not want to use this
      information anyway, so this is OK -- and if they do need the
      information, then they can just write the loop for themselves.
      
      Heavily based on a patch from Ignacio Casal Quinteiro.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=737451
      76b890d0
  12. 08 Jul, 2014 1 commit
  13. 04 Jul, 2014 1 commit
  14. 20 Feb, 2014 1 commit
  15. 08 Feb, 2014 1 commit
  16. 31 Jan, 2014 1 commit
  17. 29 Sep, 2013 1 commit
    • Mike Ruprecht's avatar
      GInputStream: Add g_input_stream_async_read_is_via_threads() · 94a232a4
      Mike Ruprecht authored
      In implementing a better g_output_stream_splice_async() and possibly
      other situtations it's helpful to know whether the input stream's
      read function internally uses threads. If it and the output stream's
      write async functions use threads, then the splice function could
      spawn a single thread for better efficiency.
      
      This patch adds a function to determine whether an input stream's
      g_input_stream_read_async() function internally uses threads.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=691581
      94a232a4
  18. 24 Jun, 2013 2 commits
  19. 16 Jan, 2013 1 commit
  20. 13 Jan, 2013 2 commits
  21. 18 Dec, 2012 1 commit
  22. 10 Jul, 2012 3 commits
  23. 24 May, 2012 1 commit
    • Dan Winship's avatar
      gio: add GBytes-based input/output stream methods · 800d6ff1
      Dan Winship authored
      Using a caller-supplied buffer for g_input_stream_read() doesn't
      translate well to the semantics of many other languages, and using a
      non-refcounted buffer for read_async() and write_async() makes it
      impossible to manage the memory correctly currently in
      garbage-collected languages.
      
      Fix both of these issues by adding a new set of methods that work with
      GBytes objects rather than plain buffers.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=671139
      800d6ff1
  24. 27 Apr, 2012 1 commit
  25. 17 Apr, 2012 1 commit
    • Dan Winship's avatar
      gio: use GPollable* to implement fallback read_async/write_async · 00ee06e6
      Dan Winship authored
      If a GInputStream does not provide a read_async() implementation, but
      does implement GPollableInputStream, then instead of doing
      read-synchronously-in-a-thread, just use
      g_pollable_input_stream_read_nonblocking() and
      g_pollable_input_stream_create_source() to implement an async read in
      the same thread. Similarly for GOutputStream.
      
      Remove a bunch of existing read_async()/write_async() implementations
      that are basically equivalent to the new fallback method.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=673997
      00ee06e6
  26. 04 Apr, 2012 1 commit
  27. 02 Apr, 2012 1 commit
  28. 29 Aug, 2011 1 commit
    • Matthias Clasen's avatar
      Spelling fixes · 1b28408b
      Matthias Clasen authored
      Spelling fixes in comments and docs, provided by
      Kjartan Maraas in bug 657336.
      1b28408b
  29. 17 Dec, 2010 1 commit
  30. 03 Nov, 2010 2 commits
  31. 16 Aug, 2010 1 commit