Commit Graph

241 Commits

Author SHA1 Message Date
bc4cf9918f Bug 673501 - Issue with Overlay
GIMP's OVERLAY mode was identical to SOFTLIGHT. This commit fixes the
issue and introduces a NEW_OVERLAY mode and enum value.

- change gimp:overlay-mode to be a real (svg-ish) overlay mode
- when compositing, map OVERLAY to gimp:softlight-mode
- when compisiting, map NEW_OVERLAY to gimp:overlay-mode
- bump the XCF version when NEW_OVERLAY is used
- map OVERLAY to SOFTLIGHT when loading and saving XCF
- map OVERLAY to softlight in all PDB setters
- map OVERLAY to softlight when deserializing a GimpContext
- change all paint mode menus to show an entry for NEW_OVERLAY
  instead of OVERLAY
- change PSP, PSD and OpenRaster to use NEW_OVERLAY

These changes should (redundantly) make sure that no OVERLAY enum
value is used in the core any longer because it gets mapped to
SOFTLIGHT at all entry points, with the downside of introducing a
setter/getter asymmetry when OVERLAY was set in a PDB api.
2015-04-29 13:32:58 -04:00
189c329a2c devel-docs: update the docs a bit 2014-07-02 13:53:22 +02:00
a4223766f2 all,libgimp*: move GimpConvolveType and GimpInkBlobType to libgimpbase
and make GimpConvolveType's values sane.
2014-04-29 22:44:58 +02:00
2ff414d799 app,libgimp,pdb: remove enum GimpConvolutionType from the public API
It was exported accidentially and never used for anything.
2014-04-27 23:05:12 +02:00
a9ee07da43 devel-docs: updated so the latest additions and changes show up 2012-03-12 20:11:20 +01:00
408595d9d5 devel-docs: update .gitignore 2011-12-03 23:36:24 +01:00
f4b311d558 devel-docs: add newly generated templates to .gitignore 2011-03-15 22:43:49 +01:00
3512d0b03f libgimp/devel-docs: add back the gtk-doc template for gimpenums
It's a generated file and keeping around the template is much easier
than adding pdbgen support for generating the docs.
2010-07-14 19:05:51 +02:00
c78e4c8d63 libgimp: move docs from template files to inline comments
Also split up the "tools" docs into separate files so it matches
the new autogenerated PDB section headers.
2010-07-07 11:48:10 +02:00
42fe565f5d Add the new drawable and vectors lock-content APIs to the docs 2009-09-08 19:46:19 +02:00
eb73424044 devel-docs: Update 2.8 symbols 2009-08-15 17:06:43 +02:00
4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
f590b65400 added new scale procedures.
2008-09-24  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new scale procedures.

	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimplayer.sgml: regenerated.


svn path=/trunk/; revision=27046
2008-09-24 17:23:31 +00:00
9d7f541364 added gimp_get_pdb_error() and gimp_plugin_{get,set}_pdb_error_handler().
2008-08-19  Sven Neumann  <sven@gimp.org>

        * libgimp/libgimp-sections.txt:	added gimp_get_pdb_error() and
        gimp_plugin_{get,set}_pdb_error_handler().

        * libgimp/tmpl/gimpplugin.sgml
        * libgimp/tmpl/gimp.sgml: regenerated.

        * libgimpbase/libgimpbase-sections.txt:	added 
GimpPDBErrorHandler.

	* libgimpbase/tmpl/gimpbaseenums.sgml: regenerated.


svn path=/trunk/; revision=26659
2008-08-19 06:36:10 +00:00
5c34471feb added gimp_layer_new_from_visible().
2008-08-08  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added 
gimp_layer_new_from_visible().

	* libgimp/tmpl/gimplayer.sgml: regenerated.


svn path=/trunk/; revision=26447
2008-08-08 12:47:39 +00:00
48964f632e added gimp_vectors_copy().
2008-07-28  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_vectors_copy().

	* libgimp/tmpl/gimpvectors.sgml: regenerated.


svn path=/trunk/; revision=26330
2008-07-28 14:37:53 +00:00
b011030433 added gimp_palette_get_colors()
2008-07-16  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_palette_get_colors()

	* libgimpbase/tmpl/gimpbaseenums.sgml
	* libgimp/tmpl/gimppalette.sgml: regenerated.


svn path=/trunk/; revision=26194
2008-07-16 06:36:45 +00:00
86c2ad67bf libgimp/libgimp-sections.txt added new symbols.
2008-05-29  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpconfig/libgimpconfig-sections.txt: added new symbols.

	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimpgradient.sgml
	* libgimpconfig/tmpl/gimpconfig-serialize.sgml: regenerated.

