Re: [cp-patches] GNU Classpath

2012-10-20 Thread Chris Burdess
Roman Kennke wrote: Am Samstag, den 20.10.2012, 10:03 +0100 schrieb Chris Burdess: Mario Torre wrote: No. Updating the ChangeLog is a requirement. Maybe it's a requirement, but to be honest, is also a very redundant piece of information that is already in the commit log, The commi

Re: [cp-patches] GNU Classpath

2012-10-20 Thread Chris Burdess
Mario Torre wrote: No. Updating the ChangeLog is a requirement. Maybe it's a requirement, but to be honest, is also a very redundant piece of information that is already in the commit log, The commit log is not part of the package. People may want to download the package and see who the co

Re: [cp-patches] [commit-cp] classpath ChangeLog native/jni/java-io/java_io_...

2012-03-29 Thread Chris Burdess
Andrew Haley wrote: > Why are we using yet another VCS, anyway? We can pretty much > guarantee that free Java devs are used to Mercural and maybe > Subversion, but git? Because nobody spoke up during the review period, so the first suggestion was accepted.

Re: [cp-patches] StAX API change for final version

2009-07-08 Thread Chris Burdess
I redid the API changes myself to avoid any assignment issues; this seems to resolve all the original problems with the StAX API. Committed. 2009-07-08 Chris Burdess PR xml/40663: * javax/xml/stream/XMLEventFactory.java, * javax/xml/stream/XMLInputFactory.java

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Chris Burdess
also needs the patch http://gcc.gnu.org/bugzilla/attachment.cgi?id=18143 which seems to have some changes outside just fixing the class used. I'll look into this. -- Chris Burdess

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Chris Burdess
ill do it as soon as I can (sometime this evening). Ok, it just wasn't clear from your first posts what you actually wanted to do :) I'm about to commit a bugfix and I'd be happy to commit these afterwards. Great, thank you. -- Chris Burdess

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Chris Burdess
Andrew John Hughes wrote: 2009/7/7 Chris Burdess : Our current StAX API is based on an early version. This change brings it in line with the final API implemented in J2SE 6.0. 2009-07-07 Ludovic Claude PR java/40663 * javax/xml/stream/util/ReaderDelegate.java: Removed

[cp-patches] StAX API change for final version

2009-07-07 Thread Chris Burdess
/StreamReaderDelegate.java: Renamed class. -- Chris Burdess StreamReaderDelegate.java Description: Binary data

[cp-patches] Fix for prefix validation in XMLStreamWriter

2009-07-07 Thread Chris Burdess
The attached patch fixes an issue with overenthusiatic validation of prefixes in XMLStreamWriter. 2009-07-07 Ludovic Claude PR java/40653 * gnu/xml/stream/XMLStreamWriterImpl.java: Permit empty string as prefix. -- Chris Burdess 40653.patch Description: Binary

Re: [cp-patches] FYI: fix StAX API incompatibility

2008-03-05 Thread Chris Burdess
DType): Changed return type to String. Yes - at the time our StAX implementation was developed the spec was subtlely different. It seems it's now stabilised to define the type property as a String as you say. Please commit. -- Chris Burdess pgphJk3pRtxqL.pgp Description: PGP signature

Re: [cp-patches] FYI: More use of CPStringBuilder

2008-03-03 Thread Chris Burdess
Andrew John Hughes wrote: > This switches more StringBuilder use to CPStringBuilder. Sorry, why was this necessary again? -- Chris Burdess pgpbdXRJ04BVN.pgp Description: PGP signature

[cp-patches] Fix for PR 32539

2007-07-28 Thread Chris Burdess
I committed this patch which allows us to avoid looking ahead in the event stream while trying to determine whether there is a next event. 2007-07-28 Chris Burdess <[EMAIL PROTECTED]> PR 32539 * gnu/xml/stream/XMLParser.java: don't call next() during hasNext()

[cp-patches] Fix for DOM node cloning

2007-07-09 Thread Chris Burdess
I committed the attached patch to fix bug #32672: 2007-07-09 Chris Burdess <[EMAIL PROTECTED]> Fixes #32672 * gnu/xml/dom/DomElement.java, * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in setNamedNode when cloning. -- Chris Burdess Index:

Re: [cp-patches] Small transformer bug fix

