2007-06-21 Michael Natterer <mitch@gimp.org>
Part one of fix for bug #449141 (fixes the projection but still
leaves some image previews unupdated).
* app/core/gimpimage.c (lots of functions)
* app/paint/gimppaintcore.c (gimp_paint_core_finish)
* app/file/file-open.c (file_open_sanitize_image): removed calls
to gimp_viewable_invalidate_preview(image).
* app/file/file-open.c (file_open_sanitize_image): update and
flush the entire image instead. Load plug-ins are not required to
call gimp_drawable_update() or anything else to make sure the
projection is up-to-date.
* app/core/gimpimage.c (gimp_image_real_flush): inavlidate the
image preview here because we now create it from the projection.
(this is still not the entirely correct place though).
svn path=/trunk/; revision=22815
2007-06-21 Sven Neumann <sven@gimp.org>
* app/tools/gimpcurvestool.c: introduced local variables in an
attempt to make the code a little more readable.
svn path=/trunk/; revision=22814
2007-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): fixed an issue with the
fix for bug #413906.
svn path=/trunk/; revision=22810
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: applied patch from Paul
Seidel
with further improvements to the playback speed control (bug
#338380).
svn path=/trunk/; revision=22809
2007-06-20 Sven Neumann <sven@gimp.org>
* app/base/tile-pyramid.c (tile_pyramid_write_quarter): added missing
implementations for 1 and 3 bytes per pixel.
svn path=/trunk/; revision=22808
2007-06-20 Sven Neumann <sven@gimp.org>
* app/base/Makefile.am
* app/base/base-types.h
* app/base/tile-pyramid.[ch]: image pyramid code split out of
GimpProjection.
* app/core/gimpprojection.[ch]: use the new TilePyramid.
svn path=/trunk/; revision=22807
2007-06-20 Sven Neumann <sven@gimp.org>
* app/base/tile.[ch]: removed unused function tile_mark_valid().
* app/base/tile-manager.[ch]: removed unused public API and cleaned
up internals used for invalidating tiles.
svn path=/trunk/; revision=22806
2007-06-20 Sven Neumann <sven@gimp.org>
* app/base/tile-private.h (struct _Tile): removed unused field
swap_num.
* app/base/tile.c (tile_new): initialise most of the Tile struct
in the allocator.
svn path=/trunk/; revision=22805
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (init_constants): hardcode
the built-in units. Dynamically constructing the constants using
gimp_unit_get_singular() doesn't work because it returns a
translated string.
svn path=/trunk/; revision=22804
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
applied patch from Eric Lamarque with some minor modifications.
Fixes the remaining aspect of bug #438997.
svn path=/trunk/; revision=22803
2007-06-20 Tor Lillqvist <tml@novell.com>
* app/plug-in/gimpplugin.c: In GLib 2.13 pipe() is no longer
defined as a macro in gwin32.h. Define it here in that case.
svn path=/trunk/; revision=22802
2007-06-19 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangleselectoptions.c
(gimp_rect_select_options_gui): set proper step and page
increments in the scale entry for the corner radius.
svn path=/trunk/; revision=22801
2007-06-18 Sven Neumann <sven@gimp.org>
* app/file/file-open.c (file_open_from_command_line): use
gimp_message() for error handling.
* plug-ins/common/psd-load.c (seek_to_and_unpack_pixeldata):
check
channel dimensions to avoid potential integer overflow. Some
minor
cleanups to error messages.
svn path=/trunk/; revision=22796
2007-06-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: applied modified patch from
Paul Seidel that adds controls for the playback speed (bug
#338380).
svn path=/trunk/; revision=22794
2007-06-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/oilify.c: applied patch from Daniel Richard G.
which adds a new PDB entry with more options and improves speed
and quality of the algorithm (bug #347075).
svn path=/trunk/; revision=22793
2007-06-16 Sven Neumann <sven@gimp.org>
* app/core/gimpprojection.c (gimp_projection_get_level): take
the
image size into account and return the level that is actually
used.
Fixes bug #448185.
svn path=/trunk/; revision=22792
2007-06-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-save.c: applied patch from Eric Ross that
changes the PSD save plug-in to save an extra data block with
the
layer names in UCS-2 encoding (bug #447267).
svn path=/trunk/; revision=22790
2007-06-15 Michael Natterer <mitch@gimp.org>
* app/actions/view-actions.c (view_actions_update): make sure all
view actions are insensitive when there is no view.
svn path=/trunk/; revision=22787
2007-06-15 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-dobject.c: prepend instead of appending to
list (patch written earlier).
svn path=/trunk/; revision=22786
2007-06-14 Michael Natterer <mitch@gimp.org>
* app/core/gimpdatafactory.c (gimp_data_factory_data_foreach):
remove calls to container_freeze() and container_thaw()
(gimp_data_factory_data_reload)
(gimp_data_factory_data_free): add them here instead.
(gimp_data_factory_data_save): remove freeze/thaw calls here
without any replacement. The list doesn't change by saving its
items. Fixes insanely long quit time when there are many data
objects.
svn path=/trunk/; revision=22778
2007-06-13 Sven Neumann <sven@gimp.org>
* app/app.c (app_exit_after_callback): if GIMP_UNSTABLE is
undefined before calling exit() call tile_swap_exit(), not
base_exit().
svn path=/trunk/; revision=22773
2007-06-13 Sven Neumann <sven@gimp.org>
* app/base/base.c (base_exit): call tile_cache_exit() before
tile_swap_exit(). tile_cache_exit() may use the tile swap in
pathological cases.
* app/base/tile-cache.c (tile_cache_exit): warn if the tile cache
is not empty.
svn path=/trunk/; revision=22772
2007-06-13 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: small fix to the previous commit
in how layers are skipped.
svn path=/trunk/; revision=22770
2007-06-13 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: don't load any layers from a TIFF
directory which don't match the mode of the first image in the TIFF
directory.
svn path=/trunk/; revision=22769
2007-06-13 Sven Neumann <sven@gimp.org>
* app/errors.[ch]: added errors_exit() and unset the Gimp
reference. Errors may occur after the Gimp object has been finalized.
* app/app.c (app_run): call errors_exit().
svn path=/trunk/; revision=22768
2007-06-12 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_image): Instead of passing any
file to libexif blindly, check first that some JPEG APP1 marker
contains the EXIF header.
* plug-ins/jpeg/jpeg-exif.c (jpeg_apply_exif_data_to_image):
removed the tests that were checking for the presense of some EXIF
tags such as the EXIF version before deciding if the data should
be processed or not (bug #446809).
svn path=/trunk/; revision=22766