[cp-patches] FYI: small View fix

2006-05-01 Thread Robert Schuster
Hi, while investigating why the up/down navigation with cursor keys in JTextAreas with linewrap does not work I found out that it is needed to call the viewToModel and modelToView in View.getNextVisualPositionFrom on the parent view. This is another fix to get PR 27220 done. I still need to look

[cp-patches] FYI: JList.setFixedCellHeight() fix

2006-05-01 Thread David Gilbert
This patch (committed) fixes the property name in the event fired by setFixedCellHeight(): 2006-04-28 David Gilbert [EMAIL PROTECTED] * javax/swing/JList.java (setFixedCellHeight): Use correct property name for event. Regards, Dave Index: javax/swing/JList.java

[cp-patches] FYI: getNextVisualPositionFrom implementations

2006-05-01 Thread Robert Schuster
Hi, the following patch implements the above mentioned method in View and its EastWest and NorthSouth cousins in CompositeView. *However* I could not provide an implementation I am feeling 100% sure about. It works for our JTextField and JTextArea with and without line wrap but I am sure that it

[cp-patches] FYI: ProgressMonitor micro-fix

2006-05-01 Thread Sven de Marothy
2006-04-28 Sven de Marothy [EMAIL PROTECTED] * java/awt/image/ReplicateScaleFilter.java: Fix comment. * javax/swing/ProgressMonitor.java (actionPerformed): Avoid divide-by-zero. Index: java/awt/image/ReplicateScaleFilter.java

[cp-patches] FYI: JList.getMinSelectionIndex() bug fix

2006-05-01 Thread David Gilbert
This patch (committed) fixes a bug in the getMinSelectionIndex() method: 2006-04-28 David Gilbert [EMAIL PROTECTED] * javax/swing/JList.java (getMinSelectionIndex): Return correct value, added API docs, (getMaxSelectionIndex): Added API docs. Regards, Dave Index:

Re: [cp-patches] FYI: Merged Package annotation support fromgenerics branch

2006-05-01 Thread Tom Tromey
Tom == Tom Tromey [EMAIL PROTECTED] writes: Tom I've appended it. Please comment, everybody. I'll check it in after Tom a few days if there is no objection. I'm checking this in. Tom

[cp-patches] FYI: Re-factored HelpPrinter

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- re-factors the above class to expose a method that prints the help text without exiting the VM. 2006-04-29 Raif S. Naffah [EMAIL PROTECTED] * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.

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

2006-05-01 Thread Tom Tromey
I'm checking this in. This updates .cvsignore to ignore classes.2. Tom 2006-05-01 Tom Tromey [EMAIL PROTECTED] * lib/.cvsignore: Added classes.2. Index: lib/.cvsignore === RCS file:

[cp-patches] Patch: FYI: warning fixes

2006-05-01 Thread Tom Tromey
I'm checking this in. This fixes a few warnings. Tom 2006-05-01 Tom Tromey [EMAIL PROTECTED] * java/util/jar/JarFile.java (provider): Now package-private. * java/lang/Enum.java (compareTo): Javadoc fix. * java/lang/Boolean.java (compareTo): Javadoc fix. Index:

[cp-patches] FYI: JList updates

2006-05-01 Thread David Gilbert
This patch (commited) fixes a NullPointerException I am seeing with the JList(Object[]) and JList(Vector) constructors: 2006-04-28 David Gilbert [EMAIL PROTECTED] * javax/swing/JList.java (JList(Object[])): Pass new model directly to init(), (JList(Vector)): Likewise,

[cp-patches] Patch: Parser fix

2006-05-01 Thread Lillian Angel
Fixed the reading of attributes in the parser. Apparently, some attributes were being skipped if the value started with \. This is fixed. 2006-05-01 Lillian Angel [EMAIL PROTECTED] * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): Formatted function.

[cp-patches] Patch: SimpleTimeZone fix

2006-05-01 Thread Lillian Angel
After testing a timezone app, I noticed that SimpleTimeZone is a little buggy. I fixed it up a bit... I imagine there are more bugs in this code. It does work better now. 2006-05-01 Lillian Angel [EMAIL PROTECTED] * java/util/SimpleTimeZone.java (SimpleTimeZone): Do not throw

[cp-patches] FYI: Utilities.getNextWord fix

2006-05-01 Thread Robert Schuster
Hi, the following patch makes javax.swing.Utilities.getNextWord 'pixel-perfect' with the behavior of the RI. There is a mauve test ensuring that. The ChangeLog: 2006-04-28 Robert Schuster [EMAIL PROTECTED] * javax/swing/text/Utilities.java: (getNextWord): Use codePointAt

[cp-patches] FYI: Fixed StringBuilder to use VMSystem.arraycopy

