[cp-patches] Re: RFC: GDK backend for AbstractGraphics2D

2006-05-21 Thread Sven de Marothy
Hey, Here's a patch which might be of use.. I created a GtkImage.getBufferedImage() method which returns a BufferedImage backed by the GtkImage. (Only works for the pixbuf GtkImages at the moment though, so it's not terribly useful.) Attached is a small demo too. Works on my machine. /Sven

[cp-patches] FYI:Documenting two classes in javax.naming

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/Referenceable.java: Documented. * javax/naming/spi/NamingManager.java: Documented. Index: javax/naming/Referenceable.java === RCS file:

[cp-patches] FYI: Documenting javax.naming.context

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/Context.java: Documented. Index: javax/naming/Context.java === RCS file: /sources/classpath/classpath/javax/naming/Context.java,v retrieving revision 1.3 diff -u

[cp-patches] FYI: Fix build for gcj

2006-05-21 Thread Andrew John Hughes
I'm committing the attached patch to (hopefully) fix the current build problems with gcj -- this works with gcj 4.1. Changelog: 2006-05-21 Andrew John Hughes [EMAIL PROTECTED] * gnu/java/net/loader/JarURLLoader.java: Use Map.Entry instead of LinkedHashMap.Entry -- Andrew :-)

[cp-patches] FYI: Documenting javax.naming

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/NameParser.java, javax/naming/NamingEnumeration.java, javax/naming/PartialResultException.java, javax/naming/SizeLimitExceededException.java, javax/naming/spi/ObjectFactory.java,

[cp-patches] FYI: Documenting InitialContext.

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/InitialContext.java: Documented. Index: InitialContext.java === RCS file: /sources/classpath/classpath/javax/naming/InitialContext.java,v retrieving revision 1.8

[cp-patches] FYI: Minimal fix for the MinimalHTMLWriter

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/text/html/MinimalHTMLWriter.java (writeComponent, writeImage): Declare that the method may throw the IOException. Index: MinimalHTMLWriter.java === RCS file:

[cp-patches] FYI: 26972 fix in java.naming.

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] PR 26972 * javax/naming/InitialContext.java (colon_list): Changed type to hashset. (use_properties): New field. (init(Hashtable)): Rewritten. (merge): Rewritten. Index: InitialContext.java

[cp-patches] FYI: Documenting javax.naming

2006-05-21 Thread Audrius Meskauskas
2006-05-21 Audrius Meskauskas [EMAIL PROTECTED] * javax/naming/Context.java, javax/naming/ContextNotEmptyException.java, javax/naming/Reference.java: Documented. Index: javax/naming/Context.java === RCS file:

[cp-patches] FYI: BeanContextSupport child addition

2006-05-21 Thread Andrew John Hughes
I'm committing the attached patch to fix the addition of children which implement BeanContextChild to a BeanContextSupport. Prior to this patch, a BeanContextChild which is added to BeanContextSupport or one of its subclasses would not be notified of its new context via setBeanContext. With this

[cp-patches] FYI: BeanContextSupport removal support

2006-05-21 Thread Andrew John Hughes
I'm committing the attached patch to add remove() support to java.beans.beancontext.BeanContextSupport Changelog: 2006-05-21 Andrew John Hughes [EMAIL PROTECTED] * java/beans/beancontext/BeanContextSupport.java: (add(Object)): Add further documentation. (isEmpty()):

[cp-patches] FYI: Enum serialization for HEAD

2006-05-21 Thread Andrew John Hughes
I'm committing the attached patch to merge enum serialization support from the generics branch to HEAD. Changelog: 2006-04-02 Andrew John Hughes [EMAIL PROTECTED] * java/io/ObjectOutputStream.java: (writeObject(Object)): Added enum support.

[cp-patches] FYI: Merge java.io.OutputStream

2006-05-21 Thread Andrew John Hughes
I'm committing the attached patch to synchronize java.io.OutputStream with the copy on the generics branch. Changelog: 2004-08-26 Tom Tromey [EMAIL PROTECTED] * java/io/OutputStream.java (OutputStream): Implements Closeable, Flushable. -- Andrew :-) Please avoid sending me

[cp-patches] FYI: CharBuffer.wrap() bounds check

2006-05-21 Thread Sven de Marothy
charAt() already throws ArrayIndexOutOfBounds for us, and the (end (length() - start)) check was wrong. 2006-05-22 Sven de Marothy [EMAIL PROTECTED] * java/nio/CharBuffer.java (wrap): Fix bounds checking. Index: java/nio/CharBuffer.java

[cp-patches] Patch: FYI: PR 27688

2006-05-21 Thread Tom Tromey
I'm checking this in. This fixes a jar bug pointed out in PR 27688. We weren't filtering the results of 'jar t' according to the supplied file list. This also fixes another bug I noticed, which is that the size field in 'jar tv' would be -1 in many cases. Tom 2006-05-21 Tom Tromey [EMAIL