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. 16 Oct, 2012 1 commit
  3. 19 Aug, 2012 1 commit
  4. 09 Jun, 2010 1 commit
  5. 25 Jan, 2010 1 commit
  6. 06 Jul, 2009 1 commit
  7. 01 Jul, 2009 1 commit
  8. 21 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568394 – dropping the last reference to a stream filter closes the · a9c978a3
      Allison Karlitskaya authored
      2009-01-20  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568394 – dropping the last reference to a stream filter closes the
              base stream
      
              * gfilterinputstream.h:
              * gfilterinputstream.c: add "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gfilteroutputstream.h:
              * gfilteroutputstream.c: add a "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
              before closing the base stream.  fix invalid source tag comparison in
              close_async (was comparing to flush_async).
              * ../docs/reference/gio/gio-sections.txt:
              * gio.symbols: add
              g_filter_{in,out}put_stream_{g,s}et_close_base_stream
              * tests/filter-streams.c: new test cases
              * tests/Makefile.am: add new test
              * tests/.gitignore: add new test
      
      
      svn path=/trunk/; revision=7825
      a9c978a3