Commit Graph

582 Commits

Author SHA1 Message Date
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
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
Michael Natterer 4ea1437646 plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.


svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 5700bd6003 Bug 565138 – python-fu-foggify does not check if image is in rgb mode
2008-12-21  Sven Neumann  <sven@gimp.org>

	Bug 565138 – python-fu-foggify does not check if image is in rgb 
mode

	* plug-ins/pygimp/plug-ins/foggify.py (foggify): fixed handling 
of
	grayscale images.


svn path=/trunk/; revision=27817
2008-12-21 15:33:07 +00:00
Sven Neumann 930772a763 Bug 562459 – PF_PALETTE: 'TypeError' when used in a plugin that is
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562459 – PF_PALETTE: 'TypeError' when used in a plugin that 
is
	registered in <Image>

	* plug-ins/pygimp/gimpui.defs (gimp_palette_select_button_new):
	the 'title' parameter is optional.


svn path=/trunk/; revision=27735
2008-11-27 20:49:14 +00:00
Sven Neumann 3cbb3dc994 Bug 562386 – PF_SLIDER and PF_SPINNER 'Step' values do not change
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562386 – PF_SLIDER and PF_SPINNER 'Step' values do not 
change
	consistently...

	* plug-ins/pygimp/gimpfu.py (SliderEntry): set the precision on
	the slider just as we do it for the spin-button.


svn path=/trunk/; revision=27730
2008-11-27 11:57:07 +00:00
Lars-Peter Clausen 080d1a42f2 Let SpinnerEntry return a float instead of trying to convert the textvalue to an
int.

svn path=/trunk/; revision=27728
2008-11-27 11:33:02 +00:00
Sven Neumann 44c92ad267 Bug 562386 – PF_SLIDER and PF_SPINNER 'Step' values do not change
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562386 – PF_SLIDER and PF_SPINNER 'Step' values do not 
change
	consistently...

	* plug-ins/pygimp/gimpfu.py (SpinnerEntry): initialize the
	spin-button the way that gtk_spin_button_new_with_range() is
	implemented.


svn path=/trunk/; revision=27726
2008-11-27 10:25:10 +00:00
Sven Neumann af64515e53 Bug 556182 – Could you please explain a few strings [I18N]
2008-10-13  Sven Neumann  <sven@gimp.org>

	Bug 556182 – Could you please explain a few strings [I18N]
	
	* plug-ins/pygimp/plug-ins/py-slice.py: added translator 
comments.


svn path=/trunk/; revision=27272
2008-10-13 20:33:31 +00:00
Sven Neumann 4bdf294b94 undef GIMP_DISABLE_DEPRECATED as we need the deprecated
2008-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-image.c: undef GIMP_DISABLE_DEPRECATED
	as we need the deprecated gimp_image_free_shadow() here.

	* plug-ins/pygimp/pygimp-drawable.c: added 
Drawable.free_shadow().


svn path=/trunk/; revision=27043
2008-09-24 11:17:12 +00:00
Sven Neumann 7414d0bc16 plug-ins/pygimp/pygimp-drawable.c added optional interpolation parameters
2008-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/pygimp/pygimp-image.c: added optional interpolation
	parameters to the image.scale() and layer.scale() methods.


svn path=/trunk/; revision=27042
2008-09-24 09:48:44 +00:00
Sven Neumann b282820836 removed she-bang as this file is not a plug-in. Addresses bug #552601.
2008-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/pyconsole.py: removed she-bang as 
this
	file is not a plug-in. Addresses bug #552601.


svn path=/trunk/; revision=26977
2008-09-17 21:07:23 +00:00
Sven Neumann 8ec1d65a4a removed trailing whitespace
svn path=/trunk/; revision=26852
2008-09-04 08:37:32 +00:00
Lars-Peter Clausen eada9412bf Removed trailing whitespace.
2008-09-03  Lars-Peter Clausen  <lars@metafoo.de>

	* plugin-ins/pygimp/pygimp-tile.c: Removed trailing whitespace.


svn path=/trunk/; revision=26850
2008-09-03 21:30:41 +00:00
Lars-Peter Clausen 74b5c92b93 define PyInt_AsSsize_t as PyInt_AsLong if the python version is smaller
2008-09-03  Lars-Peter Clausen  <lars@metafoo.de>

	* plugin-ins/pygimp/pygimp.h: define PyInt_AsSsize_t as PyInt_AsLong
	if the python version is smaller then 2.5.0.
	* configure.in: Lower required python version to 2.4.


svn path=/trunk/; revision=26849
2008-09-03 21:20:12 +00:00
Lars-Peter Clausen aa318cd08b plug-ins/pygimp/gimpui.defs Readded wrapper for the new GimpRuler.
2008-08-29  Lars-Peter Clausen  <lars@metafoo.de>
	
	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Readded wrapper for the new GimpRuler.


svn path=/trunk/; revision=26814
2008-08-29 11:09:35 +00:00
Lars-Peter Clausen ee9d10f70a plug-ins/pygimp/gimpui.defs Removed wrappers for GimpRuler, GimpHRuler,
2008-08-29  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Removed wrappers for GimpRuler, GimpHRuler, GimpVRuler, as those
	are going to be removed from libgimpwidgets.


