Go to file
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
debian
demos forgot this 1999-12-17 21:43:04 +00:00
docs Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
examples Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
gdk Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
gdk-pixbuf Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
gtk Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
po Added the Turkish translation . 1999-12-23 14:49:16 +00:00
tests Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they 1999-12-11 23:04:55 +00:00
.cvsignore
acconfig.h
acinclude.m4
AUTHORS
autogen.sh
ChangeLog gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-1-0
ChangeLog.pre-1-2
ChangeLog.pre-2-0 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-2 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-4 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-6 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-8 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-10 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
config.guess
config.h.win32 Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
config.sub
configure.in Added tr to ALL_LINGUAS 1999-12-02 23:11:06 +00:00
COPYING
gtk-config.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
gtk.m4
gtk+.spec.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
HACKING
INSTALL
INSTALL.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
ltconfig
ltmain.sh
makecopyright
Makefile.am Distribute README.win32. 1999-12-11 23:18:12 +00:00
NEWS Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
NEWS.pre-1-0
README
README.cvs-commits
README.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
README.win32 Distribute README.win32. 1999-12-11 23:18:12 +00:00
sanity_check
TODO

General Information
===================

This is GTK+ version 1.2.0.   GTK+, which stands for the Gimp ToolKit, 
is a library for creating graphical user interfaces for the X Window 
System. It is designed to be small, efficient, and flexible. GTK+ is 
written in C with a very object-oriented approach.

The official ftp site is:
  ftp://ftp.gtk.org/pub/gtk

The official web site is:
  http://www.gtk.org/

A mailing list is located at:
  gtk-list@redhat.com

To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null
(Send mail to gtk-list-request@redhat.com with the subject "subscribe")

Installation
============

See the file 'INSTALL'

How to report bugs
==================

Bugs should be reported to the GNOME bug tracking
system. (http://bugs.gnome.org). To report a problem
about GTK+, send mail to submit@bugs.gnome.org.

The subject of the mail should describe your problem.
In the body of the mail, you should first include
a "pseudo-header" that gives the package and 
version number. This should be separated by a blank
line from the actual headers.

 Package: gtk+
 Version: 1.2.0

[ Please substitute 1.2.0 with the version of GTK+ that
  you have installed ]

Then describe the bug. Include:

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

  If you can reproduce it with the testgtk program that is built 
  in the gtk/ subdirectory, that will be most convenient.  Otherwise, 
  please include a short test program that exhibits the behavior. 
  As a last resort, you can also provide a pointer to a larger piece 
  of software that can be downloaded.

  (Bugs that can be reproduced within the  GIMP are almost as good 
  as bugs that can be reproduced in testgtk. If you are reporting a 
  bug found with the GIMP, please include the version number of the GIMP 
  you are using)

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

* Further information such as stack traces may be useful, but
  is not necessary. If you do send a stack trace, and the error
  is an X error, it will be more useful if the stacktrace
  is produced running the test program with the --sync command
  line option.

An example of a bug report:

====
To: submit@bugs.gnome.org
From: yourname@your.address.org
Subject: handlebox test in testgtk is misnamed.

Package: gtk+
Version: 1.2.0

When I run gtk/testgtk, the button "handle box"
is misnamed. There are multiple handle boxes in
the demo, so it should be "handle boxes", to
be like "buttons" or "check buttons".
===

Patches
=======

Patches can be uploaded to the incoming/ directory on
ftp.gtk.org.  Please follow the instructions there, and include
your name and email address in the README file.

If the patch fixes a bug, it is usually a good idea to include
all the information described in "How to Report Bugs".