GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Owen Taylor d12c9702a4 Private function to tell if we have RENDER extension.
Thu Jan  3 22:18:15 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
	(_gdk_x11_have_render): Private function to tell if we have RENDER
	extension.

	* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
	None if we don't have RENDER extension.

	* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
	use Xft unless we have render extension.

	* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
	Handle missing render extension.

	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
	gdk/gdkinternals.h: Add a private copy_to_image() virtual function
	to the GdkDrawable vtable that extends get_image() to allow
	copying onto existing images.  Make the default implementation of
	get_image() use this so that backends don't have to implement
	both. Add private wrapper _gdk_drawable_copy_to_image().

	* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
	gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
	copy_to_image() semantics, speed up by using ShmPixmaps and
	XCopyArea when possible, XFlush() after ungrabbing the server,
	generally redo the logic once again.

	* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
	_gdk_windowing_bits_per_depth(): Function to convert from depth to
	bits-per-pixel. (We assume only one bpp per depth - X requires
	this.)

	* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
	scratch image code into a generic _gdk_image_get_scratch() chunk
	of code that we can use other places we need scratch images.

	* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
	Add _gdk_image_new_for_depth() as the backend
	to _gdk_image_new() to allowing creating images with
	a depth and no visual.

	* gdk/gdkpixbuf-drawable.c: Fix so that getting
	parts of images not at 0,0 actually works.

	* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
	gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c:
	 - Add a new GdkDrawableClass vfunc _draw_pixbuf, and
	  _gdk_draw_pixbuf() [ will be made public later ], to allow
	  backends to accelerate drawing pixbufs.
	 - Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
	   to be the default implementation.
	 - Update docs for gdk_pixbuf_render_to_drawable_alpha().
	 - Optimize the default implementation by using
	   _gdk_image_copy_to_pixmap() and scratch shared images, and
	   special casing the compositing.

	* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
	with alpha using the RENDER extension.

        * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
	Optimize by _gdk_image_copy_to_pixmap() and scratch images.

	* tests/testrgb.c: Add test for speed of alpha composition,
	reduce the number of iterations since alpha composition
	can be a bit slow.

	* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap):
	Private function to get a ShmPixmap for an image, if possible.
2002-01-04 05:58:01 +00:00
contrib Added -version-info. 2001-11-26 00:42:29 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
demos Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource. 2002-01-01 22:17:09 +00:00
docs add mention of gtk_widget_add_events() and GTK_CAN_FOCUS 2002-01-04 03:34:12 +00:00
examples Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro) 2001-11-02 15:27:27 +00:00
gdk Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
gdk-pixbuf Fix and uncomment non-MMX version. 2002-01-04 00:34:06 +00:00
gtk When tab is pressed and the text view isn't editable, move the focus 2002-01-03 18:27:16 +00:00
m4macros Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) 2001-10-29 16:51:37 +00:00
modules 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
po az:po * updating 2001-12-28 22:06:43 +00:00
tests Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
.cvsignore shut up CVS 2001-10-30 16:51:39 +00:00
acconfig.h demos/pixbuf-demo.c M_PI -> G_PI. 2001-11-25 23:36:29 +00:00
acinclude.m4 Use autoconf 2.13/2.50 compat macro. 2001-08-27 15:17:51 +00:00
AUTHORS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
autogen.sh subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
ChangeLog Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-1-0 ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog. 1998-04-17 01:07:36 +00:00
ChangeLog.pre-1-2 moved old ChangeLog to ChangeLog.pre-1-2, and started new one. 1999-02-27 00:26:30 +00:00
ChangeLog.pre-2-0 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-2-2 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-2-4 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-2-6 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-2-8 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
ChangeLog.pre-2-10 Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
config.guess Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
config.h.win32.in make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if 2001-11-18 15:37:13 +00:00
config.sub version to 1.3.6 2001-06-14 16:34:21 +00:00
configure.in 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
COPYING Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
gdk-2.0-uninstalled.pc.in subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
gdk-2.0.pc.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
gdk-pixbuf-2.0-uninstalled.pc.in subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables 2001-06-07 16:40:01 +00:00
gdk-pixbuf-2.0.pc.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
gtk-config-2.0.in Updated. 2001-04-03 18:48:46 +00:00
gtk-zip.sh.in Build separate runtime and developer packages. 2001-11-17 02:13:25 +00:00
gtk+-2.0-uninstalled.pc.in Implement a search path for GTK+ modules. 2001-09-11 20:24:40 +00:00
gtk+-2.0.pc.in Implement a search path for GTK+ modules. 2001-09-11 20:24:40 +00:00
gtk+.spec.in Mon Aug 27 2001 Jens Finke <jens@gnome.org> - Renamed package to gtk2. - 2001-08-27 14:36:50 +00:00
HACKING Patch from Hidetoshi Tajima to fix bad match error when target drawable is 2001-11-30 21:14:07 +00:00
INSTALL 1.3.12, interface, binary age 0. 2001-12-24 01:49:19 +00:00
INSTALL.in Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
makecopyright Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
Makefile.am Add a "resizable" property, to get rid of the 2001-11-19 21:18:22 +00:00
NEWS 1.3.12, interface, binary age 0. 2001-12-23 22:59:30 +00:00
NEWS.pre-1-0 ooops, fogot this on my last commit... 1998-05-07 07:45:04 +00:00
README 1.3.12, interface, binary age 0. 2001-12-24 01:49:19 +00:00
README.cvs-commits Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS 2001-04-17 19:19:09 +00:00
README.in Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS 2001-04-17 19:19:09 +00:00
README.nanox make it possible to configure gtk for different targets on the same 2000-06-07 16:44:29 +00:00
README.win32 Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
sanity_check [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
TODO Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org> 2000-02-29 13:15:10 +00:00
TODO.xml Another test commit TODO.xml 2000-10-29 02:44:07 +00:00

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

This is GTK+ version 1.3.12. 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/

Information about mailing lists can be found at
  http://www.gtk.org/mailinglists.html

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

See the file 'INSTALL'

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

Bugs should be reported to the GNOME bug tracking system. 
(http://bugzilla.gnome.org, product gtk+.) You will need
to create an account for yourself.
  
In the bug report please 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.

* 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.

Patches
=======

Patches should also be submitted to bugzilla.gnome.org. If the
patch fixes an existing bug, add the patch as an attachment
to that bug report.

Otherwise, enter a new bug report that describes the patch,
and attach the patch to that bug report.

Bug reports containing patches should include the PATCH keyword
in their keyword fields. If the patch adds to or changes the GTK
programming interface, the API keyword should also be included.
  
Patches should be in unified diff form. (The -u option to GNU
diff.)