On Wed, 2004-03-17 at 18:17, Charles Goodwin wrote:
On Wed, 2004-03-17 at 17:06, bulia byak wrote:
we decided that the best way to unify serialization is via a C++ stream.
Probably an ignorant point: Have you considered using libgsf for helping with most of your serialization issues?
About the streams, I have put some work on streams for the IO layer with the extension system in mind in CVS (check out the streams-*.h streams-*.cpp files in src/). Currently there are input streams which decompress gzip and jar/sxw on the fly. Locale and UTF behaviour isn't in yet. The design is not final as I'm looking into using libgsf optionally, probably through some zip/unzip methods in mixin classes.
Bulia, at first sight, I think there's a memory leak in SVGOStringStream by using the str() method, check out this link for further info about it: http://www.troubleshooters.com/codecorn/memleak.htm
Johan