On Wed, Mar 12, 2008 at 07:43:46PM -0700, Ted Gould wrote:
On Tue, 2008-03-11 at 04:22 -0700, Krzysztof Kosi??ski wrote:
I had a look at the stream classes used to output SVG to flies and memory while working on fixing the clipboard bug. The functionality of those classes is largely the same as std::iostream and the related class hierarchy. I think Inkscape could switch from its own stream implementation to the standard library streams. This would, among other things, reduce the complexity of the application and the size of the codebase.
Is there some good reason Inkscape uses its own stream implementation instead of the standard streams?
I think for most things switching to gio probably makes the most sense, but I do agree that would be best. std where gio doesn't make sense. Problem is that GIO is rather new to the Glib stack, so I'm not sure when we'll update to it.
If gio is not up to the task, perhaps we should consider sending our changes upstream?
Bryce