Re: [cp-patches] FYI: Socket timeout impl and fix

2006-05-14 Thread Casey Marshall
On May 13, 2006, at 8:14 AM, Michael Koch wrote: On Sat, May 13, 2006 at 05:11:16PM +0200, Sven de Marothy wrote: On Sat, 2006-05-13 at 16:58 +0200, Michael Koch wrote: AFAIK Linux is the only one. If we want to stay portable we need to use select() and wait for the time of the timeout. In

[cp-patches] FYI: a small formatting patch

2006-05-14 Thread Raif S. Naffah
hello all, the attached patch --already committed-- is a small formatting patch. 2006-05-14 Raif S. Naffah [EMAIL PROTECTED] * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting. cheers; rsn Index: Main.java

Re: [cp-patches] FYI: scatter-gather NIO

2006-05-14 Thread Tom Tromey
Casey == Casey Marshall [EMAIL PROTECTED] writes: Casey I'm (finally) checking in Michael Barker's patch to better support Casey socket and pipe channel scatter/gather IO. It seems to work fine for Casey me on cacao/linux/x86 and jamvm/darwin/x86. One nit here... Caseypublic int read

Re: [cp-patches] Patch: FYI: implementing missing nio method

2006-05-14 Thread Mark Wielaard
Hi Tom, On Sat, 2006-05-13 at 11:15 -0600, Tom Tromey wrote: Mark == Mark Wielaard [EMAIL PROTECTED] writes: 2006-05-01 Tom Tromey [EMAIL PROTECTED] * java/nio/ByteBufferImpl.java (compact): Don't reset position in empty case. Mark This does introduce a mauve regression. Sorry

Re: [cp-patches] Logger initialization regression fix and a little story on security contexts during class initialization

2006-05-14 Thread Mark Wielaard
Hi Archie, On Thu, 2006-05-11 at 08:51 -0500, Archie Cobbs wrote: Mark Wielaard wrote: We had an interesting regression with the logging code in GNU Classpath. It wasn't immediately apparent because it was only caused with certain compilers. The class initialization order was subtly

Re: [cp-patches] FYI: Socket timeout impl and fix

2006-05-14 Thread Sven de Marothy
On Sun, 2006-05-14 at 00:17 -0700, Casey Marshall wrote: On May 12, 2006, at 2:06 PM, Sven de Marothy wrote: This adds the 1.5 timeout methods in URLConnection and implements them for HttUrlConnection (and HttpsUrlConnection). It also fixes a long-standing bug in the native-target-layer

Re: [cp-patches] FYI: fix for PR 27595

2006-05-14 Thread Mark Wielaard
Hi Robert, On Sun, 2006-05-14 at 01:20 +0200, Robert Schuster wrote: since this affects the users of 0.91 I would like to have that in the release branch. Added to the release branch. BTW. It is nice to have the Bug number in the ChangeLog entry and not just in the commit message. That way

Re: FYI:Regression fix:Re: [cp-patches] FYI:JTree view and navigation fixes during the multiple selection

2006-05-14 Thread Mark Wielaard
Hi Audrius, On Sat, 2006-05-13 at 12:08 +0200, Audrius Meskauskas wrote: 2006-05-13 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow): Initialise to -1. Also added to the release branch. Thanks, Mark signature.asc Description:

Re: [cp-patches] FYI: GNUGlyphVector fixlet

2006-05-14 Thread Mark Wielaard
Hi Roman, On Thu, 2006-05-11 at 16:19 +0200, Roman Kennke wrote: 2006-05-11 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/font/GNUGlyphVector.java (GNUGlyphVector): Don't apply the font renderer context's transform. [...] fontSize = font.getSize2D();

Re: [cp-patches] Re: FYI: Implement java.awt.print (demo)

2006-05-14 Thread Mark Wielaard
On Sat, 2006-05-13 at 17:08 +0200, Sven de Marothy wrote: Here's a little working demo program. This is so cool! It just worked on my little printer here :) Please add a little note about this to the NEWS file. Cheers, Mark signature.asc Description: This is a digitally signed message part

