Commit Graph

477 Commits

Author SHA1 Message Date
68a9835d56 Bug 756822 - Colors/Desaturate/Luminosity should operate on linear RGB
Add GIMP_DESATURATE_LUMINANCE to enum GimpDesaturateMode and rename
GIMP_DESATURATE_LUMINOSITY to GIMP_DESATURATE_LUMA.

Keep GIMP_DESATURATE_LUMINOSITY as deprecated compat value and add it
to the script-fo and pygimp compat constants.

Change GimpOperationDesaturate to process GIMP_DESATURATE_LUMINANCE
with linear "RGBA float".
2015-10-22 19:50:56 +02:00
5b10339c5f Bug 751584 - parasite_list() methods fail if no parasites found
Correct parasite_list() methods.
2015-09-15 09:34:55 +02:00
0b5c9c41fc Bug 753573 - Enter does not take a default action in Python-Fu dialogs 2015-08-16 20:17:03 +02:00
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
0fad7bb126 openraster: Implements exporting and loading group layers.
This preserves the layer structure and
brings it in pair to MyPaint development branch
(allowing interchange of .ora files with group layers).

Previous behavior on load was oppening all
sub-layers in a flat-space, with no groups,
and flatten layer groups on export.

The implemented behavior accords to the
openraster spec.
2015-02-26 11:37:34 -03:00
f4a24478bd openraster: filesystem encoding could return None - defaults to utf-8 2015-02-22 12:47:47 -03:00
78df196f12 pygimp: added new drawable.get_data method 2015-02-21 02:32:43 -02:00
d965c7cab2 pygimp: add 'precision' property to Image 2015-02-21 02:32:43 -02:00
542729dd42 Bug 743612: Takes the filesystem encoding in consideration 2015-02-15 14:23:39 -02:00
59417ca4b6 Fix PF_LAYER always being passed as a Layer, even if object is a LayerGroup 2015-02-10 11:57:48 -02:00
1cabefae7c plug-ins: fix python compat names for the GIMP_FILL_* enum values 2014-11-12 22:05:31 +01:00
8a28c72d2b plug-ins: foggify: fix bad fill parameters 2014-11-12 22:04:47 +01:00
d344f5a01f pygimp: fixes garbage left on previous commit 2014-06-20 19:17:09 -03:00
e8550148e7 pygimp: adds gimp_image_export functionality to gimp module
Implements gimp.image_export and gimp.export_dialog
2014-06-20 17:53:29 -03:00
f7e1dd2501 pygimp: Layers retrieved using "parent" have to be GroupLayers
Thanks Seldom Needy for spotting this.
2014-06-19 22:19:52 -03:00
425748dab0 libgimpbase, *: rename GimpFillType values: GIMP_FOO_FILL -> GIMP_FILL_FOO
Change all users accordingly and add compat enum values and compat
constants to script-fu and pygimp.
2014-06-03 01:11:32 +02:00
b1e4bca33a pygimp: move foggify to Filters -> Decor 2014-05-17 02:24:06 +02:00
41c0b093a2 pygimp: move histogram-export to Colors -> Info 2014-05-17 02:07:03 +02:00
07ff7c7d6d Bug 728226: Blending mode of layers in ORA changed upon opening 2014-05-10 18:46:31 +02:00
41f9cd7ba0 Fix stray semicolon causing early return
_wrap_gimp_color_scale_new will always fail because "return -1"
falls outside of the if statement.
2014-05-03 00:24:35 -07:00
a4223766f2 all,libgimp*: move GimpConvolveType and GimpInkBlobType to libgimpbase
and make GimpConvolveType's values sane.
2014-04-29 22:44:58 +02:00
22c222291d libgimpbase,*: clean up enum values in gimpbaseenums.h
GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
GIMP_foo_MODE -> GIMP_BLEND_foo
GIMP_foo_CLONE -> GIMP_CLONE_foo
GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
GIMP_foo -> GIMP_TRANSFER_foo

