[cp-patches] FYI: committed sun/reflect/annotation/AnnotationInvocationHandler.java

2006-06-09 Thread Jeroen Frijters
Hi, I committed the file as in the previous RFC. Regards, Jeroen 2006-06-09 Jeroen Frijters [EMAIL PROTECTED] * sun/reflect/annotation/AnnotationInvocationHandler.java: New file.

[cp-patches] FYI: Small patch for gnu/java/awt/font/opentype/truetype/VirtualMachine.java

2006-06-09 Thread Jeroen Frijters
Hi, While trying to get True Type font rendering to work I ran into a missing instruction. Fortunately it was a trivial one, so I implemented it. Regards, Jeroen 2006-06-09 Jeroen Frijters [EMAIL PROTECTED] * gnu/java/awt/font/opentype/truetype/VirtualMachine.java

[cp-patches] FYI: BasicScrollPaneUI.getActionMap()

2006-06-09 Thread David Gilbert
This patch (committed) fixes a cut-and-paste error that sneaked into my earlier patch: 2006-06-09 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicScrollPaneUI.java (getActionMap): Use correct key to store action map. Regards, Dave Index:

Re: [cp-patches] Re: RFC: add a cacerts file under resource/java/security

2006-06-09 Thread Raif S. Naffah
hello Tom, On Friday 09 June 2006 09:16, Tom Tromey wrote: Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark I CCed the devjam list on which a couple of different distribution Mark packagers are subscribed. Devjam people, Raif added support for Mark importing trusted ca-certs to GNU

Re: [cp-patches] Patch for support of the GOST block cipher.

2006-06-09 Thread Raif S. Naffah
hello Morgon, On Thursday 08 June 2006 16:15, Morgon Kanter wrote: The attached patch adds support for the GOST 28147-89 block cipher. It works and is compatable with the canonical English implementation from [1], which I generated the test vectors that appear in the attached GOSTTest.java

[cp-patches] FYI: JScrollBar keyboard bindings

2006-06-09 Thread David Gilbert
This patch (committed) adds keyboard bindings for the JScrollBar component: 2006-06-09 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry, *

[cp-patches] FYI: re-factored BasePad

2006-06-09 Thread Raif S. Naffah
hello all, the attached patch --already committed (in two commits)-- re-factors the self-test code in BasePad to allow more flexible correctness tests by sub-classes. 2006-06-09 Raif S. Naffah [EMAIL PROTECTED] * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more

[cp-patches] FYI: ISO-10126-2 by Matthew Wringe

2006-06-09 Thread Raif S. Naffah
hello all, the attached patch --already committed on behalf of Matthew Wringe-- adds an implementation of the ISO-10126-2 padding scheme. a new Mauve test to exercise block sizes from 2 to 256 was also added as gnu.testlet.gnu.javax.crypto.pad.TestOfISO10126. 2006-06-09 Raif S. Naffah

[cp-patches] RFC:Proposed fix for the javax.swing.text blocker bug 27973

2006-06-09 Thread Audrius Meskauskas
This patch removes the strangely looking construct that currently fully suppress the HTMLDocument functionality, blocking the further work on the javax.swing.text.html. HTML is currently developed with this patch being applied locally. The patch introduces no Mauve regressions in

[cp-patches] FYI: Integrating ImageView

2006-06-09 Thread Audrius Meskauskas
With this patch, the HTMLDocument handles the IMG tag and can display the images. It only works with the bug 27973 fixed with one of the proposed patches. I also add the simple demo to demonstrate the work of the HTML parsing and rendering. 2006-06-09 Audrius Meskauskas [EMAIL PROTECTED]

[cp-patches] FYI: More stub methods in java.awt.*

2006-06-09 Thread David Gilbert
This patch (committed) marks some stubs in java.awt.*: 2006-06-09 David Gilbert [EMAIL PROTECTED] * java/awt/datatransfer/DataFlavor.java (readExternal): Mark as stub, (writeExternal): Likewise, * java/awt/dnd/DropTargetContext.java (dropComplete): Mark

Re: [cp-patches] Small ComboBox fix