2006-05-01 Thread Jeroen Frijters
Hi, As reported by Edwin Steiner, StringBuilder used System.arraycopy instead of VMSystem.arraycopy and that causes bootstrap issues. I committed the attached patch to fix this. Regards, Jeroen 2006-04-28 Jeroen Frijters [EMAIL PROTECTED] * java/lang/StringBuilder.java

[cp-patches] Patch: FYI: implementing missing nio method

2006-05-01 Thread Tom Tromey
I'm checking this in. This implements a missing java.nio method. It also fixes a systematic bug in the 'compact' methods, and adds the appropriate locking to ChannelReader. Tom 2006-05-01 Tom Tromey [EMAIL PROTECTED] * java/nio/ByteBufferImpl.java (compact): Don't reset position

[cp-patches] FYI: Add our Callback provider to the list of default providers

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- add the GNU-CALLBACKS security provider to the list of default providers. 2006-04-29 Raif S. Naffah [EMAIL PROTECTED] * java/security/Security.java clinit: Add our Callback provider. *

[cp-patches] FYI: Bg fixes to RSA key-pair handling + others

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- fixes some bugs with the RSA key-pair handling; adds more trace/debug statements to the RSA classes, aligning them with the DSS ones; and adds an RSA alias to the MD5withRSA signature algorithm (making it easy to specify the RSA default

[cp-patches] FYI: JList.paramString() fix

2006-05-01 Thread David Gilbert
In a previous patch, I added a paramString() method override to JList, but made it public instead of protected - JAPI caught this. Fixed by this patch (committed): 2006-04-29 David Gilbert [EMAIL PROTECTED] * javax/swing/JList.java (paramString): Changed from public to

[cp-patches] FYI: new tools.common package and util classes

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- creates a new subpackage (common) in the tools hierarchy and adds some utility classes commonly used, so far, by the jarsigner and keytool tool. 2006-05-02 Raif S. Naffah [EMAIL PROTECTED] *

[cp-patches] FYI: X500DistinguishedName bug fixes

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- fixes a couple of bugs in the above mentioned class. 2006-04-29 Raif S. Naffah [EMAIL PROTECTED] * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright. (putComponent): Handle O and OU components.

[cp-patches] FYI: jarsigner licensed under GPL + Exception

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- changes (back) the license of the jarsigner tool to GPL + Exception. 2006-04-29 Raif S. Naffah [EMAIL PROTECTED] * tools/jarsigner.sh.in: Changed license to GPL + Exception. Use -Xbootclasspath/p instead of -cp when

[cp-patches] FYI: JTabbedPane fixlet

2006-05-01 Thread Roman Kennke
Lillian and others pointed out that sometimes the JTabbedPane didn't paint correctly the last tab in a run. I found out that there was a problem in the determination of what is considered the last tab. This patch fixes the problem. 2006-04-30 Roman Kennke [EMAIL PROTECTED] *

[cp-patches] FYI: Desktop hanging fix.

2006-05-01 Thread Audrius Meskauskas
The Demo hangs on the attempt to close third and subsequnt internal frames. The endless loop is a while loop in JComponent.paintChildrenWithOverlap: if the component is not visible, the component index is not advanced forward. The patch replaces the while loop with the for loop that seems more

[cp-patches] FYI: jarsigner - Added support for localised messsages

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- adds support for localisable messages in jarsigner. it also refactors some classes to use the newly added common utilities. 2006-05-02 Raif S. Naffah [EMAIL PROTECTED] * tools/gnu/classpath/tools/jarsigner/jarsigner.txt:

[cp-patches] FYI: a new tools document

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- adds a new document describing, so far, the two security tools: jarsigner and keytool. this is just a first cut, but hopefully in time it will include usage examples, and the documentation of other tools. cheers; rsn Index: Makefile.am

[cp-patches] FYI: updated top configure.ac

2006-05-01 Thread Raif S. Naffah
hello there, the attached patch --already committed-- adds keytool.sh to the list of files to be generated by configure. 2006-05-02 Raif S. Naffah [EMAIL PROTECTED] * tools/.cvsignore: Added keytool.sh. * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES. cheers; rsn

[cp-patches] RFC: include security tools in tools.zip and convenience scipts

2006-05-01 Thread Raif S. Naffah
hello all, the attached patch proposes the addition of the two security tools (jarsigner and keytool) to the tools.zip plus the generation of two convenience scripts to launch them. bar strong objections, i shall commit this during the weekend. cheers; rsn Index: Makefile.am

Re: [cp-patches] RFC: include security tools in tools.zip and convenience scipts

2006-05-01 Thread Tom Tromey
Raif == Raif S Naffah [EMAIL PROTECTED] writes: Raif the attached patch proposes the addition of the two security tools Raif (jarsigner and keytool) to the tools.zip plus the generation of two Raif convenience scripts to launch them. I have a couple nits on the Makefile. Otherwise I think