gimp/app
Michael Natterer dd80b4c263 added new API gimp_drawable_estimate_memsize() and virtual function
2007-12-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: added new API
	gimp_drawable_estimate_memsize() and virtual function
	GimpDrawable::estimate_memsize() which estimate the memsize of a
	drawable after scaling/resizing.

	* app/core/gimplayer.c: implement the virtual function and take
	the layer mask into account.

	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
	added const qualifiers.

	* app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
	function to correctly estimate the new size instead of scaling the
	drawables' memsizes including all constant parts. Fixes bug #329468.

	* app/gimp-log.[ch]: added IMAGE_SCALE log domain.

	* app/core/gimpimage-scale.c: use it here for debugging output.


svn path=/trunk/; revision=24260
2007-12-04 11:30:31 +00:00
..
actions use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
base if no tiles have been allocated, there's no need to invalidate any. Should 2007-11-30 12:19:21 +00:00
composite remove check for putenv(). 2007-11-06 13:28:19 +00:00
config use "open %s" as the default web-browser command on Mac OS X. 2007-11-21 12:02:12 +00:00
core added new API gimp_drawable_estimate_memsize() and virtual function 2007-12-04 11:30:31 +00:00
dialogs pass NULL GError arg to gimp_pdb_execute_procedure_by_name. 2007-12-03 07:44:49 +00:00
display improve debug output. 2007-11-18 16:13:14 +00:00
file use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
gui INSTALL bumped required version of GTK+ to 2.12.0. 2007-11-04 11:55:30 +00:00
menus take over cosmetic fix from upstream. 2007-08-30 15:00:50 +00:00
paint Fix for bug #494049 (painting doesn't update the histogram): 2007-11-13 10:59:32 +00:00
paint-funcs revert change below. 2007-10-21 19:00:28 +00:00
pdb pass the new error down to all file functions which take GError arguments. 2007-12-03 19:29:10 +00:00
plug-in use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
text app/base/temp-buf.c app/base/tile-manager.c accept NULL in all 2007-11-16 18:19:30 +00:00
tools Bill Skaggs <weskaggs@primate.ucdavis.edu> 2007-11-27 19:28:38 +00:00
vectors app/base/temp-buf.c app/base/tile-manager.c accept NULL in all 2007-11-16 18:19:30 +00:00
widgets use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
xcf pass NULL GError arg to gimp_pdb_execute_procedure_by_name. 2007-12-03 07:44:49 +00:00
Makefile.am app/Makefile.am new files implementing a log facility which can be enabled 2007-11-15 10:57:53 +00:00
about.h updated copyright. 2007-01-12 14:46:30 +00:00
app.c if GIMP_UNSTABLE is undefined before calling exit() call tile_swap_exit(), 2007-06-13 14:01:37 +00:00
app.h Allow other applications to open images in GIMP as if they were new images 2007-04-17 15:54:01 +00:00
batch.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
batch.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
errors.c added errors_exit() and unset the Gimp reference. Errors may occur after 2007-06-13 09:27:32 +00:00
errors.h added errors_exit() and unset the Gimp reference. Errors may occur after 2007-06-13 09:27:32 +00:00
fileicon.ico fileicon.ico new icons for the Windows build created by Jernej 2006-05-02 06:37:08 +00:00
gimp-intl.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimp-log.c added new API gimp_drawable_estimate_memsize() and virtual function 2007-12-04 11:30:31 +00:00
gimp-log.h added new API gimp_drawable_estimate_memsize() and virtual function 2007-12-04 11:30:31 +00:00
gimp.rc [new file] app/dialogs/Makefile.am : added to EXTRA_DIST 2004-11-21 14:22:45 +00:00
gimpcore.def updated msvc build add ENABLE_TOOLBOX_MENU, it should only vanish on Mac 2007-10-27 12:41:43 +00:00
main.c app/Makefile.am new files implementing a log facility which can be enabled 2007-11-15 10:57:53 +00:00
makefile.msc updated msvc build 2007-08-05 15:16:02 +00:00
sanity.c added Pango version sanity check. 2007-11-12 13:18:01 +00:00
sanity.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
units.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
units.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
wilber.ico fileicon.ico new icons for the Windows build created by Jernej 2006-05-02 06:37:08 +00:00