2006-06-09 Thread Lillian Angel
Committed. On Thu, 2006-06-08 at 15:03 -0400, Francis Kung wrote: Hi, Came across a problem when painting a JComboBox with null or empty items in it; patch is attached. It's a bit of a workaround, but I think it's good enough (it's a rare case, so it's not worth hacking into the higher

[cp-patches] eliminate some memory leaks in gcjwebplugin.cc

2006-06-09 Thread Thomas Fitzsimmons
Hi, I committed this patch which replaces some g_strconcat calls with macros. Tom 2006-06-09 Thomas Fitzsimmons [EMAIL PROTECTED] * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro. (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat. Index:

Re: [cp-patches] Patch: gcjwebplugin data directory fix

2006-06-09 Thread Tom Tromey
Lillian == Lillian Angel [EMAIL PROTECTED] writes: Lillian To avoid any problems with saving the whitelist file Lillian (permission denied, etc), we have decided to store all the Lillian plugin data in ~/.gcjwebplugin. It looks like the saving happens in the C code. Is this necessary? I was

[cp-patches] FYI: BufferedImage - small fix

2006-06-09 Thread David Gilbert
This patch (committed) fixes a minor bug in the getProperty() method and removes a FIXME: 2006-06-09 David Gilbert [EMAIL PROTECTED] * java/awt/image/BufferedImage.java (BufferedImage(int, int, int)): Added API docs, (getProperty(String)): Return correct value for undefined

[cp-patches] FYI: CairoGraphics2D, support general GlyphVector impls

2006-06-09 Thread Roman Kennke
I added a fallback for CairoGraphics2D.drawGlyphVector() that can draw GlyphVector instances other than FreetypeGlyphVector too. For this case it simply calls fill(Shape) with the coordinate system translated accordingly. This allows me to play with GnuGlyphVector and CairoGraphics2D. 2006-06-08

[cp-patches] Patch: FYI: fix classpath/23863

2006-06-09 Thread Tom Tromey
I'm checking this in to Classpath and also to GCC svn trunk. This fixes PR 23863, a bug in mprec. The bug is that when parsing certain doubles, we can overwrite the stack. This showed up when using a gcj-compiled ecj to compile GNU Classpath. The fix is to import a new version of mprec.c from

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

2006-06-09 Thread Tom Tromey
I'm checking this in. Eclipse pointed out that the tools .deps is missing from .cvsignore. Tom 2006-06-09 Tom Tromey [EMAIL PROTECTED] * tools/.cvsignore: Added .deps. Index: tools/.cvsignore === RCS file:

[cp-patches] Patch: FYI: PR 27888

2006-06-09 Thread Tom Tromey
I'm checking this in. This is Anthony's patch for PR 27888, plus an additional bit for Collections and GapContent. (The latter is probably not needed but is included just to be complete.) I also looked at the other possible failures -- BitSet, opentype, Character -- but none of these needed

[cp-patches] RFC: JDWP ExceptionOnlyFilter

2006-06-09 Thread Kyle Galloway
Here is a patch to complete the functionality of this filter. ChangeLog 2006-06-09 Kyle Galloway [EMAIL PROTECTED] * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java: Fixed matches method to match instead of throwing exception Index:

[cp-patches] RFC: Added --enable-standalone-crypto

2006-06-09 Thread Vivek Lakshmanan
This completes adressing PR27649 in combination with http://developer.classpath.org/pipermail/classpath-patches/2006-June/002635.html This adds a --enable-standalone-crypto configuration option which creates an additional jar with the crypto providers for use by non-classpath based VMs.

[cp-patches] RFC: 3 more JDWP events

2006-06-09 Thread Kyle Galloway
Here are three more JDWP events. Can someone please review and commit these along with the other classpath changes submitted earlier today. Thanks, Kyle ChangeLog: 2006-06-09 Kyle Galloway [EMAIL PROTECTED] * gnu/classpath/jdwp/event/MethodEntryEvent.java: New File *

Re: [cp-patches] RFC: New events for JDWP and small changes to Event internals

2006-06-09 Thread Keith Seitz
Kyle Galloway wrote: ChangeLog: 2006-06-09 Kyle Galloway [EMAIL PROTECTED] * gnu/classpath/jdwp/event/BreakpointEvent.java: Added Object _instance for filter compatibility * gnu/classpath/jdwp/event/BreakpointEvent.java(getParameter): changed from Class type to constants *

Re: [cp-patches] RFC: JDWP ExceptionOnlyFilter

2006-06-09 Thread Keith Seitz
Kyle Galloway wrote: Here is a patch to complete the functionality of this filter. So that everyone knows, I've emailed Kyle privately about this patch, and I think he's going to submit a new patch for this (mainly without all the whitespace diffs). Kyle feel free to correct me if I am

Re: [cp-patches] RFC: 3 more JDWP events

2006-06-09 Thread Keith Seitz
Kyle Galloway wrote: A few nits, mainly typos and other frivolity. Index: gnu/classpath/jdwp/event/MethodEntryEvent.java === RCS file: gnu/classpath/jdwp/event/MethodEntryEvent.java diff -N

[cp-patches] FYI: TextLayout patch Bidi fix

2006-06-09 Thread Sven de Marothy
Hey all, this is my initial implementation of TextLayout, deprecating the whole old TextLayoutPeer stuff. Work's still needed (no hit testing yet), but it's mostly there. /Sven 2006-06-08 Sven de Marothy [EMAIL PROTECTED] * java/text/Bidi.java: Treat WS as neutral for rules N1 N2.

[cp-patches] FYI: CairoGraphics2D.drawString implemented on TextLayout

2006-06-09 Thread Sven de Marothy
2006-06-08 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawString): Use TextLayout instead of GlyphVector. Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java === RCS file:

[cp-patches] FYI: AbstractGraphics2D fixes

2006-06-09 Thread Roman Kennke
Hi, the attached patch fixes rendering with AbstractGraphics2D, most importantly it limits the scanline area to the device bounds, so it doesn't try to render outside the device. 2006-06-09 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/java2d/AbstractGraphics2D.java

[cp-patches] Patch: FYI: update build for sun class

2006-06-09 Thread Tom Tromey
I'm checking this in. This updates our build code to search for classes in the sun package. This is only needed if you're building using make; the eclipse-based build is already ok. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * lib/Makefile.am (install-data-local): Copy

[cp-patches] FYI: Fix locking in componentgraphics.

2006-06-09 Thread Sven de Marothy
2006-06-09 Sven de Marothy [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Use GTK locks while disposing (Xlib) surface. Index:

[cp-patches] FYI: Swing painting robustness

2006-06-09 Thread Roman Kennke
This improves the robustness in the Swing painting code against client code doing nasty things with the passed-in Graphics object, like calling create() or modifying the state in some irreversible way. 2006-06-09 Roman Kennke [EMAIL PROTECTED] * javax/swing/JComponent.java

[cp-patches] FYI: JTabbedPane fix

2006-06-09 Thread Roman Kennke
Some apps (including Sun's Java2D demo, see below) seem to do strange things with JTabbedPane: they only install one component in the first tab, leav#e all other tabs at null and change this one component on some event. This requires that the JTabbedPane impl doesn't try to change the component