Re: [cp-patches] Patch: SimpleTimeZone fix

2006-05-14 Thread Mark Wielaard
Hi Lillian, On Wed, 2006-05-10 at 13:12 -0400, Lillian Angel wrote: I reverted this patch. It caused regressions. I am going to look into the bug I had and try to think of a better solution. 2006-05-10 Lillian Angel [EMAIL PROTECTED] * java/util/SimpleTimeZone.java: Reverted

Re: [cp-patches] FYI: Socket timeout impl and fix

2006-05-14 Thread Casey Marshall
On May 14, 2006, at 9:08 AM, Sven de Marothy wrote: On Sun, 2006-05-14 at 00:17 -0700, Casey Marshall wrote: On May 12, 2006, at 2:06 PM, Sven de Marothy wrote: This adds the 1.5 timeout methods in URLConnection and implements them for HttUrlConnection (and HttpsUrlConnection). It also

[cp-patches] FYI: Fix timeout on accepted sockets

2006-05-14 Thread Mark Wielaard
Hi, This fixes an issue with timeouts on accepted sockets. Since we aren't using select for timeouts accepted sockets inherit the timeout value of their ServerSocket. This patch resets the timeout to zero. 2006-05-14 Mark Wielaard [EMAIL PROTECTED] PR 27459 *

Re: [cp-patches] Fix for DomNode.cloneNode

2006-05-14 Thread Mark Wielaard
Hi Chris, On Tue, 2006-05-09 at 15:27 +0100, Chris Burdess wrote: I committed the following patch to work around a problem cloning DOM doctype nodes containing comments and/or PIs reported by Ian Rogers on IRC. 2006-05-09 Chris Burdess [EMAIL PROTECTED] *

[cp-patches] Patch: FYI: update .cvsignore

2006-05-14 Thread Tom Tromey
This updates .cvsignore in the new plugin directory. Tom 2006-05-14 Tom Tromey [EMAIL PROTECTED] * native/plugin/.cvsignore: Updated. Index: native/plugin/.cvsignore === RCS file:

[cp-patches] Patch: FYI: jar -i

2006-05-14 Thread Tom Tromey
I'm checking this in. This adds 'jar -i' support and also fixes some problems here and there in jar. It also cleans up a couple oddities in related areas that I noticed while working. This is PR 27514. Tom 2006-05-14 Tom Tromey [EMAIL PROTECTED] PR classpath/27514: *

Re: [cp-patches] RFC: ClassLoader reference implementation using getResources

2006-05-14 Thread Mark Wielaard
Hi Olivier, On Thu, 2006-05-11 at 15:12 +0200, Olivier Jolly wrote: as proposed yesterday here is a patch proposition which should enable the loading of the core packages even if there is any endorsed jar file with an INDEX.LIST in it. It has the side effect of making those endorsed

[cp-patches] FYI: JMenuItem.java - small API doc fix

2006-05-14 Thread David Gilbert
This patch (committed) fixes a cut-and-paste error in the API docs for the paramString() method: 2006-05-14 David Gilbert [EMAIL PROTECTED] * javax/swing/JMenuItem.java (paramString): Fixed class name in API doc comment. Regards, Dave Index: javax/swing/JMenuItem.java

[cp-patches] FYI: JCheckBoxMenuItem.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) improves the debug info provided by the paramString() method and adds/updates some API doc comments for some other methods in this class: 2006-05-14 David Gilbert [EMAIL PROTECTED] * javax/swing/JCheckBoxMenuItem.java (requestFocus): Fixed typo in API

[cp-patches] Re: GConf-backend for java.util.prefs

2006-05-14 Thread Mario Torre
Il giorno dom, 14/05/2006 alle 11.34 -0400, Thomas Fitzsimmons ha scritto: Hi, Mario Torre wrote: As a side note, these directory can be configured at runtime by setting one of these two properties: java.util.prefs.gconf.user_root java.util.prefs.gconf.system_root Since these

