Commit Graph

414 Commits

Author SHA1 Message Date
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
Michael Natterer d3ab91b7d2 Revert "Adds a layer-group aware layers property to Layer objects"
This reverts commit 2525e30429.
2010-05-01 14:36:04 +02:00
João S. O. Bueno 2525e30429 Adds a layer-group aware layers property to Layer objects 2010-04-27 23:34:44 -03:00
Nils Philippsen 8885cd3b4f remove obsolete tooltips object creation
amends:
commit a78bffbfb9
Author: Jerry Baker <jbaker@gimpthoughts.com>
Date:   Mon Apr 12 14:40:47 2010 -0400

    Use gtk.Tooltip() instead of gtk.Tooltips()
2010-04-15 16:38:21 +02:00
Jerry Baker a78bffbfb9 Use gtk.Tooltip() instead of gtk.Tooltips() 2010-04-13 20:27:29 +02:00
Jon Nordby 614714d980 plug-ins: Optimize OpenRaster PNG saving
Sets lower compression and disables interlacing.
On a 5 layer image of 4500x6000px this gives an order of magnitude better
save-times, with 50% increase in file size.
2010-03-13 12:23:30 +01:00
Jerry Baker 1eb50fec2e Bug 611928 - Add 'active_vectors' to pygimp
Add 'img_get_active_vectors' and 'img_set_active_vectors' to pygimp.
2010-03-07 12:34:52 +01:00
Jon Nordby bd8af017f5 Bug 605366 - OpenRaster support
Add basic OpenRaster support. At the very least, this allows
multi-layered .ora files to be shared between MyPaint and GIMP.
2010-01-24 09:01:33 +01:00
Omari Stephens 11f094f565 plug-ins/pygimp: Minor style cleanup for readability
Use all the same quotation marks (", not '), switch from string slicing to
.startswith(), and fix and indentation mishap.
2009-12-29 12:52:49 +01:00
Sven Neumann 474b5fdff3 Bug 601891 - gimp_image_get_selection returns None
The code used to make the assumption that the selection mask was
a layer. Actually it is a channel and changing the code accordingly
fixes the reported problem.
2009-11-14 16:50:42 +01:00
Michael Natterer 018e8b0d29 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:31:57 +02:00
Michael Natterer 2a7cb3915f Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:09 +02:00
Manish Singh 2182dec09b Bug 594651 - layer.scale() raises RuntimeError
Add "interpolation" to kwlist for pygimp layer.scale()
2009-09-11 12:55:25 -07:00
Michael Schumacher f19e60636a Bug 551444 – With Python 2.5, module extension should be .pyd
libtool >= 2.2 has a new command line option -shrext. Use this to set
the python modules' file name extension to .pyd
2009-08-11 00:08:38 +02:00
Martin Nordholts 34b5e99905 Rename configure.in to configure.ac
Rename configure.in to configure.ac and update references to the
file. Configure.ac is the recomended and promoted name in the autoconf
manual.
2009-05-17 14:49:04 +02:00
Sven Neumann 259f3bd2ba Fixed procedure name and internationalisation.
Use a spin-button for the font-size.
2009-05-11 16:26:12 +02:00
Sven Neumann 61c065d244 Use the proper API to locate the user gimp directory 2009-05-11 16:26:12 +02:00
João S. O. Bueno 9779233d87 New script for creating pipe brushes from typed text 2009-05-07 13:30:03 -03:00
Sven Neumann 74424325ab Fix default values for Image.new_layer() methods
Use image height instead of width as the default height of the
newly created layer (bug #579400).
2009-04-21 10:24:52 +02:00
Sven Neumann 849a18b08c Bug 574149 – Can't get name/filename of files loaded from URI
2009-03-04  Sven Neumann  <sven@gimp.org>

	Bug 574149 – Can't get name/filename of files loaded from URI

	* tools/pdbgen/pdb/image.pdb: added new procedure 
gimp-image-get-uri.

	* app/pdb/image-cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.

	* plug-ins/pygimp/pygimp-image.c: wrap the new procedure into an
	Image attribute.


svn path=/trunk/; revision=28103
2009-03-04 19:35:18 +00:00
Sven Neumann 1d0aa536cb warn if a script uses the decprecated way of registering its menu
2009-02-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): warn if a script uses the
	decprecated way of registering its menu location.


svn path=/trunk/; revision=28067
2009-02-23 10:03:17 +00: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