glib/gio/tests
Ryan Lortie a9c978a354 Bug 568394 – dropping the last reference to a stream filter closes the
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
2009-01-21 14:09:56 +00:00
..
.gitignore Bug 568394 – dropping the last reference to a stream filter closes the 2009-01-21 14:09:56 +00:00
buffered-input-stream.c Bug 562393 – g_buffered_input_stream_read_byte broken if data available 2008-11-28 05:57:07 +00:00
data-input-stream.c Revert behaviour change in g_data_input_stream_read_line 2008-12-01 19:02:58 +00:00
data-output-stream.c Use g_assert_error() and g_assert_no_error() 2008-09-27 01:43:43 +00:00
desktop-app-info.c 2.19.0 2008-10-16 23:59:50 +00:00
filter-streams.c Bug 568394 – dropping the last reference to a stream filter closes the 2009-01-21 14:09:56 +00:00
g-file-info.c don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now. 2008-05-28 16:17:45 +00:00
g-file.c Fix broken test case. 2008-06-11 20:02:31 +00:00
g-icon.c Comment out two failing tests 2008-12-01 06:47:04 +00:00
live-g-file.c Support compilers that don't understand ISO C varargs macros. Patch by 2008-12-08 04:38:54 +00:00
live-g-file.txt New GIO testing module working over real data 2008-02-06 13:52:07 +00:00
Makefile.am Bug 568394 – dropping the last reference to a stream filter closes the 2009-01-21 14:09:56 +00:00
memory-input-stream.c Use g_assert_error() and g_assert_no_error() 2008-09-27 01:43:43 +00:00
memory-output-stream.c Use g_assert_error() and g_assert_no_error() 2008-09-27 01:43:43 +00:00
simple-async-result.c improve add new simple-async-result test new file to test 2009-01-05 06:58:22 +00:00
unix-streams.c Bug 505361 - gunixinputstream.c assumes poll() available 2008-09-26 16:19:35 +00:00