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-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-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-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-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-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-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-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-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
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-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-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-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 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-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-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 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-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-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-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-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-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-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-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
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-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-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-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-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).