2007-07-01 Thread Chris Burdess
Christian Thalinger wrote: > > This patch, committed, fixes a bug in the XSL transformer where you have a > > with-param node with empty content. > > > > 2007-07-01 Chris Burdess <[EMAIL PROTECTED]> > > > > * gnu/xml/transform/Wi

[cp-patches] Small transformer bug fix

2007-07-01 Thread Chris Burdess
This patch, committed, fixes a bug in the XSL transformer where you have a with-param node with empty content. 2007-07-01 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/transform/WithParam.java: Handle case where content is empty. -- Chris Burdess Index: gnu/xml/tra

[cp-patches] DOM node-cloning fix

2007-06-01 Thread Chris Burdess
I committed the following small patch submitted by Robin Garner: 2007-06-01 Robin Garner <[EMAIL PROTECTED]> Fixes #32162 * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep cloning nodes. patch Description: Binary data PGP.sig Description: This i

Re: [cp-patches] RFC: Options to javac

2007-05-10 Thread Chris Burdess
Mario Torre wrote: On #classpath a user reported that he had to pass these switch to build the last classpath with javac. I think it can be a good idea to use them by default. What do you think? Will the switches just be ignored by 1.4 and earlier versions of javac, or will they cause an

[cp-patches] XML DOM bug fix

2007-05-04 Thread Chris Burdess
This patch (committed) fixes a problem whereby attributes were defaulted when they shouldn't have been. 2007-05-04 Chris Burdess <[EMAIL PROTECTED]> Fixes PR #31814 * gnu/xml/dom/DomDocument.java, gnu/xml/dom/ls/SAXEventSink.java: Don't default attribut

[cp-patches] Workaround for XML file URL problem

2007-04-16 Thread Chris Burdess
Provides a workaround for the File.toURL problem and handles any such incorrectly formatted URLs in XML external entity references. 2007-04-16 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly formatted file URLs.

Re: [cp-patches] Little XML patch

2007-04-16 Thread Chris Burdess
Christian Thalinger wrote: On Mon, 2007-04-09 at 21:11 +0200, Christian Thalinger wrote: On Mon, 2007-04-09 at 19:17 +0200, Christian Thalinger wrote: Ok, here we go: input.systemId=file:/home/twisti/cacao/spec/jbb2005/xml/template- document.xml ids.systemId=jbb-document.dtd url=jbb-document

Re: [cp-patches] Patch: FYI: hard-code SAX fallback

2007-03-27 Thread Chris Burdess
Tom Tromey wrote: I think for proper operation we have to remove the various XML service files from META-INF; see the earlier thread. But in order for this to work we also have to fix SAX to properly fall back to the Classpath SAX parser. This patch does this. It is a divergence from upstream,

Re: [cp-patches] FYI: Another javax.xml bugfix (PR 30983)

2007-03-08 Thread Chris Burdess
Gary Benson wrote: This commit fixes a bug where the entity resolver (if set) would be used to open the top-level document when parsing an XML file. The spec states that the parser will use the entity resolver before opening any external entity _except_ the top-level document entity. I'm not s

[cp-patches] Fix for SAX TransformerHandler behaviour

2007-02-19 Thread Chris Burdess
I committed this patch to fix an NPE when using the SAX TransformerHandler behaviour. 2007-02-19 Chris Burdess <[EMAIL PROTECTED]> Fixes #30831 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document properties when reader is available. patch Description: Binar

[cp-patches] Little XML patch

2007-02-06 Thread Chris Burdess
Xerces with the Classpath XML framework. However it should at least reduce the size of stacktraces and make the URL problems easier to identify. 2007-02-06 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 27710. * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synch

[cp-patches] XML bug fixes

2007-01-26 Thread Chris Burdess
I committed the following patch to fix Bugzilla ticket 30597. 2007-01-26 Chris Burdess <[EMAIL PROTECTED]> Fixes #30597 * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause of LSException is an IOException. * gnu/xml/dom/ls/DomLSParse

[cp-patches] PATCH: DOM event propagation fix

2006-12-06 Thread Chris Burdess
I'm committing this minor patch from Ben Konrath which appears to resolve some NPE problems in Eclipse. Mark, this is not marked critical in Bugzilla so I don't believe it is release critical. 2006-12-06 Ben Konrath <[EMAIL PROTECTED]> Fixes PR 29853. * gnu/xml/dom/DomAtt

