2006-09-21 Michael Natterer <mitch@gimp.org>
* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use
setpgid() instead of setpgrp(), the latter has a different number
of arguments on darwin. Let's see where it breaks now...
* app/display/gimpcanvas.[ch]
* app/tools/gimpdrawtool.[ch]: remove recently added code relating
to stippled xor drawing -- not handled well by some display
drivers.
* app/tools/gimprectangletool.c: improve drawing of handles.
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 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 Michael Natterer <mitch@gimp.org>
* app/plug-in/gimpplugin.c (gimp_plug_in_close): if the plug-in is
in a different process group than GIMP, kill the entire group so
the plug-in's children are killed too.
* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): open
a process group so the wget process gets killed (bug #356643).
2006-09-20 Sven Neumann <sven@gimp.org>
* app/widgets/gimphistogrambox.c: draw slider positions more
accurately, fixed incorrect use of GtkAdjustments.
2006-09-20 Michael Natterer <mitch@gimp.org>
* app/paint/gimpsourcecore.c: implement GimpPaintCore::start()
and set paint_core->use_saved_proj to TRUE when we are using
the destination drawable image's projection as source. Return
FALSE from start() if there is no src_drawable set and removed
checks for src_drawable != NULL further down in the code path.
* app/tools/gimpperspectiveclonetool.c (button_press)
* app/tools/gimpsourcetool.c (button_press): don't fiddle with
paint_core->use_saved_proj here.
* app/paint/gimpclone.c: implement GimpPaintCore::start() and
return FALSE if we are in pattern mode and there is no pattern to
clone from. Removed GimpPaintCore::paint() implementation because
all it did was popping a message if there is no pattern. Removed
check for pattern != NULL and cleaned up the file a bit.
* app/paint/gimpperspectiveclone.c (paint): removed message about
no pattern to clone from.
2006-09-20 Michael Natterer <mitch@gimp.org>
* app/core/gimpgradient.[ch]: added gimp_gradient_flatten() which
creates a copy of a gradient with all colors that refer to FG or
BG turned into constant colors.
* app/core/gimpdrawable-blend.c (gradient_fill_region): create a
flat copy of the gradient if it contains FG/BG colors. Avoids
gazillions of context color lookups while rendering, depending on
gradient and blend complexity.
2006-09-18 Kevin Cozens <kcozens@cvs.gnome.org>
* tiny-fu/ts-wrapper.c
* tinyscheme/scheme.c: Minor update since INT8 and INT8_ARRAY types
are unsigned 8-bit values.
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 Sven Neumann <sven@gimp.org>
* app/core/gimp.c (gimp_message): don't leak the message.
* app/file/file-utils.c (file_utils_find_proc): clear the error
if we found a file procedure by matching the file extension.
* plug-ins/common/png.c (load_image): don't call gimp_quit() if
opening the file fails but return with GIMP_PDB_EXECUTION_ERROR.
2006-09-19 Michael Natterer <mitch@gimp.org>
Fix disabling of deprecated procedures (bug #345733):
* app/pdb/gimppdb.c (gimp_pdb_register_procedure): silently drop
deprecated procedures if they are disabled via --pdb-compat-mode.
* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
remove code that handles deprecated procedures even when they are
disabled, the change above makes this impossible.
Call plug_in_params_to_args() also if we didn't find the
procedure, so the PDB doesn't choke on NULL args.
2006-09-17 Sven Neumann <sven@gimp.org>
* app/core/gimp-user-install.c (user_install_migrate_files):
do not migrate toolrc and the tool-options folder.
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-16 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpfu.py
* plug-ins/pygimp/plug-ins/gtkcons.py: let the gettext module
* po-python/POTFILES.in
* plug-ins/pygimp/gimpui.py: Mark a couple strings for translation
here.
2006-09-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/lens.c: applied patch from Aurimas Juška
which,
among other changes, ports the plug-in to GimpZoomPreview
(bug #324849).
2006-09-17 Sven Neumann <sven@gimp.org>
* gimpui.pc.in (Libs): added gimpmodule-2.0, removed
gimpconfig-2.0 which is already refered to from gimp-2.0.pc.
2006-09-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reverted Bill's change. Applying
the delay before the selection makes as much sense as doing it
afterwards. Do it consistently at least.
2006-09-17 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-colors.c: HSV and HSL now handle integer
values the same way as the RGB and CMYK objects do, for consistency.
2006-09-16 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpfu.py
* plug-ins/pygimp/plug-ins/gtkcons.py: let the gettext module
* po-python/POTFILES.in
* plug-ins/pygimp/gimpui.py: Mark a couple strings for translation
here.
2006-09-16 Michael Natterer <mitch@gimp.org>
* app/tools/gimpperspectiveclonetool.c (button_press)
* app/tools/gimpsourcetool.c (button_press): need to instruct the
paint_core to make a copy of the projection whenever we clone from
the same *image*, not from the same display. Fixes crash when
cloning from the same image's projection in another view
(bug #356209).
2006-09-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpmodule.c: added domain_register method.
* plug-ins/pygimp/gimpfu.py: define N_(). Added an optional
"domain" parameter to the register() method. Register the domain
with GIMP and initialize gettext if it is specified.
* plug-ins/pygimp/plug-ins/gimpcons.py: use N_() to mark menu
label and blurb for translation. Specify the translation domain.
* plug-ins/pygimp/plug-ins/gtkcons.py: use gettext API for modules.
2006-09-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/Makefile.am
* plug-ins/pygimp/pygimp-intl.h: added header file for i18n support.
* plug-ins/pygimp/gimpmodule.c: bind to the gimp20-python
translation domain.
* plug-ins/pygimp/procbrowser.c: marked a string for translation.
2006-09-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: translate strings in the gimp20-python
textdomain.
* plug-ins/pygimp/plug-ins/gtkcons.py: fixed a translation mark.
Trying to implement some usability recommendations from
Peter Sikking: bigger handles, more feedback to user.
* app/display/gimpcanvas.[ch]: add
GIMP_CANVAS_STYLE_XOR_STIPPLED to set of styles.
* app/tools/gimpdrawtool.[ch]
(gimp_draw_tool_draw_rectangle_stippled): new function.
Needs a better stipple pattern, though.
* app/tools/gimprectangletool.c: bigger handles in corners,
and highlight thing that user is currently moving.
* app/widgets/gimprectangletool.c: even if constraining to boundaries,
keep updating rectangel when pointer goes outside boundaries.
Fixes bug #355740.
* app/widgets/gimppropwidgets.[ch]: add prop widget specially
for controlling aspect ratio.
* app/tools/gimprectangleoptions.ch]: use "aspect-numerator"
and "aspect-denominator" properties instead of "aspect",
and use new prop widget in gui to set and display them.
* app/tools/gimprectangletool.c: calculate aspect from
numerator and denominator.