svn path=/trunk/; revision=25853
2008-05-29 12:00:27 +00:00
a51b3004ef Made 2.5.0 development release.
2008-04-09  Sven Neumann  <sven@gimp.org>

        * Made 2.5.0 development release.

svn path=/trunk/; revision=25450
2008-04-09 21:01:04 +00:00
b206b9532d added new symbols.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new symbols.

	* libgimp/libgimp-docs.sgml
	* libgimp/tmpl/gimptextlayer.sgml: added docs for new text layer 
API.

	* libgimp/tmpl/gimp.sgml
	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimpproceduraldb.sgml
	* libgimp/tmpl/gimpvectors.sgml: regenerated.


svn path=/trunk/; revision=25441
2008-04-09 16:44:48 +00:00
15cbb6a970 added "Index of new symbols in GIMP 2.6".
2007-11-19  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml: added "Index of new symbols in GIMP 2.6".

	* libgimp/libgimp-sections.txt: updated.

	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimpvectors.sgml: regenerated.

svn path=/trunk/; revision=24195
2007-11-19 11:56:55 +00:00
1f52a786f0 added gimp_layer_flatten.
2007-09-21  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_layer_flatten.

	* libgimp/tmpl/gimplayer.sgml: regenerated.


svn path=/trunk/; revision=23605
2007-09-21 16:00:43 +00:00
37db612bca added gimp_context_list_paint_methods
svn path=/trunk/; revision=23506
2007-09-12 08:44:17 +00:00
b4519a54dd libgimp/libgimp-sections.txt updated for gimp_progress_end().
2007-07-25  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpprogress.sgml: updated for gimp_progress_end().

svn path=/trunk/; revision=22995
2007-07-25 10:53:23 +00:00
c2d1214551 Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.
2007-06-06  Mukund Sivaraman  <muks@mukund.org>

        Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.


svn path=/trunk/; revision=22715
2007-06-06 08:44:52 +00:00
aa9004528e added gimp_get_default_unit().
2007-01-12  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_get_default_unit().

	* libgimp/tmpl/gimpgimprc.sgml: regenerated.


svn path=/trunk/; revision=21767
2007-01-23 10:58:23 +00:00
517b0c35ab tools/pdbgen/pdb/display.pdb tools/pdbgen/pdb/drawable.pdb
2007-01-12  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/vectors.pdb: added PDB functions to validate
	display, drawable, image and vectors IDs.

	* app/pdb/image_cmds.c
	* app/pdb/vectors_cmds.c
	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/drawable_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.


svn path=/trunk/; revision=21697
2007-01-12 19:59:36 +00:00
930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
a145c0df25 libgimp/libgimp-sections.txt version symbols moved from libgimp to
2006-11-29  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-sections.txt: version symbols moved from
	libgimp to libgimpbase.

	* libgimp/tmpl/gimp.sgml
	* libgimpbase/tmpl/gimpversion.sgml: regenerated.
2006-11-30 17:00:02 +00:00
d87e5738b6 renamed gimp_vectors_new_from_* to gimp_vectors_import_from_*, as
2006-11-23  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: renamed gimp_vectors_new_from_*
	to gimp_vectors_import_from_*, as discussed in bug #378394.

	* plug-ins/common/svg.c
	* libgimp/gimp.def: changed accordingly.

	* libgimp/gimpvectors_pdb.[ch]
	* app/pdb/vectors_cmds.c: regenerated.
2006-11-23 21:45:54 +00:00
a05eda5af7 added new symbols.
2006-11-23  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new symbols.

	* libgimp/tmpl/gimpimage.sgml: regenerated

	* libgimp/libgimp-docs.sgml
	* libgimpbase/libgimpbase-docs.sgml
	* libgimpcolor/libgimpcolor-docs.sgml
	* libgimpconfig/libgimpconfig-docs.sgml
	* libgimpmath/libgimpmath-docs.sgml
	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml: added id attributes
for
	the index pages.
2006-11-23 07:26:41 +00:00
73b1863a28 app/vectors/gimpstroke.[ch] tools/pdbgen/pdb/vectors.pdb Applied patch
2006-11-20  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* tools/pdbgen/pdb/vectors.pdb
	* plug-ins/pygimp/pygimp-vectors.c: Applied patch from
	Joao S. O. Bueno Calligaris that adds some missing transformations
	to the PDB-API for strokes. Fixes bug #129598.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2006-11-20 15:34:30 +00:00
bc495fd411 removed double entry for gimp_font_select_button_get_type.
2006-11-16  Simon Budig  <simon@gimp.org>

        * libgimp/libgimp.types: removed double entry for
        gimp_font_select_button_get_type.

        * libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.
2006-11-16 00:06:23 +00:00
f51ad1e185 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt follow
2006-11-04  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: follow gimpdrawablecombobox ->
	gimpitemcombobox move.

	* libgimp/tmpl/gimpdrawablecombobox.sgml: removed.

	* libgimp/tmpl/gimpitemcombobox.sgml: and readded as this file.

	* libgimp/tmpl/gimpfileops.sgml: regenerated.
