Sun Mar 13 19:32:03 CET 2005 Daniel Veillard * NEWS configure.in testapi.c doc/*: preparing release of 2.6.18 updated docs and rebuilt * libxml.spec.in: reactivated gcc profiling for gcc >= 4.0.0 Sat Mar 12 19:50:22 CET 2005 Daniel Veillard * encoding.c: removed a static buffer in xmlByteConsumed(), as pointed by Ben Maurer, fixes #170086 * xmlschemas.c: remove a potentially uninitialized pointer warning Fri Mar 11 23:53:13 HKT 2005 William Brack * xmlschemastypes.c: enhanced the parsing of XML_SCHEMAS_DECIMAL and much of the routine xmlSchemaCompareDecimals. The changes were necessary to fix a problem reported on the mailing list by John Hockaday. Fri Mar 11 13:22:52 CET 2005 Kasimier Buchcik * xmlschemas.c: The schema parser will stop if components could not be resolved. This is not conforming to the spec but for now will avoid internal errors during type fixup and content model creation. Restructured inclusion/import of schemata: this avoids duplicate, self and circular inclusion. Chameleon includes are still workarounded. Added restriction to disallow references to non-imported namespaces. Corrected parsing of . * result/schemas/bug167754_0_0*: Added a missing test result. Thu Mar 10 16:02:17 CET 2005 Daniel Veillard * doc/xml.html doc/encoding.html: Enriched encoding.html with more link and foreword warning to avoid problem with ignorant programmers, c.f #169721 Thu Mar 10 15:01:34 CET 2005 Daniel Veillard * python/tests/Makefile.am python/tests/readernext.py: added a regression test from Rob Richards for the previous bug Thu Mar 10 13:22:36 CET 2005 Daniel Veillard * xmlreader.c: applied fix for xmlTextReaderNext() bug from Rob Richards Thu Mar 10 11:35:57 CET 2005 Daniel Veillard * xmlmodule.c: second patch from Rick Jones, portability fix for HP-UX * doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones to avoid warnings. Thu Mar 10 10:20:23 CET 2005 Daniel Veillard * include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability patches, including a serious aliasing bug exposed in s390 when trying to convert data pointer to code pointer. Mon Mar 7 18:34:00 CET 2005 Kasimier Buchcik * xmlschemas.c: Tiny restructuring of the validation start-up functions. Added cleanup of the validation context at the end of validation. This takes care of the validation context being reused. Mon Mar 7 12:12:01 CET 2005 Kasimier Buchcik * xmlschemastypes.c: Tiny changes in the comparison functions I forgot to commit last time. Fri Mar 4 22:51:42 CET 2005 Kasimier Buchcik * xmlschemas.c: Added IDC validation of anySimpleType attribute values; anyway the IDC key comparison is restricted to anySimpleType <--> string based types. For other types we would possibly need the canonical lexical representation of them; this sounds not performant, since we would need to build such a representation each time we want to compare against anySimpleType. TODO: think about buffering the canonical values somewhere. Fixed error reports for default attributes to work without a node being specified. This all and the enabling of IDC validation fixes bug #165346 (reported by Benoit Gr?goire - could not read his last name correctly from bugzilla). Fri Mar 4 18:57:44 CET 2005 Kasimier Buchcik * xmlschemas.c: Enabled IDC parsing and validation. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaCopyValue to the API; this was done due to validation of default attributes against IDCs: since IDC keys consume the precomputed value, one needs a copy. * pattern.c: Enabled IDC support; this is currently done via calling xmlPatterncompile with a flag arg of 1. Wed Mar 2 11:45:18 CET 2005 Daniel Veillard * Makefile.am doc/examples/Makefile.am python/tests/Makefile.am xstc/Makefile.am: try to fix a problem with valgrind. * python/generator.py python/libxml.c python/tests/Makefile.am python/tests/tstmem.py: applied memory leak fix from Brent Hendricks c.f. bug #165349 Mon Feb 28 11:18:24 CET 2005 Kasimier Buchcik * tree.c: Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead of the namespace name. * test/schemas/annot-err_0.xsd test/schemas/element-err_0.xsd: Adapted invalid values of the "id" attribute, since they are validated now. Fri Feb 25 08:31:16 CET 2005 Daniel Veillard * threads.c: new version with fixes from Rob Richards Thu Feb 24 16:37:51 CET 2005 Daniel Veillard * threads.c: applied patch from Rich Salz for multithreading on Windows. Wed Feb 23 15:04:46 CET 2005 Daniel Veillard * xmlwriter.c: applied a patch from Rob Richards fixing a couple of bugs in the writer Mon Feb 21 21:51:03 HKT 2005 William Brack * xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033). * xpath.c: fixed compilation warning, no change to logic. * xmlschemastypes.c: fixed compilation warning, no change to logic. Mon Feb 21 14:48:27 CET 2005 Daniel Veillard * xmlwriter.c: applied patch from Rob Richards to fix a problem with xmlTextWriterStartAttributeNS Mon Feb 21 11:41:41 CET 2005 Daniel Veillard * pattern.c xpath.c: fixed remaining known bugs in the XPath streaming, and switched XPath to use it by default when possible Sat Feb 19 19:25:14 CET 2005 Daniel Veillard * xmlschemastypes.c: a bit of cleanup * elfgcchack.h testapi.c doc/*: rebuilt the API the tests and the documentation as a result. Fri Feb 18 20:34:03 CET 2005 Daniel Veillard * xmlreader.c include/libxml/xmlreader.h: applied patch from Aron Stansvik to add xmlTextReaderByteConsumed() * testReader.c: added a test option * xmlschemastypes.c: fix a lack of pointer checking in APIs Fri Feb 18 12:41:10 CET 2005 Kasimier Buchcik * test/schemas/bug167754_0*: Added the regression test of Frans Englich for bug #167754. Fri Feb 18 12:31:49 CET 2005 Kasimier Buchcik * xmlschemas.c: Started support for IDC resolution to default attributes. If building the content model for : ensured to put element declarations and not the particles into the content model automaton (this was bug #167754, reported by Frans Englich). Thu Feb 17 22:31:58 CET 2005 Kasimier Buchcik * pattern.c pattern.h: Some experimental addition for parsing of expressions and streamable validation. Added xmlStreamPushAttr to the API. Thu Feb 17 19:57:35 CET 2005 Kasimier Buchcik * xmlschemas.c: Added validation for the attribute "id" in the schemata; doing this needed error report fixes for notations, facets and group. Changed NOTATION validation to work with the declared NOTATIONs in the schema; this does have no impact on the validation via the relaxng module. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaNewNOTATIONValue to the API to be able to do the NOTATION validation described above. * test/schemas/element-err_0.xsd test/schemas/annot-err_0.xsd: Fixed the values of the "id" attributes, which were not validated previously. Thu Feb 17 12:03:46 CET 2005 Kasimier Buchcik * xmlschemas.c: Fixed comparison for default/fixed attribute values, if the type was 'xsd:string'. Changed the comparison for IDCs to use the whitespace aware comparison function. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaGetCanonValue, xmlSchemaNewStringValue and xmlSchemaCompareValuesWhtsp to the API. Added functions to compare strings with whitespace combinations of "preserve", "replace" and "collapse". Wed Feb 16 13:24:35 CET 2005 Kasimier Buchcik * xmlschemas.c: Further work on IDCs, especially evaluation for attribute nodes. Wed Feb 16 01:19:27 CET 2005 Daniel Veillard * encoding.c: fix the comment to describe the real return values * pattern.c xpath.c include/libxml/pattern.h: lot of work on the patterns, pluggin in the XPath default evaluation, but disabled right now because it's not yet good enough for XSLT. pattern.h streaming API are likely to be changed to handle relative and absolute paths in the same expression. Tue Feb 15 15:33:32 CET 2005 Kasimier Buchcik * xmlschemas.c: Added IDC evaluation for attribute nodes. Made 'nil'ed elements work. Added a specific error message for 'strict' attribute wildcards. * include/libxml/xmlerror.h: Added an error code for wildcards. * result/schemas/anyAttr-processContents-err1_0_0.err: Adapted. Sun Feb 13 16:15:03 HKT 2005 William Brack This change started out as a simple desire to speed up the execution time of testapi.c, which was being delayed by nameserver requests for non-existent URL's. From there it just sort of grew, and grew.... * nanohttp.c, nanoftp.c: changed the processing of URL's to use the uri.c routines instead of custom code. * include/libxml/xmlerror.h: added code XML_FTP_URL_SYNTAX * uri.c: added accepting ipV6 addresses, in accordance with RFC's 2732 and 2373 (TODO: allow ipV4 within ipV6) * gentest.py, testapi.c: fixed a few problems with the testing of the nanoftp and nanohttp routines. * include/libxml/xmlversion.h: minor change to fix a warning on the docs generation * regenerated the docs Sat Feb 12 09:07:11 HKT 2005 William Brack * xinclude.c: fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset (bug 166199) * Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever PYTHONPATH is set, to assure new libxml2 routines are used. Fri Feb 11 22:20:41 HKT 2005 William Brack * parser.c: fixed problem when no initial "chunk" was given to xmlCreatePushParser (bug 162613) Fri Feb 11 18:37:22 HKT 2005 William Brack * dict.c: fixed compilation warning * parser.c: changed xmlWarningMsg so ctxt->errNo is not set * xmllint.c: changed to return non-zero status if error on xinclude processing * xmlsave.c: minor deletion of a redundant condition statement Wed Feb 9 17:47:40 CET 2005 Daniel Veillard * tree.c: applied patch to xmlSetNsProp from Mike Hommey Sun Feb 6 00:17:57 CET 2005 Daniel Veillard * pattern.c xmllint.c: fixed implementation for | * test/pattern/conj.* result/pattern/conj: added a specific regression test Sat Feb 5 18:36:56 CET 2005 Daniel Veillard * pattern.c: first implementation for | support Sat Feb 5 14:58:46 CET 2005 Daniel Veillard * pattern.c: fixed the namespaces support * tree.c: fixed xmlGetNodePath when namespaces are used * result/pattern/multiple result/pattern/namespaces test/pattern/multiple.* test/pattern/namespaces.*: added more regression tests Fri Feb 4 18:26:43 CET 2005 Daniel Veillard * xmlschemas.c: fixed one internal function * doc/Makefile.am doc/wiki.xsl: applied patch from Joel Reed * testapi.c doc/libxml2-api.xml doc/libxml2-refs.xml: regenerated Fri Feb 4 00:25:43 CET 2005 Daniel Veillard * Makefile.am: use the walker to test the patterns instead of the normal reader * pattern.c xmllint.c: bug fixes in the train including fixing the stupid build break. Tue Feb 1 18:15:52 CET 2005 Daniel Veillard * pattern.c: more bug fixes for the XPath streaming code. Mon Jan 31 17:59:24 CET 2005 Kasimier Buchcik * xmlschemas.c: Integrated the streaming pattern from the pattern module. Fixed some IDC code bugs. Changed fallback for attribute declaration addition to work like for element declarations. Mon Jan 31 01:27:22 CET 2005 Daniel Veillard * pattern.c xmllint.c: bugfixes around the streaming patterns Sun Jan 30 23:35:19 CET 2005 Daniel Veillard * Makefile.am configure.in result/pattern/simple test/pattern/simple.*: added first test for the patterns * pattern.c xmllint.c: a few fixes Sun Jan 30 19:27:23 CET 2005 Daniel Veillard * pattern.c include/libxml/pattern.h xmllint.c: added a streaming pattern detector for a subset of XPath, should help Kasimier for identity constraints * python/generator.py: applied Stephane Bidoul patch to find paths without breaking. Fri Jan 28 18:53:40 CET 2005 Daniel Veillard * xmlschemas.c: fixed an untested pointer dereference and a & vs && Fri Jan 28 18:37:18 CET 2005 Daniel Veillard * xmlreader.c: implementation of xmlTextReaderReadString by Bjorn Reese Fri Jan 28 16:51:47 CET 2005 Kasimier Buchcik * xmlschemas.c: Corrected an ambigious symbol-space for local attribute declarations. IFDEFed more IDC code to surpress compiler warnings. Fri Jan 28 00:57:04 CET 2005 Daniel Veillard * bakefile/Readme.txt bakefile/Bakefiles.bkgen bakefile/libxml2.bkl: files for the Bakefile generator for Makefiles from Francesco Montorsi * win32/configure.js: fixes for Windows compilation with non-default flags by Joel Reed Thu Jan 27 18:23:50 CET 2005 Daniel Veillard * tree.c: fixed xmlCopyDoc to also copy the doc->URL as pointed by Martijn Faassen Thu Jan 27 13:39:04 CET 2005 Kasimier Buchcik * xmlschemas.c include/libxml/schemasInternals.h: Added an initial skeleton for indentity-constraints. This is all defined out, since not complete, plus it needs support from other modules. Added machanism to store element information for the ancestor-or-self axis; this is needed for identity-constraints and should be helpfull for a future streamable validation. * include/libxml/xmlerror.h: Added an error code for identity-constraints. Wed Jan 26 01:03:37 CET 2005 Daniel Veillard * gentest.py testapi.c: had to fix generation and rebuild. * valid.c: the testapi found a bug in the last code of course ! Wed Jan 26 00:43:05 CET 2005 Daniel Veillard * Makefile.am testapi.c doc/Makefile.am: fixing the way testapi.c is generated, fixes bug #161386 * dict.c: fix a comment typo * elfgcchack.h doc/*: regenerated Tue Jan 25 22:39:33 CET 2005 Daniel Veillard * parser.c: found and fixed 2 problems in the internal subset scanning code affecting the push parser (and the reader), fixes #165126 * test/intsubset2.xml result//intsubset2.xml*: added the test case to the regression tests. Tue Jan 25 01:20:11 CET 2005 Daniel Veillard * testdso.c xmlregexp.c: warning patches from Peter Breitenlohner * include/libxml/valid.h valid.c parser.c: serious DTD parsing speedups, start to deprecate 3 ElementDef related entry point and replace them with better ones. Mon Jan 24 00:47:41 CET 2005 Daniel Veillard * xmlschemas.c: more hash dictionary interning changes Sun Jan 23 23:54:39 CET 2005 Daniel Veillard * hash.c include/libxml/hash.h: added xmlHashCreateDict where the hash reuses the dictionnary for internal strings * entities.c valid.c parser.c: reuse that new API, leads to a decent speedup when parsing for example DocBook documents. Sun Jan 23 21:14:20 CET 2005 Daniel Veillard * parser.c: small speedup in skipping blanks characters * entities.c: interning the entities strings Sun Jan 23 18:35:00 CET 2005 Daniel Veillard * parser.c: boosting common commnent parsing code, it was really slow. * test/comment[3-5].xml result//comment[3-5].xml*: added sprecific regression tests Sun Jan 23 01:00:09 CET 2005 Daniel Veillard * parser.c: small optimization back. Sat Jan 22 00:40:31 CET 2005 Daniel Veillard * dict.c parser.c include/libxml/dict.h: a single lock version mostly avoid the cost penalty of the lock in case of low parallelism, so applying that version instead. Fri Jan 21 17:54:06 CET 2005 Daniel Veillard * dict.c: patch from Gary Coady to fix a race in dict reference counting in multithreaded apps. Fri Jan 21 16:08:21 CET 2005 Daniel Veillard * parser.c: fixed bug #164556 where non-fatal errors stopped push parsing and xmlreader. * Makefile.am: fixup * test/errors/webdav.xml result/errors/webdav*: adding regression test for this problem. Wed Jan 19 17:24:34 CET 2005 Kasimier Buchcik * xmlschemas.c: Corrected targetNamespace in xmlSchemaElementDump. Cosmetic changes to the dump output.