[cp-patches] FYI: Component fixlet

2006-01-27 Thread Roman Kennke
Hi there, I removed some 'optimization' in coalescePaintEvents, that tried to not coalesce paint events, depending on the area of the spanned old and new damaged rectangle. I played a little with the settings and different approaches to optimizing this and the outcome was that the best use

[cp-patches] FYI: removed debug statement in SwingFramePeer

2006-01-27 Thread Roman Kennke
I removed a debug statement in SwingFramePeer. 2006-01-27 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/peer/swing/SwingComponentPeer.java (handleEvent): Removed debug statement. /Roman Index: gnu/java/awt/peer/swing/SwingComponentPeer.java

[cp-patches] FYI: Some more API fixlets for Swing

2006-01-27 Thread Roman Kennke
Some more API fixes for Swing. 2006-01-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicTreeUI.java (installDefaults): Removed requestFocusInWindow() call. * javax/swing/JComponent.java (requestFocusInWindow(boolean)): Made method protected.

[cp-patches] FYI: Even more Swing API fixes

2006-01-27 Thread Roman Kennke
2006-01-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicInternalFrameUI.java (InternalFramePropertyChangeListener): Don't implement VetoableChangeListener. (InternalFramePropertyChangeListener.vetoableChange): Removed.

[cp-patches] FYI: Popup fixes

2006-01-27 Thread Roman Kennke
The attached fixes improve the working of Popup and JPopupMenu in non-Swing toplevel containers. 2006-01-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicPopupMenuUI.java (PopupMenuHandler.popupMenuWillBecomeInvisible): Fixed to also handle non-Swing

[cp-patches] FYI: MetalFileChooserUI fixlet

2006-01-27 Thread Roman Kennke
The filechooser file list scrollpane really shouldn't need a scrollbar policy set. At least in Sun's impl it doesn't have one set. This patch fixes this. However, this will cause a slight visual regression. The fix for this is to implement a subclass of JList for the file list. I will do this

[cp-patches] Patch: More DefaultStyledDocument

2006-01-27 Thread Lillian Angel
A few more fixes for DefaultStyledDocument. Some structures are still broken... createFracture needs to be implemented properly to fix these problems. I am still working on it :) 2006-01-27 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java (insert):

[cp-patches] FYI: More Character Unicode methods

2006-01-27 Thread Anthony Balkissoon
Implemented more of the missing Unicode-related methods in java.lang.Character, and a missing constructor in java.lang.String. Also fixed an off by one problem in Character and threw an Exception in toChars that we weren't throwing. Note that the String constructor still has issues - I believe

Re: [cp-patches] Patch: More DefaultStyledDocument

2006-01-27 Thread Lillian Angel
I forgot to mention a few other things in my ChangeLog entry. 2006-01-27 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java (insert): Moved this loop to insertUpdate. (insertUpdate): Likewise. Fixed variable names. Incremented

[cp-patches] FYI: JLayeredPane fixes

2006-01-27 Thread Roman Kennke
I have essentially rewritten most of JLayeredPane. I noticed some troubles with this class and read a little in the OReilly Swing book 1st edition. I learned that we did a couple of things wrong in this class: - we stored all components and their layers in the Hashtable. This is wrong.

[cp-patches] FYI: Showing root node expanded

2006-01-27 Thread Audrius Meskauskas
From the comparison of ours and Sun's implementation behavior, the root node of the tree must be expanded when it first appears (other nodes must be collapsed). This path forces to show the JTree root node expanded as it first appears. 2006-01-27 Audrius Meskauskas [EMAIL PROTECTED] *

[cp-patches] FYI: JLayeredPane fixlet

2006-01-27 Thread Roman Kennke
I made a small mistake in my JLayeredPane patch. The components were added to the layeredpane in exactly the wrong order for layers to be rendered correctly. This patch fixes this. 2006-01-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/JLayeredPane.java (inserIndexForLayer):

[cp-patches] Patch: DefaultStyledDocument

2006-01-27 Thread Lillian Angel
Here is another fix. I have almost fully fixed the insertion problem. It is still not working in some cases. I will continue on Monday. Basically, insertFirstContentTag and recreateLeaves still need lots of work. 2006-01-27 Lillian Angel [EMAIL PROTECTED] *

[cp-patches] FYI: Swing demo optimization

2006-01-27 Thread Roman Kennke
Obviously we had a problem with our Swing demo. At startup all the demos createContent() methods were called twice, once when the constructor was executed and then again by the Demo itself. So we built nearly the whole GUI twice. This is corrected by this patch. Should greatly increase the startup

[cp-patches] FYI: MiniDemo for Swing

2006-01-27 Thread Roman Kennke
I added a MiniDemo to our Swing examples. This is a very small demo program that is designed to run on very small devices. In particular, this should run on 320x200 displays with only b/w or grayscale color. This also shows that our Swing performs quite good on slow machines. 2006-01-27 Roman

