[cp-patches] More StAX

2005-12-23 Thread Chris Burdess
You'll be getting a bit bored of these by now. 2005-12-23 Chris Burdess [EMAIL PROTECTED] * gnu/xml/stream/SAXParser.java, gnu/xml/stream/XMLParser.java: Interim commit during W3C XML conformance testing. The SAX-over-StAX parser is currently scoring 90.33% against

[cp-patches] FYI: Memory leakage fix in gnu.xml.dom.DomNode

2005-12-23 Thread Guilhem Lavaux
Hi, Here is a quick fix concerning a memory leakage in DomNode$LiveNodeList. I have noticed using jmp that nearly all LiveNodeList were not freed. Actually the GC cannot collect them because LiveNodeList has removed a dependency on DomIterator but without detaching it from the event to be

[cp-patches] RFC: Using HashSet for event registration in DomNode

2005-12-23 Thread Guilhem Lavaux
Hi, To improve performance in the case a DomNode has many event listeners (which may be the case during a eclipse build) it is more efficient to use a HashSet instead of the dumb algorithm currently in place of DomNode. I am trying to check what is the performance boost at the moment but if

[cp-patches] FYi: Implement (naive) Bidi.requiresBidi() workaround

2005-12-23 Thread Mark Wielaard
Hi, This one method was needed for some eclipse plugin (SWT seems to do all other bidirectional stuff internally). Sven came up with the suggestion to just use Character.getDirectionality() for it: 2005-12-23 Mark Wielaard [EMAIL PROTECTED] Implement workaround suggested in bug

Re: [cp-patches] FYi: Implement (naive) Bidi.requiresBidi() workaround

2005-12-23 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark* Returns false if all characters in the text between start and end Mark* are all left-to-right text. WARNING, this implementation is Mark* slow, it calls codeCharacter.getDirectionality(char)/code on Mark* all characters. I'm