gtk2/gdk
Federico Mena Quintero 6e3522ab2c Added reference counting to animations. A web browser may want to share a
2000-01-01  Federico Mena Quintero  <federico@helixcode.com>

	* gdk-pixbuf/gdk-pixbuf.h (GdkPixbufAnimation): Added reference
	counting to animations.  A web browser may want to share a single
	copy of an animated GIF if it appears multiple times in a web
	page, for example.

	* gdk-pixbuf/gdk-pixbuf-animation.c: New file.  Moved the
	animation functions here.
	(gdk_pixbuf_animation_new_from_file): Prettified.  Return a NULL
	animation if the loader does not support multiframe loading and
	the single-frame load returned NULL.  Check that the filename is
	not NULL.  Updated inline documentation.
	(gdk_pixbuf_animation_ref): New function.
	(gdk_pixbuf_animation_unref): New function.
	Removed gdk_pixbuf_animation_destroy() in favor of reference
	counting.

	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
	Prettified.  Made ref_count assertion more paranoid.  Check that
	the filename is not NULL.
	(gdk_pixbuf_get_module): Use guchar * and guint for buffer and
	size, respectively.
	(gdk_pixbuf_new_from_xpm_data): Changed the "data" argument to
	const char **.

	* gdk-pixbuf/io-gif.c (image_load_animation): Create the animation
	with a reference count of 1.

	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_SOURCES): Added
	gdk-pixbuf-animation.c.

	* doc/tmpl/animation.sgml: Populated.  It is still missing a
	description of the overlay modes.

	* doc/gdk-pixbuf-sections.txt: Added the animation section.  Moved
	the canvas item section to the end, as it will be moved later to
	gnome-libs.

	* doc/gdk-pixbuf.sgml: Added the animation section.

	* doc/Makefile.am (tmpl_sources): Added tmpl/animation.sgml.
2000-01-02 03:59:22 +00:00
..
win32 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
x11 Change only_if_exists argument of gdk_atom_intern to bool. 1999-12-03 20:16:04 +00:00
.cvsignore upgrade to libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:45:22 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c If we don't HAVE_XCONVERTCASE we must #include gdkkeysyms.h to get the 1999-12-29 23:08:52 +00:00
gdk.def If we don't HAVE_XCONVERTCASE we must #include gdkkeysyms.h to get the 1999-12-29 23:08:52 +00:00
gdk.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkcc.h Started 1999-10-01 23:18:30 +00:00
gdkcolor.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkcolor.h Started 1999-10-01 23:18:30 +00:00
gdkcompat.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.h Started 1999-10-01 23:18:30 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Started 1999-10-01 23:18:30 +00:00
gdkdraw.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkdrawable.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkevents.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkevents.h Started 1999-10-01 23:18:30 +00:00
gdkfont.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkfont.h Started 1999-10-01 23:18:30 +00:00
gdkgc.c Fix two copy&paste errors. 1999-11-25 00:27:11 +00:00
gdkgc.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkglobals.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdki18n.h Move widechar tests from `glib' to here, since those were meant only for 1999-03-14 03:27:33 +00:00
gdkim.h Started 1999-10-01 23:18:30 +00:00
gdkimage.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkimage.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkinput.h Started 1999-10-01 23:18:30 +00:00
gdkkeysyms.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkpixbuf-drawable.c Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
gdkpixbuf-render.c #include <config.h>, and fix includes. 1999-12-02 20:44:43 +00:00
gdkpixmap.h Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkprivate.h Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they 1999-12-11 23:04:55 +00:00
gdkproperty.h Change only_if_exists argument of gdk_atom_intern to bool. 1999-12-03 20:16:04 +00:00
gdkrectangle.c Started 1999-10-01 23:18:30 +00:00
gdkregion.h Started 1999-10-01 23:18:30 +00:00
gdkrgb.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkrgb.h Started 1999-10-01 23:18:30 +00:00
gdkselection.h Started 1999-10-01 23:18:30 +00:00
gdktypes.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdkwindow.h Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
Makefile.am gdk/Makefile.am Distribute Win32 files. 1999-12-11 23:41:46 +00:00
makefile.cygwin Fix two copy&paste errors. 1999-11-25 00:27:11 +00:00
makefile.msc gdk/Makefile.am Distribute Win32 files. 1999-12-11 23:41:46 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00