GNOME Bugzilla – Bug 131206
support the Recent File Storage Specification
Last modified: 2005-01-01 21:56:10 UTC
It would be nice if GIMP would use the Recent File Storage Specification as defined at http://freedesktop.org/Standards/recent-file-spec/. Not sure if this file should replace our documents file or if it should just be used additionally but it would certainly help to integrate GIMP with modern desktops. Since we already use URLs and the file format is relatively simple, this should be a straight-forward change. Of course if we would depend on libxml2, this task would be even simpler.
Should be considered for 2.2 but can be bumped to a future milestone if it isn't addressed in time.
Since this spec requires the use of mime-types, this bug depends on bug #131596, which is about using the shared-mime-info database.
I've added mime-type support to GIMP w/o using shared-mime-info. It seems to make more sense to have our file plug-ins provide the mime-type and that's what is implemented now. With the exception of a few excotic file formats, all file plug-ins do provide mime-type info now. Removing the dependency on bug #131596 again.
We might have to disable this code for Win32. I am not sure if flock() is portable... 2004-09-28 Sven Neumann <sven@gimp.org> * app/config/gimpxmlparser.[ch]: added new convenience function gimp_xml_parser_parse_fd(). * app/file/Makefile.am * app/file/gimprecentitem.[ch] * app/file/gimprecentlist.[ch]: added an implementation of the recent-files spec as found on freedesktop.org. This code is taken from libegg and has been edited to fit the GIMP needs. * app/file/file-open.c * app/file/file-save.c: update the ~/.recently-used file. Fixes bug #131206.