[cp-patches] PATCH: trivial fixes in XML classes

2006-12-06 Thread Chris Burdess
This patch - corrects Javadoc formatting in DocumentBuilderFactory - plugs a file descriptor leak in the main method of SAXParser (only used for testing) 2006-12-06 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 29272. * javax/xml/parsers/DocumentBuilderFactory.java: Fix

[cp-patches] PATCH: fix for XMLStreamWriter.writeDTD

2006-12-06 Thread Chris Burdess
This patch corrects a misunderstanding about XMLStreamWriter.writeDTD. 2006-12-06 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 29264. * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in writeDTD method. patch Description: Binary data PGP.sig Description: T

[cp-patches] PATCH: Fix schema factory discovery

2006-12-06 Thread Chris Burdess
This patch (committed) implements the algorithm for schema factory implementation discovery. 2006-12-056 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 28816. * javax/xml/validation/SchemaFactory.java: Use correct algorithm to discover schema factory implementation class.

Re: [cp-patches] QName

2006-11-11 Thread Chris Burdess
I don't see how you can validate an anyURI, since it can be > absolute or relative. According to the XML namespaces spec http://www.w3.org/TR/xml-names/#iri-use http://www.w3.org/2000/09/xppa you cannot use relative URIs in XML namespace references. -- Chris Burdess

[cp-patches] QName

2006-11-10 Thread Chris Burdess
x27;m not alone: http://cafe.elharo.com/java/why-methods-should-check-their-arguments/ Anyway, see below for the patch. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin patch Description: Bi

[cp-patches] Classpath HEAD build error

2006-11-09 Thread Chris Burdess
startStatement(gnu.javax.swing.text.html.css.Selector selector);", inherited from type "gnu.javax.swing.text.html.css.CSSParserCallback", is not implemented in the non-abstract class "javax.swing.text.html.StyleSheet$CSSStyleSheetParserCallback". Any ideas? -- Chris Burdess

Re: [cp-patches] Re: FYI: CSS border support

2006-11-08 Thread Chris Burdess
gerous. > > What do others think? Implement the CSS spec, not Sun's implementation. -- Chris Burdess

[cp-patches] Small fix for an issue in transformer source resolution from a SAX source

2006-09-18 Thread Chris Burdess
stream during resolution. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin patch Description: Binary data PGP.sig Description: This is a digitally signed message part

[cp-patches] Implement SAXTransformerFactory

2006-09-17 Thread Chris Burdess
this tree as the basis of existing transformer operations, and will make such aforementioned code work on Classpath providing that they do not attempt transformer operations during the actual parsing. 2006-09-17 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 27610 27687.

[cp-patches] Fix for DOM node length

2006-09-16 Thread Chris Burdess
This patch (committed) fixes a bug which messed up NodeLists after a child node insertion. 2006-09-16 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 27293. * gnu/xml/dom/DomNode.java: Increment length of node during insert. -- 犬 Chris Burdess "They that

[cp-patches] Fix for bug in stream serialisation

2006-09-16 Thread Chris Burdess
This path (committed) fixes a bug whereby XML entities were being escaped while in text output mode. 2006-09-16 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 28572. * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities when in text output

[cp-patches] XPath fix

2006-09-09 Thread Chris Burdess
As there appears to be no opposition to this patch I have committed it. 2006-09-09 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns an instance of org.w3c.dom.NodeList. -- 犬 Chris Burdess "They that

[cp-patches] Re: XPath test still not commited?

2006-09-04 Thread Chris Burdess
On 25 Aug 2006, at 13:23, Mario Torre wrote: Il giorno ven, 25/08/2006 alle 13.01 +0100, Chris Burdess ha scritto: Mark Wielaard wrote: The XPath test i submitted on August 16 has still not been committed. As this was my first submission to this list, It's quite possible I did some

Re: [cp-patches] RFC: fix for PR27864

2006-06-07 Thread Chris Burdess
because then 'here' would be null too and this is handled in line 243. OK. I'm not actually all that familiar with DomIterator. If you're happy that your patch is generally applicable I have no problem with it. -- 犬 Chris Burdess "They that can give up essential l

[cp-patches] XML streams debugging and partial workaround for #27664