svn path=/trunk/; revision=26809
2008-08-29 09:41:16 +00:00
Lars-Peter Clausen 0d97703b65 plug-ins/pygimp/gimpui.defs Wrapped GimpRuler, GimpHRuler and GimpVRuler
2008-08-28  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Wrapped GimpRuler, GimpHRuler and GimpVRuler widgets.


svn path=/trunk/; revision=26807
2008-08-28 20:49:07 +00:00
Lars-Peter Clausen 3de0fab74a plug-ins/pygimp/gimpui.defs Merged gimpui.{defs,override} from pygimp GSoC
2008-08-28  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Merged gimpui.{defs,override} from pygimp GSoC project.
	Updates gimpui module to have bindings for most widgets functions.


svn path=/trunk/; revision=26806
2008-08-28 19:51:02 +00:00
Lars-Peter Clausen 8ff73b4c2d Removed some unnecessary g_new/g_free and improved range checking.
2008-08-27  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-tile.c
	(pr_subscript): Removed some unnecessary g_new/g_free and improved 
	range checking.
	(pr_ass_sub): Improved range checking.
	(pygimp_pixel_rgn_new): Clamp pixel region size to the drawable's size.


svn path=/trunk/; revision=26791
2008-08-27 15:46:28 +00:00
Lars-Peter Clausen 22d7a536c2 Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both don't
2008-08-26  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpmodule.c:
	Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both
	don't have init functions.


svn path=/trunk/; revision=26785
2008-08-26 22:06:00 +00:00
Lars-Peter Clausen 4d4ef1a8cf Ensure that the python drawables gimp drawable is set. (pf_dealloc): Don't
2008-08-26  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-tile.c
	(pf_init): Ensure that the python drawables gimp drawable is set.
	(pf_dealloc): Don't crash if the pixel fetchers init function failed.


svn path=/trunk/; revision=26784
2008-08-26 21:59:21 +00:00
Lars-Peter Clausen 141e7eb460 Moved execution into global namespace. Fixes import statements inside of
2008-08-24  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/plug-ins/python-fu-eval.py: Moved execution into
	global namespace. Fixes import statements inside of evaled code.


svn path=/trunk/; revision=26746
2008-08-24 16:54:38 +00:00
Lars-Peter Clausen 0527aaa3e4 Fix wrong strcmp evaluation.
2008-08-24  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Fix wrong strcmp
	evaluation.


svn path=/trunk/; revision=26745
2008-08-24 16:38:23 +00:00
Lars-Peter Clausen c796bca92f Fix method format string, so the method is actual callable in a script.
2008-08-24  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-drawable.c (drw_transform_rotate,
	drw_transform_flip_simple): Fix method format string, so the
	method is actual callable in a script.


svn path=/trunk/; revision=26744
2008-08-24 16:31:35 +00:00
Sven Neumann e73fc40cf4 don't hardcode the tile size, use gimp.tile_width() instead.
2008-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/whirlpinch.py: don't hardcode the 
tile
	size, use gimp.tile_width() instead.


svn path=/trunk/; revision=26632
2008-08-17 20:37:31 +00:00
Sven Neumann 00f704f82f formatting.
2008-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/whirlpinch.py: formatting.


svn path=/trunk/; revision=26631
2008-08-17 20:21:29 +00:00
Sven Neumann 52522c3f4e also use gimp_get_pdb_error() here. Easier and safer than looking at the
2008-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-pdb.c (pf_call): also use
	gimp_get_pdb_error() here. Easier and safer than looking at the
	return values to get the error message.


svn path=/trunk/; revision=26604
2008-08-16 17:29:31 +00:00
Sven Neumann 2fcef8b03e Next step towards fixing bug #344818:
2008-08-16  Sven Neumann  <sven@gimp.org>

	Next step towards fixing bug #344818:

	* libgimp/gimp.[ch]: keep the last error status and error 
message
	in libgimp. Added new functon gimp_pdb_get_error() that allows 
to
	retrieve it.

	* libgimp/gimp.def: updated.

	* plug-ins/pygimp/gimpmodule.c (pygimp_vectors_import_from_file)
	(pygimp_vectors_import_from_string): use the new function to get
	a more useful error message.


svn path=/trunk/; revision=26602
2008-08-16 17:18:13 +00:00
Sven Neumann f84608d539 If a procedure call fails, pass a string describing the error as the
2008-08-16  Sven Neumann  <sven@gimp.org>

	If a procedure call fails, pass a string describing the error as
	the second return value. First step towars fixing bug #344818.

	* app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values):
	added a GError parameter. If it is set, pass the error message 
to
	the return values.

	* app/pdb/gimppdberror.h: added some more error codes.

	* app/pdb/gimppdb.c
	* app/xcf/xcf.c: pass errors to 
gimp_procedure_get_return_values().

	* app/plug-in/gimpplugin-message.c 
(gimp_plug_in_handle_proc_run):
	show a different error message for execution vs. calling errors.

	* app/plug-in/gimpplugin-progress.c
	(gimp_plug_in_progress_cancel_callback): pass the error
	GIMP_PDB_CANCELLED to gimp_procedure_get_return_values().

	* app/plug-in/gimppluginmanager-call.[ch]
	(gimp_plug_in_manager_call_run): removed the 
'destroy_return_vals'
	parameter.

	* app/plug-in/gimppluginprocedure.c: destroy the return values 
