Commit Graph

11 Commits

Author SHA1 Message Date
Roman Joost f436ffd722 Changed XMPModel to GtkTreeStore based object with one custom signal.
The XMPModel now emits a property-changed signal, if the property value
has been changed by xmp_model_set_scalar_property.
2009-08-15 19:47:49 +10:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 186ac9c6d8 plug-ins/metadata/xmp-encode.c plug-ins/metadata/xmp-parse.c
2008-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmpdump.c: removal of unused includes and
	other minor cleanups.


svn path=/trunk/; revision=27332
2008-10-19 16:44:40 +00:00
Sven Neumann 6204aa3222 Bug 493778 – metadata plug-in crashes on some images
2008-10-19  Sven Neumann  <sven@gimp.org>

	Bug 493778 – metadata plug-in crashes on some images

	* plug-ins/metadata/xmp-encode.c (gen_property): introduced a
	utility function to create XML elements. Deal gracefully with 
NULL
	and empty values. Does not fix the crash, but fixes a warning 
that
	has been reported in the same bug report.


svn path=/trunk/; revision=27323
2008-10-19 13:29:35 +00:00
Raphael Quinet 9795a920b1 plug-ins/metadata/metadata.c plug-ins/metadata/xmp-model.c replaced calls
2007-10-02  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmp-model.c
	* plug-ins/metadata/xmp-encode.c: replaced calls to g_warning() by
	g_printerr().

svn path=/trunk/; revision=23716
2007-10-02 09:15:34 +00:00
Raphael Quinet fb5284e50d escape the text values output in the XMP packet. Based on a bug report and
2007-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-encode.c (gen_property): escape the text
	values output in the XMP packet.  Based on a bug report and patch
	by John Marshall.  Fixes bug #455481.

svn path=/trunk/; revision=23398
2007-08-29 19:32:39 +00:00
Sven Neumann 05c9bfa3b1 plug-ins/metadata/xmp-encode.c don't include gimpui.h.
2007-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-model.c: don't include gimpui.h.

	* plug-ins/metadata/Makefile.am: don't build interface.c, don't
	link with libgimpui and libgimpwidgets.

	* plug-ins/metadata/metadata.c: don't register the metadata editor.

svn path=/trunk/; revision=22852
2007-06-27 12:04:28 +00:00
Raphael Quinet 9570934d39 quick workaround for bug #436077. A better solution will follow later.
2007-05-08  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-encode.c (gen_property): quick workaround
	for bug #436077.  A better solution will follow later.

svn path=/trunk/; revision=22457
2007-05-08 20:45:29 +00:00
Raphael Quinet 62d8e69515 Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:02:51 +00:00
Raphael Quinet c30453f49d Fixed crash occuring after a double free of some structured XMP
2005-04-22  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-model.[ch]: Fixed crash occuring after a
	double free of some structured XMP properties.  Added new type
	XMP_TYPE_GENERIC_STRUCTURE for unknown structured properties.  Be
	more tolerant in parsing incorrectly written schema URIs and try
	to extract a valid URI from them.  Converted to use g_print().
	Moved the definitions of standard XMP schemas from here...

	* plug-ins/metadata/xmp-schemas.[ch]: ...to these new files.

	* plug-ins/metadata/xmp-encode.[ch]: Rewritten using GString
	instead of fixed buffers.

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Adapted to the new function
	xmp_generate_block() using GString.

	* plug-ins/metadata/base64.c (base64_encode): Fixed incorrect
	encoding of bytes with the sign bit set.

	* plug-ins/metadata/testbase64.c
	* plug-ins/metadata/Makefile.am: Added xmp-schema.[ch] and test
	program testbase64.c (testing base64 encoding and decoding).

	* plug-ins/metadata/xmpdump.c: Converted to use g_print().

	* plug-ins/metadata/xmp-parse.c: Added some #ifdef's around
	debugging code, added more comments.
2005-04-22 15:04:29 +00:00
Raphael Quinet 609543bf85 configure.in Enable build of metadata plug-in.
2005-03-07  Raphael Quinet  <raphael@gimp.org>

	* configure.in
	* plug-ins/Makefile.am (SUBDIRS): Enable build of metadata plug-in.

	* plug-ins/metadata/xmp-gen.c
	* plug-ins/metadata/xmp-gen.h
	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-encode.h: Renamed xmp-gen.[ch] to
	xmp-encode.[ch].

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Updated accordingly + minor fixes.
2005-03-07 19:40:51 +00:00