1. 16 Jan, 2013 1 commit
    • Dan Winship's avatar
      gio/tests: add some more async stream tests · 578b657f
      Dan Winship authored
      Add read_async() and skip_async() tests to buffered-input-stream.
      
      Fix and re-enable filter-streams's existing close_async() tests, and
      add read_async(), skip_async(), and write_async() tests as well. Also,
      redo the tests to use dummy GFilterInputStream and GFilterOutputStream
      subclasses rather than GBufferedInput/OutputStream, so that we're
      testing the base filter stream implementations of everything (since
      the buffered stream overrides are already getting tested in the
      buffered-input-stream and buffered-output-stream tests anyway).
      
      Add a skip_async() test to unix-streams. (This one would crash without
      the bugfix in the previous commit.)
      578b657f
  2. 07 Nov, 2012 1 commit
  3. 16 Oct, 2012 1 commit
  4. 30 Apr, 2012 1 commit
  5. 23 Apr, 2012 1 commit
  6. 03 Sep, 2010 1 commit
    • Christian Persch's avatar
      Plug a mem leak in buffered-input-stream test · e4a6b1dc
      Christian Persch authored
      ==2429== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 276 of 355
      ==2429==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
      ==2429==    by 0x4057094: g_malloc (gmem.c:134)
      ==2429==    by 0x406F2D6: g_slice_alloc (gslice.c:836)
      ==2429==    by 0x406F31B: g_slice_alloc0 (gslice.c:848)
      ==2429==    by 0x403A8A6: g_error_new_literal (gerror.c:117)
      ==2429==    by 0x403AC31: g_set_error_literal (gerror.c:314)
      ==2429==    by 0x4175525: g_buffered_input_stream_read_byte (gbufferedinputstream.c:880)
      ==2429==    by 0x804A21A: test_read_byte (buffered-input-stream.c:153)
      
      Bug #628331.
      e4a6b1dc
  7. 30 Jul, 2010 1 commit
  8. 06 Jul, 2010 3 commits
  9. 05 Jul, 2010 1 commit
  10. 08 Dec, 2009 1 commit
  11. 06 Jul, 2009 1 commit
  12. 01 Jul, 2009 1 commit
  13. 28 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 562393 – g_buffered_input_stream_read_byte broken if data available · 0b715510
      Matthias Clasen authored
      2008-11-28  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 562393 – g_buffered_input_stream_read_byte broken if data
              available
      
              * gio/gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
              handling of buffered content.  Patch by Philip Withnall
      
              * gio/tests/buffered-input-stream.c: Add a testcase for this bug.
              * gio/tests/Makefile.am: And build it
      
      
      
      svn path=/trunk/; revision=7686
      0b715510