Fri Oct 20 14:55:47 CEST 2006 Daniel Veillard * tree.c: fix comment for xmlDocSetRootElement c.f. #351981 * xmllint.c: order XPath elements when using --shell Tue Oct 17 23:23:26 CEST 2006 Daniel Veillard * xmlregexp.c: applied fix from Christopher Boumenot for bug #362714 on regexps missing ']' Tue Oct 17 22:32:42 CEST 2006 Daniel Veillard * parserInternals.c: applied patch from Marius Konitzer to avoid leaking in xmlNewInputFromFile() in case of HTTP redirection Tue Oct 17 22:19:02 CEST 2006 Daniel Veillard * HTMLparser.c: fix one problem found in htmlCtxtUseOptions() and pointed in #340591 Tue Oct 17 22:04:31 CEST 2006 Daniel Veillard * HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and htmlReadIO() this should fix #340322 Tue Oct 17 21:39:23 CEST 2006 Daniel Veillard * xpath.c: applied patch from Olaf Walkowiak which should fix #334104 Tue Oct 17 18:12:34 CEST 2006 Daniel Veillard * HTMLparser.c: fixing HTML minimized attribute values to be generated internally if not present, fixes bug #332124 * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax result/HTML/wired.html.sax: this affects the SAX event strem for a few test cases Tue Oct 17 17:56:31 CEST 2006 Daniel Veillard * HTMLparser.c: fixing HTML entities in attributes parsing bug #362552 * result/HTML/entities2.html* test/HTML/entities2.html: added to the regression suite Tue Oct 17 01:21:37 CEST 2006 Daniel Veillard * xmllint.c: started to switch xmllint to use xmlSaveDoc to test #342556 * xmlsave.c: fixed #342556 easy and a whole set of problems with encodings, BOM and xmlSaveDoc() Mon Oct 16 15:14:53 CEST 2006 Daniel Veillard * HTMLparser.c: fix #348252 if the document clains to be in a different encoding in the meta tag and it's obviously wrong, don't screw up the end of the content. Mon Oct 16 11:32:09 CEST 2006 Daniel Veillard * HTMLparser.c: fix a chunking and script bug #347708 Mon Oct 16 09:51:05 CEST 2006 Daniel Veillard * HTMLparser.c: remove a warning * encoding.c: check with uppercase for AIX iconv() should fix #352644 * doc/examples/Makefile.am: partially handle one bug report Sun Oct 15 22:31:42 CEST 2006 Daniel Veillard * parser.c: fix the patch for unreproductable #343000 but also fix a line/column keeping error * result/errors/attr1.xml.err result/errors/attr2.xml.err result/errors/name.xml.err result/errors/name2.xml.err result/schemas/anyAttr-processContents-err1_0_0.err result/schemas/bug312957_1_0.err: affected lines in error output of the regression tests Sat Oct 14 10:46:46 CEST 2006 Daniel Veillard * tree.c: fixing bug #344390 with xmlReconciliateNs Sat Oct 14 00:31:49 CEST 2006 Daniel Veillard * xmllint.c: added --html --memory to test htmlReadMemory to test #321632 * HTMLparser.c: added various initialization calls which may help #321632 but not conclusive * testapi.c tree.c include/libxml/tree.h: fixed compilation with --with-minimum --with-sax1 and --with-minimum --with-schemas fixing #326442 Fri Oct 13 18:30:55 CEST 2006 Daniel Veillard * relaxng.c: fix a Relax-NG bug related to element content processing, fixes bug #302836 * test/relaxng/302836.rng test/relaxng/302836_0.xml result/relaxng/302836*: added to regression tests Fri Oct 13 14:42:44 CEST 2006 Daniel Veillard * parser.c: fix a problem in xmlSplitQName resulting in bug #334669 Fri Oct 13 12:27:22 CEST 2006 Daniel Veillard * parser.c: fixed xmlIOParseDTD handling of @input in error case, Should fix #335085 * testapi.c: reset the http_proxy env variable to not waste time on regression tests Thu Oct 12 23:07:43 CEST 2006 Rob Richards * xmlIO.c: fix Windows compile - missing xmlWrapOpen. Thu Oct 12 18:21:18 CEST 2006 Daniel Veillard * parser.c: fixed the heuristic used when trying to detect mixed-content elememts if the parser wants to treat ignorable whitespaces in a non-standard way, should fix bug #300263 Thu Oct 12 14:52:38 CEST 2006 Daniel Veillard * parser.c: fix a first arg error in SAX callback pointed out by Mike Hommey, and another one still hanging around. Should fix #342737 Wed Oct 11 23:11:58 CEST 2006 Daniel Veillard * include/libxml/xmlversion.h.in: fix comment on versions * xmlmemory.c: do not spend too much time digging in dumped memory Wed Oct 11 18:40:00 CEST 2006 Daniel Veillard * valid.c: fixed a weird error where validity context whould not show up if warnings were disabled pointed out by Bob Stayton * xmlIO.c doc/generator.py: cleanup and fix to regenerate the docs * doc//* testapi.c: rebuilt the docs Wed Oct 11 14:32:00 CEST 2006 Daniel Veillard * libxml-2.0.pc.in: applied patch from Mikhail Zabaluev to separate library flags for shared and static builds, fixes #344594. If this bites you, use xml2-config. Wed Oct 11 11:27:37 CEST 2006 Daniel Veillard * python/Makefile.am: remove the build path recorded in the python shared module as Peter Breitenlohner pointed out, should fix #346022 Wed Oct 11 11:14:51 CEST 2006 Daniel Veillard * xmlIO.c: applied patch from Mikhail Zabaluev fixing the conditions of unescaping from URL to filepath, should fix #344588. Wed Oct 11 10:24:58 CEST 2006 Daniel Veillard * configure.in xstc/Makefile.am: applied patch from Peter Breitenlohner for wget detection and fix of a Python path problem, should fix #340993 Tue Oct 10 22:02:29 CEST 2006 Daniel Veillard * include/libxml/entities.h entities.c SAX2.c parser.c: trying to fix entities behaviour when using SAX, had to extend entities content and hack on the entities processing code, but that should fix the long standing bug #159219 Tue Oct 10 14:36:18 CEST 2006 Daniel Veillard * uri.c include/libxml/uri.h: add a new function xmlPathToUri() to provide a clean conversion when setting up a base * SAX2.c tree.c: use said function when setting up doc->URL or using the xmlSetBase function. Should fix #346261 Tue Oct 10 11:05:59 CEST 2006 Daniel Veillard * xmlIO.c: applied a portability patch from Emelyanov Alexey Tue Oct 10 10:52:01 CEST 2006 Daniel Veillard * parser.c: applied and slightly modified a patch from Michael Day to keep _private in the parser context when parsing external entities Tue Oct 10 10:33:43 CEST 2006 Daniel Veillard * python/libxml.py python/types.c: applied patch from Ross Reedstrom, Brian West and Stefan Anca to add XPointer suport to the Python bindings Fri Sep 29 11:13:59 CEST 2006 Daniel Veillard * xmlsave.c: fixed a comment * xinclude.c include/libxml/xinclude.h: applied a patch from Michael Day to add a new function providing the _private field for the generated parser contexts xmlXIncludeProcessFlagsData() Thu Sep 21 10:36:11 CEST 2006 Daniel Veillard * xmlIO.c: applied patch from Michael Day doing some refactoring for the catalog entity loaders. Thu Sep 21 08:53:06 CEST 2006 Daniel Veillard * HTMLparser.c include/libxml/HTMLparser.h: exports htmlNewParserCtxt() as Michael Day pointed out this is needed to use htmlCtxtRead*() Tue Sep 19 14:42:59 CEST 2006 Daniel Veillard * parser.c: applied patch from Ben Darnell on #321545, I could not reproduce the problem but 1/ this is safe 2/ it's better to be safe. Sat Sep 16 16:02:23 CEST 2006 Rob Richards * tree.c: xmlTextConcat works with comments and PI nodes (bug #355962). * parser.c: fix resulting tree corruption when using XML namespace with existing doc in xmlParseBalancedChunkMemoryRecover. Fri Sep 1 11:52:55 CEST 2006 Daniel Veillard * xmlIO.c: another patch from Emelyanov Alexey to clean up a few things in the previous patch. Wed Aug 30 15:10:09 CEST 2006 Daniel Veillard * xmlIO.c: applied patch from Roland Schwingel to fix the problem with file names in UTF-8 on Windows, and compat on older win9x versions. Tue Aug 22 16:51:22 CEST 2006 Daniel Veillard * valid.c: fixed a bug #203125 in Red hat bugzilla, crashing PHP4 on validation errors, the heuristic to guess is a vctxt user pointer is the parsing context was insufficient. Mon Aug 21 10:40:10 CEST 2006 Daniel Veillard * doc/xmlcatalog.1 doc/xmlcatalog_man.xml doc/xmllint.1 doc/xmllint.xml: applied patch to man pages from Daniel Leidert and regenerated Thu Aug 17 00:48:31 CEST 2006 Rob Richards * xmlwriter.c: Add a document to the xmlwriter structure and pass document when writing attribute content for encoding support. Wed Aug 16 01:15:12 CEST 2006 Rob Richards * HTMLtree.c xmlsave.c: Add linefeeds to error messages allowing for consistant handling. Tue Aug 15 15:02:18 CEST 2006 Kasimier Buchcik * xpath.c: Applied the proposed fix for the documentation of xmlXPathCastToString(); see bug #346202. Tue Aug 15 14:49:18 CEST 2006 Kasimier Buchcik * xmlschemas.c: While investigating bug #350247, I noticed that xmlSchemaIDCMatcher structs are massively recreated although only a maximum of 3 structs is used at the same time; added a cache for those structures to the validation context. Sat Aug 12 16:12:53 CEST 2006 Daniel Veillard * xmlschemas.c: applied patch from Marton Illes to fix an allocation bug in xmlSchemaXPathEvaluate should close #351032 Mon Aug 7 13:08:46 CEST 2006 Daniel Veillard * xmlschemas.c: applied patch from Bertrand Fritsch to fix a bug in xmlSchemaClearValidCtxt Fri Aug 4 14:50:41 CEST 2006 Daniel Veillard * python/generator.py: fixed the conversion of long parameters Thu Jul 13 15:03:11 CEST 2006 Kasimier Buchcik * xmlsave.c: Removed the automatic generation of CDATA sections for the content of the "script" and "style" elements when serializing XHTML. The issue was reported by Vincent Lefevre, bug #345147. * result/xhtml1 result/noent/xhtml1: Adjusted regression test results due to the serialization change described above. Thu Jul 13 08:32:21 CEST 2006 Daniel Veillard * configure.in parser.c xmllint.c include/libxml/parser.h include/libxml/xmlversion.h.in: applied patch from Andrew W. Nosenko to expose if zlib support was compiled in, in the header, in the feature API and in the xmllint --version output. Thu Jul 13 08:24:14 CEST 2006 Daniel Veillard * SAX2.c: refactor to use normal warnings for entities problem and not straight SAX callbacks. Wed Jul 12 17:13:03 CEST 2006 Kasimier Buchcik * xmlschemas.c: Fixed bug #347316, reported by David Belius: The simple type, which was the content type definition of a complex type, which in turn was the base type of a extending complex type, was missed to be set on this extending complex type in the derivation machinery. Mon Jul 3 13:36:43 CEST 2006 Kasimier Buchcik * xpath.c: Changed xmlXPathCollectAndTest() to use xmlXPathNodeSetAddNs() when adding a ns-node in case of NODE_TEST_TYPE (the ns-node was previously added plainly to the list). Since for NODE_TEST_ALL and NODE_TEST_NAME this specialized ns-addition function was already used, I assume it was missed to be used with NODE_TEST_TYPE. Mon Jul 3 10:57:33 CEST 2006 Daniel Veillard * HTMLparser.c: applied const'ification of strings patch from Matthias Clasen Thu Jun 29 13:51:12 CEST 2006 Daniel Veillard * threads.c: patch from Andrew W. Nosenko, xmlFreeRMutex forgot to destroy the condition associated to the mutex. Thu Jun 29 12:48:00 CEST 2006 Kasimier Buchcik * xpath.c: Fixed a double-free in xmlXPathCompOpEvalToBoolean(), revealed by a Libxslt regression test. Thu Jun 29 12:28:07 CEST 2006 Kasimier Buchcik * xpath.c: Enhanced xmlXPathCompOpEvalToBoolean() to be also usable outside predicate evaluation; the intention is to use it via xmlXPathCompiledEvalToBoolean() for XSLT tests, like in . Wed Jun 28 19:11:16 CEST 2006 Kasimier Buchcik * xpath.c: Fix a memory leak which occurred when using xmlXPathCompiledEvalToBoolean(). Mon Jun 26 17:24:28 UTC 2006 William Brack * python/libxml.c, python/libxml.py, python/tests/compareNodes.py, python/tests/Makefile.am: Added code submitted by Andreas Pakulat to provide node equality, inequality and hash functions, plus a single test program to check the functions (bugs 345779 + 345961). Mon Jun 26 18:38:51 CEST 2006 Kasimier Buchcik * xpath.c: Added xmlXPathCompiledEvalToBoolean() to the API and adjusted/added xmlXPathRunEval(), xmlXPathRunStreamEval(), xmlXPathCompOpEvalToBoolean(), xmlXPathNodeCollectAndTest() to be aware of a boolean result request. The new function is now used to evaluate predicates. Mon Jun 26 16:22:50 CEST 2006 Kasimier Buchcik * xpath.c: Fixed an bug in xmlXPathCompExprAdd(): the newly introduced field @rewriteType on xmlXPathStepOp was not initialized to zero here; this could lead to the activation of the axis rewrite code in xmlXPathNodeCollectAndTest() when @rewriteType is randomly set to the value 1. A test (hardcoding the intial value to 1) revealed that the resulting incorrect behaviour is similar to the behaviour as described by Arnold Hendriks on the mailing list; so I hope that will fix the issue. Fri Jun 23 18:26:08 CEST 2006 Kasimier Buchcik * xpath.c: Fixed an error in xmlXPathEvalExpr(), which was introduced with the addition of the d-o-s rewrite and made xpath.c unable to compile if XPATH_STREAMING was not defined (reported by Kupriyanov Anatolij - #345752). Fixed the check for d-o-s rewrite to work on the correct XPath string, which is ctxt->base and not comp->expr in this case. Mon Jun 19 12:23:41 CEST 2006 Kasimier Buchcik * xpath.c: Added optimization for positional predicates (only short-hand form "[n]"), which have a preceding predicate: "/foo[descendant::bar][3]". Sun Jun 18 20:59:02 EDT 2006 Daniel Veillard * parser.c: try to fix the crash raised by the parser in recover mode as pointed by Ryan Phillips Sun Jun 18 18:44:56 EDT 2006 Daniel Veillard * python/types.c: patch from Nic Ferrier to provide a better type mapping from XPath to python Sun Jun 18 18:35:50 EDT 2006 Daniel Veillard * runtest.c: applied patch from Boz for VMS and reporting Schemas errors. Sun Jun 18 18:22:25 EDT 2006 Daniel Veillard * testapi.c: applied patch from Felipe Contreras when compiling with --with-minimum Fri Jun 16 21:37:44 CEST 2006 Kasimier Buchcik * tree.c include/libxml/tree.h: Fixed a bug in xmlDOMWrapAdoptNode(); the tree traversal stopped if the very first given node had an attribute node :-( This was due to a missed check in the traversal mechanism. Expanded the xmlDOMWrapCtxt: it now holds the namespace map used in xmlDOMWrapAdoptNode() and xmlDOMWrapCloneNode() for reusal; so the map-items don't need to be created for every cloning/adoption. Added a callback function to it for retrieval of xmlNsPtr to be set on node->ns; this is needed for my custom handling of ns-references in my DOM wrapper. Substituted code which created the XML namespace decl on the doc for a call to xmlTreeEnsureXMLDecl(). Removed those nastly "warnigns" from the docs of the clone/adopt functions; they work fine on my side. Mon Jun 12 13:23:11 CEST 2006 Kasimier Buchcik * result/pattern/namespaces: Adjusted the result of a regression test, since the fix of xmlGetNodePath() revealed a bug in this test result. Mon Jun 12 13:06:03 CEST 2006 Kasimier Buchcik * tree.c: Got rid of a compiler warning in xmlGetNodePath(). Mon Jun 12 12:54:25 CEST 2006 Kasimier Buchcik * tree.c: Fixed xmlGetNodePath() to generate the node test "*" for elements in the default namespace, rather than generating an unprefixed named node test and loosing the namespace information. Fri Jun 9 21:45:02 CEST 2006 Kasimier Buchcik * include/libxml/parser.h: Clarified in the docs that the tree must not be tried to be modified if using the parser flag XML_PARSE_COMPACT as suggested by Stefan Behnel (#344390).