2006-06-07 Thread Chris Burdess
. 2006-06-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/classpath/debug/TeeInputStream.java, gnu/classpath/debug/TeeOutputStream.java, gnu/classpath/debug/TeeReader.java, gnu/classpath/debug/TeeWriter.java: New classes for debugging streams. * gnu/xml/stream/XMLParse

[cp-patches] More useful command-line options for XML parsers

2006-06-07 Thread Chris Burdess
transformer. 2006-06-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java, gnu/xml/stream/XMLParser.java: Add command line options for setting parsing parameters (for simpler debugging). * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O

[cp-patches] Follow-on from last patch

2006-06-06 Thread Chris Burdess
This patch follows on from the last to correct the same condition in different parts of the code. 2006-06-06 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/transform/TransformerImpl.java: Check type of created document (more cases). -- 犬 Chris Burdess "They that

[cp-patches] Fix for bug in XSL transformer

2006-06-06 Thread Chris Burdess
This patch fixes a bug in the XSL transformer when performing an identity transform to an existing DOMResult. 2006-06-06 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/transform/TransformerImpl.java: Check type of created document. -- 犬 Chris Burdess "They that

Re: [cp-patches] Initial implementation of java.net.URLConnection.guessContentTypeFromStream()

2006-05-17 Thread Chris Burdess
n "image/png"; + +if (c0 == 'P' && c1 == 'K' && c2 == 3 && c3 == 4) + return "application/zip"; + return "application/octet-stream"; } Not if is.isMarkSupported() returns false... -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Description: This is a digitally signed message part

[cp-patches] Fix for DomNode.cloneNode

2006-05-09 Thread Chris Burdess
I committed the following patch to work around a problem cloning DOM doctype nodes containing comments and/or PIs reported by Ian Rogers on IRC. 2006-05-09 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to be pre

Re: [cp-patches] Patch: RFC: argument parsing and 'jar' utility

2006-05-08 Thread Chris Burdess
fully documented. ... Please comment. I propose that we convert all the tools to use the new argument parser. +1 -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Descrip

Re: [cp-patches] TransformerFactoryImpl

2006-05-07 Thread Chris Burdess
ransformer implementation. Note that the specification of XSL transformations defines that they operate over a tree rather than an event stream, so this is a totally pointless API that makes many assumptions that are clearly false. But it should theoretically be possible to implement it. -- 犬 Chr

Re: [cp-patches] RFC: DatatypeFactory implementation resolution mechanism

