[cp-patches] RFC: Moving java.io, java.lang to NIO charsets

2005-04-08 Thread Sven de Marothy
Hello everyone. Ok folks, this is it. Assuming you've got all my fixes to the NIO charsets, this patch re-implements String, InputStreamReader and OutputStreamWriter to use the java.nio charset converters. The good: 1) Eliminating the need for a seperate set for .io and .lang. 2) Allowing for dif

[cp-patches] FYI: NIO charset fixes

2005-04-08 Thread Sven de Marothy
Hi, A few very small fixes to NIO charsets. 2005-04-08 Sven de Marothy <[EMAIL PROTECTED]> * gnu/java/nio/charset/UTF_8.java (Decoder): Previous fix was incorrect. Sorry. * java/nio/charset/Charset.java: Reset cached de/encoders. * java/nio/charset/CharsetDecoder

Re: [cp-patches] Reindented native/jni code

2005-04-08 Thread Mark Wielaard
Hi Guilhem. On Fri, 2005-04-08 at 14:34 +0200, Guilhem Lavaux wrote: > GNU Indent (GNU style) seems to show a lot of differences after having > been run on the native/jni code. I have run it on classpath, java-* > directories and here is a patch. Thanks. But next time please give people a little

[cp-patches] nio charset provider

2005-04-08 Thread Sven de Marothy
Hi, Here's an addendum to my last patch. The extra charsets in the NIO provider aren't loaded on initialization, but rather when the program either requests a list of all available charsets or when the request for a charset fails when all of them aren't loaded. This saves up to 20 milliseconds of

[cp-patches] FYI: java.awt.MediaTracker fix

2005-04-08 Thread Roman Kennke
Hi, I commit the attached patch which fixes some things in MediaTracker, namely: 1. the checkXXX methods with a ms argument should wait at maximum the specified time. Before it waited until the image is loaded and checked the time afterwards. 2. the flags must not be ORed together with MediaTrac

[cp-patches] FYI: javax.swing.ImageIcon fix

2005-04-08 Thread Roman Kennke
Hi, I commit the attached fix. This makes ImageIcon wait for it's image to load completely as specified in the API docs to ImageIcon. /Roman 2005-04-08 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/ImageIcon.java (ImageIcon): Use setImage instead of direct assignment.

[cp-patches] FYI: New CORBA interfaces.

2005-04-08 Thread Meskauskas Audrius
2005-04-08 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/BAD_POLICY.java org/omg/CORBA/BAD_POLICY_TYPE.java, org/omg/CORBA/BAD_POLICY_VALUE.java, org/omg/CORBA/OMGVMCID.java, org/omg/CORBA/UNSUPPORTED_POLICY.java, org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java, org/omg/CORBA/VM_ABSTRACT.ja

[cp-patches] Reindented native/jni code

2005-04-08 Thread Guilhem Lavaux
Hi, GNU Indent (GNU style) seems to show a lot of differences after having been run on the native/jni code. I have run it on classpath, java-* directories and here is a patch. ChangeLog entry: 2005-04-08 Guilhem Lavaux <[EMAIL PROTECTED]> * native/jni/classpath/jcl.h, native/

[cp-patches] FYI: CORBA public and private members

2005-04-08 Thread Meskauskas Audrius
2005-04-08 Audrius Meskauskas [EMAIL PROTECTED] * org/omg/CORBA/PUBLIC_MEMBER.java, * org/omg/CORBA/PRIVATE_MEMBER.java: New interfaces. PUBLIC_MEMBER.java Description: Binary data PRIVATE_MEMBER.java Description: Binary data ___ Classpath-patches

[cp-patches] FYI: JTextComponent repaint fix

2005-04-08 Thread Roman Kennke
Hi, I committed the attached patch that fixes JTextComponent repaint. The problem I encountered was that JTextComponent were only repainted on direct user input. I changed this behaviour so that the JTextComponent is repainted on every change of the underlying Document. This is accomplished by