[cp-patches] Patch: FYI: minor jar tweak

2006-05-14 Thread Tom Tromey
I'm checking this in. This cleans up a tiny detail in the jar -i support. It also makes it invalid to specify both -M and -m. Tom 2006-05-14 Tom Tromey [EMAIL PROTECTED] * tools/gnu/classpath/tools/jar/Indexer.java (writeCommandLineEntries): Simplify insertion. *

[cp-patches] Patch: RFC: splitting up URLClassLoader

2006-05-14 Thread Tom Tromey
I'm posting this for comments. In libgcj we have a divergence in URLClassLoader, because we have other ways to load classes. In particular we can extract classes from shared libraries via 'gcjlib' URLs, and URLClassLoader knows about this. I'd like to re-merge here so that we have one less

Re: [cp-patches] FYI: Socket timeout impl and fix

2006-05-14 Thread Sven de Marothy
On Sun, 2006-05-14 at 12:45 -0700, Casey Marshall wrote: Yeah, I figured out what you were doing when going to sleep last night ;-) But still, wouldn't an be better for that? if( callA() == 0 callB() == 0 ) result = value1; else result = value2; Versus: result = ((callA() | callB())

Re: [cp-patches] FYI: Socket timeout impl and fix

2006-05-14 Thread Casey Marshall
On May 14, 2006, at 2:40 PM, Sven de Marothy wrote: On Sun, 2006-05-14 at 12:45 -0700, Casey Marshall wrote: Yeah, I figured out what you were doing when going to sleep last night ;-) But still, wouldn't an be better for that? if( callA() == 0 callB() == 0 ) result = value1; else

[cp-patches] FYI: added CACAO to list of VMs

2006-05-14 Thread Christian Thalinger
Hi! Edwin mentioned that CACAO isn't listed in the README. So, here it goes. @mark: maybe you can backport this to the release branch. TWISTI 2006-05-15 Christian Thalinger [EMAIL PROTECTED] * README: Added CACAO to list of VMs. Index: README

[cp-patches] FYI: More AWT printing

2006-05-14 Thread Sven de Marothy
This implements cancellable jobs, proper support for Pageable and also reverse landscape. Whatever people want that for. It's still slow of course. /Sven 2006-05-15 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/print/JavaPrinterGraphics.java: Sweeping changes I can't be

[cp-patches] Patch: FYI: minor printing fix

2006-05-14 Thread Tom Tromey
I updated before preparing a different patch, and eclipse complained about JavaPrinterJob. This fixes the assignment, which, previously, did nothing. It also cleans up the imports. Tom 2006-05-14 Tom Tromey [EMAIL PROTECTED] * gnu/java/awt/print/JavaPrinterJob.java (setPrintable):

[cp-patches] Patch: FYI: getopt option validation

2006-05-14 Thread Tom Tromey
I'm checking this in. jar had an error-printing case that was redundant with some code in getopt. This particular code just prints a message about using '--help' when the user uses bad command-line options, so it seemed best to push this into a validate() method on Parser. This patch also

Re: [cp-patches] FYI: jarsigner now uses getopt parser

2006-05-14 Thread Tom Tromey
Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif the attached patch --already committed-- replaces command line parsing Raif in the jarsigner tool with the newly added getopt classes. I have a few comments on this. Raifprivate Main() [...] Raif try Raif{ Raif

[cp-patches] FYI: JFileChooser.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) reimplements the paramString() method to provide better debugging info, and adds API docs that were missing for a couple of methods: 2006-05-15 David Gilbert [EMAIL PROTECTED] * javax/swing/JFileChooser.java (paramString): Reimplemented,

[cp-patches] FYI: JTabbedPane.paramString()

2006-05-14 Thread David Gilbert
This patch (committed) reimplements the paramString() method to provide better debugging info: 2006-05-15 David Gilbert [EMAIL PROTECTED] * javax/swing/JTabbedPane.java (paramString): Reimplemented, (getAccessibleContext): Added API docs. Regards, Dave Index:

