On Sun, 2008-10-26 at 10:17 -0700, Krzysztof Kosiński wrote:
Jon A. Cruz wrote:
Probably the first question that needs to be answered is what exactly switching to GIO will bring as a benefit.
- Transparent support for remote filesystems in Gnome - Ability to automatically determine the mimetype of the opened file using the MIME database on Unix and registry settings on Windows (http://library.gnome.org/devel/gio/stable/gio-GContentType.html) - The ability to remove several hacks from the clipboard code - currently to copy SVG data we write it to a temporary file and then read it back (!) - enabled by the GIO streams API - Reading / writing files to / from standard output - Sane filename conventions = better maintainability - Slightly smaller memory footprint - Removal of lots of cruft
- Cross platform files are GTK's problem not ours - Ability to start to move the file handling code over to all async read/write - Integration with the glib main loop for above - Reasonable ability to use extensions and remote files (GIO does a FUSE mount and can hand back a "local file" for extensions to use) == Cost == - Updated dependencies - Effort to migrate