2006-11-15 23:45:15 +00:00
14731a5a81 libgimp/libgimp-sections.txt updated.
2006-11-04  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpfileops.sgml
	* libgimp/tmpl/gimpfontselectbutton.sgml
	* libgimp/tmpl/gimpvectors.sgml
	* libgimpbase/tmpl/gimpbaseenums.sgml
	* libgimpconfig/tmpl/gimpcolorconfig.sgml: regenerated.
2006-11-04 07:58:07 +00:00
0de5d32fea added gimp_edit_stroke_vectors () deprecated gimp_path_stroke_current ()
2006-10-26  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_stroke_vectors ()
	* tools/pdbgen/pdb/paths.pdb: deprecated gimp_path_stroke_current ()

	* libgimp/gimp.def: updated.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* devel-docs/libgimp/tmpl/gimppaths.sgml
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimppaths_pdb.[ch]: regenerated.
2006-10-25 22:43:21 +00:00
a8593d8141 Oops. Need to specify both pdb-skip and skip.
2006-10-25  Simon Budig  <simon@gimp.org>

	* app/vectors/vectors-enums.h: Oops. Need to specify both
	pdb-skip and skip.

	* libgimp/gimp.def
	* libgimpconfig/gimpconfig.def
	* libgimpmath/gimpmath.def
	* libgimpthumb/gimpthumb.def
	* libgimpwidgets/gimpwidgets.def: .def-file maintenance. Hope my
	changes are correct...

	With the help from
	   nm .libs/libgimpfoo-2.0.so |\
	   sed -ne "s/.* T \([a-zA-Z0-9][a-zA-Z0-9_]*\)/\t\1/p" |\
	   (echo EXPORTS ; LC_ALL=C sort )

	* libgimpwidgets/gimppageselector.c: marked stretch_frame_image()
	as static.

	* libgimp/gimpenums.c.tail
	* libgimp/gimpenums.h
	* tools/pdbgen/enums.pl: regenerated.

	* devel-docs/libgimp/tmpl/gimpfontselectbutton.sgml: this changed
	again. WTF?
2006-10-25 16:55:20 +00:00
ab4d8b037c extended gimp_vectors_import() and friends with a parameter for returning
2006-10-25  Simon Budig  <simon@gimp.org>

        * app/vectors/gimpvectors-import.[ch]: extended gimp_vectors_import()
        and friends with a parameter for returning the newly generated vectors.

        * app/actions/edit-commands.c
        * app/actions/vectors-commands.c
        * app/display/gimpdisplayshell-dnd.c
        * app/widgets/gimpvectorstreeview.c: Changed accordingly.

        * app/vectors/vectors-enums.h: moved the GimpVectorsStrokeType to...
        * libgimpbase/gimpbaseenums.h: ... this file.

        * app/vectors/Makefile.am: Changed accordingly
        * app/vectors/vectors-enums.c: removed accordingly.

        * tools/pdbgen/pdb/vectors.pdb: new functions
        gimp_vectors_new_from_file() and gimp_vectors_new_from_string().

        * tools/pdbgen/pdb/paths.pdb: deprecated the previous functions.

        * app/pdb/internal_procs.c
        * app/pdb/paths_cmds.c
        * app/pdb/vectors_cmds.c
        * app/vectors/vectors-enums.c
        * libgimp/gimpenums.h
        * tools/pdbgen/enums.pl
        * libgimp/gimppaths_pdb.[ch]
        * libgimp/gimpvectors_pdb.[ch]
        * libgimpbase/gimpbaseenums.c
        * devel-docs/libgimp/tmpl/gimpfontselectbutton.sgml
        * devel-docs/libgimp/tmpl/gimptools.sgml: regenerated.
2006-10-25 15:14:03 +00:00
f57321511e app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the
2006-10-24  Simon Budig  <simon@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/vectors-enums.h
	* app/vectors/vectors-types.h: added new file for the vectors enums,
	adjusted Makefile.am for the generation of vectors-enums.c

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/vectors.pdb: Added implementation for
	gimp-vectors-stroke-get-points which returns the control points for
	the stroke.
	Renamed gimp-vectors-stroke-remove to gimp-vectors-remove-stroke.

	ATTENTION: this breaks scripts using this function, a simple name
	change is enough to make it work again.
	Also please note that yosh reordered the return values of
	gimp-vectors-stroke-interpolate, so your scripts need adjustment
	there as well.

        * tools/pdbgen/pdb/paths.pdb: deprecate gimp-path-get-points. Yay!

	* libgimp/gimp.def: added new symbol

	* plug-ins/pygimp/pygimp-vectors.c: reflect name change of
	gimp_vectors_remove_stroke ().

	* app/vectors/vectors-enums.c
	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* app/pdb/vectors_cmds.c
	* devel-docs/libgimp/tmpl/gimpvectors.sgml
	* libgimp/gimpenums.c.tail
	* libgimp/gimpenums.h
	* libgimp/gimppaths_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]
	* tools/pdbgen/enums.pl: regenerated.
