Re: [cp-patches] [RFC] JSSE 1.5 classes and methods

2005-09-13 Thread Chris Burdess
Casey Marshall wrote: I'm looking for comments about this approach, since I imagine it is controversial; this looks closely compatible with 1.5, according to japicompat, but I'm not sure if that level of compatibility is close enough. There are a couple alternatives to a new class under 'gnu':

Re: [cp-patches] RFC: [Patch] rewrite of classpath/gnu/java/net/protocol/http/*

2005-09-13 Thread Chris Burdess
David Daney wrote: As I threatened last week, I made some major changes to the gnu.java.net.protocol.http package. ... The current version reads the entire body of a HTTP response in to a memory buffer (ByteArrayResponseBodyReader) and if user code needs the content it gets a

Re: [cp-patches] [Patch] Improve/fix gnu.java.net.LineInputStream...

2005-09-13 Thread Chris Burdess
David Daney wrote: gnu.java.net.LineInputStream has at least one bug in it, but think its whole approach is incorrect. First the bug: len = in.available(); len = (len MIN_LENGTH) ? MIN_LENGTH : len; I think the idea was to read all available bytes into its buffer

[cp-patches] FYI: Added API comments to JTabbedPane

2005-09-13 Thread Roman Kennke
2005-09-13 Roman Kennke [EMAIL PROTECTED] * javax/swing/JTabbedPane.java: Added API comments all over. /Roman Index: javax/swing/JTabbedPane.java === RCS file: /cvsroot/classpath/classpath/javax/swing/JTabbedPane.java,v

[cp-patches] FYI: SizeRequirements fix

2005-09-13 Thread Roman Kennke
2005-09-13 Roman Kennke [EMAIL PROTECTED] * javax/swing/SizeRequirements.java (toString): Implemented this method. (calculateAlignedPositions): Partly implemented this method. /RomanIndex: javax/swing/SizeRequirements.java

[cp-patches] FYI: DefaultStyledDocument additions

2005-09-13 Thread Roman Kennke
Hi, I added lots of stuff to javax.swing.text.DefaultStyledDocument. 2005-09-13 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java (ElementSpec): New inner class. (ElementBuffer.change): Also store the DefaultDocumentEvent.

Re: [cp-patches] [Patch] Improve/fix gnu.java.net.LineInputStream...

2005-09-13 Thread David Daney
Chris Burdess wrote: David Daney wrote: gnu.java.net.LineInputStream has at least one bug in it, but think its whole approach is incorrect. First the bug: len = in.available(); len = (len MIN_LENGTH) ? MIN_LENGTH : len; I think the idea was to read all available

Re: [cp-patches] RFC: [Patch] rewrite of classpath/gnu/java/net/protocol/http/*

2005-09-13 Thread Chris Burdess
David Daney wrote: You would probably have a better chance if you threw out all the inetlib classes and started from scratch with a pull-based client. What are you talking about? I am not using inetlib. The gnu.java.net.protocol.http package is the inetlib HTTP client. I do agree with

[cp-patches] FYI: java.io.ByteArrayOutputStream fix toString(int)...

2005-09-13 Thread David Daney
As approved by Tom Tromey on [EMAIL PROTECTED] 2005-09-13 David Daney [EMAIL PROTECTED] * java/io/ByteArrayOutputStream.java: Reformated copyright notice. (toString(int)): Pass correct parameters to String constructor. David Daney. Index: java/io/ByteArrayOutputStream.java

Re: [cp-patches] RFC: [Patch] rewrite of classpath/gnu/java/net/protocol/http/*

2005-09-13 Thread David Daney
Chris Burdess wrote: David Daney wrote: You would probably have a better chance if you threw out all the inetlib classes and started from scratch with a pull-based client. What are you talking about? I am not using inetlib. The gnu.java.net.protocol.http package is the inetlib HTTP

Re: [cp-patches] [Patch] Improve/fix gnu.java.net.LineInputStream...

2005-09-13 Thread Tom Tromey
Chris == Chris Burdess [EMAIL PROTECTED] writes: I did take the liberty of adding my own micro-optimization, in that if the encoding is US-ASCII, we can skip using String's character encoding system and just request hibyte of 0. I did this because a year ago with libgcj-3.4.3 we were

Re: [cp-patches] [Patch] Improve/fix gnu.java.net.LineInputStream...

2005-09-13 Thread David Daney
Tom Tromey wrote: Chris == Chris Burdess [EMAIL PROTECTED] writes: I did take the liberty of adding my own micro-optimization, in that if the encoding is US-ASCII, we can skip using String's character encoding system and just request hibyte of 0. I did this because a year ago with

[cp-patches] Re: Patch for approval fixes bug # 23006

2005-09-13 Thread Anthony Balkissoon
Sorry, I sent this from my non-list account. On Tue, 2005-09-13 at 16:18 -0400, Anthony Balkissoon wrote: To account for peers' size requirements, Components should be invalidated before they are first shown on the screen. This patch calls invalidateTree() when a Window is first shown. This

[cp-patches]: Patch: JTree missing functions-

2005-09-13 Thread Lillian Angel
Added methods in JTree that were missing. 2005-09-13 Lillian Angel [EMAIL PROTECTED] * javax/swing/JTree.java (AccessibleJTree): Added new Inner class. (AccessibleJTree.addAccessibleSelection): New method. (AccessibleJTree.clearAccessibleSelection): New method.

[cp-patches] Patch: FYI: warning fixes

2005-09-13 Thread Tom Tromey
I'm checking this in. This mostly fixes some warnings related to javadoc but also a couple related to unused imports. It also adds a missing @since -- try to remember these, folks. Tom 2005-09-13 Tom Tromey [EMAIL PROTECTED] * java/lang/Process.java: Added import for javadoc.

[cp-patches] FYI: BasicComboBoxUI

2005-09-13 Thread David Gilbert
I committed this patch: 2005-09-13 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicComboBoxUI.java (lightHighlight): removed, (installDefaults): only update component attributes if they are tagged with UIResource, initialise button colors from

[cp-patches] FYI: MetalComboBoxButton and MetalComboBoxEditor

2005-09-13 Thread David Gilbert
I committed these new classes. The MetalComboBoxUI class that uses them isn't complete yet, but I'm working on it: 2005-09-13 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalComboBoxButton.java: new file, * javax/swing/plaf/metal/MetalComboBoxEditor.java:

[cp-patches] DiffieHellman and RSA

2005-09-13 Thread Casey Marshall
I've checked these in. I put an RFC for these out some time ago [1], but didn't see Tromey's reply until now. This adds DiffieHellman key exchange and RSA cipher support; as I understand it, this should fix problems with using Eclipse's 'extssh' with free runtimes. 2005-09-13 Casey

[cp-patches] Patch: FYI: update eclipse javadoc settings

2005-09-13 Thread Tom Tromey
I'm checking this in. I was getting a fair number of warnings for javadoc references to non-visible or deprecated members. The latter seemed reasonable to allow in our code; the former, well, maybe. I'm enabling both, and we can see how it goes. Tom 2005-09-13 Tom Tromey [EMAIL PROTECTED]

How does GNU classpath implement char?

2005-09-13 Thread Alexander Shopov
Hi guys, I was wondering - how does gnu classpath implement char (the primitive value). The Sun Java documentation sasy that char is a 16 bit positive value that has the representation of a character in UTF-16 encoding. http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html (This is

Re: rmi vs cajo

2005-09-13 Thread Andrew Haley
Mark Wielaard writes: While playing a bit with Cajo (http://wiki.java.net/bin/view/Communications/ProxyUsage) I got the following error: java.lang.NullPointerException at gnu.cajo.invoke.Remote.hashCode (Remote.java:510) at java.util.Hashtable.hash (Hashtable.java:822)

[Bug classpath/23860] New: Exception in JComboBox.removeAllItems()

2005-09-13 Thread konqueror at gmx dot de
The following program works in Sun's JDK but fails in libgcj6: cat crash.java EOF import javax.swing.JComboBox; class crash { public static final void main (String args[]) { JComboBox c = new JComboBox (); c.addItem (foo); c.removeAllItems (); } } EOF gcj-4.0 --main=crash

[Bug classpath/23859] New: Assertion failure when calling JTabbedPane.addTab(null, ...)

2005-09-13 Thread konqueror at gmx dot de
Thanks to gcj's ability to compile native code that can be debugged with gdb, I finally could narrow down and report this bug that I first noticed with libgcj4 or libgcj5. The program runs fine under Sun's JVM, but libgcj aborts because of an assertion failure. I keep getting an assertion

Re: How does GNU classpath implement char?

2005-09-13 Thread Robert Schuster
Hi. AIUI, 1.5 has a lot of library updates to allow for 'int' codepoints that lie outside the 16 bit range of a java 'char'. For the most part we have not implemented these APIs yet. They don't look intrinsically hard, just voluminous... Sven has implemented a lot of 1.5 functionality in

Re: How does GNU classpath implement char?

2005-09-13 Thread Robert Schuster
Hi, again. I obviously overlooked something in the JAPI comparison. There are indeed missing all the methods that deal with and 'int' as a character. cu Robert ___ Classpath mailing list Classpath@gnu.org

Re: How does GNU classpath implement char?

2005-09-13 Thread Tom Tromey
Robert == Robert Schuster [EMAIL PROTECTED] writes: Robert I obviously overlooked something in the JAPI comparison. There Robert are indeed missing all the methods that deal with and 'int' as Robert a character. There are also some in places like String, StringBuffer, etc. Tom

Re: [Bug swing/23850] New: ProgressMonitor unimplemented

2005-09-13 Thread Robert Schuster
I just want to announce that I want to implement this (But my bugzilla account is not properly set up yet.) cu Robert roman at kennke dot org wrote: The class javax.swing.ProgressMonitor and related classes are complete stubs and should be properly implemented.

Re: RFC: Generics branch VM interface

2005-09-13 Thread Andrew John Hughes
On Thu, Jun 16, 2005 at 12:08:18PM +0200, Jeroen Frijters wrote: Hi, I'd like to propose a fundamental change to the VM interface on the generics branch. In particular, I'd like the VM interface (and in this case I mean strictly the interface between the Foo and VMFoo classes) on the

Re: Loader in ObjectStreamClass.readClassDescriptor

2005-09-13 Thread Nicolas Geoffray
Hi Mark, Mark Wielaard wrote: Hi Nicolas, On Tue, 2005-08-02 at 14:08 +0200, Nicolas Geoffray wrote: Hi everyone, sorry for the typo, it was ObjectInputStream.readClassDescriptor that misbehaves. Shortly, when a reading a given class descriptor CL, it loads the class of a field from

JamVM 1.3.3 released

2005-09-13 Thread Robert Lougher
Hi, I'm pleased to announce the release of JamVM 1.3.3 (http://jamvm.sourceforge.net). This release adds ports to AMD64 and PowerPC64 and a couple of other minor features/bug-fixes. The full list of changes are here: http://sourceforge.net/project/shownotes.php?release_id=356099 Thanks, Rob.

RE: How does GNU classpath implement char?

2005-09-13 Thread David Holmes
The Sun Java documentation sasy that char is a 16 bit positive value that has the representation of a character in UTF-16 encoding. As of Java 5.0 that is correct. Previously Java only supported the 16-bit Unicode standards. So it seems to me that only BMP characters are representable in

[commit-cp] classpath ./ChangeLog javax/swing/SizeRequireme...

2005-09-13 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/09/13 10:23:50 Modified files: . : ChangeLog javax/swing: SizeRequirements.java Log message: 2005-09-13 Roman Kennke

[commit-cp] classpath ./ChangeLog javax/swing/JTabbedPane.java

2005-09-13 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/09/13 10:20:57 Modified files: . : ChangeLog javax/swing: JTabbedPane.java Log message: 2005-09-13 Roman Kennke

[commit-cp] classpath javax/swing/text/DefaultStyledDocumen...

2005-09-13 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/09/13 10:42:04 Modified files: javax/swing/text: DefaultStyledDocument.java . : ChangeLog Log message: 2005-09-13 Roman

[commit-cp] classpath ./ChangeLog javax/swing/JComboBox.java

2005-09-13 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/09/13 13:32:52 Modified files: . : ChangeLog javax/swing: JComboBox.java Log message: 2005-09-13 David Gilbert

[commit-cp] classpath ./ChangeLog javax/swing/JTree.java

2005-09-13 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/09/13 20:46:02 Modified files: . : ChangeLog javax/swing: JTree.java Log message: 2005-09-13 Lillian Angel [EMAIL

[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...

2005-09-13 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/09/13 21:10:50 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicComboBoxUI.java Log message: 2005-09-13 David

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-09-13 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/09/13 21:36:03 Modified files: . : ChangeLog Added files: javax/swing/plaf/metal: MetalComboBoxButton.java

[commit-cp] classpath/gnu/javax/crypto

2005-09-13 Thread Casey Marshall
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Casey Marshall [EMAIL PROTECTED] 05/09/13 22:06:56 classpath/gnu/javax/crypto Update of /cvsroot/classpath/classpath/gnu/javax/crypto In directory savannah:/tmp/cvs-serv6708/gnu/javax/crypto Log

[commit-cp] classpath ./ChangeLog gnu/java/security/provide...

2005-09-13 Thread Casey Marshall
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Casey Marshall [EMAIL PROTECTED] 05/09/13 22:09:43 Modified files: . : ChangeLog gnu/java/security/provider: Gnu.java Added files: gnu/classpath :

[commit-cp] classpath java/lang/SecurityManager.java java/l...

2005-09-13 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 05/09/13 22:19:15 Modified files: java/lang : SecurityManager.java System.java String.java Thread.java Readable.java

[commit-cp] classpath ./ChangeLog javax/swing/JOptionPane.j...

2005-09-13 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Robert Schuster [EMAIL PROTECTED] 05/09/13 23:23:41 Modified files: . : ChangeLog javax/swing: JOptionPane.java javax/swing/plaf/basic:

[commit-cp] classpath ./ChangeLog javax/swing/text/GapConte...

2005-09-13 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/09/13 23:22:27 Modified files: . : ChangeLog javax/swing/text: GapContent.java Log message: 2005-09-14 Roman Kennke

[commit-cp] classpath javax/swing/text/GlyphView.java ./Cha...

2005-09-13 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/09/13 23:14:13 Modified files: javax/swing/text: GlyphView.java . : ChangeLog Log message: 2005-09-14 Roman Kennke

[commit-cp] classpath .settings/org.eclipse.jdt.core.prefs ...

2005-09-13 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 05/09/14 01:33:28 Modified files: .settings : org.eclipse.jdt.core.prefs . : ChangeLog Log message: *