2006-08-22 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpwire.h
* libgimpbase/gimpreloc.h
* libgimp/gimpdrawablepreview.h
* libgimp/gimptile.h
* libgimp/gimpunitcache.h
* libgimpthumb/gimpthumb-utils.h
* libgimpwidgets/gimpcolorarea.h
* libgimpwidgets/gimphelpui.h: moved G_GNUC_INTERNAL before the
return value (bug #352268).
* tools/pdbgen/lib.pl : changed code generation rules to place
G_GNUC_INTERNAL before the return value.
* libgimp/*_pdb.h: regenerated.
2006-08-22 Sven Neumann <sven@gimp.org>
* tools/pdbgen/lib.pl : changed code generation rules to place
G_GNUC_INTERNAL before the return value (bug #352268).
* libgimp/*_pdb.h: regenerated.
2006-08-22 Sven Neumann <sven@gimp.org>
* app/tools/gimprotatetool.c (gimp_rotate_tool_motion): fixed code
that moves the angle between +/- pi (bug #352341).
* app/display/gimpdisplayshell-callbacks.c: allow modifier key events
for Shift and Control to be propagated even if button1 is down.
* app/tools/gimpclonetool.c
* app/tools/gimpcroptool.c
* app/tools/gimpforegroundselecttool.c
* app/tools/gimpmovetool.c
* app/tools/gimppainttool.c
* app/tools/gimpvectortool.c: change modifier_key method
to prevent any bad consequences.
* app/tools/gimprectangletool.[ch]: add modifier_key handler, and use it
to toggle "make-square" if Shift is pressed while button1 is down, and
"fixed-center" if Control is pressed while button1 is down.
* app/tools/gimprectangleselecttool.c (gimp_rectangle_tool_modifier_key):
call rectangle tool modifer_key method after chaining up.
2006-08-18 Sven Neumann <sven@gimp.org>
* libgimp/gimppaletteselectbutton.c
(gimp_palette_select_button_set_palette): check that the palette
name actually refers to an existing palette and use the active
palette if name is NULL or empty (like the other select buttons).
* plug-ins/pygimp/plug-ins/palette-offset.py: use an integer value
for a PF_INT parameter.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: check if the menupath starts with
<Image> instead of checking that it does not start with <Toolbox>.
Makes the scripts in <Palettes> work to some extent.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (register): derive the menupath from
the label before adding to _registered_plugins_.
* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
it doubles the functionality of script-fu-clothify.
* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
* plug-ins/pygimp/plug-ins/foggify.py
* plug-ins/pygimp/plug-ins/palette-sort.py
* plug-ins/pygimp/plug-ins/palette-to-gradient.py: changed menu
registration in some places that I missed earlier.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (register): derive the menu from the
label before adding to _registered_plugins_.
* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
it doubles the functionality of script-fu-clothify.
2006-08-17 Sven Neumann <sven@gimp.org>
* libgimp/gimppixbuf.[ch]: added a convenience function to create
a layer from a GdkPixbuf.
* plug-ins/common/poppler.c
* plug-ins/common/screenshot.c
* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().
* libgimp/gimpui.def: updated.
2006-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: added an optional menu parameter to
the register call to simplify menu registration. Also restored
menupath specific mangling of the procedure arguments.
* plug-ins/pygimp/plug-ins/*.py: use the menu parameter instead
of defining a function to call on query.
* plug-ins/pygimp/plug-ins/sphere.py: do it old-style here for
testing.
2006-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: allow '-' in procedure and
parameter
names.
* plug-ins/pygimp/plug-ins/*.py: use canonical procedure and
parameter names.
2006-08-16 Sven Neumann <sven@gimp.org>
* app/plug-in/gimpplugin.c: improved debugging output.
* libgimp/gimppaletteselect.c: the palette callback gets passed
the number of colors.
2006-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): fixed overzealousness
when cropping on a drawable border (bug #337888).
2006-08-16 Sven Neumann <sven@gimp.org>
* app/base/tile-cache.c: actually enable tile cache locking and
added a missing lock in tile_idle_preswap(). Should fix bug
#346923.
2006-08-15 Michael Natterer <mitch@gimp.org>
* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was
forgotten when this mode was introduced.
2006-08-15 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c: do not add a toggle for
"transient-docks" in stable releases (bug #322577).
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.[ch]
* plug-ins/bmp/bmpread.c
* plug-ins/bmp/bmpwrite.c: applied patch from Piotr Filiciak that
merges the save dialogs and completes the changes in bug #342355.
2006-08-15 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated
* app/xcf/xcf-save.c(1464) : error C2036: 'void *' : unknown size
pointer arithmetics on void a pointer looks like a GCC extension
* app/tools/gimpbrightnesscontrasttool.c
app/tools/gimpcolorbalancetool.c
app/tools/gimphuesaturationtool.c
app/tools/gimpcolorizetool.c : #include "core/gimp.h" for gimp_message
* app/tools/gimpiscissorstool.c : use RINT() rather than rint()
* app/widgets/gimpcontrollerlist.c : #include "gimpwidgets-utils.h"
for gimp_show_message_dialog
* app/core/gimpprogress.c(229) : 'gimp_progress_message' must
return a value
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/Makefile.am: moved whirlpinch.py to the
test_scripts category to prevent it from being installed in stable
releases (bug #46001).
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c: has only one return value if called
as recompose. Fixes the trigger for bug #350226.
2006-08-14 Michael Natterer <mitch@gimp.org>
Fixed rounding and double vs. integer inconsistency when dealing
with mouse coordinates. Fixes bug #350694.
* app/tools/gimpiscissorstool.c
(clicked_on_vertex)
(clicked_on_curve): added double x and y parameters and use them
instead of the integer iscissors->x and ->y. Cleaned up the
functions a bit.
(gimp_iscissors_tool_button_press)
(gimp_iscissors_tool_motion): changed accordingly, also rint() the
passed mouse coords when assigning them to iscissors->x and ->y.
Unrelated cleanup:
(iscissors_free_buffers): removed, folded into reset()
(precalculate_arrays): removed, folded into class_init()
2006-08-14 Sven Neumann <sven@gimp.org>
* tools/gimp-remote.c
* docs/gimp-remote.1.in: applied patch from Michael Klein that
adds
an option to print out the XID of the toolbox window (bug
#351205).
2006-08-14 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.c: changed the limits for "pressx"
and "pressy". It's wrong to disallow negative values here.
2006-08-14 Sven Neumann <sven@gimp.org>
* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_oper_update):
do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes
bug #132352.
2006-08-14 Michael Natterer <mitch@gimp.org>
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area):
draw only within the intersection of the the passed coordinates
and the selection to avoid access to non-existant (out-of-image)
selction tiles. Fixes bug #350760.
2006-08-14 Sven Neumann <sven@gimp.org>
* app/core/gimp-edit.c (gimp_edit_make_buffer): do not autocrop
the buffer contents, always keep the selection size (bug #350897).