[cp-patches] FYI: Fixed scroll pane behavior when handling JTree

2006-01-27 Thread Audrius Meskauskas
This fixes the strange behavior of the scroll bars (not enough space to scroll provided after the tree expansion and the opposite (excess of space). Before computing the cached preferred size, we need update the current visible patch. 2006-01-27 Audrius Meskauskas [EMAIL PROTECTED] *

Re: [cp-patches] FYI: RMI/java.io bug 25520 fix in VMObjectInputStream

2006-01-27 Thread Audrius Meskauskas
Hi, Nicolas, Are you sure this is the correct behaviour? The class of the stream (which contains the members that couldn't be unserialized and were the cause of the bug) is loaded in RMI with the resolveClass method of the gnu.java.rmi.server.RMIObjectInputStream. This method calls the

Re: [cp-patches] FYI: RMI/java.io bug 25520 fix in VMObjectInputStream

2006-01-27 Thread Nicolas Geoffray
Hi Audrius Audrius Meskauskas wrote: Hi, Nicolas, Are you sure this is the correct behaviour? The class of the stream (which contains the members that couldn't be unserialized and were the cause of the bug) is loaded in RMI with the resolveClass method of the

[cp-testresults] FAIL: regressions for libgcj on Fri Jan 27 08:16:31 UTC 2006

2006-01-27 Thread cpdev
Baseline from: Fri Jan 27 04:04:10 UTC 2006 Regressions: FAIL: Thread_Sleep output - bytecode-native test Totals: PASS: 3377 XPASS: 0 FAIL: 1 XFAIL: 10 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] FAIL: ecj built with gcjx on Fri Jan 27 12:00:59 UTC 2006

2006-01-27 Thread cpdev
terminate called after throwing an instance of 'exception_tmpl0' xargs: gcjx: terminated by signal 6 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults

[cp-testresults] FAIL: regressions for mauve-jamvm on Fri Jan 27 16:54:41 UTC 2006

2006-01-27 Thread cpdev
Baseline from: Tue Jan 24 00:42:34 UTC 2006 Regressions: FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure3: create second leaf element (number 1) FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure3: create second leaf

Re: Moving classpath mailinglists

2006-01-27 Thread Mark Wielaard
Hi Norman, On Fri, 2006-01-27 at 08:59 +0100, Norman Hendrich wrote: it seems that the mailing list archives for classpath and -patches are not updated anymore since moving the lists. http://lists.gnu.org/archive/html/classpath/ stops at 2006.01.24. Is there another location to access the

Regex compatibility

2006-01-27 Thread Michael Kay
I'm new to the list so I'll explain what I'm doing first: I'm working on a port of the Saxon XSLT and XQuery processor to the .NET platform using IKVMC. (You may already be familiar with this as Saxon.NET, but I'm now looking at folding it into the core product). I'm finding most things are

Missing doPrivileged() in VMProcess?

2006-01-27 Thread Gary Benson
Hi all, Each time you execute a file with Runtime.exec() a java.lang.VMProcess is created. The first time one of these is created it creates a thread and calls its setDaemon() method which (eventually) checks RuntimePermission(modifyThread). I guess there should be a doPrivileged() in here

Re: How to check out Cacao

2006-01-27 Thread Tom Tromey
Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti Ok, i've updated the wiki. Please check the changes as i'm not very Twisti familiar with wikis. Looks pretty good to me. Thanks. Tom

[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 10:16:28 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicTreeUI.java javax/swing: JComponent.java

[commit-cp] classpath ./ChangeLog javax/swing/AbstractButto...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 10:10:00 Modified files: . : ChangeLog javax/swing: AbstractButton.java ImageIcon.java JApplet.java

[commit-cp] classpath javax/swing/plaf/basic/BasicPopupMenu...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 10:35:12 Modified files: javax/swing/plaf/basic: BasicPopupMenuUI.java javax/swing: Popup.java . : ChangeLog

[commit-cp] classpath javax/swing/plaf/basic/BasicInternalF...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 10:26:36 Modified files: javax/swing/plaf/basic: BasicInternalFrameUI.java javax/swing/event: DocumentEvent.java . :

[commit-cp] classpath gnu/java/awt/peer/swing/SwingComponen...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 09:41:23 Modified files: gnu/java/awt/peer/swing: SwingComponentPeer.java . : ChangeLog Log message: 2006-01-27

[commit-cp] classpath ./ChangeLog javax/swing/JComponent.ja...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 12:37:59 Modified files: . : ChangeLog javax/swing: JComponent.java JLayeredPane.java

[commit-cp] classpath javax/swing/JLayeredPane.java java/aw...

2006-01-27 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/27 15:51:22 Modified files: javax/swing: JLayeredPane.java java/awt : Container.java . : ChangeLog Log