1. 29 May, 2017 1 commit
  2. 22 Nov, 2016 1 commit
  3. 29 Jun, 2016 1 commit
  4. 07 Nov, 2015 1 commit
    • Philip Withnall's avatar
      glib: Add missing (nullable) and (optional) annotations · 25a7c817
      Philip Withnall authored
      Add various (nullable) and (optional) annotations which were missing
      from a variety of functions. Also port a couple of existing (allow-none)
      annotations in the same files to use (nullable) and (optional) as
      appropriate instead.
      
      Secondly, add various (not nullable) annotations as needed by the new
      default in gobject-introspection of marking gpointers as (nullable). See
      https://bugzilla.gnome.org/show_bug.cgi?id=729660.
      
      This includes adding some stub documentation comments for the
      assertion macro error functions, which weren’t previously documented.
      The new comments are purely to allow for annotations, and hence are
      marked as (skip) to prevent the symbols appearing in the GIR file.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=719966
      25a7c817
  5. 30 Oct, 2014 1 commit
  6. 20 Feb, 2014 1 commit
  7. 15 Feb, 2014 1 commit
    • Matthias Clasen's avatar
      docs: let go of * · bc6ee788
      Matthias Clasen authored
      Since we are no longer using sgml mode, using /* */ to
      escape block comments inside examples does not work anymore.
      Switch to using line comments with //
      bc6ee788
  8. 01 Feb, 2014 1 commit
  9. 31 Jan, 2014 1 commit
  10. 15 Dec, 2013 1 commit
  11. 23 Oct, 2013 2 commits
    • Allison Karlitskaya's avatar
      GMemoryOutputStream: docs and whitespace fixes · 38dc8d4c
      Allison Karlitskaya authored
      Document the difference between resizable and fixed-sized streams,
      particularly with regards to sizing and seeking.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=684842
      38dc8d4c
    • Allison Karlitskaya's avatar
      Change semantics of seek on memory output stream · fdc5cd8d
      Allison Karlitskaya authored
      It is our intention that memory output streams should operate in two
      distinct modes, depending on if a realloc function was provided or not.
      
      In the case that we have a realloc function (resizable mode), we want
      the stream to behave as if it were a file that started out empty.  In
      the case that we don't have a realloc function (fixed-sized mode), we
      want the stream to behave as a block device would.
      
      To this end, we introduce two changes in functionality:
      
       - seeking to SEEK_END on a resizable stream will now seek to the end of
         the valid data region, not to the end of the allocated memory (which
         is really just an implementation detail)
      
       - seeks past the end of the allocated memory size are now permitted,
         but only on resizable streams.  The next write will grow the buffer
         (inserting zeros between).
      
      Some tweaks to testcases were required in order not to break the build,
      which indicates that this is an API break, but it seems unlikely that
      anyone will be effected by these changes 'in the real world'.
      
      Updates to documentation and further testcases are in following commits.
      
      Based on a patch from Maciej Piechotka <uzytkownik2@gmail.com>.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=684842
      fdc5cd8d
  12. 08 Oct, 2013 1 commit
  13. 24 Jun, 2013 2 commits
  14. 18 Dec, 2012 1 commit
  15. 28 Nov, 2012 1 commit
    • Colin Walters's avatar
      GMemoryOutputStream: Add new _resizable() constructor usable from bindings · ed5c17e1
      Colin Walters authored
      Really, the memory output stream API is too warped around the model
      where it's a fixed size buffer that you've already allocated.  Even in
      C, I find myself always wanting to use it to just accumulate data into
      an arbitrary-sized buffer it allocates.
      
      Unfortunately, it's also not usable from bindings because it's not
      common to bind g_free() and g_realloc(), but if you just pass NULL, you
      get the default of a fixed size, which is useless as per above.
      
      I am going to use this from a gjs test case, and the GSubprocess test
      cases also will use it.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=688931
      ed5c17e1
  16. 21 May, 2012 1 commit
  17. 17 Apr, 2012 2 commits
  18. 31 Mar, 2012 1 commit
  19. 01 Dec, 2011 1 commit
    • Dan Winship's avatar
      GMemoryInputStream/GMemoryOutputStream: fix bug in previous commit · e7983495
      Dan Winship authored
      A g_input_stream_read_async() implementation can't call
      g_input_stream_read() on itself directly because it will fail because
      the pending flag is already set. So fix that by invoking the vmethod
      directly rather than calling the wrapper. Likewise with
      GMemoryOutputStream.
      
      Add a test to gio/tests/memory-input-stream.c to catch read_async
      failures in the future.
      e7983495
  20. 30 Nov, 2011 1 commit
  21. 27 Dec, 2010 1 commit
  22. 24 Sep, 2010 1 commit
  23. 17 Aug, 2010 1 commit
  24. 07 Jul, 2010 1 commit
  25. 08 Mar, 2010 1 commit
  26. 26 Jan, 2010 1 commit
  27. 06 Jan, 2010 1 commit
  28. 07 Sep, 2009 1 commit
  29. 26 Feb, 2009 1 commit
  30. 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
  31. 30 Jun, 2008 2 commits
    • Matthias Clasen's avatar
      Add some tests for GMemoryOutputStream. · e3313b26
      Matthias Clasen authored
      2008-06-29  Matthias Clasen  <mclasen@redhat.com>
      
              * tests/Makefile.am:
              * tests/memory-output-stream.c: Add some tests for
              GMemoryOutputStream.
      
      2008-06-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
              0, ...)
      
              * gmemoryoutputstream.c (array_resize): Handle truncation to
              zero correctly. Reported by Akira Tagoh
      
      
      
      svn path=/trunk/; revision=7106
      e3313b26
    • Matthias Clasen's avatar
      Trivial doc fixes · 19bf6826
      Matthias Clasen authored
      svn path=/trunk/; revision=7104
      19bf6826
  32. 22 Jun, 2008 1 commit
  33. 16 Jun, 2008 2 commits
  34. 31 Mar, 2008 1 commit
  35. 21 Feb, 2008 1 commit