[cp-patches] FYI: Marked stubs in javax.swing.tree.*

2006-03-22 Thread David Gilbert
Following Tom Tromey's example, I marked all the stub methods in the javax.swing.tree.* package: 2006-03-23 David Gilbert <[EMAIL PROTECTED]> * javax/swing/tree/AbstractLayoutCache.java (getNodeDimensions): Mark as stub, (getPreferredHeight): Likewise, (getPref

[cp-patches] Patch: FYI: mark more stubs

2006-03-22 Thread Tom Tromey
I'm checking this in. This marks some stubs I missed in my first pass. I think this will be the last patch where I actively search out stubs; from now on I'll only mark them if I happen to run across them. I was happy to see that, even with the first stubs patch in, our japi score is still above

Re: [cp-patches] FYI: Implement custom cursors for gtk-peers

2006-03-22 Thread Mark Wielaard
On Thu, 2006-03-23 at 00:37 +0100, Mark Wielaard wrote: > On Thu, 2006-03-23 at 00:27 +0100, Mark Wielaard wrote: > > This patch implements custom cursor support for gtk-peers. > > Forgot the new file. Sorry. And the bug number was wrong in the ChangeLog file. Sigh. Also fix to mention the real b

Re: [cp-patches] FYI: Implement custom cursors for gtk-peers