Re: [cp-patches] Patch: FYI: minor printing fix

2006-05-14 Thread Sven de Marothy
On Sun, 2006-05-14 at 19:50 -0600, Tom Tromey wrote: I updated before preparing a different patch, and eclipse complained about JavaPrinterJob. This fixes the assignment, which, previously, did nothing. It also cleans up the imports. Tom Ah, whoops. Thanks :) /Sven

[cp-testresults] FAIL: regressions for libgcj on Sun May 14 06:56:20 UTC 2006

2006-05-14 Thread cpdev
Baseline from: Sat May 13 12:41:21 UTC 2006 Regressions: FAIL: Thread_Sleep -findirect-dispatch output - bytecode-native test Totals: PASS: 4774 XPASS: 0 FAIL: 1 XFAIL: 12 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] FAIL: regressions for mauve-jamvm on Sun May 14 14:29:15 UTC 2006

2006-05-14 Thread cpdev
Baseline from: Sun May 14 08:25:13 UTC 2006 Regressions: FAIL: gnu.testlet.java.lang.Thread.sleep: Interrupted sleep (number 2) New fails: FAIL: gnu.testlet.gnu.java.security.sig.rsa.TestOfRSASignatureCodec abnormal termination 142 CRASH or TIMEOUT FAIL:

Re: GConf-backend for java.util.prefs

2006-05-14 Thread Mario Torre
Il giorno dom, 14/05/2006 alle 14.51 +0200, Robert Schuster ha scritto: Hi, thanks to Mario a long standing wish to have a GConf-based backend for java.util.prefs is becoming a reality. I think it is quite clear that GNU Classpath wants this code! :) Hi! I know this is a long email, sorry

Re: libgcj merging and VMStackWalker

2006-05-14 Thread Mark Wielaard
Hi Tom, On Sat, 2006-05-13 at 17:41 -0600, Tom Tromey wrote: I think this merge could be done fairly simply. In fact I think it just requires adding a 'Class' argument to VMStackWalker.getCallingClass and VMStackWalker.getCallingClassLoader. This argument would name the immediate caller, and

Re: Socket inherits timeout from accept - is this right?

2006-05-14 Thread Mark Wielaard
Hi Edwin, On Wed, 2006-05-03 at 16:34 +0200, Edwin Steiner wrote: I tracked down a problem where JOnAS on classpath/cacao dropped a database connection for no good reason. The cause was that the ServerSocket used for accept has a one-second timeout set, and the accepted Sockets inherit it.

[Bug classpath/27459] Socket inherits timeout setting from ServerSocket.accept

2006-05-14 Thread cvs-commit at developer dot classpath dot org
--- Comment #2 from cvs-commit at developer dot classpath dot org 2006-05-14 20:11 --- Subject: Bug 27459 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:07:33 Modified files: .

RE: libgcj merging and VMStackWalker

2006-05-14 Thread Jeroen Frijters
Hi, I still don't get it. Why can you walk up one frame from the context class, but not two frames from the VMStackWalker class? Regards, Jeroen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Tromey Sent: Sunday, May 14, 2006 01:42 To: GNU

Re: GConf-backend for java.util.prefs

2006-05-14 Thread Mario Torre
Il giorno dom, 14/05/2006 alle 11.34 -0400, Thomas Fitzsimmons ha scritto: Hi, Mario Torre wrote: As a side note, these directory can be configured at runtime by setting one of these two properties: java.util.prefs.gconf.user_root java.util.prefs.gconf.system_root Since these

Re: Build failure: mozilla-plugin

2006-05-14 Thread Tom Tromey
Tom == Thomas Fitzsimmons [EMAIL PROTECTED] writes: Anyway, I think that classpath should be buildable without any mozilla dependencies. Tom Try --disable-plugin. For eclipse-based builds it would be friendlier if, by default, configure would search for the needed libraries and then simply

[commit-cp] classpath tools/gnu/classpath/tools/keytool/Ide...

