gimp/app/base
Michael Natterer 707e597665 added "gint ref_count" to the TileManager struct.
2003-05-26  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager-private.h: added "gint ref_count" to the
	TileManager struct.

	* app/base/tile-manager.[ch]: replaced tile_manager_destroy()
	by tile_manager_ref() and tile_manager_unref().

	* app/core/gimpimage-undo-push.c: ref the tile managers stored in
	the undo system and DON'T destroy them if no undo could be pushed.
	Should fix the remaining crashes with undo disabled like in
	bug #9350.

	(!!!) Note that the tiles passed to gimp_image_undo_push_image()
	and gimp_drawable_push_undo() as well as the tile managers of
	drawables passed to gimp_image_undo_push_[layer|channel]_mod()
	must be unref'ed by the caller now.

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
	don't take ownership of the passed tiles but ref them if needed.

	(!!!) Callers must unref the passed tiles themselves now.

	* app/core/gimpbuffer.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable-offset.c
	* app/core/gimpdrawable.c
	* app/core/gimpedit.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-mask.c
	* app/core/gimpimage-projection.c
	* app/core/gimpimage.c
	* app/core/gimpimagemap.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/paint/gimppaintcore.c
	* app/text/gimptextlayer.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimptransformtool-undo.c
	* app/tools/gimptransformtool.c: changed accordingly.
2003-05-26 17:02:06 +00:00
..
.cvsignore define GIMP_MKENUMS for use in Makefile.am. 2002-03-17 14:07:54 +00:00
base-enums.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
base-enums.h app/base/base-enums.[ch] changed CurvesType enum GimpCurveType and 2003-03-14 19:58:59 +00:00
base-types.h fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the 2003-05-19 14:21:03 +00:00
base.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
base.h removed the global "base_config" variable. 2002-11-30 16:31:39 +00:00
boundary.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
boundary.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
brush-scale.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
brush-scale.h new directory app/base/ 2001-05-15 11:25:25 +00:00
color-balance.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
color-balance.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
colorize.c Some color API cleanup: 2003-05-20 10:20:34 +00:00
colorize.h fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the 2003-05-19 14:21:03 +00:00
cpercep.c app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
cpercep.h app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
curves.c app/base/base-enums.[ch] changed CurvesType enum GimpCurveType and 2003-03-14 19:58:59 +00:00
curves.h app/base/base-enums.[ch] changed CurvesType enum GimpCurveType and 2003-03-14 19:58:59 +00:00
detect-mmx.h app/appenv.h removed "use_mmx" and the MMX detection. 2001-07-13 19:25:34 +00:00
detect-mmx.S app/Makefile.am removed. 2001-07-11 23:47:26 +00:00
gimphistogram.c Fixed bug #103561: 2003-01-15 13:40:44 +00:00
gimphistogram.h Fixed bug #103561: 2003-01-15 13:40:44 +00:00
gimplut.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
gimplut.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
hue-saturation.c changed the hue_saturation() function as suggested by Martin Weber in bug 2003-03-07 18:08:16 +00:00
hue-saturation.h changed the hue_saturation() function as suggested by Martin Weber in bug 2003-03-07 18:08:16 +00:00
levels.c check for gdk-pixbuf-csource and allow to override it by setting the 2003-03-16 17:00:40 +00:00
levels.h added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
lut-funcs.c More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
lut-funcs.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
Makefile.am fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the 2003-05-19 14:21:03 +00:00
makefile.msc updated win32 (msvc) build 2003-05-24 17:00:03 +00:00
pixel-processor.c Fixed bug #103561: 2003-01-15 13:40:44 +00:00
pixel-processor.h new directory app/base/ 2001-05-15 11:25:25 +00:00
pixel-region.c Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
pixel-region.h Fixed usage of uninitialized memory found by valgrind, plus some cleanup: 2002-08-22 09:48:56 +00:00
pixel-surround.c some more g_malloc -> g_new and g_realloc -> g_renew changes, for better 2001-12-18 18:52:53 +00:00
pixel-surround.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
temp-buf.c fixed sense of assertions; argh. 2003-05-19 15:54:52 +00:00
temp-buf.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
threshold.c Color correction tool chopping: 2002-08-26 11:35:56 +00:00
threshold.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
tile-cache.c added tile_cache_init() and tile_cache_exit() as public functions. 2002-11-21 15:46:19 +00:00
tile-cache.h added tile_cache_init() and tile_cache_exit() as public functions. 2002-11-21 15:46:19 +00:00
tile-manager-crop.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile-manager-crop.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
tile-manager-private.h added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
tile-manager.c added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
tile-manager.h added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
tile-private.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
tile-swap.c use off_t to return the offset. Finally allows to handle swap files larger 2003-01-04 15:06:01 +00:00
tile-swap.h new directory app/base/ 2001-05-15 11:25:25 +00:00
tile.c removed from CVS, they are generated. 2001-12-07 16:10:53 +00:00
tile.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00