2006-10-24 14:23:29 +00:00
5207040a0b libgimp/libgimp-sections.txt libgimpconfig/libgimpconfig-sections.txt
2006-10-11  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpconfig/libgimpconfig-sections.txt
	* libgimpwidgets/libgimpwidgets-sections.txt: added new API.

	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.

	* libgimp/tmpl/gimpfontselectbutton.sgml
	* libgimp/tmpl/gimptools.sgml
	* libgimpconfig/tmpl/gimpconfig-params.sgml
	* libgimpwidgets/tmpl/gimpcolorselection.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: regenerated.
2006-10-11 08:39:09 +00:00
a19e8d6ff3 libgimp/libgimp-sections.txt libgimpbase/libgimpbase-docs.sgml updated.
2006-09-01  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-docs.sgml
	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimpbase/tmpl/gimprectangle.sgml: added.

	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimppixbuf.sgml
	* libgimp/tmpl/gimptools.sgml: regenerated.
2006-09-01 12:22:19 +00:00
5d45aed020 minor update for the API reference 2006-08-09 15:44:40 +00:00
70b99b34ea added missing type.
2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp.types: added missing type.

	* libgimp/tmpl/gimpfontselectbutton.sgml
	* libgimp/tmpl/gimppatternselectbutton.sgml: regenerated.
2006-07-05 10:11:24 +00:00
a9bd28e458 libgimp/gimpfontselectbutton.[ch] libgimp/gimpgradientselectbutton.[ch]
2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfontselectbutton.[ch]
	* libgimp/gimpgradientselectbutton.[ch]
	* libgimp/gimppaletteselectbutton.[ch]
	* libgimp/gimppatternselectbutton.[ch]: for consistency with
	GimpBrushSelectButton dropped the _name suffix from the getter
	and setter API.

	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpbrushselectbutton.[ch]
	* libgimp/gimpselectbutton.c: cleanup for consistency.

2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpbrushselectbutton.sgml
	* libgimp/tmpl/gimpgradientselectbutton.sgml
	* libgimp/tmpl/gimppaletteselectbutton.sgml
	* libgimp/tmpl/gimppatternselectbutton.sgml
	* libgimp/tmpl/gimpselectbutton.sgml: new files.

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: added docs for GimpSelectButton widgets.

	* libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.

	* libgimpcolor/libgimpcolor-sections.txt: added docs for GValue API.

	* libgimpcolor/tmpl/gimprgb.sgml: regenerated.

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimppropwidgets.sgml
	* libgimpwidgets/tmpl/gimpstock.sgml: regenerated.
2006-06-28 10:35:22 +00:00
2f2dca7e6e libgimp/tmpl/gimpproceduraldb.sgml libgimp/tmpl/gimpprogress.sgml
2006-04-22  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpproceduraldb.sgml
	* libgimp/tmpl/gimpprogress.sgml
	* libgimpbase/tmpl/gimpenv.sgml
	* libgimpwidgets/tmpl/gimppropwidgets.sgml
	* libgimpwidgets/tmpl/gimpzoommodel.sgml: regenerated (removed
	unused parameters).
2006-04-22 16:54:11 +00:00
f164b57955 libgimp/libgimp-sections.txt updated.
2006-04-06  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimp/tmpl/gimpenums.sgml
	* libgimpbase/tmpl/gimpbaseenums.sgml: regenerated.
2006-04-06 10:44:37 +00:00
e284712cf2 libgimp/libgimp-sections.txt updated.
2006-04-02  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimpproceduraldb.sgml
	* libgimp/tmpl/gimpvectors.sgml
	* libgimpbase/tmpl/gimpparasite.sgml: regenerated.
2006-04-02 16:53:57 +00:00
37ac4c2114 regenerated.
2006-03-27  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpselection.sgml: regenerated.
2006-03-27 06:01:22 +00:00
f1e0b7351e deprecated path_get_point_at_dist()
2006-03-22  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/paths.pdb: deprecated path_get_point_at_dist()

	* app/pdb/paths_cmds.c
	* devel-docs/libgimp/tmpl/gimppaths.sgml
	* libgimp/gimppaths_pdb.[ch]: regenerated.
2006-03-22 14:34:38 +00:00
cc2923ad0b regenerated.
2006-03-17  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpimage.sgml: regenerated.
2006-03-17 14:40:51 +00:00