Jun 29 13:36:39 2001 Owen Taylor <otaylor@redhat.com>
authorOwen Taylor <otaylor@src.gnome.org>
Sat, 30 Jun 2001 15:22:13 +0000 (15:22 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 30 Jun 2001 15:22:13 +0000 (15:22 +0000)
commit42a23950f50223eb640a7b5a16e74176ea38df9d
tree3a4b0cb1d1ffedddf30e801a2c3e1e8850a5814a
parentf571f74616864cd0955ad42a9c905b7d7b358094
 Jun 29 13:36:39 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gstring.[ch] (g_string_set_size): Add function to
        allow setting the length of a string greater than the
        current length (for buffering usage)

        * glib/gstring.[ch]: Expose string->allocated_len, since
        that is useful when using GString simply as a buffer.
        (Renamed from string->alloc)

        * glib/giochannel.[ch] glib/giounix.c glib/giowin32.c:
        Major patch from Hidetoshi Tajima and Ron Steinke
        reworking GIOChannel to have:

         - Buffering
         - Sane and useful error reporting
         - Streaming encoding conversion with iconv
         - Convenience functions to read by lines or
           an entire file.

        Also fix remaining 64 bit cleanliness issues.

        * tests/iochannel-test.c tests/Makefile.am: Test case
        for IO channel streaming conversion. Still needs
        some fixing up.
22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/glib/glib-sections.txt
docs/reference/glib/tmpl/glib-unused.sgml
docs/reference/glib/tmpl/iochannels.sgml
docs/reference/glib/tmpl/strings.sgml
glib.def
glib/giochannel.c
glib/giochannel.h
glib/giounix.c
glib/giowin32.c
glib/glib.def
glib/gstring.c
glib/gstring.h
tests/Makefile.am
tests/iochannel-test.c [new file with mode: 0644]