Commit Graph

435 Commits

Author SHA1 Message Date
Martin Renold 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
Michael Natterer 056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Mukund Sivaraman 20f34d3e11 pygimp: Mark some functions and methods as deprecated 2011-12-07 10:31:24 +05:30
Mukund Sivaraman 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
Mukund Sivaraman 2abbbb4034 pygimp: Delete obsolete and empty AUTHORS file 2011-12-06 23:56:41 +05:30
Mukund Sivaraman 9451762684 pygimp: Remove obsolete and out-of-place INSTALL file 2011-12-06 23:52:39 +05:30
Martin Nordholts 1c0115ec95 Fix some warnings 2011-07-05 22:13:18 +02:00
Mikael Magnusson 580b5ba624 plug-ins: Disable one more debug statement in pygimp/pygimp-pdb.c 2011-06-16 14:03:13 +02:00
Jon Nordby 8407d30c8c plug-ins: Support layermodes in OpenRaster files 2011-05-22 16:41:54 +02:00
Martin Nordholts d00196dc7d plug-ins: Disable debug output from pygimp/pygimp-pdb.c
Remove debug output from pygimp/pygimp-pdb.c so we don't get annoying
debug output during the plug-in query phase.
2011-05-19 07:21:54 +02:00
Martin Nordholts 726ec88c26 plug-ins: Fix PyGIMP item warnings 2011-05-18 21:30:05 +02:00
João S. O. Bueno 84dcf6281e pygimp: add public Item.from_id method
Allows the integer IDs returned by the PDB to be promoted to Python
objects. This removes a release blocking factor for pygimp and also
sets base for refactoring pygimp object methods into
pure Python.
2011-05-16 10:13:00 -04:00
João S. O. Bueno 3de6cc5f74 pygimp: Creates the "gimp.Item" class
Creates a gimp.Item class and change the hyerarchy so that
Python Vectors, Layers and Drawable classes inherit from it.
Still not working properly, as PDB calls returns raw integer
ID's instead of proper Python objects.
2011-05-16 10:12:59 -04:00
João S. O. Bueno d15cebe649 plug-ins: Fix procedure and file name, list file for translation 2011-05-13 10:50:25 -04:00
João S. O. Bueno 4245b6bbe1 plug-ins: Create save Gradient as CSS3 python-script
A script to enable seamlesly save GIMP gradients as
CSS3 gradients, conformant to w3c and current existing
implementations: mozilla and webkit.
2011-05-12 13:48:26 -04:00
Michael Natterer cc47b2a600 libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Mikael Magnusson 61476aa20a Remove two stray semicolons making if bodies always run 2011-04-08 13:20:37 +02:00
Michael Natterer bd74617756 Bug 643174 - GIMP fails to execute 'Palette to Gradient' function
Don't call gimp_gradient_segment_range_split_uniform() if num_segments
is 1 (which happens on a palette with two colors).
2011-03-17 19:21:07 +01:00
Michael Natterer bb6436cb44 libgimp: deprecate and rename the global pararasite functions
just as it was done for items and images. Remove the "parasite" PDB
group completely.
2011-03-08 14:31:04 +01:00
Michael Natterer 87646e9ace libgimp: deprecate and rename the image parasite functions
in exactly the way the drawable functios were turned into item ones.
2011-03-08 13:19:21 +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 4ec309d562 pygimp: use the new properties instead of hacking around 2011-02-15 21:28:13 +01:00
Michael Natterer 0d22fee220 pygimp: use the new width/height properties instead of poking into the button 2011-02-15 20:55:57 +01:00
Michael Natterer 7907a496a5 pygimp: use the new "channel" property instead of poking into the scale 2011-02-15 18:52:33 +01:00
Michael Natterer b4c9987de6 libgimp: move the item parasite functions to the parasites files
and rename them yet again to be gimp_item_foo_parasite() instead of
gimp_item_parasite_foo() because the latter is just a misnaming (they
are not GimpItemParasites, they are GimpParasites attached to
GimpItems, just as layers are attached to images).
2011-02-13 17:28:30 +01:00
Martin Renold 54792780fc plug-ins: openraster fix for non-ascii layer names
Set the utf-8 filename flag in the ZIP.
Before, layer PNG filenames were stored with undefined coding,
causing most ZIP libraries to interpret it as cp437, if anything.
We now pass a unicode object to ziplib, which does the right thing.
2011-02-05 15:25:22 +02:00
Nils Philippsen 0af966b63f Bug 641259 - [abrt] gimp-2:2.6.11-1.fc14: py-slice.py:172:slice:TypeError: integer argument expected, got float
py-slice: cast cellspacing to int in pyslice() to avoid tracebacks
2011-02-02 17:11:28 +01:00
Omari Stephens 5cae0bf65c Bug 630748 - display filters do not work
Create and use Cairo-compatible API for display filters. Also
includes logic changes to the display filters to deal with cairo's
ARGB32 pre-multiplied buffer format.
2011-01-25 20:24:42 +01:00
Michael Natterer 9703bed2ef libgimp: reorder the parameters of the new and unused gimp-image-select API
Make the common "image" and "operation" parameters come first.
2011-01-24 14:53:42 +01:00
Michael Natterer 09ebacdb82 pygimp: undeprecate quite some stuff 2010-11-24 22:02:22 +01:00
Nils Philippsen d2ebadcfb9 colorxhtml: check validity of source_type 2010-11-09 11:33:49 +01:00
Michael Natterer 29d63afbb7 pdb: remove gimp-item-to-selection again 2010-10-30 22:19:22 +02:00
Sven Neumann 6302ea7de8 pygimp: remove wrappers for gimp_min_colors() and gimp_install_cmap() 2010-10-19 10:02:27 +02:00
Nils Philippsen bec9e4b4ea pygimp: deprecate gimpui.UnitMenu 2010-10-15 17:27:06 +02:00
Nils Philippsen bc265758b0 pygimp: add wrapper for GimpUnit, GimpUnitComboBox 2010-10-15 17:27:06 +02:00
Nils Philippsen b07eed8208 pygimp: fix building with deprecated GimpUnitMenu 2010-10-15 17:27:06 +02:00
Michael Natterer 16491ce8a8 pygimp: completely undeprecate pygimp-image.c
Somebody really needs to take care of deprecating all that
stuff in pygimp itself, and add API for the new functions.
2010-09-16 20:58:21 +02:00
Michael Natterer 98d8d686e8 pygimp: don't use gimp_image,layer_scale_full() 2010-09-16 20:53:15 +02:00
Michael Natterer 4264afbb0e pygimp: port to gimp_item_to_selection() 2010-09-07 00:35:28 +02:00
Sven Neumann bab75db54e python: port plug-ins to Image.insert_layer() 2010-09-06 23:58:10 +02:00
Sven Neumann 378a465caa python: add Image.insert_layer() and Image.insert_channel() 2010-09-06 23:43:22 +02:00
Sven Neumann 48f6219585 python: use gimp_image_insert_layer() instead of add_layer() 2010-09-06 23:31:04 +02:00
Martin Nordholts 529559407e plug-ins/pygimp: Fix copy-paste error in gimpthumb.override 2010-09-03 09:32:25 +02:00
Martin Nordholts b3189cdbf6 plug-ins/pygimp: Workaround for missing header
Add workaround for missing header in gimpui.c and gimpthumb.c to avoid
compile warnings about "no previous prototype".
2010-09-03 08:28:28 +02:00
Martin Nordholts 1d79b045e8 plug-ins/pygimp: Fix setitem function signatures
Use 'Py_ssize_t' not 'int' so we compile without warnings on 64-bit
too.
2010-09-03 08:20:00 +02:00
Martin Nordholts d40984f505 plug-ins/pygimp: Cast PyMappingMethods.mp_length to lenfunc
From Pyton 2.5 - which is the minimum Python version we require - the
type of the mp_length member in PyMappingMethods is lenfunc, not
inquiry. Fix this to get rid of "initialization from incompatible
pointer type" warnings.
2010-09-03 08:12:05 +02:00
David Gowers cebbde5da9 plugins/pygimp: use (PF|PDB)_ITEM instead of _REGION so pygimp works again.
Also update vectors and drawable code to use the new GimpItem API.
2010-07-16 16:40:03 +02:00
Michael Natterer aa5833fb9f pygimp: remove bogus $(srcdir) from a Makefile rule
The rules does (cd $srcdir && ...) anyway, so using $srcdir in that
subshell results in the wrong relative path. Patch by Omari Stephens
and Mikael Magnusson.
2010-06-27 00:38:29 +02:00
Jon Nordby da6ab495b9 plug-ins: OpenRaster visibility layer attribute 2010-05-06 17:55:12 +02:00
Jon Nordby c16af01606 plug-ins: OpenRaster, fix wrong layer positions
Don't store layer offsets in the PNG, or honor them on loading. The layer
position is given by the OpenRaster layer attributes alone. This caused a bug
where the offsets were applied twice, positioning the layer wrong.
2010-05-06 17:55:12 +02:00