[cp-patches] Patch: FYI: warning fixes in VM code

2006-03-01 Thread Tom Tromey
I'm checking this in. This fixes most of the eclipse java warnings in vm/reference. Tom 2006-03-01 Tom Tromey <[EMAIL PROTECTED]> * vm/reference/java/net/VMNetworkInterface.java: Organized imports. * vm/reference/java/net/VMInetAddress.java: Organized imports. * vm/ref

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread David Daney
David Daney wrote: With this test case (just added to mauve): import java.net.URL; public class URLTest { public static void main(String []args) { try { URL url = new URL("http://www.foo.bar.com";); url = new URL(url, "_urn:testing/"); System.out.

[cp-patches] Patch: FYI: net-related warning fixes

2006-03-01 Thread Tom Tromey
I'm checking this in. This fixes most of the warnings from gnu.java.net. A few still remain, from serializable classes that don't define serialVersionUID. Tom 2006-03-01 Tom Tromey <[EMAIL PROTECTED]> * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix. * gnu

[cp-patches] NIO Scatter/Gather patch

2006-03-01 Thread Michael Barker
Hi, Attached is a patch to add non-blocking i/o and scatter/gather for nio SocketChannels. I have signed the necessary legal forms for contribution. I have been off for on vaction so its been a little late in coming. Please review. Cheers, Mike. Index: gnu/java/nio/PipeImpl.java ==

[cp-patches] FYI: Swing text fixup

2006-03-01 Thread Roman Kennke
The last evenings I hacked a little more on the text stuff and was able to 1. fix up all the remaining mauve tests for ElementBuffer (including a new one, and excluding one bogus one, that I'll instead will fix in mauve) 2. get the BeanShell running quite reliably, without doing nasty stuff: http

[cp-patches] [generics] BigDecimal conversion methods

2006-03-01 Thread Anthony Balkissoon
Wrote the conversion methods longValueExact, intValueExact, byteValueExact, and shortValueExact. This required a fix in precision() because very large numbers weren't handled properly. 2006-03-01 Anthony Balkissoon <[EMAIL PROTECTED]> * java/math/BigDecimal.java: (precision): F

[cp-patches] FYI: update NEWS

2006-03-01 Thread Lillian Angel
2006-03-01 Lillian Angel <[EMAIL PROTECTED]> * NEWS: javax.imageio.plugins.bmp implementation. Index: NEWS === RCS file: /sources/classpath/classpath/NEWS,v retrieving revision 1.116 diff -u -r1.116 NEWS --- NEWS 1 Mar 2006

[cp-patches] Patch: javax.imageio.plugins.bmp

2006-03-01 Thread Lillian Angel
Implemented the BMPImageWriteParam class. The javax.imageio.plugins.bmp package is now fully implemented. Its a very small class that extends ImageWriteParam. 2006-03-01 Lillian Angel <[EMAIL PROTECTED]> * javax/imageio/ImageWriteParam.java: Added documentation for fields.

[cp-patches] Patch: FYI: update NEWS

2006-03-01 Thread Tom Tromey
I'm checking this in. I forgot to update NEWS when I checked in my prefs change. Tom 2006-03-01 Tom Tromey <[EMAIL PROTECTED]> * NEWS: Mention java.util.prefs update. Index: NEWS === RCS file: /cvsroot/classpath/classpat

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread David Daney
Olivier Jolly wrote: Chris Burdess wrote: David Daney wrote: With this test case (just added to mauve): import java.net.URL; public class URLTest { public static void main(String []args) { try { URL url = new URL("http://www.foo.bar.com";); url = new URL(

[cp-patches] Patch: FYI: file-based preferences

2006-03-01 Thread Tom Tromey
I'm checking this in. This adds a file-based implementation of java.util.prefs and changes Classpath to use it as the default. This implementation is fairly simple. It stores preferences for a node in a '.properties' file, and arranges nodes in a directory tree. It is not perfect; in particular

[cp-patches] [generics] some division methods for BigDecimal

2006-03-01 Thread Anthony Balkissoon
I wrote some of the division methods for BigDecimal. 2006-03-01 Anthony Balkissoon <[EMAIL PROTECTED]> * java/math/BigDecimal.java: (remainder(BigDecimal)): New method. (divideAndRemainder(BigDecimal)): Likewise. (divideToIntegralValue(BigDecimal)): Likewise.

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
David Daney wrote: We also have to take into consideration the behavior of Sun's implementation. Given what you say above, the fine engineers at Sun should be shaking in their boots. It's a particularly nasty API. Also RFC 2396 section 3 seems to explicitly allow for a ':' in the specifi

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread David Daney
Chris Burdess wrote: Olivier Jolly wrote: There is no way to determine whether a URL scheme is "valid" or not, assuming that is even meaningful. If we append the spec to the context in this case we should also do so in the case of url = new URL("http://www.foo.bar.com";); url = new U

[cp-patches] RFC: gnu.regexp.* rewritten

2006-03-01 Thread Ito Kazumitsu
Hi, I have rewritten large part of the source code of gnu.regexp package. The imortant points of this change are: (1) A new method REToken#matchThis. This method tries to match the input string against the REToken itself and does not try to match the next RETokens chained to it. Th

[cp-patches] FYI: ResourceBundle fix

2006-03-01 Thread Jeroen Frijters
Hi, Committed. Dacapo Xalan now runs successfully. Regards, Jeroen 2006-03-01 Jeroen Frijters <[EMAIL PROTECTED]> * java/util/ResourceBundle.java (tryBundle): Catch and ignore all Exceptions. Index: java/util/ResourceBundle.java

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
Olivier Jolly wrote: There is no way to determine whether a URL scheme is "valid" or not, assuming that is even meaningful. If we append the spec to the context in this case we should also do so in the case of url = new URL("http://www.foo.bar.com";); url = new URL(url, "http://www.foo

Re: [cp-patches] RFC: file resources can be directory too

2006-03-01 Thread Olivier Jolly
Mark Wielaard wrote: On Tue, 2006-02-28 at 16:53 -0600, Archie Cobbs wrote: Olivier Jolly wrote: following the mauve testlet commit, here is the fix proposition in classpath. Basically, we were explicitly preventing directories to be retrieved as file resources, while I don't see an

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Olivier Jolly
Chris Burdess wrote: David Daney wrote: With this test case (just added to mauve): import java.net.URL; public class URLTest { public static void main(String []args) { try { URL url = new URL("http://www.foo.bar.com";); url = new URL(url, "_urn:testing/");

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
David Daney wrote: With this test case (just added to mauve): import java.net.URL; public class URLTest { public static void main(String []args) { try { URL url = new URL("http://www.foo.bar.com";); url = new URL(url, "_urn:testing/"); System.out.

Re: [cp-patches] RFC: file resources can be directory too

2006-03-01 Thread Mark Wielaard
On Tue, 2006-02-28 at 16:53 -0600, Archie Cobbs wrote: > Olivier Jolly wrote: > > following the mauve testlet commit, here is the fix proposition in > > classpath. > > Basically, we were explicitly preventing directories to be retrieved > > as file resources, while I don't see any reason to do