2006-05-14 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Raif S. Naffah [EMAIL PROTECTED] 06/05/14 08:20:19 Modified files: tools/gnu/classpath/tools/keytool: IdentityDBCmd.java KeyCloneCmd.java

[commit-cp] classpath resource/gnu/classpath/tools/keytool/...

2006-05-14 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Raif S. Naffah [EMAIL PROTECTED] 06/05/14 08:26:32 Modified files: resource/gnu/classpath/tools/keytool: MessageBundle.properties . : ChangeLog Log message:

[commit-cp] classpath ./ChangeLog tools/gnu/classpath/tools...

2006-05-14 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Raif S. Naffah [EMAIL PROTECTED] 06/05/14 08:32:49 Modified files: . : ChangeLog tools/gnu/classpath/tools/jarsigner: Main.java Log message: 2006-05-14 Raif

[commit-cp] classpath ./ChangeLog java/nio/ByteBufferImpl.java [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 14:47:50 Modified files: . : ChangeLog java/nio : ByteBufferImpl.java Log message:

[commit-cp] classpath ./ChangeLog javax/swing/text/Abstract... [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 16:43:58 Modified files: . : ChangeLog javax/swing/text: AbstractDocument.java Log message:

[commit-cp] classpath ./ChangeLog java/util/SimpleTimeZone.... [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 18:56:14 Modified files: . : ChangeLog java/util : SimpleTimeZone.java Log message:

[commit-cp] classpath ./ChangeLog native/jni/java-net/javan...

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:07:33 Modified files: . : ChangeLog native/jni/java-net: javanet.c Log message: PR 27459 *

[commit-cp] classpath ./ChangeLog native/jni/java-net/javan... [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:07:51 Modified files: . : ChangeLog native/jni/java-net: javanet.c Log message: PR 27459

[commit-cp] classpath ./ChangeLog gnu/xml/dom/DomNode.java [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:20:26 Modified files: . : ChangeLog gnu/xml/dom: DomNode.java Log message: *

[commit-cp] classpath ./ChangeLog native/jni/java-net/javan...

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:29:41 Modified files: . : ChangeLog native/jni/java-net: javanet.c Log message: * native/jni/java-net/javanet.c

[commit-cp] classpath ./ChangeLog native/jni/java-net/javan... [classpath-0_91-branch]

2006-05-14 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_91-branch Changes by: Mark Wielaard [EMAIL PROTECTED] 06/05/14 20:29:54 Modified files: . : ChangeLog native/jni/java-net: javanet.c Log message: *

[commit-cp] classpath ./ChangeLog native/plugin/.cvsignore

2006-05-14 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/05/14 20:32:41 Modified files: . : ChangeLog native/plugin : .cvsignore Log message: * native/plugin/.cvsignore: Updated. CVSWeb

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

2006-05-14 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/14 20:35:53 Modified files: . : ChangeLog javax/swing: JMenuItem.java Log message: 2006-05-14 David Gilbert

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

2006-05-14 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/14 21:00:28 Modified files: . : ChangeLog javax/swing: JCheckBoxMenuItem.java Log message: 2006-05-14 David

[commit-cp] classpath ChangeLog README

2006-05-14 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Christian Thalinger [EMAIL PROTECTED] 06/05/14 22:43:50 Modified files: . : ChangeLog README Log message: 2006-05-15 Christian Thalinger [EMAIL PROTECTED]

[commit-cp] classpath gnu/java/awt/print/JavaPrinterGraphic...

2006-05-14 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/05/15 01:40:40 Modified files: gnu/java/awt/print: JavaPrinterGraphics.java JavaPrinterJob.java . : ChangeLog Log message:

[commit-cp] classpath tools/gnu/classpath/tools/jar/Creator...

2006-05-14 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/05/15 01:57:30 Modified files: tools/gnu/classpath/tools/jar: Creator.java Indexer.java Action.java Updater.java

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

2006-05-14 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/15 05:15:30 Modified files: . : ChangeLog javax/swing: JTabbedPane.java Log message: 2006-05-15 David Gilbert