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-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: javax

[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, (getAc

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. Raif>private Main() [...] Raif> try Raif>{ Raif

[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 update

[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] 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 b

[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 =

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 re

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() | c

[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 diver

[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. * too

[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 >

[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] 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

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 p

[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: * gnu/j

[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: /cvsroot/classpath/classpath/native/plu

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

2006-05-14 Thread Mark Wielaard
On Sun, 2006-05-14 at 22:06 +0200, Mark Wielaard wrote: > + // Reset the inherited timeout > + TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT (newfd, 0, result); Woops. Now --enable-Werror will fail even on the release branch. Sorry about that. Fixed as follows: 2006-05-14 Mark Wielaard <

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]> > > * gnu/xml/dom/D

[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 * native/jni/java-

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 fix

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: Rev

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] 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: 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 Descripti

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 p

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-tar

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] 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 mauv

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... Casey>public 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: 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

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

2006-05-14 Thread Casey Marshall
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 aicas thingie. SO_TIMEOUT timeout was being used as a socket opt