Commit Graph

10 Commits

Author SHA1 Message Date
Sven Neumann 496f42fd5c document "exif-data" parasite.
2004-06-19  Sven Neumann  <sven@gimp.org>

	* devel-docs/parasites.txt: document "exif-data" parasite.
2004-06-19 08:58:14 +00:00
Michael Natterer 7d93951d3b plug-ins/common/gbr.c store the brush/pattern's name in a parasite
2004-01-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gbr.c
	* plug-ins/common/pat.c: store the brush/pattern's name in a
	parasite attached to the image. The parasite overrides the
	RUN_WITH_LAST_VALS logic if it exists. Consistently set the
	description as the layer's name, but ignore the layer's name
	when saving because it may have been modified by exporting.
	Fixes bug #131450.

	Misc. cleanup/fixes: Don't assume that strncpy() nul-terminates
	the buffer, use sizeof() instead of magic numbers, sanitize
	descriptions using gimp_any_to_utf8(), always use strncpy()
	instead of strcpy().

	* devel-docs/parasites.txt: document the "gimp-brush-name" and
	"gimp-pattern-name" parasites.
2004-01-22 14:04:45 +00:00
Sven Neumann 4667eac9a8 use a global parasite to store the default values. Such uglyness doesn't
2004-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: use a global parasite to store the default
	values. Such uglyness doesn't belong into gimprc.

	* devel-docs/parasites.txt: document the parasite used by the PNG
	plug-in.
2004-01-06 12:58:31 +00:00
Dave Neary d5da2f5d5c Document jpeg-exif-data parasite.
2003-07-11  Dave Neary  <bolsh@gimp.org>

        * devel-docs/parasites.txt: Document jpeg-exif-data
        parasite.
2003-07-10 23:09:41 +00:00
Henrik Brix Andersen 5943f03135 Added persistent storage of image grid in XCF files.
2003-07-04 Henrik Brix Andersen <brix@gimp.org>

Added persistent storage of image grid in XCF files.

* app/core/gimpimage.[ch]: removed gimp_image_get_grid() and
gimp_image_set_grid() ...

* app/core/Makefile.am
* app/core/gimpimage-grid.[ch]: ... and added them to these new
files. Added gimp_grid_parasite_name(), gimp_grid_to_parasite()
and gimp_grid_from_parasite() functions.

* app/core/gimpimage-snap.c
* app/gui/grid-dialog.c: #include "gimpimage-grid.h"

* app/core/gimpimage-undo-push.c: #include "gimpimage-grid.h".
(gimp_image_undo_push_image_grid) mark image as dirty.

* app/xcf/xcf-save.c (xcf_save_image_props): save GimpGrid object
as a parasite.

* app/xcf/xcf-load.c (xcf_load_image): load GimpGrid from
parasite.

* devel-docs/parasites.txt: documented the new "gimp-image-grid"
parasite.
2003-07-04 19:55:58 +00:00
Sven Neumann 35a57d0148 broken pipe in the middle of the last commit...
* app/xcf/xcf-save.c: when saving a text layer, store an extra
	parasite that holds all information about the text.

	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
	it can be successfully deserialized to a GimpText object, convert
	the layer to a text layer and remove the parasite.

	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
	parasite.
2003-06-24 13:59:36 +00:00
Sven Neumann ff8911fa25 be more strict and require UTF-8 encoding for comments instead of only
2003-02-10  Sven Neumann  <sven@gimp.org>

	* parasites.txt: be more strict and require UTF-8 encoding for
	comments instead of only suggesting it.
2003-02-10 18:31:16 +00:00
Sven Neumann 08eb304a78 Removed gserialize.[ch] from CVS. Updated devel-docs. 2002-11-24 12:14:17 +00:00
Nick Lamb /GIMP fb611a5399 Add support for IIC profiles in TIFF, and document the parasite.
PNG support will be forthcoming eventually.
2000-06-18 01:07:13 +00:00
Sven Neumann c9c94b2afe Moved various files from the docs directory to devel-docs and
2000-06-13  Sven Neumann  <sven@gimp.org>

        Moved various files from the docs directory to
        devel-docs and devel-docs/pdb. Excluded papers
        from being distributed but left them in CVS.
2000-06-13 14:05:35 +00:00