Add compat values for the old names and compat code to script-fu
and pygimp.
2014-04-29 20:58:30 +02:00
d180b9eb98 pygimp: fixes creation of GroupLayer objects
Calling gimp.GrouLayer(...) directly was broken -
(one could retrieve a layer group from the image
or use the pdb call to get it working)

Spotted by Markus Orreilly at
http://stackoverflow.com/questions/12608210/
2014-03-05 12:51:08 -03:00
8449c3b11b Creates a FileChooserbutton that can pick new filenames. Fixes #699978 2014-01-09 00:45:34 -02:00
8a202e7618 Completes addition of histogram-export to text plug-in. Addresses #356760 2014-01-08 20:26:22 -02:00
1ad14fa6d6 Export image histogram to text file 2014-01-08 10:41:52 -02:00
b9b7604e31 Adds secondary palette sorting channel, clean-up, help text 2014-01-05 05:14:38 -02:00
16766f3b41 Remove accelerator markers from tooltips for python-fu dialogs 2014-01-05 04:42:39 -02:00
ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
cc20c8d7f6 Fixed several typos. Minor whitespace changes. 2012-12-14 17:43:10 -05:00
c77fc779db libgimp, plug-ins: use g_strfreev() to free PDB string arrays 2012-11-27 21:16:26 +01:00
579a1a259a Bug 687552 - Improve palette sorting functionality
Apply patch from David Gowers that adds more options to the sort
palette plug-in.
2012-11-07 22:51:22 +01:00
e8eaeb606f Bug 686103 - Incorrect gimpfu documentation
Add missing "None" default values to PF_IMAGE and PF_DRAWABLE
parameters in the procedure registration example.
2012-10-14 21:31:07 +02:00
2f10aee65d Bug 676871: GIMP reports false positive plugin crash after...
entering "quit()" in Python Console.
2012-05-29 13:10:05 +02:00
96ab6aa88e scripts: remove the entries registered in the create menu 2012-05-06 21:16:40 +02:00
3ad73b3658 libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
7d6ff4dccb pygimp: use g_get_user_special_dir() in pygimp_user_directory() 2012-05-03 00:47:00 +02:00
3e119c5af7 libgimpcolor: add gimp_rgb[a]_set,get_pixel()
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
75242a03e4 pygimp: adds proper support for layer groups
Layer groups where barely supported using numeric IDs and
by calling gimp.Item.from_id. This adds a Python
GroupLayer class.
2012-04-20 04:49:16 -03:00
c2f68b59a3 Bug 670897: Phython-fu does not return parent layer...
(pdb.gimp_item_get_parent(item))

Adjust param conversions when wrapping pdb functions
and implement 'children' and 'parent' getter for
GimpItem Python Object.
2012-02-28 18:20:10 +01:00
08ed48fffc Bug 669616 - openraster plugin saves invalid files under some circumstances
If the label contains an URL, the double slashes (//) make very
poor filenames inside the ZIP container.

http://forum.intilinux.com/mypaint-help-and-tips/gimp-corrupting-ora-files/msg10284/#msg10284
2012-02-08 20:22:18 +01:00
056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
20f34d3e11 pygimp: Mark some functions and methods as deprecated 2011-12-07 10:31:24 +05:30
791c0a7da8 pygimp: Delete duplicate COPYING (same as top-level)
Both the top-level COPYING and the one in the pygimp directory are
GNU GPLv3 licenses.
2011-12-07 00:38:46 +05:30
2abbbb4034 pygimp: Delete obsolete and empty AUTHORS file 2011-12-06 23:56:41 +05:30
9451762684 pygimp: Remove obsolete and out-of-place INSTALL file 2011-12-06 23:52:39 +05:30
1c0115ec95 Fix some warnings 2011-07-05 22:13:18 +02:00
580b5ba624 plug-ins: Disable one more debug statement in pygimp/pygimp-pdb.c 2011-06-16 14:03:13 +02:00