Re: [cp-patches] RFC: gnu.regexp.RETokenRepeated: depth-first search

2006-02-17 Thread Ito Kazumitsu
From: Ito Kazumitsu <[EMAIL PROTECTED]> Date: Sat, 18 Feb 2006 01:21:58 +0900 (JST) > * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL > so that all possibilities can be found. > (match): Rewritten using new methods matchMinimum and _match. > (_match): New me

[cp-patches] Patch: Import cleanup

2006-02-17 Thread Lillian Angel
Clean-up... 2006-02-17 Lillian Angel <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Removed unneeded import. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Removed unneeded imports. * java/awt/BorderLayout.java: Fixed comment, this

[cp-patches] Patch: layout/validating fix

2006-02-17 Thread Lillian Angel
This fixes some problems with BorderLayout. Sometimes the components were not being layed out properly, because BorderLayout.layoutContainer was setting negative bounds. This was because validate() was being called in the wrong spots. When layoutContainer was called with an invalid target, the boun

Re: [cp-patches] FYI: Swing text/html stuff

2006-02-17 Thread David Gilbert
Audrius Meskauskas wrote: Oh, really impressive! There are some programs that rely on the HTML-based formatting very seriously,formatting near all output this way. They would never work without this functionality! Audrius Yes, it will be nice to see this stuff working. I know that FindBugs,

Re: [cp-patches] FYI: Optimized rewrite of BasicTableUI.java.paint

2006-02-17 Thread Roman Kennke
Hi Audrius, Am Freitag, den 17.02.2006, 17:05 +0100 schrieb Audrius Meskauskas: > The current BasicTableUI.java.paint is written such as if the cells may > have arbitrary dimensions and occupy arbitrary place on the table. > During painting, this assumption forces to call the JTable.getCellRect

[cp-patches] FYI: ParagraphView

2006-02-17 Thread Roman Kennke
I partly implemented the HTML ParagraphView. This is a subclass of the other ParagraphView. Like with the InlineView I added FIXMEs for the overridden methods that adjust the superclass behaviour. For the beginning it is ok to simply call super for now. 2006-02-17 Roman Kennke <[EMAIL PROTECTED]

Re: [cp-patches] RFC: gnu.regexp.RETokenRepeated: depth-first search

2006-02-17 Thread Ito Kazumitsu
From: Ito Kazumitsu <[EMAIL PROTECTED]> Date: Fri, 17 Feb 2006 01:13:11 +0900 (JST) > The bad news is that the performance has worsened > a bit (although the number of nodes we have to visit > is equal to that of a width-first search, the overhead > of loop control may be heavier, I guess). And th

[cp-patches] FYI: Optimized rewrite of BasicTableUI.java.paint

2006-02-17 Thread Audrius Meskauskas
The current BasicTableUI.java.paint is written such as if the cells may have arbitrary dimensions and occupy arbitrary place on the table. During painting, this assumption forces to call the JTable.getCellRect for every cell. As JTable.getCellRect contains the loop inside, this finally slows pa

Re: [cp-patches] FYI: Swing text/html stuff

2006-02-17 Thread Audrius Meskauskas
Oh, really impressive! There are some programs that rely on the HTML-based formatting very seriously,formatting near all output this way. They would never work without this functionality! Audrius

Re: [cp-patches] FYI: Swing text/html stuff

2006-02-17 Thread Lillian Angel
On Fri, 2006-02-17 at 15:07 +, Roman Kennke wrote: > I hacked a little more on Swing text stuff and finally got my first > little HTML application working: > > http://kennke.org/~roman/html.png This is so exciting! Good work! Lillian

[cp-patches] XML parsing fixes

2006-02-17 Thread Chris Burdess
I committed the following changes to fix several PRs reported in the xml module. 2006-02-17 Chris Burdess <[EMAIL PROTECTED]> Fixes PRs 26319, 26320, 26321, 26322, 26325 * gnu/xml/stream/SAXParser.java: On error, reset parser before rethrowing exception. * g

[cp-patches] FYI: Swing text/html stuff

2006-02-17 Thread Roman Kennke
I hacked a little more on Swing text stuff and finally got my first little HTML application working: http://kennke.org/~roman/html.png The sourcecode to this program is attached. I checked in the fixes as two commits: 2006-02-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/htm

Re: [cp-patches] [PATCH/JDWP] ID cleanups

