Re: [cp-patches] FYI: Fix for PR34991

2009-01-07 Thread Robert Schuster
Hi, thanks for the hint I will rework it that way. Regards Robert David Gilbert schrieb: Robert Schuster wrote: -draw(new Polygon(xPoints, yPoints, nPoints)); +for (int i = 1; i nPoints; i++) + draw(new Line2D.Double(xPoints[i - 1], yPoints[i - 1

[cp-patches] FYI: Fix for PR34991

2009-01-06 Thread Robert Schuster
Hi, it was already asked whether this patch has been applied. Now it is. :) Regards Robert 2009-01-05 Robert Schuster robertschus...@fsfe.org * gnu/java/awt/peer/gtk/CairoGraphics2D.java: (drawPolyline): Rewritten. Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Cairo...

2009-01-06 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 09/01/06 12:20:26 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: CairoGraphics2D.java Log message: Fixes PR #34991 2009-01-05

org.w3c.dom.html2 package

2008-10-03 Thread Robert Schuster
Hi, all the classes of the package org.w3c.dom.html2 in GNU Classpath are living in org.w3c.dom.html in OpenJDK. Now this is an odd thing and I wonder why this has never caused any troubles before. I can't compile xerces-j from source with that. If nobody objects I would like to move all classes

[cp-patches] FYI: fix for DecimalFormat

2008-09-05 Thread Robert Schuster
Hi, the attached patch fixes a problem when you numberformat pattern contains the currency replacement character (/u00a4). I suggest that this patch should be added to GCJ as well, as it fixes an annoying issue. Regards Robert ChangeLog: 2008-09-04 Robert Schuster [EMAIL PROTECTED

[cp-patches] FYI: Fix unmappable case in ByteDecodeLoopHelper/ByteEncodeLoopHelper

2008-09-03 Thread Robert Schuster
CoderResult.UNDERFLOW or CoderResult.OVERFLOW. I found and debugged this problem while using mysql connector/j. Regards Robert ChangeLog: 2008-09-04 Robert Schuster [EMAIL PROTECTED] * gnu/java/nio/charset/ByteDecodeLoopHelper: (arrayDecodeLoop): Added new break label, escape

[commit-cp] classpath ChangeLog java/text/DecimalFormat.java

2008-09-03 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 08/09/03 23:06:54 Modified files: . : ChangeLog java/text : DecimalFormat.java Log message: Fix problem when using \u00a4 in number format

[commit-cp] classpath ChangeLog gnu/java/nio/charset/ByteDe...

2008-09-03 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 08/09/04 00:06:10 Modified files: . : ChangeLog gnu/java/nio/charset: ByteDecodeLoopHelper.java ByteEncodeLoopHelper.java Log

[cp-patches] FYI: fix access out of array bounds

2008-08-12 Thread Robert Schuster
to compile classpath with newer GCCs (~4.3) and --enable-local-sockets. ChangeLog: 2008-08-12 Robert Schuster [EMAIL PROTECTED] * native/jni/java-net/local.c (local_bind): Removed fprintf call, fixed access outside of array bounds. Regards Robert Index: native/jni/java-net/local.c

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

2008-08-12 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 08/08/12 11:14:45 Modified files: . : ChangeLog native/jni/java-net: local.c Log message: 2008-08-12 Robert Schuster [EMAIL PROTECTED

HTTPS/SSL problem

2008-07-17 Thread Robert Schuster
Hi, a classpath user reported a problem with SSL on the jalimo list. When connecting to a server through HTTPS/SSL he gets: java.io.EOFException at gnu.javax.net.ssl.provider.SSLSocketImpl.doHandshake(SSLSocketImpl.java:445) at

classpath build problems with libtool 2.2.4

2008-07-06 Thread Robert Schuster
Hi, I am currently trying to build classpath (0.93) in an environment using libtool 2.2.4. I basically disable all optional external dependencies and compile with jikes: --with-jikes=jikes \ --with-fastjar=fastjar \ --with-glibj \ --disable-local-sockets \ --disable-alsa \

array overflow in local.c

2008-06-27 Thread Robert Schuster
Hi, gcc found a problem in our native/jni/javanet/local.c. I changed it to what I think makes sense but I am not sure whether this is still the intended behavior. Furthermore since overrunning the bounds of a stack allocated array may trash other stuff on the stack I wonder whether this fix also

Re: array overflow in local.c

2008-06-27 Thread Robert Schuster
Hi. Andrew Haley schrieb: Furthermore since overrunning the bounds of a stack allocated array may trash other stuff on the stack I wonder whether this fix also prevents the problem that the workaround above the modified code speaks of. Since I do not run Darwin-based OS I cannot test it

Re: [cp-patches] RFC: @file support for gjavah gjar

2008-06-06 Thread Robert Schuster
/ClasspathToolParser.java: Fixed indentation and changed to use OptionException. * tools/gnu/classpath/tools/getopt/OptionException.java: (OptionException(String,Throwable)): Added. 2008-06-03 Robert Schuster [EMAIL PROTECTED] * tools/gnu/classpath/tools/jar/Main.java

[cp-patches] RFC: move from gnu.java.security.action.GetPropertyAction to sun.security.action.GetPropertyAction

2008-06-04 Thread Robert Schuster
think that with OpenJDK being available under the GPL it is equally bad to have gnu.java.security.action.GetPropertyAction or sun.security.action.GetPropertyAction But what I think what is even worse is having both. :) 2008-06-04 Robert Schuster [EMAIL PROTECTED] * gnu/java/security/action

Re: [cp-patches] RFC: add a copy of gnu/java/security/action/GetPropertyAction into sun/security/action

2008-06-04 Thread Robert Schuster
Hi. Andrew Haley schrieb: What is the public equivalent for GetPropertyAction? There isn't any need, is there? That depends. :) It's just a wrapper for (String) AccessController.doPrivileged(new PrivilegedAction() { public java.lang.Object run() {

Re: [cp-patches] RFC: changes to java.lang.Integer, Long...

2008-06-03 Thread Robert Schuster
Hi, Andrew John Hughes schrieb: I'd second that. Are there clear performance benefits to justify creating 256 objects ahead of time? Not only does that introduce an overhead in initialising the Long class, but it also results in increased memory usage for all applications. I'd also

Re: [cp-patches] FYI: gjar @file fix

2008-06-03 Thread Robert Schuster
Hi Tom, I am less sure about adding java-specific file name parsing to the generic command-line parser code. That code is not supposed to be specific to java tooling (at least frysk uses it, fwiw). I will implement the @file handling ClasspathToolParser now. That way only our Classpath tools

[cp-patches] RFC: @file support for gjavah gjar

2008-06-03 Thread Robert Schuster
protected - was private). I originally wanted to use StreamTokenizer or StringTokenizer but I think those are to complex for the task. 2008-06-03 Robert Schuster [EMAIL PROTECTED] * tools/gnu/classpath/tools/jar/Main.java: (run): Call different ClasspathToolParser.parse() variant. (getParser

Re: [cp-patches] FYI: gjar @file fix

2008-06-02 Thread Robert Schuster
=== RCS file: /sources/classpath/classpath/ChangeLog,v retrieving revision 1.9623 diff -u -r1.9623 ChangeLog --- ChangeLog 1 Jun 2008 12:01:11 - 1.9623 +++ ChangeLog 2 Jun 2008 22:40:10 - @@ -1,3 +1,10 @@ +2008-06-03 Robert

Re: [cp-patches] FYI: gjar @file fix

2008-06-02 Thread Robert Schuster
Hi Andrew, I was trying to get Classpath to build PhoneME today and that requires our javah to support @-style arguments as well. From my work for MIDPath I know that we also lack that functionality in gjar that is why I tried an implementation that can be used in all getopt using

[cp-patches] RFC: add a copy of gnu/java/security/action/GetPropertyAction into sun/security/action

2008-06-02 Thread Robert Schuster
and remove the gnu/java/security one. Opinions? 2008-06-03 Robert Schuster [EMAIL PROTECTED] * sun/security/action/GetPropertyAction.java: Functional copy of gnu/java/security/action/GetPropertyAction.java. Regards Robert Index: sun/security/action/GetPropertyAction.java

Re: [cp-patches] [release] FYI: Allow native-only build #06: Regenerate headers by default only when necessary

2008-06-01 Thread Robert Schuster
Hi, thank you very much for this change! Regards Robert Andrew John Hughes schrieb: This changes the default behaviour for a source tree which already contains the header files. It now won't regenerate them unless asked. Generating them by default for a development (CVS) tree remains the

Re: [cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-05-15 Thread Robert Schuster
Hi, I committed this today. 2008-05-15 Robert Schuster [EMAIL PROTECTED] * java/net/NetworkInterface.java: (isUp): New method. (isPointToPoint): Dito. (isLoopback): Dito. (supportsMulticast): Dito. * vm/reference/java/net/VMNetworkInterface.java: (isUp): New method

[commit-cp] classpath ChangeLog java/net/NetworkInterface.j...

2008-05-15 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 08/05/15 18:44:37 Modified files: . : ChangeLog java/net : NetworkInterface.java vm/reference/java/net: VMNetworkInterface.java native

gnu.xml.datatype.JAXPDatatypeFactory not there

2008-05-13 Thread Robert Schuster
Hi, javax.xml.datatype.DatatypeFactory declares: public static final String DATATYPEFACTORY_IMPLEMENTATION_CLASS = gnu.xml.datatype.JAXPDatatypeFactory; The value is a fallback value which is treated as a class which is to be instantiated. Unfortunately this class does not exist. Has this class

javah in 0.97+ - trouble

2008-05-13 Thread Robert Schuster
Hi, from 0.97 onwards, classpath needs a working javah tool. Such a program is provided by classpath' tools.zip but needs a working runtime and class library first. Earlier classpath releases had pre-generated header files and needed no javah program. Someone with less knowledge of the subtile

Re: How to build Classpath without Classpath

2008-05-09 Thread Robert Schuster
Hi, I am maintaining the Java/Classpath stuff in OpenEmbedded and have implemented a self-hosting toolchain like this: jikes 1.21 - classpath 0.93 - cacao 0.98 or jamvm 1.5.0 - ecj-initial - classpath 0.9x (x = 5) - cacao 0.98+hg20071001 (or newer) - ecj(-bootstrap) ecj-initial is just ecj but

Re: [cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-04-22 Thread Robert Schuster
Hi. Robert Schuster schrieb: Hi, I fixed the copy and paste error and another flaw. Casting to jboolean did not alway returned the correct result. I made the if-flag-set then JNI_TRUE otherwise JNI_FALSE explicit. Now it works correctly. If no one objects I would like to commit this patch

Re: [cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-04-21 Thread Robert Schuster
Hi, I fixed the copy and paste error and another flaw. Casting to jboolean did not alway returned the correct result. I made the if-flag-set then JNI_TRUE otherwise JNI_FALSE explicit. Now it works correctly. Christian Thalinger schrieb: I wonder if it would be simpler to only have one native

[cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-04-21 Thread Robert Schuster
Hi, people using Jalimo asked for those methods and I found them simple to implement. Since I am lousy non-Java hacker I appreciate comments on the code in java_net_VMNetworkInterface.c. Regards Robert 2008-04-21 Robert Schuster [EMAIL PROTECTED] * java/net/NetworkInterface.java: (isUp

[cp-patches] FYI: fix StAX API incompatibility

2008-03-04 Thread Robert Schuster
Hi, while trying to compile woodstox 2.0.6 on classpath I stumbled across an incompatibility in out StAX API. The attached patch fixes the interface and adjust all implementations within classpath. Regards Robert 2008-03-04 Robert Schuster [EMAIL PROTECTED] * gnu/xml/stream

[commit-cp] classpath ChangeLog gnu/xml/stream/AttributeImp...

2008-03-04 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 08/03/04 17:40:00 Modified files: . : ChangeLog gnu/xml/stream : AttributeImpl.java XMLEventAllocatorImpl.java

no generated javadoc fof java/util/concurrent from external/jsr166

2008-03-02 Thread Robert Schuster
Hi, the classes for java/util/concurrent are mainly inside the external/jsr166 folder. However this directory is not part of the directories which are scanned to generate the javadoc. Result is that it looks that we do not support this API. File a bug? Regards Robert signature.asc

Re: brandweg hacking session on friday

2008-02-20 Thread Robert Schuster
Hi, I will be in Brussels at around 1pm and would like to join you for a Brandweg hacking session. The people in Brussel have a public wireless mesh-network like Freifunk in Germany. Here is a map with some node locations: http://boum.no-ip.com/gmap/gmap.php If we meet in a hotel room, will be

Re: [cp-patches] RFC: Abstract StringBuilder and StringBuffer

2008-02-17 Thread Robert Schuster
Hi Andrew, public final class StringBuilder + extends AbstractStringBuffer StringBuffer and StringBuilder have Object as their superclass. I think we are not allowed to break that. If so you should change your implementation to follow a delegation pattern and make as many methods 'final' as

non-free map data in Java/Classpath/OpenJDK FOSDEM organization page

2008-01-30 Thread Robert Schuster
Hi everyone, the map excerpts in the Debian Wiki[0] are non-free I think. I made some replacements with the help of openstreetmap (CC-BY-SA 2.0). It would be nice if someone with knowledge of brussels can tell us whether these maps can be used for casual uses already (or contain misleading

Re: [cp-patches] [PATCH] libjava: java.net.URI.relativize method results inconsistent with other Java VMs

2008-01-09 Thread Robert Schuster
Hi, The second change involved removing a leading '/' from the returned relative path to make it consistent with results from other Java VMs. This patch corrects two issues found in URI.relativize() method in libjava/classpath/java/net/URI.java. It applies from gcc 4.1.2 through latest

test for javac

2007-12-20 Thread Robert Schuster
Hi, when configuring classpath with --with-ecj=something there is still a test being run to check whether 'javac' exists and whether it is Java5 compatible. I think the correct behavior would be: a) test whether the supplied command (may ecj or whathever) is available b) test whether this

[cp-patches] FYI: added myself to AUTHORS

2007-12-11 Thread Robert Schuster
Hi, as expressed by Mark I add myself to the AUTHORS file. 2007-12-11 Robert Schuster [EMAIL PROTECTED] * AUTHORS: Added my name to the list. Index: AUTHORS === RCS file: /sources/classpath/classpath/AUTHORS,v retrieving

Re: [cp-patches] FYI: add myself to THANKYOU

2007-12-11 Thread Robert Schuster
Hi. Mark Wielaard schrieb: But... People with active commit rights should be in the AUTHORS file. Really! Done! :) Regards Robert signature.asc Description: OpenPGP digital signature

Re: new target milestone for bugzilla

2007-12-11 Thread Robert Schuster
Mark Wielaard schrieb: Hi Robert, On Mon, 2007-12-10 at 23:36 +0100, Robert Schuster wrote: I wanted mark a bug as fixed and set the target milestone to the version where it will be considered as fixed to 0.97. Unfortunately that number is not available in the dropdown box. Could someone

[commit-cp] classpath AUTHORS ChangeLog

2007-12-11 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/12/11 08:34:30 Modified files: . : AUTHORS ChangeLog Log message: 2007-12-11 Robert Schuster [EMAIL PROTECTED] * AUTHORS: Added my name

[cp-patches] FYI: remove debug output from GlyphView::paint()

2007-12-10 Thread Robert Schuster
Hi, this little patch removes some debug output from GlyphView::paint(). 2007-12-10 Robert Schuster [EMAIL PROTECTED] * javax/swing/text/GlyphView.java: (paint): Removed debug output. Index: javax/swing/text/GlyphView.java

[cp-patches] RFC: fix for 32516

2007-12-10 Thread Robert Schuster
Hi, the attached patch removes the dreaded dot - file separator prefixes from files which should be added to zip (jar) archives. This fixes 32516[0] for me. ChangeLog: 2007-12-10 Robert Schuster [EMAIL PROTECTED] PR classpath/32516: * tools/gnu/classpath/tools/jar/Entry.java

Re: [cp-patches] RFC: fix for 32516

2007-12-10 Thread Robert Schuster
Hi. Robert Schuster schrieb: Hi, the attached patch removes the dreaded dot - file separator prefixes from files which should be added to zip (jar) archives. This fixes 32516[0] for me. ChangeLog: 2007-12-10 Robert Schuster [EMAIL PROTECTED] PR classpath/32516: * tools

[cp-patches] FYI: add myself to THANKYOU

2007-12-10 Thread Robert Schuster
Hi, I added myself to the thankyou file. :) Thank you, too, GNU Classpath and friends. Working on the project has always been fulfilling for me! 2007-12-10 Robert Schuster [EMAIL PROTECTED] * THANKYOU: Added my name to the list. Index: THANKYOU

Re: trouble with gjar and ecj

2007-12-10 Thread Robert Schuster
Hi Andrew, hi List Andrew Haley schrieb: Note that gjar adds ./ to the start of the path, and jar does not. That's the bug: gjar needs to strip ./ from the start of the path. Thanks for looking into this and finding it out. I further investigated the problem and am convinced too that the

Re: trouble with gjar and ecj

2007-12-10 Thread Robert Schuster
Hi all, I am already poking around with the code to find a solution. I'll file bug ASAP. The bug is already known: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32516 Regards Robert signature.asc Description: OpenPGP digital signature

new target milestone for bugzilla

2007-12-10 Thread Robert Schuster
Hi, I wanted mark a bug as fixed and set the target milestone to the version where it will be considered as fixed to 0.97. Unfortunately that number is not available in the dropdown box. Could someone with the necessary permissions add it? Regards Robert signature.asc Description: OpenPGP

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

2007-12-10 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/12/10 16:03:00 Modified files: . : ChangeLog javax/swing/text: GlyphView.java Log message: 2007-12-10 Robert Schuster [EMAIL PROTECTED

[commit-cp] classpath native/jni/native-lib/cpio.c ChangeLog

2007-12-10 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/12/10 16:10:24 Modified files: native/jni/native-lib: cpio.c . : ChangeLog Log message: 2007-12-10 Robert Schuster [EMAIL PROTECTED

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

2007-12-10 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/12/10 22:27:26 Modified files: . : ChangeLog tools/gnu/classpath/tools/jar: Entry.java Log message: 2007-12-10 Robert Schuster [EMAIL PROTECTED

trouble with gjar and ecj

2007-11-29 Thread Robert Schuster
Hi guys, today I tripped on some weird incompatibility between ecj (3.3.1 as found in Debian Lenny) and gjar 0.95: gjar creates jars which need zip version 2.0 to extract, while e.g. fastjar creates files which are readable by version 1.0. This is what 'file' says: src1-fastjar.jar: Zip archive

Re: [cp-patches] RFC: fix warning in cpio_df

2007-11-08 Thread Robert Schuster
Hi. Mario Torre schrieb: Il giorno gio, 08/11/2007 alle 13.06 +0100, Mark Wielaard ha scritto: Hi Robert, On Wed, 2007-11-07 at 22:13 +0100, Robert Schuster wrote: this patch marks the parameters of cpio_df as possibly unused and silents the warning/lets the build continue with -Wall

Re: Still Problem with GNU-Classpath 0.96.1 on StrongARM

2007-10-23 Thread Robert Schuster
Hi, Robert Lougher schrieb: Hi Vladimir, On 10/23/07, Vladimir Nikolov [EMAIL PROTECTED] wrote: Hi, I have still problems to compile the GNU-Classpath 0.96.1 on the StrongARM machine. Once again, I would like to use it together with the JamVM 1.4.5, since both support now Java

Re: Gnu-Classpath on StrongARM

2007-10-19 Thread Robert Schuster
Hi, Whats wrong with ecj? Is it not supported for ARMs? Do you know any other compiler for ARM which I could use instead of ecj? ecj is written in Java. There is no ARM specific code in it. You should check your VM instead. Regards Robert signature.asc Description: OpenPGP digital signature

fdlibm patch

2007-09-27 Thread Robert Schuster
Hi, the OE guys still keep this little patch. Does anyone know if it is correct and should be applied? Regards Robert --- classpath/native/fdlibm/ieeefp.h.orig 2006-04-14 22:33:09.0 -0400 +++ classpath/native/fdlibm/ieeefp.h 2006-04-14 22:41:46.0 -0400 @@ -13,7 +13,7 @@ byte

[cp-patches] FIY: build fix for localsockets

2007-09-12 Thread Robert Schuster
Hi, a C file from the local sockets implementation unconditionally defined _GNU_SOURCE causing trouble in builds where this is already defined. Thanks go to Dalibor who helped me to track this down. Regards Robert 2007-09-12 Robert Schuster [EMAIL PROTECTED] * native/jni/java-net

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

2007-09-12 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/09/12 19:09:53 Modified files: native/jni/java-net: gnu_java_net_local_LocalSocketImpl.c Log message: 2007-09-12 Robert Schuster [EMAIL PROTECTED

IcedTea - Where is this going to head?

2007-08-02 Thread Robert Schuster
Hi, on IRC #classpath I read a lot of interesting things are happening around IcedTea and Classpath. People put Classpath stuff into IcedTea, Cacao gets support for the latter. Fedora people try to get this working on all arches (that GCJ supports :) ). I am wondering what the goals of all these

[cp-patches] FYI: NPE fix for OpenTypeFont

2007-05-25 Thread Robert Schuster
Hi, I applied this little patch to prevent a NPE when using a JTextField with the X peers. Regards Robert 2007-05-25 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/font/opentype/OpenTypeFont.java: (getGlyphIndex): Call getGlyphCharMap() instead of accessing cmap

[cp-patches] FYI: Added translation to XGraphics

2007-05-25 Thread Robert Schuster
Hi, the following patch adds adding the translation to rawFillRect() and rawDrawLine() in XGraphics2D. This fixes painting the gradient and backgrounds for Swing components. 2007-05-25 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XGraphics2D.java: (rawDrawLine

[commit-cp] classpath ChangeLog gnu/java/awt/font/opentype/...

2007-05-25 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/25 09:48:48 Modified files: . : ChangeLog gnu/java/awt/font/opentype: OpenTypeFont.java Log message: Fixes a NPE when displaying a JTextField

[commit-cp] classpath ChangeLog gnu/java/awt/peer/x/XGraphi...

2007-05-25 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/25 11:11:14 Modified files: . : ChangeLog gnu/java/awt/peer/x: XGraphics2D.java Log message: 2007-05-25 Robert Schuster [EMAIL PROTECTED

Re: special zero-length 'gnu.gcj.gcj-compiled' attribute ???

2007-05-24 Thread Robert Schuster
Hi Luigi, although GCJ uses GNU Classpath you are not supposed to compile it separately. The GCC tarball already includes a snapshot of Classpath which is modified slightly to fit to GCJ's requirements. If you compile gcj correctly it will bring its own 'Classpath' (named libgcj) and uses that at

[cp-patches] FYI: XEventPump fix

2007-05-22 Thread Robert Schuster
Hi, the attached patch makes mouse events work again for the X peers (and prevent a NPE later). Regards Robert 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XEventQueue.java: (handleEvent): Use Input.event_window_id instead of Input.child_window_id

Re: [cp-patches] FYI: X Peers enhancement

2007-05-22 Thread Robert Schuster
Hi, you forgot to commit the changelog entry. Did that for you. Regards Robert Roman Kennke schrieb: This brings the X peers up to the recent enhancement of the rasterizer. 2007-05-22 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/peer/x/XFontPeer2.java

Re: [cp-patches] FYI: XEventPump fix

2007-05-22 Thread Robert Schuster
Hi, actually the changelog should read: 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XEventQueue.java: (handleEvent): Use Input.event_window_id instead of Input.child_window_id for mouse presses/releases movement. Sorry

[cp-patches] FYI: fix key events for X peers

2007-05-22 Thread Robert Schuster
Hi, I was missing the keyboard part in my last patch. Here it is. 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XEventQueue.java: (handleEvent): Use Input.event_window_id for key presses/releases. Regards Robert Index: gnu/java/awt/peer/x

[cp-patches] RFC: calculate button modifiers for X peers

2007-05-22 Thread Robert Schuster
Hi, the attached patch properly calculates the modifiers for mouse press and release events. Ok, to commit? 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XEventQueue.java: (handleEvent): Calculate modifier value for mouse presse and release events

[cp-patches] FYI: mouse event modifiers fix for the X peers

2007-05-22 Thread Robert Schuster
Hi, the attached patch fixes the modifiers for the X peers. Changes since my last RFC are: Removed a superfluous import, changed all number literals to constant names and mentioned the button clipping in the changelog. 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x

RFC: calculate button modifiers for X peers

2007-05-22 Thread Robert Schuster
Hi, the attached patch properly calculates the modifiers for mouse press and release events. Ok, to commit? 2007-05-22 Robert Schuster [EMAIL PROTECTED] * gnu/java/awt/peer/x/XEventQueue.java: (handleEvent): Calculate modifier value for mouse presse and release events

[commit-cp] classpath ChangeLog gnu/java/awt/peer/x/XEventP...

2007-05-22 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/22 17:54:43 Modified files: . : ChangeLog gnu/java/awt/peer/x: XEventPump.java Log message: Makes mouse events working for the X peers

[commit-cp] classpath ChangeLog

2007-05-22 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/22 18:19:46 Modified files: . : ChangeLog Log message: - added Roman's ChangeLog entry CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath

[commit-cp] classpath ChangeLog gnu/java/awt/peer/x/XEventP...

2007-05-22 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/22 18:45:13 Modified files: . : ChangeLog gnu/java/awt/peer/x: XEventPump.java Log message: Fixes non-working key event for X peers

[commit-cp] classpath gnu/java/awt/peer/x/XEventPump.java g...

2007-05-22 Thread Robert Schuster
CVSROOT:/sources/classpath Module name:classpath Changes by: Robert Schuster rschuster 07/05/22 22:25:16 Modified files: gnu/java/awt/peer/x: XEventPump.java KeyboardMapping.java . : ChangeLog Log message: Makes modifiers for button

Re: Compilation Time | More questions -Charsets

2007-04-26 Thread Robert Schuster
Hi, There is no rule here as far as I know. We just register all the charsets we have. Adding a charset is done either because it is specified by the standard, or because someone needed it. I know I should have answered earlier. The standard charsets are chosen according to Sun's

Re: Non-POSIX port

2007-03-03 Thread Robert Schuster
Hi Chris, of course GNU Classpath is interested in non-POSIX ports of the native stuff. :) Chris Cole schrieb: Hi Folks, I have the first cut of a port to an exotic platform (non-POSIX). Network support and process management are TBD. I'd like to investigate the possibility of getting my

Re: Swing AWT demo troubles

2007-02-27 Thread Robert Schuster
I filed 3 separate bugs for the issues I mentioned below. Regards Robert Roman Kennke schrieb: Hi Robert, actually I wanted to test an XML patch on an application but while running an IzPack created installer with a Cacao+Classpath CVS HEAD I saw a lot of layout/drawing errors. Running

Swing AWT demo troubles

2007-02-26 Thread Robert Schuster
Hi, actually I wanted to test an XML patch on an application but while running an IzPack created installer with a Cacao+Classpath CVS HEAD I saw a lot of layout/drawing errors. Running the AWT demo resulted in: cacao -cp examples.zip gnu/classpath/examples/awt/Demo Exception in thread main

[cp-patches] FYI: add offset to memcpy operation

2006-11-09 Thread Robert Schuster
Hi, the memcpy operation in gnu_java_nio_VMChannel.c::getsockname() for the IPv6 case was copying the port value into the same space as the IPv6 address. I fixed this by adding an offset (like its done in the IPv4 case). ChangeLog: 2006-11-09 Robert Schuster [EMAIL PROTECTED] * native

[cp-patches] FYI: add offset to memcpy operation - getpeername

2006-11-09 Thread Robert Schuster
Hi, gnu_java_nio_VMChannel.c::getpeername() the memcpy operation in the IPv6 case is missing an offset when copying the port value in. This patch fixes that. ChangeLog: 2006-11-09 Robert Schuster [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_VMChannel.c: (getpeername

Re: [cp-patches] FYI: add offset to memcpy operation

2006-11-09 Thread Robert Schuster
Oh and here is the patch. cya Robert Robert Schuster schrieb: Hi, the memcpy operation in gnu_java_nio_VMChannel.c::getsockname() for the IPv6 case was copying the port value into the same space as the IPv6 address. I fixed this by adding an offset (like its done in the IPv4 case

[commit-cp] classpath native/jni/java-nio/gnu_java_nio_VMCh...

2006-11-09 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/11/09 11:10:57 Modified files: native/jni/java-nio: gnu_java_nio_VMChannel.c . : ChangeLog Log message: 2006-11-09 Robert Schuster [EMAIL

[commit-cp] classpath native/jni/java-nio/gnu_java_nio_VMCh...

2006-11-09 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Robert Schuster rschuster 06/11/09 11:26:58 Modified files: native/jni/java-nio: gnu_java_nio_VMChannel.c . : ChangeLog Log message: 2006-11-09 Robert Schuster [EMAIL

[cp-patches] FYI: Fix for PR29576

2006-10-24 Thread Robert Schuster
learned to deal with the field name of an VMNetworkInterface instance being null. ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] Fixes PR29576 * java/net/NetworkInterface.java: (createAnyInterface): New method. (equals): Added if-statement to handle case

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

[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
and think that the minor fixes are just ok. ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] * gnu/java/net/PlainDatagramSocketImpl.java: (connect): Use VMChannel instance for connect call. (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive. (setTimeToLive

[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
IP versions. ChangeLog: 2006-10-25 Robert Schuster [EMAIL PROTECTED] * java/net/MulticastSocket.java: (setNetworkInterface): Rewritten. cya Robert Index: java/net/MulticastSocket.java === RCS file: /cvsroot

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:

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

[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

  1   2   3   4   5   6   >