2006-03-22 Thread Mark Wielaard
On Thu, 2006-03-23 at 00:27 +0100, Mark Wielaard wrote: > This patch implements custom cursor support for gtk-peers. Forgot the new file. Sorry. 2006-03-22 Mark Wielaard <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkCursor.java: New class. Committed now. /* GtkCursor.java -- Simple w

[cp-patches] FYI: Implement custom cursors for gtk-peers

2006-03-22 Thread Mark Wielaard
Hi, This patch implements custom cursor support for gtk-peers. It works the same as setting icons on frames. 2006-03-22 Mark Wielaard <[EMAIL PROTECTED]> Fixes bug #26301 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates. (g

[cp-patches] FYI: PKCS#5 padding

2006-03-22 Thread Roman Kennke
I added the PKCS#5 padding algo to crypto. This fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26805 Casey told me there, that PKCS#5 is the same like PKCS#7 which we already support, so I simply added some aliases. I also let the KeyGenerator.getInstance() method initialize the KeyGenerator

Re: [cp-patches] Re: Patch: FYI: implement some SynthStyle methods

2006-03-22 Thread Tom Tromey
> "Stuart" == Stuart Ballard <[EMAIL PROTECTED]> writes: >> + * A convenience method to fetch an integer property. >> + * If the property's value is a { link Boolean}, then the Stuart> That comment might not be quite what you meant ;) Something must have munged this somewhere. It doesn'

[cp-patches] Re: Patch: FYI: implement some SynthStyle methods

2006-03-22 Thread Stuart Ballard
Tom Tromey redhat.com> writes: > - public boolean getBoolean(SynthContext ctx, Object key, boolean > defaultValue > -throws NotImplementedException > + /** > + * A convenience method to fetch an integer property. > + * If the property's value is a { link Boolean}, then the That comme

[cp-patches] Patch: FYI: implement some SynthStyle methods

2006-03-22 Thread Tom Tromey
I'm checking this in. This implements the simpler methods from SynthStyle. Tom 2006-03-22 Tom Tromey <[EMAIL PROTECTED]> * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented. (getBoolean): Likewise. (getString): Likewise. (getIcon): Likewise. Index:

[cp-patches] FYI: Implement setCursor on light-weights

2006-03-22 Thread Mark Wielaard
Hi, This make setCursor work for light-weights in the simplest way. We register the GLightweightPeer as a MouseListener on the Component and set the light-weight Cursor on the peer of the heavy-weight parent. Unfortunately light-weights don't have a real X window associated with them so we do have

[cp-patches] Patch: FYI: Synth plaf -vs- japi

2006-03-22 Thread Tom Tromey
I'm checking this in. This fixes a few more synth plaf bugs pointed out by japi, including reverse japi. The MAX_COUNT one is weird. Tom 2006-03-22 Tom Tromey <[EMAIL PROTECTED]> * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer constant. * javax/swing/pl

[cp-patches] Patch: FYI: japi -vs- SynthStyle

2006-03-22 Thread Tom Tromey
I'm checking this in. Japi pointed out some missing arguments in some SynthStyle methods. (Note that these methods are not stubs -- they really are supposed to be empty.) Tom 2006-03-22 Tom Tromey <[EMAIL PROTECTED]> * javax/swing/plaf/synth/SynthPainter.java (paintScrollBarTh

[cp-patches] Patch: FYI: implement a stub in AWT

2006-03-22 Thread Tom Tromey
I'm checking this in. This fixes a stub I ran across. If only they were all this easy. Tom 2006-03-22 Tom Tromey <[EMAIL PROTECTED]> * java/awt/ScrollPaneAdjustable.java (paramString): Implemented. (toString): New method. Index: java/awt/ScrollPaneAdjustable.java ===

[cp-patches] Patch: FYI: stub marking

2006-03-22 Thread Tom Tromey
I'm checking this in. This adds a new stub marker exception. It also marks a large number of methods as stubs. This patch doesn't catch all the stubs. In particular there are a number in beancontext that I didn't mark. Tom 2006-03-22 Tom Tromey <[EMAIL PROTECTED]> * doc/hacking.tex

Re: [cp-patches] RFC: ObjectStreamOutput setDefaultProtocolVersion() removal

2006-03-22 Thread Wolfgang Baer
Wolfgang Baer wrote: > Hi all, > > looking at the reverse japi results I noticed that we provide a static > setDefaultProtocolVersion() method which is not part of the API. [...] > 2006-03-21 Wolfgang Baer <[EMAIL PROTECTED]> > > * java/io/ObjectStreamConstants.java: Added since tag. >

Re: [cp-patches] FYI: BMP Encoder

2006-03-22 Thread Lillian Angel
Implemented the missing functions in EncodeRLE*. Everything should work. I am still testing it though. 2006-03-21 Lillian Angel <[EMAIL PROTECTED]> * gnu/javax/imageio/bmp/BMPInfoHeader.java (BMPInfoHeader): Removed debug lines. * gnu/javax/imageio/bmp/EncodeRLE4.java

Re: [cp-patches] RFC: system clipboard integration

2006-03-22 Thread Gary Benson
Robert Schuster wrote: > The code contains security related stuff which I am unfamiliar > with. Can somebody review that part? Gary? It looks fine. Cheers, Gary

Re: [cp-patches] Patch: FYI: implement NumericShaper

2006-03-22 Thread Stuart Ballard
Hmm, and it didn't actually work in Japi for some reason anyway. I'll investigate. Stuart. -- http://sab39.dev.netreach.com/

Re: [cp-patches] Patch: FYI: implement NumericShaper

2006-03-22 Thread Andrew John Hughes
On 21 Mar 2006 17:36:52 -0700 Tom Tromey <[EMAIL PROTECTED]> wrote: > > "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: > > > "Stuart" == Stuart Ballard <[EMAIL PROTECTED]> writes: > > Stuart> I believe Classpath already has an unchecked NotImplementedException > Stuart> so that's what I

[cp-patches] RFC: gnu.java.math.MPN "optimizations"

2006-03-22 Thread Ian Rogers
Hi, sorry for not really knowing what the etiquette should be here. This patch alters the MPN class so that when performing adds and subtracts it avoids the use of longs. This is possible by an "unsigned_less_than" operation that itself uses longs, but any tree pattern matcher (such as those

[cp-patches] Re: FYI: FilePermission symlink handling test

2006-03-22 Thread Gary Benson
Oops, that was for mauve-patches! Sorry for the noise. Gary Benson wrote: > Hi all, > > My last commit adds a test to check FilePermission's handling of > symbolic links. Both proprietary JVMs I tried passed this test, > but Classpath does not. Now to figure out how to fix this... > > Cheers,

[cp-patches] FYI: FilePermission symlink handling test

2006-03-22 Thread Gary Benson
Hi all, My last commit adds a test to check FilePermission's handling of symbolic links. Both proprietary JVMs I tried passed this test, but Classpath does not. Now to figure out how to fix this... Cheers, Gary Index: ChangeLog ===

Re: [cp-patches] RFC: defaultLocale changes

2006-03-22 Thread Christian Thalinger
On Tue, 2006-03-14 at 16:56 +0100, Michael Koch wrote: > Together with a mauve testcase that proves this I'm fine with it. :-) > (as I told you on IRC) Ok, I'm unable to write a mauve testcase for that. The problem is: $ cat test.java import java.util.*; public class test { public static vo

Re: [cp-patches] FYI: FormView mouse listener

2006-03-22 Thread Roman Kennke
Hi Tom, Am Dienstag, den 21.03.2006, 15:08 -0700 schrieb Tom Tromey: > Roman> 2006-03-21 Roman Kennke <[EMAIL PROTECTED]> > Roman> * javax/swing/text/html/FormView.java > Roman> (MouseEventListener): New inner class. > > This broke the build: > > String data = getImageDat