2006-02-17 Thread Keith Seitz
Mark Wielaard wrote: On Thu, 2006-02-16 at 14:21 -0800, Keith Seitz wrote: Another pretty simple one. VirtualMachineCommandSet.executeIDsizes was really jumping through hoops because JdwpID.size was abstract. Fooey. This patch makes size() a static method and includes all the necessary change

[cp-patches] FYI: More JTable fixes applying Roman's test

2006-02-17 Thread Audrius Meskauskas
The icons were not visible because they class is ImageIcon, not Icon. Rendering rearranged columns also revealed some problems in other methods (see changelog). 2006-02-17 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (IconCellRenderer): Set the component text to emp

Re: [cp-patches] FYI: Remove freetype2 configure checks

2006-02-17 Thread Mark Wielaard
Hi Christian, On Fri, 2006-02-17 at 11:42 +0100, Christian Thalinger wrote: > On Fri, 2006-02-17 at 11:30 +0100, Mark Wielaard wrote: > > It was removed by this patch: > > http://lists.gnu.org/archive/html/classpath/2005-11/msg00065.html > > For which you said it worked for you: > > http://lists.g

Re: [cp-patches] FYI: Remove freetype2 configure checks

2006-02-17 Thread Christian Thalinger
On Fri, 2006-02-17 at 11:30 +0100, Mark Wielaard wrote: > It was removed by this patch: > http://lists.gnu.org/archive/html/classpath/2005-11/msg00065.html > For which you said it worked for you: > http://lists.gnu.org/archive/html/classpath/2005-11/msg00066.html That was my fault, as i only teste

[cp-patches] FYI: HTMLDocument stuff

2006-02-17 Thread Roman Kennke
I implemented some of the HTMLDocument methods and fixed a couple of others. 2006-02-17 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Implemented. (createLeafElement): Implemented. (createBranchElement): Implement

Re: [cp-patches] FYI: Remove freetype2 configure checks

2006-02-17 Thread Mark Wielaard
Hi Christian, On Mon, 2006-02-13 at 22:30 +0100, Christian Thalinger wrote: > On Mon, 2006-02-13 at 21:40 +0100, Christian Thalinger wrote: > > Haven't recompiled the classpath for a long time on darwin, but this > > check is really necessary for darwin. What was the exact reason to > > remove th

[cp-patches] FYI:Supporting possibility to disable JTable column resizing and reordering, when unwanted.

2006-02-17 Thread Audrius Meskauskas
JTable header contains methods to disable column resizing and reordering when unwanted. This patch updates mouse handler, taking these flags into consideration. 2006-02-17 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler): Rewri

Re: [cp-patches] [PATCH/JDWP] ID cleanups

2006-02-17 Thread Mark Wielaard
Hi Keith, On Thu, 2006-02-16 at 14:21 -0800, Keith Seitz wrote: > Another pretty simple one. VirtualMachineCommandSet.executeIDsizes was > really jumping through hoops because JdwpID.size was abstract. Fooey. > This patch makes size() a static method and includes all the necessary > changes in

[cp-patches] FYI: Fix for 25752 (gnu/java/net/protocol/ftp/FTPURLConnection.java)

2006-02-17 Thread Jeroen Frijters
Hi, Committed. Regards, Jeroen 2006-02-17 Jeroen Frijters <[EMAIL PROTECTED]> Fixes PR 25752 * gnu/java/net/protocol/ftp/FTPURLConnection.java (connect): Changed to use SystemProperties. (getInputStream): Try changeWorkingDirectory to figure out if url

[cp-patches] FYI: Small gnu/java/net/protocol/ftp/ActiveModeDTP.java fix

2006-02-17 Thread Jeroen Frijters
Hi, Committed patch below to mark the thread that gets spun by active ftp as a daemon thread. Regards, Jeroen 2006-02-17 Jeroen Frijters <[EMAIL PROTECTED]> * gnu/java/net/protocol/ftp/ActiveModeDTP.java (ActiveModeDTP): Mark accept thread as daemon. Index: gnu/java/net/proto

Re: [cp-patches] RFC: gnu/java/net/protocol/http/ChunkedInputStream fix skip method.

2006-02-17 Thread Chris Burdess
David Daney wrote: The basic problem was that ChunkedInputStream.skip() would skip on the underlying InputStream. This bypassed the byte counting of the chunked protocol resulting in failure on reads following the skip. The fix is to extent InputStream instead of FilterInputStream, as its