[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Re: An imageio/ImageDecoder hack
From: |
Mark Wielaard |
Subject: |
[cp-patches] Re: An imageio/ImageDecoder hack |
Date: |
Mon, 21 Nov 2005 23:47:07 +0100 |
Hi,
On Mon, 2005-11-21 at 15:37 -0500, Thomas Fitzsimmons wrote:
> I expect that GdkPixbufDecoder will go away with the
> GTK2.8/Cairo/Graphics2D migration, so I wouldn't bother.
I just checked in this little workaround then as is. It is a bit lame
and slow, but at least it works and it shouldn't impact any other
existing code paths.
2005-11-21 Mark Wielaard <address@hidden>
* gnu/java/awt/image/ImageDecoder.java (datainput): New field.
(ImageDecoder(DataInput)): New constructor.
(startProduction): Create DataInputStreamWrapper when datainput set.
(DataInputStreamWrapper): New private static helper class.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
(GdkPixbufDecoder(DataInput)): New constructor.
(setInput): Check whether getInput() results in an InputStream or
DataInput.
> Can you add a pointer to the app you're testing to:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20630
>
> so that we remember to test this after the migration?
Done. It seems an interesting pair of applications:
http://caliph-emir.sourceforge.net/
I am trying to get all my patches in so you can start it up and play a
little with it. But some are terrible hacks that I don't really dare to
propose yet :)
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part