Re: [cp-patches] RFC: Scrollbar fixes

2006-10-24 Thread Tania Bento
Hey, On Fri, 2006-10-20 at 18:07 -0400, Thomas Fitzsimmons wrote: 4. I removed the two bigger if-clauses that deals with the range because (a) it will never happen that the range = 0 because we know that maximum will never equal minimum) and (b) it doesn't matter if lineIncrement is the

[cp-patches] HTMLWriter

2006-10-24 Thread fchoong
Hi Mark, Just finished javax.swing.text.html.HTMLWriter, can you commit it for me? Thanks! ;) David Fu./* HTMLWriter.java -- Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath

Re: [cp-patches] HTMLWriter

2006-10-24 Thread Roman Kennke
Hi Fu, Hi Mark, Just finished javax.swing.text.html.HTMLWriter, can you commit it for me? Thanks! ;) The code looks good. Maybe you could fix the following points, then it would be even better: - Add (extensive ;-) ) comments to the class and to each method/field etc. This makes the code more

Re: [cp-patches] HTMLWriter

2006-10-24 Thread Audrius Meskauskas
Ho, David! Congratulations, we were waiting for this class for a long time! The most important is now to have a little bit of tests for the new class. It may be that your tests only pass with Sun's jre and not with ours - does not matter anyway, just convert into testlets (a piece of cake to

[cp-patches] FYI: add asm handling to toolwrapper.c

2006-10-24 Thread Thomas Fitzsimmons
Hi, I committed this patch, which adds asm-awareness to toolwrapper.c. Tom 2006-10-24 Thomas Fitzsimmons [EMAIL PROTECTED] * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS. * tools/toolwrapper.c (main): Set bootclasspath, not classpath. Add ASM_JAR to

[cp-patches] FYI: Fix for PR29576

2006-10-24 Thread Robert Schuster
Hi, the attached patch partly fixes PR29576. Without redesigning VMNetworkInterface I just added a constructor which sets the field name to null and adds the ANY_ADDR to the address list. NetworkInterface got a new package private method which is to be called by MulticastSocket. Some other methods

[cp-patches] FYI: final fix for PR29576

2006-10-24 Thread Robert Schuster
Hi, with this small change to MulticastSocket a proper instance is returned when the socket's multicast interface results to any. I know: Test would be nice. I am working on it. :) ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] Fixes PR29576 *

[cp-patches] FYI: Inet6Address fix

2006-10-24 Thread Robert Schuster
Hi, byte value comparisons in Java are evil. Adding a cast to a byte of the right value fixes the Inet6Address.isMulticastAddress method. ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] * java/net/Inet6Address.java: (isMulticastAddress): Fixed check. cya Robert Index:

Re: [cp-patches] FYI: final fix for PR29576

2006-10-24 Thread Robert Schuster
Ahem, and here is the patch. Robert Schuster wrote: Hi, with this small change to MulticastSocket a proper instance is returned when the socket's multicast interface results to any. I know: Test would be nice. I am working on it. :) ChangeLog: 2006-10-25 Robert Schuster [EMAIL

[cp-patches] FYI: Java NIO/NET/Socket fixes

2006-10-24 Thread Robert Schuster
Hi, this patch contains the bulk of my recent work on java.nio/java.net, the respective VM classes and their native counterparts. It consists of: - adding multicast stuff - fixing exception classes (IOException - SocketException) - removing the need for VMPlainDatagramSocketImpl and the removal

[cp-patches] FYI: make _javanet_create_inetaddress accessable

2006-10-24 Thread Robert Schuster
Hi, my last patch need _javanet_create_inetaddress from javanet.c to be accessable from another compilation unit. This patch does that. ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] * native/jni/java-net/javanet.h: Added declaration for _javanet_create_inetaddress.

[cp-patches] FYI: MulticastSocket.setNetworkInterface fix

2006-10-24 Thread Robert Schuster
Hi, I partly rewrote this method because it failed to set an IPv4 address on a Socket connected to an IPv4 multicast group. This happened because on my system the interface's IPv6 address seems to come before its IPv4 address and the method took the first one in the old implementation. While this

[cp-testresults] FAIL: generics classpath build on Tue Oct 24 09:00:29 UTC 2006

2006-10-24 Thread cpdev
6263. WARNING in ../../classpath/vm/reference/sun/misc/Unsafe.java (at line 297) public native int arrayIndexScale(Class arrayClass); ^ Class is a raw type. References to generic type ClassT should be parameterized -- -- 6264.

[cp-testresults] FAIL: japi build on Tue Oct 24 09:01:46 UTC 2006

2006-10-24 Thread cpdev
114. DirectoryScanner scanner = dirs.getDirectoryScanner(getProject()); ^--^ *** Semantic Error: No accessible method with signature getProject() was found in type net.wuffies.japi.JapiantTask.

[cp-testresults] FAIL: regressions for mauve-cacao on Tue Oct 24 10:51:54 UTC 2006

2006-10-24 Thread cpdev
Baseline from: Fri Sep 29 17:47:30 UTC 2006 Regressions: FAIL: java.awt.ColorClass.brighter FAIL: java.awt.image.LookupOp.filterImage FAIL: java.util.zip.Deflater.PR27435 FAIL: javax.swing.JComboBox.ComboRobot FAIL: javax.swing.JTable.TableRobot Improvements: PASS:

[cp-testresults] FAIL: japi build on Tue Oct 24 15:44:11 UTC 2006

2006-10-24 Thread cpdev
114. DirectoryScanner scanner = dirs.getDirectoryScanner(getProject()); ^--^ *** Semantic Error: No accessible method with signature getProject() was found in type net.wuffies.japi.JapiantTask.

[cp-testresults] FAIL: regressions for mauve-cacao on Tue Oct 24 17:31:22 UTC 2006

2006-10-24 Thread cpdev
Baseline from: Fri Sep 29 17:47:30 UTC 2006 Regressions: FAIL: java.awt.ColorClass.brighter FAIL: java.awt.image.LookupOp.filterImage FAIL: java.util.zip.Deflater.PR27435 FAIL: javax.swing.JComboBox.ComboRobot FAIL: javax.swing.JTable.TableRobot FAIL:

[cp-testresults] FAIL: generics classpath build on Tue Oct 24 22:22:28 UTC 2006

2006-10-24 Thread cpdev
6263. WARNING in ../../classpath/vm/reference/sun/misc/Unsafe.java (at line 297) public native int arrayIndexScale(Class arrayClass); ^ Class is a raw type. References to generic type ClassT should be parameterized -- -- 6264.

[cp-testresults] FAIL: japi build on Tue Oct 24 22:23:29 UTC 2006

2006-10-24 Thread cpdev
114. DirectoryScanner scanner = dirs.getDirectoryScanner(getProject()); ^--^ *** Semantic Error: No accessible method with signature getProject() was found in type net.wuffies.japi.JapiantTask.

[cp-testresults] FAIL: regressions for mauve-cacao on Wed Oct 25 00:11:11 UTC 2006

2006-10-24 Thread cpdev
Baseline from: Fri Sep 29 17:47:30 UTC 2006 Regressions: FAIL: java.awt.ColorClass.brighter FAIL: java.awt.image.LookupOp.filterImage FAIL: java.net.HttpURLConnection.postHeaders FAIL: java.util.zip.Deflater.PR27435 FAIL: javax.swing.JComboBox.ComboRobot FAIL: javax.swing.JTable.TableRobot

[cp-testresults] FAIL: classpath build with gcj (4.1) on Wed Oct 25 04:17:54 UTC 2006

2006-10-24 Thread cpdev
make[3]: Leaving directory `/home/cpdev/Nightly/classpath/build/native/jni/java-lang' Making all in java-net make[3]: Entering directory `/home/cpdev/Nightly/classpath/build/native/jni/java-net' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.

Re: HTMLWriter

2006-10-24 Thread fchoong
Hi Roman, That tip was useful, thanks! ;) David Fu. Hi Fu, One more question, do you have any idea what isBlockTag() is for? Although I have implemented this method, I am not sure where it is supposed to be used. Thanks! Sorry, no

Re: gkeytool error

2006-10-24 Thread Haoyang Lin
Hi, now only gkeytool fails. I have used the classes of glib.zip. These Classes are working well. I did : jamvm -version java version 1.4.2 JamVM version 1.4.3 Copyright (C) 2003-2006 Robert Lougher [EMAIL PROTECTED] I did : which jamvm /usr/local/bin/jamvm the last lines of

Free implementations of [un]pack200?

2006-10-24 Thread Stuart Ballard
I'm trying to figure out if it's possible to manually extract the .bin files provided of JDK6 betas so that japi can be run on it on a nightly basis (without having to actually execute the code, since I can't guarantee I can trust the source). Turns out after a few false starts I should have done

Re: Free implementations of [un]pack200?

2006-10-24 Thread Dalibor Topic
Stuart Ballard wrote: Running the unpack200 binary from inside the zip is of course just as bad as running the bin file in the first place, but I *could* of course install JDK 1.5 from a trusted source and use unpack200 from that. Before I resort to using non-free software in the japi runs,

Re: Free implementations of [un]pack200?

2006-10-24 Thread Stuart Ballard
Thanks for the hint :) A little googling found his blog which has this gem dated Oct 14th: Following on from my last success, I'm pleased to report that I've managed not only to decompress the data, but also reassemble it into a suitable archive and write it out. It handles any non-class file,

switch to IPv6-only

2006-10-24 Thread Robert Schuster
Hi, some days ago I posted a question where I was wondering why the RI calls all their network stuff with AF_INET6 even if the user explicitly wants to do IPv4-only stuff. I think I found the reason and am here to ask for going the same route in GNU Classpath. Let me try to explain the situation:

Re: switch to IPv6-only

2006-10-24 Thread David Daney
Robert Schuster wrote: Hi, some days ago I posted a question where I was wondering why the RI calls all their network stuff with AF_INET6 even if the user explicitly wants to do IPv4-only stuff. I think I found the reason and am here to ask for going the same route in GNU Classpath. Let me try

[commit-cp] classpath ChangeLog java/awt/Scrollbar.java

2006-10-24 Thread Tania Bento
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Tania Bento tbento06/10/24 13:59:01 Modified files: . : ChangeLog java/awt : Scrollbar.java Log message: 2006-10-24 Tania Bento [EMAIL PROTECTED]

[commit-cp] classpath ChangeLog

2006-10-24 Thread Tania Bento
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Tania Bento tbento06/10/24 13:59:47 Modified files: . : ChangeLog Log message: CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.8717r2=1.8718

[commit-cp] classpath ChangeLog tools/Makefile.am tools/too...

2006-10-24 Thread Thomas Fitzsimmons
CVSROOT:/sources/classpath Module name:classpath Changes by: Thomas Fitzsimmons fitzsim06/10/24 18:03:33 Modified files: . : ChangeLog tools : Makefile.am toolwrapper.c Log message: 2006-10-24 Thomas Fitzsimmons [EMAIL

[commit-cp] classpath java/net/NetworkInterface.java vm/ref...

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/24 23:19:48 Modified files: java/net : NetworkInterface.java vm/reference/java/net: VMNetworkInterface.java . : ChangeLog Log message:

[commit-cp] classpath ChangeLog java/net/MulticastSocket.java

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/24 23:32:25 Modified files: . : ChangeLog java/net : MulticastSocket.java Log message: 2006-10-25 Robert Schuster [EMAIL PROTECTED]

[commit-cp] classpath java/net/Inet6Address.java ChangeLog

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/24 23:46:05 Modified files: java/net : Inet6Address.java . : ChangeLog Log message: 2006-10-25 Robert Schuster [EMAIL PROTECTED]

[commit-cp] classpath gnu/java/net/PlainSocketImpl.java gnu...

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/25 00:33:28 Modified files: gnu/java/net : PlainSocketImpl.java PlainDatagramSocketImpl.java include: Makefile.am

[commit-cp] classpath native/jni/java-net/javanet.c native/...

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/25 00:39:02 Modified files: native/jni/java-net: javanet.c javanet.h . : ChangeLog Log message: 2006-10-25 Robert Schuster [EMAIL PROTECTED]

[commit-cp] classpath java/net/MulticastSocket.java ChangeLog

2006-10-24 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/10/25 00:45:42 Modified files: java/net : MulticastSocket.java . : ChangeLog Log message: 2006-10-25 Robert Schuster [EMAIL PROTECTED]