2006-04-26 Thread Chris Burdess
) Chris> + .getResourceAsStream("/META-INF/services/" + Chris> + DATATYPEFACTORY_PROPERTY); We usually use gnu.classpath.ServiceFactory for this kind of thing. I incorporated this suggestion and committed. 2006-04-26 Chris Burdess <[E

[cp-patches] RFC: DatatypeFactory implementation resolution mechanism

2006-04-24 Thread Chris Burdess
Please review the following patch for conformance to the API specification of DatatypeFactory.newInstance 2006-04-24 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 27290 * javax/xml/datatype/DatatypeFactory.java: Use complete implementation resolution mechanism.

[cp-patches] Fix for getElementById

2006-04-24 Thread Chris Burdess
I committed the following patch to fix a bug in our DOM implementation: 2006-04-24 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 27262 * gnu/xml/dom/DomDocument.java: getElementById returns user- defined ID attributes when no doctype exists. -- 犬 Chris Burdess "Th

Re: [cp-patches] FYI: gnu.xml.dom.html2.* fixes and additions

2006-04-19 Thread Chris Burdess
ut, I have changed it back. FYI http://www.w3.org/TR/REC-xml-names/#ns-qualnames http://www.w3.org/TR/xml-names11/#ns-qualnames -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin

Re: [cp-patches] FYI: gnu.xml.dom.html2.* fixes and additions

2006-04-17 Thread Chris Burdess
x) +if (index == 0 || name.lastIndexOf(':') != index) { throw new DomDOMException(DOMException.NAMESPACE_ERR, name, null, 0); That's wrong. The colon is not permitted to appear as the last character in the string. You removed a

Re: [cp-patches] Patch: FYI: mime.types parsing

2006-04-05 Thread Chris Burdess
Tom Tromey wrote: This updates our internal mime type database in two ways. It might be worth considering merging or incorporating JAF to do this. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjami

[cp-patches] JAPI fixes

2006-03-30 Thread Chris Burdess
I committed the following path to fix a couple of API compatibility problems reported by JAPI. 2006-03-30 Chris Burdess <[EMAIL PROTECTED]> * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix method signature. * javax/xml/vali

Re: [cp-patches] Fix for classification of XML characters

2006-03-21 Thread Chris Burdess
Andrew Pinski wrote: Chris Burdess wrote: During development of the XML parser I prevented U+fffd from being classified as an XML Char. Since the introduction of the UnicodeReader class this hack is no longer required. I committed this patch to re-classify U+fffd as a Char and permit the

[cp-patches] Fix for classification of XML characters

2006-03-20 Thread Chris Burdess
character. 2006-03-20 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 11070 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - B

[cp-patches] Fix for false positive

2006-03-15 Thread Chris Burdess
I committed this patch to fix a false positive on my last commit. 2006-03-15 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 26700 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive. -- 犬 Chris Burdess "They that can give up essential liberty to obta

[cp-patches] XML parser fixlet

2006-03-12 Thread Chris Burdess
I committed the following patch 2006-03-12 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 26652 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and encoding are specified. -- 犬 Chris Burdess "They that can give up essential liberty to obta

[cp-patches] Micropatch for XSL transformer

2006-03-10 Thread Chris Burdess
I committed the following patch to resolve #26620: 2006-03-10 Chris Burdess <[EMAIL PROTECTED]> PR 26620: * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness checking while reindenting. -- 犬 Chris Burdess "They that can give up essential liberty

Re: [cp-patches] RFC/RFT: HTTP header handling rewrite.

2006-03-03 Thread Chris Burdess
ps on the keys (returning the header names in their original case in keySet() etc). -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Description: This is a digitally signed message part

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
wever, this will cause lots of working code to break. So we do what Sun does, warts and all. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Description: This is a digitally signed message part

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
ssloader issue which prevents the handler from getting loaded. I would expect to get a MalformedURLException but instead I silently get a bogus URL "http://widgets.com/foo://override.widgets.com/stuff";. At this point I start hunting down the Classpath contributors who made thi

Re: [cp-patches] RFC: URL fix.

2006-03-01 Thread Chris Burdess
case of url = new URL("http://www.foo.bar.com";); url = new URL(url, "http://www.foo.bar.com";); this should produce "http://www.foo.bar.com/http://www.foo.bar.com";. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety des

[cp-patches] More CRLF and line input stream fixes

2006-02-25 Thread Chris Burdess
problems). 2006-02-25 Chris Burdess <[EMAIL PROTECTED]> * gnu/java/net/CRLFInputStream.java, gnu/java/net/LineInputStream.java: Streams that use mark capabilities on the underlying stream do not expose mark functionality themselves. * gnu/xml/

[cp-patches] Fix for spurious extra newlines

2006-02-24 Thread Chris Burdess
I located a bug in the CRLFInputStream. It should be pretty self- explanatory. This should resolve problems in the XML parser and certain internet protocol handlers. 2006-02-24 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 26324 * gnu/java/net/CRLFInputStream.java: Fix incorre

Re: [cp-patches] VMMath Documentation Update

2006-02-24 Thread Chris Burdess
Andrew John Hughes wrote: A fix is on the way for the Darwin problem with the changes in fdlibm. Thanks for addressing this so quickly. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjami

[cp-patches] DocumentBuilderFactory get/setFeature

2006-02-23 Thread Chris Burdess
This adds a couple of methods that were introduced in 1.5. 2006-02-23 Chris Burdess <[EMAIL PROTECTED]> Fixes PR 26410 * gnu/xml/dom/DomDocumentBuilderFactory.java, gnu/xml/dom/JAXPFactory.java, gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactor

[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 exc

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

2006-02-17 Thread Chris Burdess
it is generally the right approach. Comments? All looks very good. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Description: This is a digitally signed message part

[cp-patches] More datatype library implementation

2006-02-15 Thread Chris Burdess
I committed some more of the missing parts of the datatype library implementation. 2006-02-15 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/validation/datatype/BooleanType.java, gnu/xml/validation/datatype/ByteType.java, gnu/xml/validation/datatype/DateTimeType.java,

Re: [cp-patches] Patch: GtkComponentPeer fix

2006-02-08 Thread Chris Burdess
x27;s width and height are both 0. Surely that should be "if either its height or its width are less than 1"? -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig D

Re: [cp-patches] RFC: Datatypes library

2006-02-03 Thread Chris Burdess
e added smaller subsets or extensions to other libraries; see e.g. http://www-128.ibm.com/ developerworks/java/library/x-custyp/ There are other implementations in C++ and .NET which may also be interfaceable to Java. -- 犬 Chris Burdess "They that can give up essential liberty to ob

Re: [cp-patches] RFC: Datatypes library

2006-02-02 Thread Chris Burdess
ense to be compatible for inclusion. And adding it to external is the right thing to do. The only other thing needed would be to update the top-level LICENSE file when we decide to include this. Sure -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety

[cp-patches] SAX resolveEntity and some other little fixes

2006-01-31 Thread Chris Burdess
SimpleFormatter match the behaviour of other VMs by showing the thrown exception's stacktrace 2006-01-31 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java, gnu/xml/stream/UnicodeReader.java, gnu/xml/stream/XIncludeFilter.java, gnu/xml/stream/XMLParse

Re: [cp-patches] ApplyTemplatesNode.clone() null check

2006-01-30 Thread Chris Burdess
eys is null. Since ApplyTemplatesNode has more places that check whether or not sortKeys is null and because StyleSheet actually creates a builtInNodeTemplate that has null sortKeys I think it is correct. Chris, what do you think? Looks good to me -- 犬 Chris Burdess "They that can give u

[cp-patches] Patch for text node children

2006-01-23 Thread Chris Burdess
As Pedro Izecksohn suggested (but never seemed to get around to committing?), I have committed this patch to fix #25906 and address a minor issue in the SAX parser. 2006-01-23 Chris Burdess <[EMAIL PROTECTED]> Fixes bug #25906 * gnu/xml/dom/DomCharacterData.java:

Re: [cp-patches] Patch to make Classpath HEAD build work again with Darwin

2006-01-23 Thread Chris Burdess
Roman Kennke wrote: Am Freitag, den 20.01.2006, 21:32 + schrieb Chris Burdess: The attached patch allows the build to complete on Darwin. I'd very much appreciate any comments as I'm really not an expert on the new target-native stuff. This patch looks very good. Please c

[cp-patches] DocumentBuilder.parse

2006-01-22 Thread Chris Burdess
* gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL representing current directory as base for relative URLs. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin p

[cp-patches] Patch to make Classpath HEAD build work again with Darwin

2006-01-20 Thread Chris Burdess
The attached patch allows the build to complete on Darwin. I'd very much appreciate any comments as I'm really not an expert on the new target-native stuff. This fixes bug #25872 among other things. -- 犬 Chris Burdess "They that can give up essential liberty to obtain

[cp-patches] Fix for HTTP stream handler

2006-01-20 Thread Chris Burdess
I fixed the following bug located by tromey on IRC. 2006-01-20 Chris Burdess <[EMAIL PROTECTED]> * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow redirects on 304. -- 犬 Chris Burdess "They that can give up essential liberty to obtain

Re: [cp-patches] FYI: New Posix Layer

2006-01-16 Thread Chris Burdess
: internal link edit command failed -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin PGP.sig Description: This is a digitally signed me

[cp-patches] XML patch

2006-01-16 Thread Chris Burdess
This patch introduces checking of the arguments to the various XMLStreamWriter methods and fixes some XSLT conformance failures. 2006-01-16 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/XMLParser.java, gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly

[cp-patches] SAX micropatch

2006-01-14 Thread Chris Burdess
The ChangeLog entry says it all: 2006-01-14 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java: Ensure that parser is reset correctly when I/O and runtime exceptions occur during parsing. -- 犬 Chris Burdess "They that can give up essential

[cp-patches] Patchlet

2006-01-13 Thread Chris Burdess
This removes some debugging output I forgot to remove before. Sorry about that. 2006-01-13 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/xpath/NameTest.java: Removed debugging output. -- 犬 Chris Burdess "They that can give up essential liberty to obtain a little safet

[cp-patches] More XSLT/XPath fixes

2006-01-12 Thread Chris Burdess
This patch corrects a number of smaller XSLT and XPath bugs. 2006-01-12 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/dom/DomDocument.java, gnu/xml/dom/DomElement.java, gnu/xml/dom/DomNode.java, gnu/xml/stream/XMLParser.java, gnu/xml/transform/Binding

[cp-patches] Regression fix for XSLT

2006-01-12 Thread Chris Burdess
g output I left in accidentally in the last patch. 2006-01-12 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/dom/DomNode.java, gnu/xml/transform/ElementAvailableFunction.java: Removed debugging output. * gnu/xml/xpath/NameTest.java,

[cp-patches] Patch for handling XML 1.1 characters

2006-01-12 Thread Chris Burdess
Arnaud Vandyck wrote: > With the new xml patches, what is the score of the xml tests? With this patch, the current conformance is 98.15%. This corrects when to test for the Char and when to test for the RestrictedChar production in XML 1.1 entities. 2006-01-12 Chris Burdess <[EMAIL PRO

Re: [cp-patches] FYI: First class for javax.management.

2006-01-10 Thread Chris Burdess
r indeed underscores at all) anywhere else in Classpath. -- Chris Burdess ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches

[cp-patches] More XML parser work

2006-01-08 Thread Chris Burdess
This patch resolves a number of XML conformance unit test failures. These are highly esoteric cases which virtually never occur in real life. 2006-01-08 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java: Check standalone status for mixed content model

Re: [cp-patches] RFC: patch for Unicode scalar value to UTF-16conversion

2006-01-08 Thread Chris Burdess
ntry. Thanks for the explanations. 2006-01-08 Chris Burdess <[EMAIL PROTECTED]> * java/lang/Character.java (toChars,toCodePoint): Correct these methods to use algorithms from Unicode specification. -- Chris Burdess "They that can give up essential liberty to obtain a

Re: [cp-patches] RFC: patch for Unicode scalar value to UTF-16conversion

2006-01-08 Thread Chris Burdess
is an updated patch that includes the corresponding conversion back to a Unicode scalar (the original code also forgot to add 0x10000). Should I commit this? Or should it be bitshifting and bitmasking? -- Chris Burdess "They that can give up essential liberty to obtain a little safe

Re: [cp-patches] RFC: patch for Unicode scalar value to UTF-16 conversion

2006-01-08 Thread Chris Burdess
shifting method produces the wrong result. What about the version attached here, is that better? -- Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin Index: java/lang/Character.java ===

[cp-patches] RFC: patch for Unicode scalar value to UTF-16 conversion

2006-01-07 Thread Chris Burdess
therefore not be optimally efficient. I haven't committed this, I'd just like to solicit some feedback about it. Please comment. -- Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin Index: java

[cp-patches] Small XML patch

2006-01-07 Thread Chris Burdess
This patch tidies up a few issues in the XML parser. 2006-01-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/BufferedReader.java: Removed commented out code. * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour. * gnu/xml/stream/XMLParser.java

[cp-patches] Another XML Base-related SAX tweak

2006-01-07 Thread Chris Burdess
Following discussion on the xml-dev mailing list, this patch includes a new property which permits retrieval of the base URI of an event while processing. 2006-01-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java, gnu/xml/stream/XMLParser.java: A

[cp-patches] Add SAX feature to control XML Base processing

2006-01-07 Thread Chris Burdess
This small patch adds a means to control whether to use XML Base aware processing or not. 2006-01-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base aware processing. -- Chris Burdess "They that can give u

[cp-patches] Updated documentation for XML parser classes

2006-01-07 Thread Chris Burdess
I committed the following patch which provides much more detailed code comments and @see links for the XML parser classes. 2006-01-07 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/stream/SAXParser.java, gnu/xml/stream/XIncludeFilter.java, gnu/xml/stream/XMLParse

[cp-patches] Add self to AUTHORS

2006-01-07 Thread Chris Burdess
Inspired by Casey, I thought it might be time to add myself to AUTHORS. I've now authored over 10% of the Java files in Classpath, hurray. Hope everyone is OK with this. 2006-01-07 Chris Burdess <[EMAIL PROTECTED]> * AUTHORS: add self. -- Chris Burdess "They

[cp-patches] DOM conformance fixes

2005-12-31 Thread Chris Burdess
This patch fixes some DOM conformance failures. 2005-12-31 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/dom/DomNamedNodeMap.java, gnu/xml/dom/DomNode.java, gnu/xml/dom/ls/SAXEventSink.java, gnu/xml/stream/SAXParser.java, gnu/xml/

  1   2   >