Tue Nov 4 11:24:04 CET 2003 Daniel Veillard <daniel@veillard.com> * configure.in NEWS doc/*: preparing release 2.6.2, updated and rebuilt the docs Tue Nov 4 09:38:46 CET 2003 Daniel Veillard <daniel@veillard.com> * xmllint.c: change --html to make sure we use the HTML serialization rule by default when HTML parser is used, add --xmlout to allow to force the XML serializer on HTML. * HTMLtree.c: ugly tweak to fix the output on <p> element and solve #125093 * result/HTML/*: this changes the output of some tests Mon Nov 3 17:51:28 CET 2003 Daniel Veillard <daniel@veillard.com> * xinclude.c: fixed bug #125812, about XPointer in XInclude failing but not returning an error. Mon Nov 3 17:18:22 CET 2003 Daniel Veillard <daniel@veillard.com> * valid.c: fixed bug #125811 related to DTD post validation where the DTD doesn't pertain to a document. Mon Nov 3 15:25:58 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c xmlIO.c include/libxml/parserInternals.h: implemented the XML_PARSE_NONET parser option. * xmllint.c: converted xmllint.c to use the option instead of relying on the global resolver variable. Mon Nov 3 13:26:32 CET 2003 Daniel Veillard <daniel@veillard.com> * xinclude.c xmlreader.c include/libxml/xinclude.h: adding XInclude support to the reader interface. Lot of testing of the walker, various bug fixes. * xmllint.c: added --walker and made sure --xinclude --stream --debug works as expected * Makefile.am result/dtd11.rdr result/ent6.rdr test/dtd11 test/ent6 result/XInclude/*.rdr: added regression tests for the walker and XInclude xmlReader support, had to slightly change a couple of tests because the walker can't distinguish <foo/> from <foo></foo> Sat Nov 1 17:42:27 CET 2003 Daniel Veillard <daniel@veillard.com> * tree.c nanohttp.c threads.c: second BeOS patch from Marcin 'Shard' Konicki Fri Oct 31 15:35:20 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c: always generate line numbers Fri Oct 31 11:53:46 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c: fixed another regression introduced in fixing #125823 Fri Oct 31 11:33:18 CET 2003 Daniel Veillard <daniel@veillard.com> * python/libxml.c: previous fix for #124044 was broken, correct fix provided. * HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser() and the error handlers to address #125877 Thu Oct 30 23:10:46 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c: side effect of #123105 patch, namespace resolution would fail when defined in internal entities, fixes #125823 Thu Oct 30 14:10:42 CET 2003 Daniel Veillard <daniel@veillard.com> * python/libxml.c: be more defensive in the xmlReader python bindings fixing bug #124044 Thu Oct 30 11:14:31 CET 2003 Daniel Veillard <daniel@veillard.com> * valid.c: the a-posteriori DTD validation code was not validating the namespace declarations, this fixes #124110 Wed Oct 29 14:13:03 PDT 2003 William Brack <wbrack@mmm.com.hk> * xmlIO.c: enhanced to bypass compression detection code when input file is stdin (bug 125801) Wed Oct 29 18:21:00 CET 2003 Daniel Veillard <daniel@veillard.com> * xmlIO.c: fix needed when HTTP is not compiled in by Mark Vakoc Wed Oct 29 18:05:53 CET 2003 Daniel Veillard <daniel@veillard.com> * xpath.c: more fixes about unregistering objects * include/libxml/relaxng.h: applied patch from Mark Vakoc missing _cplusplus processing clause Wed Oct 29 07:49:52 2003 Aleksey Sanin <aleksey@aleksey.com> * include/libxml/parser.h parser.c: added xmlStrVPrintf function Wed Oct 29 14:37:40 CET 2003 Daniel Veillard <daniel@veillard.com> * nanoftp.c nanohttp.c testThreads.c threads.c: applied patch from Marcin 'Shard' Konicki to provide BeOS thread support. Wed Oct 29 14:20:14 CET 2003 Daniel Veillard <daniel@veillard.com> * xmlschemas.c include/libxml/xmlschemas.h: applied patch from Steve Ball to make a schema parser from a preparsed document. Wed Oct 29 13:52:25 CET 2003 Daniel Veillard <daniel@veillard.com> * tree.c: applied a couple of patches from Mark Lilback about text nodes coalescing Wed Oct 29 12:16:52 CET 2003 Daniel Veillard <daniel@veillard.com> * xpath.c: change suggested by Anthony Carrico when unregistering a namespace prefix to a context * hash.c: be more careful about calling callbacks with NULL payloads. Wed Oct 29 00:04:26 CET 2003 Daniel Veillard <daniel@veillard.com> * configure.in NEWS doc/*: preparing release 2.6.1, updated and regenerated docs and APIs * parser.c: cleanup and last change to fix #123105 Tue Oct 28 23:02:29 CET 2003 Daniel Veillard <daniel@veillard.com> * HTMLparser.c: Fix #124907 by simply backporting the same fix as for the XML parser * result/HTML/doc3.htm.err: change to ID detecting modified one test result. Tue Oct 28 22:28:50 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c include/libxml/parser.h: included a new function to reuse a Push parser context, based on Graham Bennett original code * valid.c: in HTML, a name in an input is not an ID * TODO: bug list update Tue Oct 28 19:54:37 CET 2003 Daniel Veillard <daniel@veillard.com> * xpath.c: applied patch from nico@xtradyne.com for #125030 Tue Oct 28 16:42:16 CET 2003 Daniel Veillard <daniel@veillard.com> * Makefile.am: cleanup * error.c valid.c include/libxml/xmlerror.h: fixing bug #125653 sometimes the error handlers can get a parser context on DTD errors, and sometime they don't. So be very careful when trying to grab those informations. Tue Oct 28 15:26:18 CET 2003 Daniel Veillard <daniel@veillard.com> * tree.c: applied patch from Kasimier Buchcik which fixes a problem in xmlSearchNs introduced in 2.6.0 Tue Oct 28 14:57:03 CET 2003 Daniel Veillard <daniel@veillard.com> * parser.c: fixed #123263, the encoding is mandatory in a textdecl. Tue Oct 28 13:48:52 CET 2003 Daniel Veillard <daniel@veillard.com> * tree.c: fix bug #125047 about serializing when finding a document fragment node. Mon Oct 27 11:11:29 EST 2003 Daniel Veillard <daniel@veillard.com> * testSAX.c: fix bug #125592 need a NULL check * include/libxml/chvalid.h: rename a parameter Mon Oct 27 09:43:48 EST 2003 Daniel Veillard <daniel@veillard.com> * parser.c: applied patch from #123105 about defaulted attributes from element coming from an entity Mon Oct 27 21:12:27 HKT 2003 William Brack <wbrack@mmm.com.hk> * xmllint.c: fixed warning message from IRIX (bug 125182) * python/libxml.py: removed tabs, replaced with spaces (bug 125572) Mon Oct 27 06:17:30 EST 2003 Daniel Veillard <daniel@veillard.com> * libxml.h parserInternals.c xmlIO.c: make sure we report errors if xmlNewInputFromFile() fails. * xmlreader.c: avoid using _private for the node or document elements. Sat Oct 25 17:33:59 CEST 2003 Igor Zlatkovic <igor@zlatkovic.com> * win32/configure.js: added declaration for verMicroSuffix Fri Oct 24 23:08:17 CEST 2003 Daniel Veillard <daniel@veillard.com> * libxml.m4: applied patch from Patrick Welche provided in bug #125432 , future proofing the .m4 file. * parser.c: resetting the context should also reset the error * TODO: problem of conformance w.r.t. E20 was raised in the XML Core telconf and libxml2 isn't conformant there. Wed Oct 22 14:33:05 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlwriter.c: applied patch from Alfred Mickautsch fixing #125180 Wed Oct 22 10:50:31 CEST 2003 Daniel Veillard <daniel@veillard.com> * chvalid.c genChRanges.py: Stephane Bidoul pointed out another small glitch missing a const Wed Oct 22 10:43:21 CEST 2003 Daniel Veillard <daniel@veillard.com> * chvalid.c genChRanges.py: Stephane Bidoul pointed out that it doesn't define IN_LIBXML Tue Oct 21 21:14:55 CEST 2003 Daniel Veillard <daniel@veillard.com> * win32/Makefile.mingw: typo pointed out by Stephane Bidoul Tue Oct 21 11:26:36 CEST 2003 Daniel Veillard <daniel@veillard.com> * win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc win32/configure.js: set of Win32 patches for 2.6.0 by Joachim Bauch Tue Oct 21 02:07:22 CEST 2003 Daniel Veillard <daniel@veillard.com> * tree.c: last minute patch from Eric Zurcher making it into 2.6.0 Tue Oct 21 02:03:03 CEST 2003 Daniel Veillard <daniel@veillard.com> * configure.in NEWS doc/libxml2.xsa: preparing libxml2-2.6.0 * doc/*: updated and regenerated the docs and API Tue Oct 21 01:01:55 CEST 2003 Daniel Veillard <daniel@veillard.com> * SAX2.c error.c tree.c: moved the line number to their proper field in elements now. Tue Oct 21 00:28:20 CEST 2003 Daniel Veillard <daniel@veillard.com> * configure.in xmlwriter.c Makefile.am include/libxml/xmlwriter.h include/libxml/Makefile.am include/libxml/xmlversion.h.in: added the xmlWriter module contributed by Alfred Mickautsch * include/libxml/tree.h: added room for line and extra information * xmlreader.c python/tests/reader6.py: bugfixing some problem some of them introduced in September * win32/libxml2.def.src doc/libxml2-api.xml: regenerated the API Mon Oct 20 19:02:53 CEST 2003 Daniel Veillard <daniel@veillard.com> * Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. Sun Oct 20 22:37:03 HKT 2003 William Brack <wbrack@mmm.com.hk> * entities.c, valid.c: fixed problem reported on the mailing list by Melvyn Sopacua - wrong argument order on functions called through xmlHashScan. Sun Oct 19 23:57:45 CEST 2003 Daniel Veillard <daniel@veillard.com> * valid.c xmlIO.c: fixes for compiling using --with-minimum Sun Oct 19 23:46:04 CEST 2003 Daniel Veillard <daniel@veillard.com> * tree.c: cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(), tested it through the xslt regression suite. Sun Oct 19 22:42:16 CEST 2003 Daniel Veillard <daniel@veillard.com> * tree.c include/libxml/tree.h: adding xmlNodeBufGetContent() allowing to grab the content without forcing allocations. * python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * xpath.c xmldwalk.c: removed a couple of comment errors. Sun Oct 19 16:39:36 CEST 2003 Daniel Veillard <daniel@veillard.com> * parser.c: applied patch from Chris Anderson to change back memcmp with CMPx() Sun Oct 19 16:24:19 CEST 2003 Daniel Veillard <daniel@veillard.com> * HTMLparser.c: fixed to not send NULL to %s printing * python/tests/error.py result/HTML/doc3.htm.err result/HTML/test3.html.err result/HTML/wired.html.err result/valid/t8.xml.err result/valid/t8a.xml.err: cleaning up some of the regression tests error Sun Oct 19 15:31:43 CEST 2003 Daniel Veillard <daniel@veillard.com> * include/libxml/nanohttp.h include/libxml/parserInternals.h include/libxml/xmlIO.h nanohttp.c parserInternals.c xmlIO.c: Fixed the HTTP<->parser interraction, which should fix 2 long standing bugs #104790 and #124054 , this also fix the fact that HTTP error code (> 400) should not generate data, we usually don't want to parse the HTML error information instead of the resource looked at. Sun Oct 19 19:20:48 HKT 2003 William Brack <wbrack@mmm.com.hk> * doc/Makefile.am: enhanced the installation of tutorial files to avoid installing CVS subdirectories (bug 122943) Sun Oct 19 17:33:27 HKT 2003 William Brack <wbrack@mmm.com.hk> * xmlIO.c: fixed segfault when input file not present * tree.c: changed output formatting of XML_CDATA_SECTION (bug 120917) Sun Oct 19 00:15:38 HKT 2003 William Brack <wbrack@mmm.com.hk> * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling. Sat Oct 18 20:34:18 HKT 2003 William Brack <wbrack@mmm.com.hk> * genChRanges.py, chvalid.c, include/libxml/chvalid.h, doc/apibuild.py: enhanced to include enough comments to make the api doc generation happy. Sat Oct 18 07:28:25 EDT 2003 Daniel Veillard <daniel@veillard.com> * nanohttp.c xmlIO.c include/libxml/nanohttp.h: starting work to fix the HTTP/XML parser integration. Sat Oct 18 11:04:32 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlreader.c include/libxml/xmlreader.h: added new APIs for creating reader from sources or reusing a reader with a new source, like the xmlReadxx and xmlCtxtReadxxx * win32/libxml2.def.src doc/libxml2-api.xml doc/apibuild.py doc/Makefile.am: regenerated the APIs * doc/xml.html: applied a patch from Stefan Kost for namesapce docs Sat Oct 18 12:46:02 HKT 2003 William Brack <wbrack@mmm.com.hk> * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing Fri Oct 17 14:38:54 CEST 2003 Daniel Veillard <daniel@veillard.com> * legacy.c: remove the warning for startDocument(), as it is used by glade (or glade-python) * parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of invalid accesses found by running some Python based regression tests under valgrind. There is still a few leaks reported by the relaxng regressions which need some attention. * doc/Makefile.am: fixed a make install problem c.f. #124539 * include/libxml/parserInternals.h: addition of xmlParserMaxDepth patch from crutcher Wed Oct 15 12:47:33 CEST 2003 Daniel Veillard <daniel@veillard.com> * parser.c: Marc Liyanage pointed out that xmlCleanupParser() was missing xmlCleanupInputCallbacks and xmlCleanupOutputCallbacks calls. Wed Oct 15 10:16:47 CEST 2003 Daniel Veillard <daniel@veillard.com> * vms/build_libxml.com trionan.c: VMS patch from Craig A. Berry Mon Oct 13 21:46:25 CEST 2003 Daniel Veillard <daniel@veillard.com> * Makefile.am: small fix from Bjorn Reese Mon Oct 13 15:59:25 CEST 2003 Daniel Veillard <daniel@veillard.com> * valid.c: fix a call missing arguments Sun Oct 12 18:42:18 HKT 2003 William Brack <wbrack@mmm.com.hk> * genChRanges.py, chvalid.c, include/libxml/chvalid.h: fixed a bug in the range search; enhanced range generation (inline code if a small number of intervals); enhanced the readability of the output files. Sun Oct 12 00:52:14 CEST 2003 Daniel Veillard <daniel@veillard.com> * chvalid.def chvalid.c include/libxml/chvalid.h: rebuilt chvalid.def from scratch based on XML 2nd edition REC and regenerated the code. Sat Oct 11 22:54:13 CEST 2003 Daniel Veillard <daniel@veillard.com> * check-xml-test-suite.py: removed some annoying warnings * chvalid.def chvalid.c include/libxml/chvalid.h: fixed a bug in the PubidChars definition, regenerated, there is still a bug left somewhere * genChRanges.py: save the header directly in include/libxml/ * configure.in: I generated a 2.6.0beta6 earlier today Sat Oct 11 23:32:47 HKT 2003 William Brack <wbrack@mmm.com.hk> * fixed small error on previous commit (chvalid.h in base dir instead of include directory) Sat Oct 11 23:11:22 HKT 2003 William Brack <wbrack@mmm.com.hk> * genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h: new files for a different method for doing range validation of character data. * Makefile.am, parserInternals.c, include/libxml/Makefile.am, include/libxml/parserInternals.h: modified for new range method. * catalog.c: small enhance for warning message (using one of the new range routines) Sat Oct 11 13:24:57 CEST 2003 Daniel Veillard <daniel@veillard.com> * valid.c include/libxml/valid.h: adding an serror field to the validation context breaks the ABI for the xmlParserCtxt structure since it's embedded by content and not by reference Sat Oct 11 12:46:49 CEST 2003 Daniel Veillard <daniel@veillard.com> * configure.in: patch from Mike Hommey * threads.c: applied Windows patch from Jesse Pelton and Stephane Bidoul * parser.c: fix the potentially nasty access to ctxt->serror without checking first that the SAX block is version 2 Fri Oct 10 21:34:01 CEST 2003 Daniel Veillard <daniel@veillard.com> * SAX2.c: fixed a nasty bug with interning some text strings * configure.in: prepare for beta5 of 2.6.0 * libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h: better error handling for I/O and converted FTP and HTTP * parser.c: fixed another bug Fri Oct 10 16:45:20 CEST 2003 Daniel Veillard <daniel@veillard.com> * SAX2.c: fixed uninitialized new field. * result/VC/OneID2 result/relaxng/*.err: fixed a typo updating all messages Fri Oct 10 16:19:17 CEST 2003 Daniel Veillard <daniel@veillard.com> * include/libxml/tree.h: make room in Doc, Element, Attributes for PSVI type informations. Fri Oct 10 16:08:02 CEST 2003 Daniel Veillard <daniel@veillard.com> * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Fri Oct 10 14:29:42 CEST 2003 Daniel Veillard <daniel@veillard.com> * c14n.c include/libxml/xmlerror.h: converted the C14N module too Fri Oct 10 13:40:51 CEST 2003 Daniel Veillard <daniel@veillard.com> * xpath.c: cleanup * xpointer.c include/libxml/xmlerror.h: migrated XPointer module to the new error mechanism Fri Oct 10 12:49:53 CEST 2003 Daniel Veillard <daniel@veillard.com> * error.c xmlschemas.c: a bit of cleanup * result/schemas/*.err: updated with the new result strings Fri Oct 10 03:58:39 PDT 2003 William Brack <wbrack@mmm.com.hk> * xpath.c: fixed bug 124061 Fri Oct 10 02:47:22 CEST 2003 Daniel Veillard <daniel@veillard.com> * Makefile.am: cleanup * encoding.c: fix a funny typo * error.c xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h: converted the Schemas code to the new error handling. PITA, still need to check output from regression tests. Thu Oct 9 15:13:53 CEST 2003 Daniel Veillard <daniel@veillard.com> * HTMLtree.c include/libxml/xmlerror.h: converted too * tree.c: small cleanup Thu Oct 9 13:44:57 CEST 2003 Daniel Veillard <daniel@veillard.com> * xinclude.c: comment fix * catalog.c include/libxml/xmlerror.h: migrating the catalog code to the new infrastructure Thu Oct 9 00:36:03 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlIO.c: final error handling cleanup * xinclude.c error.c: converted XInclude to the new error handling * include/libxml/xmlerror.h: added XInclude errors Wed Oct 8 23:31:23 CEST 2003 Daniel Veillard <daniel@veillard.com> * parser.c: bug in compression saving was crashing galeon reported by teuf Wed Oct 8 21:18:12 CEST 2003 Daniel Veillard <daniel@veillard.com> * error.c tree.c xmlIO.c xmllint.c: more cleanup through the I/O error path Wed Oct 8 20:57:27 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlIO.c: better handling of error cases Wed Oct 8 13:51:14 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlIO.c xmllint.c include/libxml/xmlerror.h: first pass at cleaning up error handling in the I/O module. Wed Oct 8 10:52:05 CEST 2003 Daniel Veillard <daniel@veillard.com> * xmlregexp.c include/libxml/xmlerror.h: error handling cleanup of the Regexp module. Wed Oct 8 01:09:05 CEST 2003 Daniel Veillard <daniel@veillard.com> * tree.c: converting the tree module too * error.c include/libxml/xmlerror.h: created a simpler internal error reporting function. Tue Oct 7 23:19:39 CEST 2003 Daniel Veillard <daniel@veillard.com> * error.c include/libxml/xmlerror.h include/libxml/xpath.h include/libxml/xpathInternals.h xpath.c: cleaning up XPath error reporting that time. * threads.c: applied the two patches for TLS threads on Windows from Jesse Pelton * parser.c: tiny safety patch for xmlStrPrintf() make sure the return is always zero terminated. Should also help detecting passing wrong buffer size easilly. * result/VC/* result/valid/rss.xml.err result/valid/xlink.xml.err: updated the results to follow the errors string generated by last commit. Tue Oct 7 14:16:45 CEST 2003 Daniel Veillard <daniel@veillard.com> * relaxng.c include/libxml/xmlerror.h: last cleanup of error handling in the Relax-NG module. Tue Oct 7 13:30:39 CEST 2003 Daniel Veillard <daniel@veillard.com> * error.c relaxng.c include/libxml/xmlerror.h: switched Relax-NG module to teh new error reporting. Better default report, adds the element associated if found, context and node are included in the xmlError * python/tests/reader2.py: the error messages changed. * result/relaxng/*: error message changed too. Mon Oct 6 10:46:35 CEST 2003 Daniel Veillard <daniel@veillard.com> * win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc win32/configure.js: applied patch from St