After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568575 - _async functions for GDataInputStream
_async functions for GDataInputStream
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-01-21 16:50 UTC by Allison Karlitskaya (desrt)
Modified: 2009-01-28 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the patch (23.80 KB, patch)
2009-01-26 16:31 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2009-01-21 16:50:56 UTC
_async calls are conspicuously absent from the API of GDataInputStream.

We should have them at least for read_line and read_until; the other cases can easily be handled by the programmer using fill_async with a constant size.
Comment 1 Allison Karlitskaya (desrt) 2009-01-26 16:31:18 UTC
Created attachment 127269 [details] [review]
the patch

 gdatainputstream.c    |  250 ++++++++++++++++++++++++++++++++++++++++++
 gdatainputstream.h    |   95 +++++++++-------
 gio.symbols           |    2 
 tests/Makefile.am     |    4 
 tests/sleepy-stream.c |  294 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 606 insertions(+), 39 deletions(-)
Comment 2 Allison Karlitskaya (desrt) 2009-01-28 16:40:23 UTC
Committed revision 7835.