here.

	* app/plug-in/gimppluginprocframe.c: pass an error to
	gimp_procedure_get_return_values().

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/fileops.pdb: generate code that passes the
	error to gimp_procedure_get_return_values().

	* app/pdb/*-cmds.c: regenerated.
	
	* plug-ins/pygimp/pygimp-pdb.c: extract the error message from 
the
	return values and pass it to the exception that is thrown.


svn path=/trunk/; revision=26593
2008-08-16 13:57:57 +00:00
Sven Neumann d18f24ea0a renamed the dialog class to ConsoleDialog to avoid confusion with
2008-08-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py: renamed the dialog
	class to ConsoleDialog to avoid confusion with 
pyconsole.Console.


svn path=/trunk/; revision=26544
2008-08-14 05:56:58 +00:00
Sven Neumann d87877c257 instead of calling gimp-displays-flush twice a second, call it after each
2008-08-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py: instead of calling
	gimp-displays-flush twice a second, call it after each command
	that is committed. This is similar to what the Script-Fu console
	does.

	* plug-ins/script-fu/script-fu-console.c: formatting.


svn path=/trunk/; revision=26543
2008-08-13 21:54:27 +00:00
Sven Neumann d1a37ae49b fix compiler warnings.
2008-08-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-colors.c: fix compiler warnings.


svn path=/trunk/; revision=26538
2008-08-13 21:10:17 +00:00
Sven Neumann 81131c0bb4 Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB colors as
2008-07-14  Sven Neumann  <sven@gimp.org>

	Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
	colors as argument or return value.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
	the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.

	* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
	(struct _GPParam): added d_colorarray entry to the union.

	* libgimpbase/gimpprotocol.c
	* libgimp/gimp.[ch]
	* app/pdb/gimp-pdb-compat.c
	* app/plug-in/plug-in-params.c
	* app/plug-in/gimpplugin-message.c
	* tools/pdbgen/pdb.pl: deal with the new data type.

	* tools/pdbgen/enums.pl: regenerated.

	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.


svn path=/trunk/; revision=26189
2008-07-14 14:09:16 +00:00
Manish Singh 874870be13 Allow None to be passed for PDB_DISPLAY.
2008-07-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: Allow None to be passed for
        PDB_DISPLAY.

svn path=/trunk/; revision=26107
2008-07-10 18:22:08 +00:00
Sven Neumann 717c352c28 renamed ChangeLog file to avoid that it is still being used accidentally
svn path=/trunk/; revision=26092
2008-07-09 08:05:09 +00:00
Sven Neumann 9799904044 moved ChangeLog entry to the proper file
svn path=/trunk/; revision=26091
2008-07-09 08:04:10 +00:00
Martin Nordholts bfadf77cd3 Remove duplicate entry of gimp.get_foreground().
2008-07-08  Martin Nordholts  <martinn@svn.gnome.org>

	* gimpmodule.c (gimp_methods): Remove duplicate entry of
	gimp.get_foreground().

svn path=/trunk/; revision=26089
2008-07-08 17:08:59 +00:00
Lars-Peter Clausen c103ca3c90 plug-ins/pygimp/pygimp-drawable.c plug-ins/pygimp/pygimp-vectors.c
2008-07-03  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/pygimp/pygimp-vectors.c
	* plug-ins/pygimp/pygimp-display.c
	* plug-ins/pygimp/pygimp-image.c: Added checks to ensure that a python
	object only is created if its id is valid. Fixes bug #536403.
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/pygimp/pygimp-tile.c
	* plug-ins/pygimp/pygimp-colors.c
	* plug-ins/pygimp/pygimp.h: Fix crashing when pygimp is used with
	python-2.5 on 64 bit systems. Fixes bug #540629.


svn path=/trunk/; revision=26044
2008-07-03 11:39:52 +00:00
Michael Natterer 335c9a90cb revert last patch because Py_ssize_t is undefined in some (older?)
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* pygimp-pdb.c:
	* pygimp-tile.c:
	* pygimp-colors.c: revert last patch because Py_ssize_t is
	undefined in some (older?) pythons. Needs more investigation.


svn path=/trunk/; revision=26016
2008-06-28 21:01:53 +00:00
Martin Nordholts c3d5eeab80 Applied patch from Ed Swartz that makes use of Py_ssize_t:s instead of
2008-06-28  Martin Nordholts  <martinn@svn.gnome.org>

	* pygimp-pdb.c:
	* pygimp-tile.c:
	* pygimp-colors.c: Applied patch from Ed Swartz that makes use of
	Py_ssize_t:s instead of int:s to better utilize 64-bit
	systems. (Bug #540629.)

svn path=/trunk/; revision=26011
2008-06-28 16:38:50 +00:00
Manish Singh 3ff8e10dc6 fix _vectors_id to return a tuple for the ID. Spotted and fixed by Joao.
2008-05-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpshelf.py: fix _vectors_id to return a tuple
        for the ID. Spotted and fixed by Joao.

svn path=/trunk/; revision=25865
2008-05-29 22:14:05 +00:00
Sven Neumann 73e717eb34 require glib-gettextize 2.16.
2008-05-23  Sven Neumann  <sven@gimp.org>

	* autogen.sh (GLIB_REQUIRED_VERSION): require glib-gettextize 2.16.

	* libgimp/libgimp-intl.h
	* plug-ins/pygimp/pygimp-intl.h: synced with gi18n-lib.h from glib
	2.16. This adds support for the C_() macro.

	* plug-ins/script-fu/script-fu-intl.h: just include gi18n.h instead
	of duplicating things from this header.

svn path=/trunk/; revision=25775
2008-05-23 13:36:31 +00:00
Manish Singh fa365e1471 Add PF_OPTION. Fixes bug #523142.
2008-05-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Add PF_OPTION. Fixes bug #523142.

svn path=/trunk/; revision=25664
2008-05-14 09:52:14 +00:00
Sven Neumann 266129b39f strip mnemonics from parameter names before passing them to
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_query.make_params): strip 
mnemonics
	from parameter names before passing them to 
gimp.install_procedure().


svn path=/trunk/; revision=25489
2008-04-14 18:07:37 +00:00
Michael Natterer e31bbcff9c plug-ins/pygimp/plug-ins/python-console.py fix new menu paths.
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.


svn path=/trunk/; revision=25459
2008-04-10 11:33:02 +00:00
Sven Neumann b464c4f426 plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/pygimp/plug-ins/sphere.py: register in new menu 
locations.


svn path=/trunk/; revision=25445
2008-04-09 17:16:24 +00:00
Sven Neumann 184bf5a900 plug-ins/pygimp/plug-ins/Makefile.am
2008-04-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am

        * plug-ins/pygimp/plug-ins/happy-valley-relief.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-eval.py: ... this.

        * plug-ins/pygimp/plug-ins/gimpcons.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-console.py: ... this.

svn path=/trunk/; revision=25411
2008-04-08 09:10:03 +00:00
Manish Singh 668ff27c94 add gimp.exit(), a wrapper around the PDB function gimp-quit.
2008-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: add gimp.exit(), a wrapper around
        the PDB function gimp-quit.

svn path=/trunk/; revision=24918
2008-02-19 10:26:06 +00:00
Sven Neumann 34ea5ae14f formatting.
2008-02-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/pyconsole.py: formatting.

svn path=/trunk/; revision=24860
2008-02-11 16:39:45 +00:00
Manish Singh feff2c6b6d no need to use a temporary in tuple translation, and clamp the result.
2008-01-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): no
        need to use a temporary in tuple translation, and clamp the result.

        * plug-ins/pygimp/gimpmodule.c (pygimp_set_background,
        pygimp_set_foreground): restore support for passing in 3 args for
        color components, for backward compatibility.

svn path=/trunk/; revision=24716
2008-01-27 05:09:28 +00:00
Joao S. O. Bueno 2ca4dcf882 fix subsequent error (calculated parameters where not used)
2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
        subsequent error (calculated parameters where not used)

svn path=/trunk/; revision=24715
2008-01-27 04:58:18 +00:00
Manish Singh dc84799993 fix error reporting.
2008-01-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
        error reporting.

svn path=/trunk/; revision=24714
2008-01-27 03:01:50 +00:00
Manish Singh 60f4aa444c Handle __members__ specially to return the current PDB procedure list, and
2008-01-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Handle __members__
        specially to return the current PDB procedure list, and pass-through
        any attributes that start with "_" without looking them up in the
        PDB.

svn path=/trunk/; revision=24595
2008-01-10 23:39:49 +00:00
Sven Neumann 7c745575d6 fixed spelling of GIMP.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gimpcons.py: fixed spelling of GIMP.


svn path=/trunk/; revision=24593
2008-01-10 21:27:15 +00:00
Joao S. O. Bueno 95559d7693 Allow Vectors.remove_stroke method to accept VectorStroke objects besides
2008-01-09 Joao S. O. Bueno <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-vectors.c: Allow Vectors.remove_stroke
        method to accept VectorStroke objects besides stroke IDs. Fix
        method names in error strings.

svn path=/trunk/; revision=24583
2008-01-10 00:39:26 +00:00
Joao S. O. Bueno 080cdd66fb fixed incorrect function name in error message for vs_flip
2008-01-05  Joao S. O. Bueno <gwidion@mpc.com.br>

* plug-ins/pygimp/pygimp-vectors.c: fixed incorrect function name
in error message for vs_flip

svn path=/trunk/; revision=24556
2008-01-07 03:02:58 +00:00
Manish Singh 30e0e4125c new Image.new_layer() method, which is convenience for creating, filling,
2008-01-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,
        which is convenience for creating, filling, and attaching a new
        layer onto an image. Based on a idea and patch by João S. O. Bueno
        in bug #505982.

svn path=/trunk/; revision=24540
2008-01-05 23:36:42 +00:00
Manish Singh 7313f6d06c subscript API for PixelFetcher.
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-tile.c: subscript API for PixelFetcher.

svn path=/trunk/; revision=24486
2007-12-30 16:56:57 +00:00
Manish Singh 43f8239668 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-pdb.c
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-colors.c
        * plug-ins/pygimp/pygimpcolor-api.h
        * plug-ins/pygimp/pygimpcolor.h: Move pygimp_rgb_from_pyobject into
        the gimpcolor module, and make it handle translation of sequences
        into colors too. Make the GimpParam translation code use it.

        * plug-ins/pygimp/gimpcolormodule.c: Initial wrapping of
        gimp_bilinear color functions.

        * plug-ins/pygimp/gimpenumsmodule.c
        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-tile.c: Basic wrapping of GimpPixelFetcher.

svn path=/trunk/; revision=24481
2007-12-30 15:25:13 +00:00
Sven Neumann 40f237269c allow the use of CSS color names and hexadecimal color notation.
2007-12-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_set_background)
	(pygimp_set_foreground): allow the use of CSS color names and
	hexadecimal color notation.


svn path=/trunk/; revision=24310
2007-12-10 20:07:33 +00:00
Sven Neumann 2c594fbc33 fixed logic that decides if a dialog should be shown or not.
2007-12-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if 
a
	dialog should be shown or not.


svn path=/trunk/; revision=24300
2007-12-08 17:29:06 +00:00
Sven Neumann 4c9e97d4ad plug-ins/pygimp/pygimp-colors.c removed calls to PyMem_Free().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-colors.c
	* plug-ins/pygimp/gimpcolormodule.c: removed calls to 
PyMem_Free().


svn path=/trunk/; revision=24290
2007-12-07 19:21:35 +00:00
Sven Neumann 021abe4a74 accept a string and parse it using gimpcolor.rgb_parse_css().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.py (ColorSelector.__init__): accept a
	string and parse it using gimpcolor.rgb_parse_css().

	* plug-ins/pygimp/plug-ins/sphere.py: show off the new feature.

svn path=/trunk/; revision=24285
2007-12-07 16:53:06 +00:00
Sven Neumann 8b15c5e2f3 push/pop a context instead of manually restoring the background color.
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/foggify.py: push/pop a context instead
	of manually restoring the background color.

svn path=/trunk/; revision=24283
2007-12-07 13:43:07 +00:00
Michael Natterer 36bda892a9 libgimpbase/Makefile.am removed.
2007-10-31  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/xdg-user-dir.[ch]: removed.

	* libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.

	* libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
	the implementation call g_get_user_special_dir().

	* libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c

	* app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.

	* plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.


svn path=/trunk/; revision=24018
2007-10-31 13:09:46 +00:00
Sven Neumann 8b624fa210 moved shadow_bevel.py to test-scripts so that it isn't installed by
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am: moved shadow_bevel.py to
	test-scripts so that it isn't installed by default (bug 
#482289).


svn path=/trunk/; revision=23711
2007-10-01 20:29:45 +00:00
Manish Singh 9e13d05f5c drop the reference we added to the args tuple in the error case.
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): drop the
        reference we added to the args tuple in the error case.

svn path=/trunk/; revision=23694
2007-09-30 08:37:45 +00:00
Manish Singh d70088c961 fill layer before using it. Fixes bug #481798, thanks to Jakub Friedl for
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/foggify.py: fill layer before using it.
        Fixes bug #481798, thanks to Jakub Friedl for suggesting fix.

svn path=/trunk/; revision=23693
2007-09-30 08:22:06 +00:00
Joao S. O. Bueno Calligaris ea9a919220 avoids function call with an invalid drawable id
2007-08-15  Joao S. O. Bueno Calligaris <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-drawable.c: avoids function call
          with an invalid drawable id


svn path=/trunk/; revision=23272
2007-08-15 14:01:01 +00:00
Michael Natterer 0d17856e58 libgimpbase/gimpbaseenums.[ch] changed enum GimpUserDirectory and API of
2007-08-11  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]
	* libgimpbase/gimpenv.[ch]: changed enum GimpUserDirectory and API
	of gimp_user_directory() so that g_get_user_special_dir() can be
	used instead as soon as we depend on GLib 2.14.

	* tools/pdbgen/enums.pl: regenerated.

	* app/widgets/gimpfiledialog.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.


svn path=/trunk/; revision=23212
2007-08-11 17:15:52 +00:00
Manish Singh b6bac3fc8c remove reference to now deprecated gimp_color_display_new() function.
2007-08-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs: remove reference to now deprecated
        gimp_color_display_new() function.

svn path=/trunk/; revision=23158
2007-08-08 20:36:26 +00:00
Mukund Sivaraman 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
Manish Singh 6f26979be4 plug-ins/pygimp/gimpcolormodule.c plug-ins/pygimp/gimpenumsmodule.c
2007-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpcolormodule.c
        * plug-ins/pygimp/gimpenumsmodule.c
        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/gimpthumbmodule.c
        * plug-ins/pygimp/gimpuimodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: cleanups.

svn path=/trunk/; revision=22644
2007-05-28 22:26:22 +00:00
Manish Singh 1c1ee4dd21 return None if we're passed an ID of -1, like the other GIMP object
2007-05-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-display.c (pygimp_display_new): return None
        if we're passed an ID of -1, like the other GIMP object constructors.

svn path=/trunk/; revision=22608
2007-05-25 01:28:31 +00:00
Manish Singh db08253213 remove the delete method, PyGimp objects are supposed to be deleted via
2007-05-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-display.c: remove the delete method, PyGimp
        objects are supposed to be deleted via gimp.delete()

svn path=/trunk/; revision=22607
2007-05-25 01:27:48 +00:00
Sven Neumann f98b0de0d6 added an ID attribute and a delete method to the Gimp.Display object.
2007-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-display.c: added an ID attribute and a
	delete method to the Gimp.Display object.

	* plug-ins/pygimp/gimpshelf.py (_display_id): use the ID 
attribute.

	* plug-ins/pygimp/gimpfu.py: enabled support for PF_DISPLAY.


svn path=/trunk/; revision=22605
2007-05-24 20:12:50 +00:00
Manish Singh d98ad07e18 add binding for gimp_user_directory().
2007-05-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: add binding for gimp_user_directory().

svn path=/trunk/; revision=22485
2007-05-14 07:37:52 +00:00
Manish Singh 083f18555d remove parameter definition special casing that was based on menu and
2007-05-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: remove parameter definition special
        casing that was based on menu and plugin types. Instead expect the
        script to specify all its parameters in its register call, and hide
        the UI elements for the parameters we are already passed in
        interactive mode. For compatibilty, this is only turned on when you
        specify the "menu" named argument in the register call, or if you
pass
        an empty label. This should fix bug #104639.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/colorxhtml.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/py-slice.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: update to register image
        * and
        drawable parameters explicitly.

svn path=/trunk/; revision=22467
2007-05-10 17:07:48 +00:00
Manish Singh e019d0c423 bind gimp_image_resize_to_layers.
2007-05-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: bind gimp_image_resize_to_layers.

svn path=/trunk/; revision=22466
2007-05-10 16:57:51 +00:00
Sven Neumann 9d91f3c5b7 don't add the radiobuttons into a GtkFrame.
2007-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: don't add the radiobuttons into a
	GtkFrame.

	* plug-ins/pygimp/plug-ins/sphere.py: added a PF_RADIO parameter
	as an example and for testing purposes.


svn path=/trunk/; revision=22442
2007-05-06 20:06:20 +00:00
William Skaggs e78be6be72 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpresolutionentry.[ch]: removed
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/Makefile.am: changed accordingly

	* plug-ins/pygimp/gimpui.defs: resolution entry api removed

	* plug-ins/common/poppler.c: resolution entry code added
	here, with unused api removed.

	Addresses (maybe fixes) bug #351281.

svn path=/trunk/; revision=22394
2007-05-03 22:13:48 +00:00
Manish Singh c0057c99a0 add optional run_mode keyword argument to pdb calls.
2007-04-28 Manish Singh <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: add optional run_mode keyword argument
        to pdb calls.

svn path=/trunk/; revision=22361
2007-04-28 23:14:28 +00:00
Sven Neumann 4af6da98e1 support mnemonics in parameter labels.
2007-03-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: support mnemonics in parameter labels.

	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/colorxhtml.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/palette-offset.py
	* plug-ins/pygimp/plug-ins/palette-sort.py: added mnemonics.


svn path=/trunk/; revision=22074
2007-03-08 15:17:54 +00:00
Sven Neumann acdabd3923 plug-ins/pygimp/plug-ins/Makefile.am stop installing any test scripts.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am
	* plug-ins/script-fu/scripts/Makefile.am: stop installing any test
	scripts.


svn path=/trunk/; revision=21973
2007-02-22 08:08:09 +00:00
Sven Neumann b99f99f16c plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/neon.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/pix.c
	* plug-ins/common/psd.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/metadata/interface.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjpeg.c
	* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().


svn path=/trunk/; revision=21947
2007-02-19 10:37:33 +00:00
Sven Neumann 4cbb01c0f2 applied patch from Tim Mooney (bug #400389).
2007-01-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/palette-offset.py: applied patch from
	Tim Mooney (bug #400389).


svn path=/trunk/; revision=21778
2007-01-24 22:37:27 +00:00
Sven Neumann 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Sven Neumann 41237259c9 In all files, changed the standard copyright notice to say "GIMP - The GNU
2006-12-09  Sven Neumann  <sven@gimp.org>

        * In all files, changed the standard copyright notice to say
        "GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Manish Singh 473c0c010f plug-ins/pygimp/pygimp-api.h plug-ins/pygimp/pygimp.h export common object
2006-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/gimpmodule.c: export common object types via
        _PyGimp_API, and remove the PDBFunction_Type hack. Also define
        the common object structures here.

        * plug-ins/pygimp/pygimp.h: remove hack for Python < 2.3, since
        we require Python 2.3 now.

        * plug-ins/pygimp/gimpui.override
        * plug-ins/pygimp/gimpui.py: create and use specialized wrappers
        for get/set_active methods for GimpIntComboBox and derived types.
        Fixes #376102.
2006-11-28 09:46:18 +00:00
Manish Singh 67556fd196 bezier_stroke_new_moveto and bezier_stroke_new_ellipse are now class
2006-11-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: bezier_stroke_new_moveto and
        bezier_stroke_new_ellipse are now class methods of
        VectorsBezierStroke.

        * plug-ins/pygimp/gimpmodule.c: vectors import now has better
        error handling and cleanup. Also stick VectorsBezierStroke in
        the gimp namespace so the class is available for constructing.
2006-11-24 09:49:29 +00:00
Simon Budig 29de173de8 follow the function renaming as well. Why didn't this complain when I
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: follow the function renaming
	as well. Why didn't this complain when I compiled earlier?
2006-11-23 22:11:46 +00:00
Simon Budig 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
Sven Neumann 7eee48b1de override the wrapper for gimp_int_combo_box_get_active() and let it return
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override: override the wrapper for
	gimp_int_combo_box_get_active() and let it return the selected
	integer instead of the index in the combo (bug #376102).
2006-11-17 12:02:22 +00:00
Simon Budig 3240f87208 added PF_VECTORS type.
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added PF_VECTORS type.

	* plug-ins/pygimp/gimpui.py
	* plug-ins/pygimp/gimpui.override: add code for the vectors combo box

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-api.h: changed accordingly, untabbified.

	* plug-ins/pygimp/pygimp.h: untabbified.
2006-11-16 21:23:50 +00:00
Sven Neumann f2d055f786 added context_push() and context_pop() methods to the gimp module.
2006-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added context_push() and
	context_pop() methods to the gimp module.

	* plug-ins/pygimp/plug-ins/sphere.py: use them.
2006-11-07 17:57:44 +00:00
Sven Neumann 6ff59cece0 string fixes.
2006-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/py-slice.py: string fixes.
2006-10-31 17:15:21 +00:00
Simon Budig 87e8ad5637 Added missing gimp-version symbols.
2006-10-31  Simon Budig  <simon@gimp.org>

	* libgimp/gimp.def: Added missing gimp-version symbols.

	* tools/pdbgen/pdb/vectors.pdb: force the libgimp-API to return
	success values for the gimp_vectors_new_from_*  functions.

	* libgimp/gimpvectors_pdb.[ch]: regenerated

	* plug-ins/pygimp/gimpmodule.c: changed accordingly, untabbified.

	* plug-ins/common/svg.c: Don't use deprecated API, untabbified.
2006-10-30 23:04:12 +00:00
Manish Singh 2442d17054 refactored, some UI polish.
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: refactored, some UI polish.

        * plug-ins/pygimp/plug-ins/colorxhtml.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/palette-offset.py
        * plug-ins/pygimp/plug-ins/palette-sort.py
        * plug-ins/pygimp/plug-ins/palette-to-gradient.py
        * plug-ins/pygimp/plug-ins/py-slice.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py: use booleans instead
        of numbers for readability in gettext.install calls.
2006-10-29 06:30:33 +00:00
Manish Singh 1fb934b9f8 can't use gettext.install here because sys.displayhook fills
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: can't use gettext.install
        here because sys.displayhook fills __builtins__._ too and it'd
        be best to maintain that behavior.
2006-10-29 05:12:42 +00:00
Manish Singh c79d7c9499 "Apply" output from the procedure browser windows now replaces the current
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: "Apply" output from the
        procedure browser windows now replaces the current line, to maintain
        semantics of the old console.
2006-10-28 20:27:29 +00:00
Hans Breuer 3551bbcca0 updated
2006-10-27  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
2006-10-27 16:04:53 +00:00
Manish Singh 7d014b4ae2 wrap gimp_vectors_stroke_new_from_points in the form of a
2006-10-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: wrap
        gimp_vectors_stroke_new_from_points in the form of a
        VectorsBezierStroke constructor.

        * plug-ins/pygimp/gimpmodule.c: wrap gimp_vectors_new_from_file
        and gimp_vectors_new_from_string.

        * plug-ins/pygimp/pygimp-pdb.c: PDB_VECTORS should be translated
        into Vectors objects.
2006-10-27 07:17:13 +00:00
Manish Singh bc232ef86b remove_stroke is now a Vectors object method. Also implement, get_ID,
2006-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: remove_stroke is now a Vectors
        object method. Also implement, get_ID, get_vectors_ID, and get_points
        for VectorsStroke.
2006-10-24 22:05:16 +00:00
Simon Budig 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
Manish Singh e4b08205e3 Vector object wrapper API.
2006-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: Vector object wrapper API.

        * plug-ins/pygimp/Makefile.am: add above file.

        * plug-ins/pygimp/gimpshelf.py
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/gimpmodule.c: hook the new objects in.

        * plug-ins/pygimp/pygimp-image.c: get_vectors accessor.
2006-10-24 09:16:14 +00:00
Manish Singh f548a6ea7e plug-ins/pygimp/plug-ins/pyconsole.py Make CTRL-D close the console.
2006-10-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/pyconsole.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: Make CTRL-D close the
        console.
2006-10-22 22:35:10 +00:00
Manish Singh aa093e8879 Windows is dumb, special case out gimp invocation just like we did for
2006-10-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/pyconsole.py: Windows is dumb, special
        case out gimp invocation just like we did for gtkcons.py
2006-10-21 20:21:32 +00:00
Manish Singh 905a0e46ca clone methods can't be marked as constructors.
2006-10-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs: clone methods can't be marked as
        constructors.

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/procbrowser.c: Remove one-off GimpProcBrowserDialog
        wrapper. Nobody but the console should've been using it anyway.

        * plug-ins/pygimp/gimpui.override: overrides for GimpEnumLabel,
        GimpIntComboBox, and GimpProcBrowserDialog constructors, as well
        as gimp_browser_add_search_types.

        * plug-ins/pygimp/plug-ins/pyconsole.py: New console widget,
        taken from GGAP (http://ggap.sourceforge.net)

        * plug-ins/pygimp/plug-ins/gtkcons.py: removed.

        * plug-ins/gimpcons.py: use new console widget, and the
        GimpProcBrowserDialog binding directly. Still a little rough in
        places.

        * plug-ins/pygimp/plug-ins/pdbbrowse.py: removed, it's redundant.

        * plug-ins/pygimp/plug-ins/Makefile.am: reflect above changes.
2006-10-20 18:03:06 +00:00
Manish Singh 7f93f53237 plug-ins/pygimp/gimpmodule.c use pygimp_init_pygobject here too. Report
2006-10-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use pygimp_init_pygobject here too.
        Report and patch from Eric Lamarque (fixes bug #363516).
2006-10-20 08:02:24 +00:00
Sven Neumann af1320b606 Made 2.3.12 development release.
2006-10-11  Sven Neumann  <sven@gimp.org>

        * Made 2.3.12 development release.

        * plug-ins/pygimp/Makefile.am (codegen_files): added missing files.
2006-10-11 15:17:07 +00:00
Manish Singh 7457b3c46e Add slice support to the colors types. Fixes bug #360423.
2006-10-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: Add slice support to the colors
        types. Fixes bug #360423.
2006-10-11 06:02:23 +00:00
Manish Singh a8855ae632 Don't use Python 2.4 specific functions, nor deprecated sys module
2006-10-07  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Don't use Python 2.4 specific functions,
        nor deprecated sys module attributes. Fixes bug #360411.
2006-10-07 21:07:04 +00:00
Manish Singh 521fab9316 plug-ins/pygimp/gimpui.defs new style constructors for GimpColorButton and
2006-10-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs
        * plug-ins/pygimp/gimpui.override: new style constructors for
        GimpColorButton and GimpColorScale.
2006-10-04 21:14:42 +00:00
Manish Singh f7c0e8ce13 a FALSE return from gimp_drawable_mask_bounds doesn't mean failure.
2006-10-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: a FALSE return from
        gimp_drawable_mask_bounds doesn't mean failure. Restore old
        behavior. Fixes bug #357223.
2006-10-04 07:26:12 +00:00
Sven Neumann e7403a1bf8 string change 2006-09-29 15:20:43 +00:00
Sven Neumann e727c63aa7 put the stack trace into a scrolled window 2006-09-29 15:16:31 +00:00
Sven Neumann 17812eac9b show a dialog for execution errors.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: show a dialog for execution errors.
2006-09-29 14:43:30 +00:00
Sven Neumann d79ec4556a create output that at least vaguely resembles XHTML.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at
	least vaguely resembles XHTML.
2006-09-22 11:48:58 +00:00
Sven Neumann 7275f398ed pass the correct function name to inspect.getsourcefile().
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: pass the correct function
	name to inspect.getsourcefile().
2006-09-22 11:21:57 +00:00
Sven Neumann 9c8f65ee0a plug-ins/pygimp/plug-ins/py-slice.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/py-slice.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py: prepared for translation.
2006-09-21 14:24:12 +00:00
Sven Neumann 149277029a more work on python i18n 2006-09-21 14:08:04 +00:00
Sven Neumann 65d8363b61 added align-tool (bug #356260).
2006-09-21  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added align-tool (bug #356260).

	* plug-ins/pygimp/plug-ins/palette-to-gradient.py
	* plug-ins/pygimp/plug-ins/pdbbrowse.py: prepared for translation.
2006-09-21 13:51:36 +00:00
Sven Neumann b17946e15e plug-ins/pygimp/plug-ins/palette-offset.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/palette-offset.py
        * plug-ins/pygimp/plug-ins/palette-sort.py: prepared for translation.
2006-09-21 12:01:54 +00:00
Sven Neumann bd9ec640a8 prepared for translation.
* plug-ins/pygimp/plug-ins/foggify.py: prepared for translation.
2006-09-21 11:38:47 +00:00
Sven Neumann 48e52e674a plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new) allow String or
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new)
	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): allow String
	or Unicode objects.

	* plug-ins/pygimp/plug-ins/colorxhtml.py: prepared for translation.
2006-09-21 11:19:43 +00:00
Sven Neumann ed5b8b0995 readded a comma 2006-09-20 18:27:47 +00:00
Sven Neumann cf62a51605 use PyUnicode_Check() instead of PyString_Check().
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): use
	PyUnicode_Check() instead of PyString_Check().

	* plug-ins/pygimp/plug-ins/clothify.py: reverted localisation;
	this plug-in isn't installed by default.
2006-09-20 11:52:19 +00:00
Sven Neumann 8ae9aa43fe plug-ins/pygimp/plug-ins/clothify.py need to call gettext.install here,
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/gimpcons.py: need to call gettext.install
	here, otherwise we can't use _() in the register() call.

	* plug-ins/pygimp/gimpfu.py: don't call gettext.install() for the
	plug-in. Translate the blurb used as a user hint.
2006-09-20 11:33:47 +00:00
Sven Neumann 8662b2e716 do not use gimp.locale_directory as the fallback but just use None 2006-09-19 15:00:07 +00:00
Sven Neumann a09db726e6 allow to pass a (domain, path) tuple as value for the domain argument of
2006-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow to pass a (domain, path) tuple
	as value for the domain argument of the register() call. Document
	the domain argument.
2006-09-19 14:53:41 +00:00
Manish Singh 20efe460f5 plug-ins/pygimp/Makefile.am plug-ins/pygimp/gimpthumb.defs
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/gimpthumb.defs
        * plug-ins/pygimp/gimpthumb.override
        * plug-ins/pygimp/gimpthumbmodule.c: Bindings for libgimpthumb.
2006-09-17 23:30:42 +00:00
Manish Singh e409f42d6a override implementation of gimp_window_set_transient so we pass the
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.override: override implementation of
        gimp_window_set_transient so we pass the correct type to the
        C function.
2006-09-17 19:05:04 +00:00