After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 131206 - support the Recent File Storage Specification
support the Recent File Storage Specification
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
1.x
Other All
: Normal enhancement
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks: 140982
 
 
Reported: 2004-01-12 07:36 UTC by Sven Neumann
Modified: 2005-01-01 21:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Neumann 2004-01-12 07:36:25 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.
Comment 1 Sven Neumann 2004-01-12 07:37:53 UTC
Should be considered for 2.2 but can be bumped to a future milestone
if it isn't addressed in time.
Comment 2 Sven Neumann 2004-05-11 09:29:35 UTC
Since this spec requires the use of mime-types, this bug depends on bug #131596,
which is about using the shared-mime-info database.
Comment 3 Sven Neumann 2004-05-15 12:50:57 UTC
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.
Comment 4 Sven Neumann 2004-09-28 12:41:50 UTC
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.