gcc/libjava/java
Thomas Fitzsimmons a5966c9ef9 Makefile.am: Add GdkPixbufDecoder.java and gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am: Add GdkPixbufDecoder.java and
	gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
	* Makefile.in: Regenerate.
	* gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
	New constructor.
	(startProduction): Create ByteArrayInputStream when url and filename are
	null.
	(produce): Declare stream parameter as InputStream.
	* gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
	as InputStream.
	* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
	(GdkPixbufDecoder(byte[],int,int)): New constructor.
	(produce): Declare stream parameter as InputStream.
	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
	if image is null.  Set image's observer before running PrepareImage
	thread.  Pass image to startProduction.
	* gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
	source's member functions.
	(observer): New field.
	(setObserver): New method.
	(setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
	* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
	new GtkImage.
	(prepareImage): Implement.
	* java/awt/Component.java: Add static fields incrementalDraw and
	redrawRate.
	(imageUpdate): Implement.
	(createImage): Call Toolkit's createImage if peer is null.
	(prepareImage): Throw NPE if image is null.
	* java/awt/MediaTracker.java: Fix return value.

From-SVN: r73476
2003-11-12 00:37:34 +00:00
..
applet
awt Makefile.am: Add GdkPixbufDecoder.java and gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 2003-11-12 00:37:34 +00:00
beans Reported by M.Negovanovic 2003-10-21 13:21:33 +00:00
io ByteArrayOutputStream.java (resize): Fix off-by-one error. 2003-11-08 13:41:20 +00:00
lang re PR libgcj/12231 ([win32] Console applications spawned via Runtime.exec( ) in a GUI application flash console window) 2003-11-07 03:16:49 +00:00
math Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
net Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
nio 2003-11-11 Michael Koch <konqueror@gmx.de> 2003-11-11 11:56:58 +00:00
rmi Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
security Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
sql Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
text Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
util [multiple changes] 2003-10-29 16:07:59 +00:00