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
2007-04-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpscrolledpreview.c: also use the middle mouse
button for panning.
* plug-ins/common/nova.c: override the default mouse handling of
the GimpScrolledPreview and allow to reposition the center using
the left mouse button. Fixes bug #364432.
* app/tools/gimprectangletool.c: formatting.
svn path=/trunk/; revision=22319
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff.c: initialize the pages[] array with
the page sequence for non-niteractive runs. Otherwise it'll
simply load N copies of page 0.
svn path=/trunk/; revision=22316
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff.c: fixed an issue where the page selection
dialog was being shown even for non-interactive runs.
svn path=/trunk/; revision=22315