Commit graph

313 commits

Author SHA1 Message Date
Ell
da27632c11 pdb: change image freeze/thaw procs to "Since: 2.10.2" 2018-05-29 16:04:28 -04:00
Ell
97925de8eb libgimpbase, libgimp, app: pass icon theme dir to plug-ins through config
Pass the current icon theme directory to plug-ins through the
config message, and add a gimp_icon_theme_dir() libgimp function
for retrieving it.  Note that we already have a similar
gimp_icon_get_theme_dir() PDB function, which we keep around, since
it can be used to dynamically query for the current icon dir,
unlike the former, and since it returns a dynamically-allocated
string, while the rest of the config-related functions return
statically allocated strings.

Use the new function, instead of gimp_get_icon_theme_dir(), in
gimp_ui_init().  This allows gimp_ui_init() to run without making
any PDB calls.  Consequently, this allows us to start plug-ins that
call gimp_ui_init() without entering the main loop in the main app.
We're going to add a plug-in that displays an interactive dialog
while the main app is blocking waiting for an operation to
complete, and we need to be able to start the plug-in without
entering the main loop, to avoid the possibility of arbitrary code
being executed during the wait.

Bump the protocol version.
2018-05-29 16:04:28 -04:00
Michael Natterer
93473b0334 devel-docs: add missing functions to libgimpfoo-sections.txt 2018-05-18 19:32:51 +02:00
Michael Natterer
4bcc1183e5 devel-docs: add new libgimp functions 2018-04-16 21:45:21 +02:00
Michael Natterer
50536e1c38 Bug 795230 - Rename Blend tool and provide PDB compatibility
Add new PDB group "drawable_edit" which has all procedures from the
"edit" group which are not cut/copy/paste.

The new group's procedures don't have opacity, paint_mode
etc. arguments but take them from the context instead. Unlike the old
gimp-edit-fill, gimp-drawable-edit-fill now uses the context's opacity
and paint_mode.

The new gimp-drawable-edit-gradient-fill procedure uses even more
context properties which are also newly added with this commit
(gradient_color_space, gradient_repeat_mode, gradient_reverse).

And some cleanup in context.pdb.

This is still WIP, nothing in the edit group is depcreated yet.
2018-04-15 15:28:50 +02:00
Michael Natterer
d20171d478 devel-docs: add some missing newly added functions 2017-06-03 21:32:33 +02:00
Michael Natterer
bf21bc1476 devel-docs: add missing stuff to *-sections.txt files 2017-03-10 23:52:59 +01:00
Michael Natterer
0d5fa53b0e devel-docs: add new stuff to *-sections.txt, and cleanup 2016-09-21 15:47:02 +02:00
Michael Natterer
5522170d56 devel-docs: remove a template file that should not be in git 2015-06-02 02:48:46 +02:00
Thomas Manni
a7b84ded8e Bug 325564 - Use CIE LCH instead of HSL for layer mode Color
Add Hue, Chroma, Color and Lightness layer modes in LCH color space.
2015-06-02 01:37:26 +02:00
Michael Natterer
bcdc7d6c72 devel-docs: more updates 2015-06-01 00:44:35 +02:00
Michael Natterer
8005eea835 Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Michael Natterer
c1e0929e61 devel-docs: add "Index of new symbols in GIMP 2.10" 2015-05-30 23:20:00 +02:00
Michael Natterer
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
Michael Natterer
189c329a2c devel-docs: update the docs a bit 2014-07-02 13:53:22 +02:00
Michael Natterer
a261cf93d0 devel-docs: no need any longer to ignore gimpcompat.h, it's gone 2014-05-19 03:11:03 +02:00
Michael Natterer
a4223766f2 all,libgimp*: move GimpConvolveType and GimpInkBlobType to libgimpbase
and make GimpConvolveType's values sane.
2014-04-29 22:44:58 +02:00
Michael Natterer
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
Martin Nordholts
7aa7472f4a devel-docs: Fix compilation, include gegl.h 2012-05-02 21:03:03 +02:00
Michael Natterer
a9ee07da43 devel-docs: updated so the latest additions and changes show up 2012-03-12 20:11:20 +01:00
Michael Natterer
408595d9d5 devel-docs: update .gitignore 2011-12-03 23:36:24 +01:00
Michael Natterer
ebbad40885 Doc fixes in both source comments and gtk-doc files 2011-11-25 21:39:55 +01:00
Michael Natterer
374dd50c43 libgimp: add gimp_layer_new_from_surface()
and to enable that, make libgimp depend on Cairo.
2011-04-20 23:58:00 +02:00
Michael Natterer
26bf2b0cd7 Make libgimp depend on GdkPixbuf
Move the pixbuf layer and image thumbnail function from libgimpui to
libgimp and move gimp_layer_new_from_pixbuf() to gimplayer.[ch] where
it belongs. Change gimp-2.0.pc accordingly, adapt plug-in Makefiles
and update devel-docs.
2011-04-20 20:04:35 +02:00
Michael Natterer
d2828cb279 devel-docs: add lots of missing functions to foo-sections.txt 2011-04-14 22:01:33 +02:00
Michael Natterer
b67aa5fe8b devel-docs: add --name-space=gimp to MKDB_OPTIONS 2011-04-14 21:27:29 +02:00
Michael Natterer
f4b311d558 devel-docs: add newly generated templates to .gitignore 2011-03-15 22:43:49 +01:00
Mikael Magnusson
c913c1512a libgimp, plug-ins: change the parasite function calls in more places 2011-03-02 21:57:37 +01:00
Michael Natterer
44c4ec2fc8 devel-docs: update libgimp docs with the new functions 2011-02-14 14:15:34 +01:00
Michael Natterer
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
Michael Natterer
6909fd5dc3 devel-docs: update the item section with the parasite functions 2010-07-09 14:24:57 +02:00
Michael Natterer
79808c3d46 devel-docs: update for the addition of item 2010-07-09 10:11:32 +02:00
Michael Natterer
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
Michael Natterer
42fe565f5d Add the new drawable and vectors lock-content APIs to the docs 2009-09-08 19:46:19 +02:00
Martin Nordholts
b8fec538f6 devel-docs: Add "Index of new symbols in GIMP 2.8" 2009-08-15 21:19:58 +02:00
Martin Nordholts
eb73424044 devel-docs: Update 2.8 symbols 2009-08-15 17:06:43 +02:00
Martin Nordholts
4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Michael Natterer
57417566b2 libgimp/Makefile.am (GTKDOC_CFLAGS) undef GTK_DISABLE_SINGLE_INCLUDES and
2008-05-30  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am (GTKDOC_CFLAGS)
	* libgimpwidgets/Makefile.am (GTKDOC_CFLAGS): undef
	GTK_DISABLE_SINGLE_INCLUDES and GIMP_DISABLE_DEPRECATED here.

	* libgimpwidgets/libgimpwidgets.types: don't try to #define or
	#undef anything here.


svn path=/trunk/; revision=25869
2008-05-30 10:48:56 +00:00
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Sven Neumann
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
Sven Neumann
37db612bca added gimp_context_list_paint_methods
svn path=/trunk/; revision=23506
2007-09-12 08:44:17 +00:00
Sven Neumann
a7436a934d libgimp/Makefile.am added libgimpconfig.
2007-08-10  Sven Neumann  <sven@gimp.org>

	* libgimp/Makefile.am
	* libgimpwidgets/Makefile.am (FIXXREF_OPTIONS): added libgimpconfig.

svn path=/trunk/; revision=23182
2007-08-10 09:30:07 +00:00