2007-05-02 Sven Neumann <sven@gimp.org>
* app/tools/gimpperspectiveclonetool.c
(gimp_perspective_clone_tool_cursor_update): if we are in adjust
mode, skip the GimpBrushClass when chaining up. Fixes bug #354933.
svn path=/trunk/; revision=22379
2007-05-02 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (ts_get_error_msg): applied
patch from Eric Lamarque that fixes Script-Fu server output
(bug #431623).
svn path=/trunk/; revision=22378
2007-05-02 Mukund Sivaraman <muks@mukund.org>
* plug-ins/jpeg/jpeg-exif.c: Check if any other IFDs exist before
rejecting an image's EXIF info. Fixes bug #377917.
svn path=/trunk/; revision=22377
2007-05-02 Sven Neumann <sven@gimp.org>
* app/paint/gimpsmudge.c (gimp_smudge_start)
* app/paint/gimpconvolve.c (gimp_convolve_motion): use
gimp_pickable_get_pixel_at() to get the color to use with
color_region(). Fixes Smudge and Convolve tools on grayscale images.
svn path=/trunk/; revision=22376
2007-05-02 Sven Neumann <sven@gimp.org>
* app/core/gimpparamspecs.c (gimp_param_string_validate): the GLib
version that has string validation fixed is 2.12.12.
svn path=/trunk/; revision=22375
2007-05-02 Martin Nordholts <martinn@svn.gnome.org>
When adjusting a rectangle it feels unintuitive that the center of
the rectangle when Ctrl is used lands on the corner that was used
to resize the rectangle. This commit changes the center of the
rectangle when Ctrl is used on a already-created rectangle to the
center of the rectangle when the user starts adjusting the size.
* app/tools/gimprectangletool.c (struct
_GimpRectangleToolPrivate): Added center_[xy]_on_fixed_center
members that keeps track on where the center of the rectangle
should be when the Ctrl modifier is used.
* app/tools/gimprectangletool.c: Added convenience function
gimp_rectangle_tool_get_fixed_center_coords.
* app/tools/gimprectangletool.c
(gimp_rectangle_tool_button_press): Sets the
center_[xy]_on_fixed_center members depending on whether the button
press modifies an existing rectangle or creates a new one.
* app/tools/gimprectangletool.c
(gimp_rectangle_tool_active_modifier_key): Adjusted to accomodate to
above mentioned changes.
svn path=/trunk/; revision=22374
2007-04-30 Michael Natterer <mitch@gimp.org>
* app/core/gimpselection.[ch] (gimp_selection_extract): changed
"drawable" parameter to "pickable" and added some special casing
for the GIMP_IS_DRAWABLE(pickable) case in the implementation.
* app/core/gimpdrawable-transform.c: changed accordingly.
* app/core/gimp-edit.c: ditto. Removed utility function
gimp_edit_extract_visible() and simply use gimp_edit_extract() for
"copy visible", passing image->projection. Fixes bug #434102.
svn path=/trunk/; revision=22368
2007-04-30 Michael Natterer <mitch@gimp.org>
* themes/Default/gtkrc: set GtkButton::focus-line-width to 1 and
GtkButton::focus-padding to 0, just like in the Small theme (it
was always meant to be that way, stupid copy'n'paste...)
svn path=/trunk/; revision=22367
2007-04-28 Tor Lillqvist <tml@novell.com>
* gimp-zip.in: Add libgimpconfig to the developer package. Remove
the separate gif plug-in cruft. Fix a few typos.
svn path=/trunk/; revision=22363
2007-04-27 Sven Neumann <sven@gimp.org>
* app/core/gimppickable.[ch]: added get_pixel_at() method to the
GimpPickable interface. This gives direct access to the pixel
without converting it to an RGB color.
* app/core/gimpdrawable.c
* app/core/gimpimagemap.c
* app/core/gimpprojection.c: implement the new method and also use
it to reimplement get_color_at().
* app/core/gimpimage-crop.c (gimp_image_crop_guess_bgcolor): use
gimp_pickable_get_pixel_at(). Fixes auto-shrink on indexed and
grayscale images.
svn path=/trunk/; revision=22359
2007-04-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/sunras.c (set_color_table): guard against a
possible stack overflow.
svn path=/trunk/; revision=22355
2007-04-27 Sven Neumann <sven@gimp.org>
* configure.in: depend on poppler-glib >= 0.4.1.
* plug-ins/common/poppler.c: removed ifdefs to handle older
versions of the poppler library. Removed "antialias" toggle from
the procedure API and from the GUI; it's not supported by poppler.
svn path=/trunk/; revision=22353
2007-04-26 Michael Natterer <mitch@gimp.org>
* app/core/gimpparamspecs.[ch]: renamed GimpParamSpecString's
flag "no_validate" to "allow_non_utf8".
* tools/pdbgen/app.pl
* tools/pdbgen/pdb/*.pdb: renamed argument flag
"no_validate" (which turns off utf8-validation for strings) to
"allow_non_utf8" and renamed "no_success" (which turns off
argument validation alltogether) to "no_validate".
Doesn't affect generated code.
svn path=/trunk/; revision=22350
2007-04-26 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/display.pdb (diplay_is_valid)
* tools/pdbgen/pdb/drawable.pdb (drawable_is_valid)
* tools/pdbgen/pdb/image.pdb (image_is_valid)
* tools/pdbgen/pdb/vectors.pdb (vectors_is_valid): it's the
argument flag "no_success" which turns off validation, not
"no_validate" (how obvious). Also fixed drawable and vectors
procedures to check for !gimp_item_is_removed() instead of
gimp_item_is_attached() (a newly created item is unattached
but valid).
* app/pdb/display_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/image_cmds.c
* app/pdb/vectors_cmds.c: regenerated.
svn path=/trunk/; revision=22349
2007-04-26 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-save.c: disabled the layer offsets saving
code. This can be re-enabled in 2.6, when the load plug-in is
patched to support these saved offsets.
* plug-ins/common/tiff-load.c: marked the code for the above
with a TODO comment.
svn path=/trunk/; revision=22344
2007-04-26 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-dobject.c: properly parse files with CRLF
line-endings which were created in the past in Windows.
* plug-ins/gfig/gfig.c: open files in binary mode so that the same
line-endings are used on all platforms.
svn path=/trunk/; revision=22338
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: set a different filename when
the number of pages loaded is lower than the number of pages
in the TIFF file.
svn path=/trunk/; revision=22334
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: set the filename to the original
filename in case of single-page loads.
svn path=/trunk/; revision=22333
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: moved the non-interactive check out
of load_dialog() and into run().
svn path=/trunk/; revision=22331
2007-04-25 Michael Natterer <mitch@gimp.org>
* app/core/gimpparamspecs.c (gimp_param_string_validate): added
#warning to use GParamSpecString's features once we depend on a
fixed version.
svn path=/trunk/; revision=22330
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: fixed the names of the plug-in binary
in PLUG_IN_BINARY.
svn path=/trunk/; revision=22324
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c
* plug-ins/common/plugin-defs.pl
* plug-ins/common/Makefile.am
* configure.in
* po-plug-ins/POTFILES.in: split TIFF load and save functionality
into different plug-ins.
* plug-ins/common/mkgen.pl: modified to allow plug-ins to override
auto-generated library env; also use underscores instead of hyphens
in the generated Makefile.am.
* plug-ins/common/tiff.c: removed.
svn path=/trunk/; revision=22323
2007-04-25 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.c (convolve_region): round pixel values
instead if just casting the float to an integer. Fixes bug #432978.
svn path=/trunk/; revision=22322