xmlreader.c


Log

Author Commit Date CI Message
Daniel Veillard 7e65fad1 2008-09-25T14:55:21 patch from Riccardo Scussat fixing custom error handlers problems. daniel * xmlreader.c: patch from Riccardo Scussat fixing custom error handlers problems. daniel svn path=/trunk/; revision=3795
Daniel Veillard bfa5cf1c 2008-08-27T15:33:28 add an --with-coverage configure option and a 'make cov' target based on * configure.in Makefile.am: add an --with-coverage configure option and a 'make cov' target based on gcc profiling and the lcov tool. Currently at 68.9% coverage out of 'make check' and runsuite executions. * xmlreader.c: remove warnings due to C++ comments Daniel svn path=/trunk/; revision=3780
Daniel Veillard aa6de47e 2008-08-25T14:53:31 applied patch from Aswin to fix tree skipping fixed a comment and added a * xmlreader.c: applied patch from Aswin to fix tree skipping * include/libxml/entities.h entities.c: fixed a comment and added a new xmlNewEntity() entry point * runtest.c: be less verbose * tree.c: space and tabs cleanups daniel svn path=/trunk/; revision=3774
Daniel Veillard 354cf5c7 2008-04-07T12:46:48 fix a link to XmlNodeType doc reported by Martijn Arts rebuilt Daniel * xmlreader.c: fix a link to XmlNodeType doc reported by Martijn Arts * docs/*: rebuilt Daniel svn path=/trunk/; revision=3732
Daniel Veillard 14dad705 2008-03-14T14:29:40 patch from Ashwin removing duplicate tests Daniel * xmlreader.c: patch from Ashwin removing duplicate tests Daniel svn path=/trunk/; revision=3708
William M. Brack 0c1e3011 2007-03-14T12:40:21 corrected small error in last commit corrected small typo in last commit * configure.in: corrected small error in last commit * xmlreader.c: corrected small typo in last commit svn path=/trunk/; revision=3591
Daniel Veillard a9c5677c 2007-03-09T16:59:05 applied patch from Julien Reichel cleaning up mode and state internal * xmlreader.c: applied patch from Julien Reichel cleaning up mode and state internal flags mixups Daniel svn path=/trunk/; revision=3588
William M. Brack bf9a73d2 2007-02-09T00:07:07 fixed mistake in previous commit (ChangeLog is correct) svn path=/trunk/; revision=3581
William M. Brack d46c1ca3 2007-02-08T23:34:34 added a GROW when parsing complex comments (bug #405666) added a hack to * parser.c: added a GROW when parsing complex comments (bug #405666) * gentest.py, testapi.c: added a hack to prevent destruction of any param with 'destroy' in it's description (i.e. param destroyed by the routine under test, so shouldn't be destroyed by testapi) * xmlreader.c: added freeing of 'input' param even on error svn path=/trunk/; revision=3579
Daniel Veillard e96b47fd 2007-01-04T17:28:35 fix xmlTextReaderSetup() description tests which were apparently never * xmlreader.c: fix xmlTextReaderSetup() description * test/relaxng/empty1.rng test/relaxng/comps_0.xml test/relaxng/empty1_0.xml test/relaxng/comps.rng test/relaxng/empty0.rng test/relaxng/empty0_0.xml test/relaxng/empty1_1.xml: tests which were apparently never commited to CVS Daniel svn path=/trunk/; revision=3572
Aleksey Sanin d8377640 2007-01-03T23:13:12 expose xmlTextReaderSetup function svn path=/trunk/; revision=3571
Daniel Veillard 11ce4004 2006-03-10T00:36:23 end of first pass on coverity reports. Daniel * runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first pass on coverity reports. Daniel
Daniel Veillard d0271473 2006-01-02T10:22:02 compilation and doc build fixes from Michael Day Daniel * xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation and doc build fixes from Michael Day Daniel
Daniel Veillard bc4cc9da 2005-12-12T13:26:56 Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied * xmlreader.c: Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied patch fixing #323864 Daniel
Kasimier T. Buchcik bdadaedd 2005-12-07T14:02:42 Added xmlTextReaderSchemaValidateCtxt() to the API. * xmlreader.c include/libxml/xmlreader.h: Added xmlTextReaderSchemaValidateCtxt() to the API.
Daniel Veillard 42ca6734 2005-12-06T22:21:46 small doc patch from Aron Stansvik another doc patch for a deprecated API * xmlreader.c: small doc patch from Aron Stansvik * legacy.c: another doc patch for a deprecated API Daniel
Daniel Veillard 47fffb40 2005-09-22T11:14:43 fixing leak in xmlTextReaderReadString() #316924 daniel * xmlreader.c: fixing leak in xmlTextReaderReadString() #316924 daniel
Daniel Veillard 8874b94c 2005-08-25T13:19:21 added a parser XML_PARSE_COMPACT option to allocate small text nodes (less * HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h: added a parser XML_PARSE_COMPACT option to allocate small text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits) directly within the node, various changes to cope with this. * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this slightly change the output Daniel
Daniel Veillard 45b97e72 2005-08-20T21:14:28 applied another patch from Rob Richards to fix xmlTextReaderGetAttributeNs * xmlreader.c: applied another patch from Rob Richards to fix xmlTextReaderGetAttributeNs and xmlTextReaderMoveToAttributeNs Daniel
Daniel Veillard 3c40e61b 2005-08-17T07:07:44 applied patch from Rob Richards to fix xmlTextReaderGetAttribute behaviour * xmlreader.c: applied patch from Rob Richards to fix xmlTextReaderGetAttribute behaviour with namespace declarations Daniel
Daniel Veillard c4ff8327 2005-08-08T07:45:23 applied patch from Rob Richards fixing xmlTextReaderGetAttribute Daniel * xmlreader.c: applied patch from Rob Richards fixing xmlTextReaderGetAttribute Daniel
Daniel Veillard 75e389d4 2005-07-29T22:02:24 more cleanups based on sparse reports, added "make sparse" Daniel * Makefile.am globals.c parserInternals.c xmlreader.c xmlunicode.c xmlwriter.c: more cleanups based on sparse reports, added "make sparse" Daniel
Daniel Veillard ffa3c749 2005-07-21T13:24:09 applied a patch from Marcus Boerger to fix problems with calling * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Daniel
Daniel Veillard da0aa4cf 2005-07-13T23:07:49 applied patch from Marcus Boerger to route relaxng and schemas error * error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h include/libxml/xmlschemas.h: applied patch from Marcus Boerger to route relaxng and schemas error messages when using the reader through the structured interface if activated. * elfgcchack.h doc/* testapi.c: rebuilt since this add new APIs to test. Daniel
Daniel Veillard f10ae12c 2005-07-10T19:03:16 fixed a typo pointed by Jeroen Ruigrok increased the APIs for xmlReader * doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo pointed by Jeroen Ruigrok * include/libxml/xmlreader.h include/libxml/xmlschemas.h: increased the APIs for xmlReader schemas validation support * xmllint.c xmlreader.c xmlschemas.c: xmlReader schemas validation implementation and testing as xmllint --stream --schema ... Daniel
Daniel Veillard da6f4af3 2005-06-20T17:17:54 applied patch from Rob Richards for removal of ID (and xml:id) applied * tree.c valid.c: applied patch from Rob Richards for removal of ID (and xml:id) * xmlreader.c: applied patch from James Wert implementing xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml Daniel
Daniel Veillard 5d4644ef 2005-04-01T13:11:58 revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
Daniel Veillard 5963aa79 2005-03-10T12:23:24 applied fix for xmlTextReaderNext() bug from Rob Richards Daniel * xmlreader.c: applied fix for xmlTextReaderNext() bug from Rob Richards Daniel
Daniel Veillard 5e094143 2005-02-18T19:36:12 applied patch from Aron Stansvik to add xmlTextReaderByteConsumed() added * 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 Daniel
Daniel Veillard e125b316 2005-01-28T17:39:49 implementation of xmlTextReaderReadString by Bjorn Reese Daniel * xmlreader.c: implementation of xmlTextReaderReadString by Bjorn Reese Daniel
Daniel Veillard f6b71bd1 2005-01-04T17:50:14 making DSO support an option code and documentation cleanups regenerated * configure.in: making DSO support an option * xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code and documentation cleanups * elfgcchack.h testapi.c doc/*: regenerated the docs and checks for new module * test/valid/REC-xml-19980210.xml: fix a small change introduced previously Daniel
Aleksey Sanin d671e286 2005-01-03T21:58:59 GetLineNumber and GetColumnNumber functions for xmlReader
Daniel Veillard 6bb3e86d 2004-11-24T12:39:00 added xmlDictExists() to the dictionnary interface. applying * dict.c include/libxml/dict.h: added xmlDictExists() to the dictionnary interface. * xmlreader.c: applying xmlTextReaderHasAttributes fix for namespaces from Rob Richards Daniel
Daniel Veillard d5cc0f7f 2004-11-06T19:24:28 augmented types supported a number of new bug fixes and documentation * gentest.py testapi.c: augmented types supported * HTMLtree.c tree.c xmlreader.c xmlwriter.c: a number of new bug fixes and documentation updates. Daniel
Daniel Veillard ce682bc2 2004-11-05T17:22:25 autogenerate a minimal NULL value sequence for unknown pointer types This * gentest.py testapi.c: autogenerate a minimal NULL value sequence for unknown pointer types * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c xpointer.c: This uncovered an impressive amount of entry points not checking for NULL pointers when they ought to, closing all the open gaps. Daniel
Daniel Veillard dd6d3008 2004-11-03T14:20:29 more fixes and extending the tests coverage adding a type init interface * gentest.py testapi.c: more fixes and extending the tests coverage * relaxng.c include/libxml/relaxng.h: adding a type init interface * include/libxml/xmlerror.h parser.c xmlreader.c xmlwriter.c: more cleanups and bug fixes raised by the regression tests Daniel
Daniel Veillard e2811270 2004-10-19T09:04:23 applied patch from Graham Bennett adding 4 convenience functions to the * include/libxml/xmlreader.h xmlreader.c: applied patch from Graham Bennett adding 4 convenience functions to the reader API. Daniel
Daniel Veillard c14c3892 2004-08-16T12:34:50 added help for new set shell command added parser option to not generate * debugXML.c: added help for new set shell command * xinclude.c xmllint.c xmlreader.c include/libxml/parser.h: added parser option to not generate XInclude start/end nodes, added a specific option to xmllint to test it fixes #130769 * Makefile.am: regression test the new feature * doc/xmllint.1 doc/xmllint.xml: updated man page to document option. Daniel
William M. Brack a3215c7a 2004-07-31T16:24:01 many further little changes for OOM problems. Now seems to be getting * SAX2.c, encoding.c, error.c, parser.c, tree.c, uri.c, xmlIO.c, xmlreader.c, include/libxml/tree.h: many further little changes for OOM problems. Now seems to be getting closer to "ok". * testOOM.c: added code to intercept more errors, found more problems with library. Changed method of flagging / counting errors intercepted.
William M. Brack 42331a90 2004-07-29T07:07:16 further fixes for out of memory condition, mostly from Olivier Andrieu. * SAX2.c, tree.c, uri.c, xmlIO.c, xmlreader.c: further fixes for out of memory condition, mostly from Olivier Andrieu. * testOOM.c: some further improvement by Olivier, with a further small enhancement for easier debugging.
William M. Brack 9f797abd 2004-07-28T07:40:12 implemented patches supplied by Olivier Andrieu (bug 148588), plus made * SAX2.c, error.c, parser.c, tree.c, xmlreader.c: implemented patches supplied by Olivier Andrieu (bug 148588), plus made some further enhancements, to correct some problems with out of memory conditions. * testOOM.c: improved with patches from Olivier Andrieu
William M. Brack 1af55583 2004-07-22T17:18:00 fixed problem with reader state after processing attributes (bug 147993) * xmlreader.c: fixed problem with reader state after processing attributes (bug 147993)
Daniel Veillard 8165a6b1 2004-07-01T11:20:33 seems the reader buffer could be used while not allocated, fixes bug * xmlreader.c: seems the reader buffer could be used while not allocated, fixes bug #145218 Daniel
Daniel Veillard 4a14fb8f 2004-06-14T19:58:20 fix from Steve Ball and update of the comment. William pointed out that * xmlreader.c: fix from Steve Ball and update of the comment. * Makefile.am result/errors/*.str: William pointed out that the streaming error checking part wasn't streaming, fixing Daniel
Daniel Veillard 0df3bc3f 2004-06-08T12:03:41 fixed a serious problem when substituing entities using the Reader, the * parser.c xmlreader.c include/libxml/parser.h: fixed a serious problem when substituing entities using the Reader, the entities content might be freed and if rereferenced would crash * Makefile.am test/* result/*: added a new test case and a new test operation for the reader with substitution of entities. Daniel
Daniel Veillard a2d51fc3 2004-04-30T22:25:59 fixing bug #141384 where the reader didn't call the deregistering * xmllint.c xmlreader.c: fixing bug #141384 where the reader didn't call the deregistering functions. Also added the check to xmllint --stream --chkregister . Daniel
Daniel Veillard 6f379a7b 2004-04-29T18:45:42 never commit without running make tests first ! Daniel * xmlreader.c: never commit without running make tests first ! Daniel
Daniel Veillard e2161a69 2004-04-29T17:14:25 fix a nasty problem with reading over the end fix a reported memory leak * xmlreader.c: fix a nasty problem with reading over the end * xmlsave.c: fix a reported memory leak apparently Daniel
Daniel Veillard da0ff5da 2004-04-20T09:45:26 Johnson Cameron pointed out that initGenericErrorDefaultFunc() was really * error.c: Johnson Cameron pointed out that initGenericErrorDefaultFunc() was really wrong. * xmlreader.c include/libxml/xmlreader.h: xmlTextReaderMode enum must be made public, added some missing comments on the XMLReader header. * c14n.c: Alexsey fixed C14N bug with processing namespaces from attributes Daniel
Daniel Veillard ee1d6926 2004-04-18T14:58:57 keep the ChangeLog compressed fix a segfault when using Close() test for * libxml.spec.in: keep the ChangeLog compressed * xmlreader.c: fix a segfault when using Close() * python/tests/Makefile.am python/tests/reader8.py: test for the Close() reader API. Daniel
Daniel Veillard 500a1de5 2004-03-22T15:22:58 applied patch from Alfred Mickautsch for better DTD support. fixed bug * xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from Alfred Mickautsch for better DTD support. * SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c xmlschemas.c: fixed bug #137867 i.e. fixed properly the way reference counting is handled in the XML parser which had the side effect of removing a lot of hazardous cruft added to try to fix the problems associated as they popped up. * xmlIO.c: FILE * close fixup for stderr/stdout Daniel
Daniel Veillard f54cd533 2004-02-25T11:52:31 fixing compilation and link option when configuring with --without-valid * debugXML.c relaxng.c valid.c xinclude.c xmllint.c xmlreader.c: fixing compilation and link option when configuring with --without-valid should fix #135309 Daniel
Daniel Veillard 21924520 2004-02-19T16:37:07 fixed xmllint --memory --stream memory consumption on large file by using * xmlreader.c: fixed xmllint --memory --stream memory consumption on large file by using xmlParserInputBufferCreateStatic() with the mmap'ed file Daniel
Daniel Veillard 31ae462a 2004-02-16T07:45:44 updating the benchmark graph and using a PNG instead of a GIF updated the * benchmark.png index.html xml.html: updating the benchmark graph and using a PNG instead of a GIF * xmlreader.c: updated the TODO Daniel
William M. Brack 93d004f9 2004-02-03T00:14:10 applied patch from Steve Ball to provide structured error reports. * xmlreader.c, include/libxml/xmlreader.h: applied patch from Steve Ball to provide structured error reports.
Daniel Veillard 96b6cd2b 2004-01-08T16:49:50 fixing some problem if configured --without-xinclude c.f. #130902 Daniel * xmlreader.c: fixing some problem if configured --without-xinclude c.f. #130902 Daniel
Daniel Veillard 4bc5f430 2003-12-22T18:13:12 change xmlReadFd() xmlCtxtReadFd() xmlReaderNewFd() xmlReaderForFd(), * parser.c xmlreader.c: change xmlReadFd() xmlCtxtReadFd() xmlReaderNewFd() xmlReaderForFd(), change those to not close the file descriptor. Updated the comment, should close #129683 Daniel
Daniel Veillard 87ab1c12 2003-12-21T13:01:56 fixed bug #129489, propagation of parsing flags in entities. improved the * parser.c: fixed bug #129489, propagation of parsing flags in entities. * parser.c xmlreader.c: improved the comments of parsing options Daniel
Daniel Veillard f40c1ce9 2003-12-19T17:26:28 trying to fix #129692 xmlTextReaderExpand() when using an * xmlreader.c: trying to fix #129692 xmlTextReaderExpand() when using an xmlReaderWalker() Daniel
Daniel Veillard e74d2e1c 2003-12-09T11:35:37 augmented the XInclude API to be able to pass XML parser flags down to the * xinclude.c xmllint.c xmlreader.c include/libxml/xinclude.h include/libxml/xmlerror.h: augmented the XInclude API to be able to pass XML parser flags down to the Inclusion process. Also resynchronized with the Last Call W3C Working Draft 10 November 2003 for the xpointer attribute. * Makefile.am test/XInclude/docs/nodes[23].xml result/XInclude/*: augmented the tests for the new namespace and testing the xpointer attribute, changed the way error messages are tested * doc/*: regenerated the documentation Daniel
Daniel Veillard b5fa0208 2003-12-08T17:41:29 filter warning messages if the global setting blocks them updated the * error.c: filter warning messages if the global setting blocks them * xinclude.c xmlreader.c include/libxml/xinclude.h include/libxml/xmlerror.h: updated the change of namespace at the XInclude level, raise a warning if the old one is found, and some cleanup Daniel
Daniel Veillard ffa7b7e2 2003-12-05T16:10:21 fixed the pattern interfaces but not yet the parser to handle the * pattern.c xmlreader.c xmllint.c include/libxml/pattern.h include/libxml/xmlreader.h: fixed the pattern interfaces but not yet the parser to handle the namespaces. * doc/examples/reader3.c doc/*: fixed the example, rebuilt the docs. Daniel
Daniel Veillard 1e90661b 2003-12-05T14:57:46 cleanup the make rebuild in doc, this include new directive to stop * globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h include/libxml/pattern.h include/libxml/schemasInternals.h include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup the make rebuild in doc, this include new directive to stop documentation warnings * doc/* doc/html/*: rebuilt the docs * pattern.c xmlreader.c include/libxml/pattern.h include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern() to save nodes while scanning the tree with the reader, cleanup the way element were freed, and xmlTextReaderPreserve() implementation, the API might change for namespace binding support when compiling patterns. * doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve() Daniel
Daniel Veillard c36965da 2003-12-02T10:28:48 fixed a problem in xmlreader validation when streaming exposed by reader2 * xmlreader.c: fixed a problem in xmlreader validation when streaming exposed by reader2 example. Daniel
Daniel Veillard 16ed597a 2003-11-20T18:22:31 added two xmlReader examples cleaned up some bugs in the process Daniel * doc/examples/*: added two xmlReader examples * xmlreader.c: cleaned up some bugs in the process Daniel
William M. Brack b1d53165 2003-11-18T06:54:40 minor enhancement to prevent comment with unreferenced variable. edited * genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor enhancement to prevent comment with unreferenced variable. * threads.c xmlreader.c xmlwriter.c: edited some comments to improve auto-generation of documentation * apibuild.py: minor change to an error message
William M. Brack 60f394e9 2003-11-16T06:25:42 Finally - found the problem with the page generation (XMLPUBFUN not * doc/html/*.html: Finally - found the problem with the page generation (XMLPUBFUN not recognized by gtkdoc). Re-created the pages using a temporary version of include/libxml/*.h. * testOOMlib.c,include/libxml/encoding.h, include/libxml/schemasInternals.h,include/libxml/valid.h, include/libxml/xlink.h,include/libxml/xmlwin32version.h, include/libxml/xmlwin32version.h.in, include/libxml/xpathInternals.h: minor edit of comments to help automatic documentation generation * doc/docdescr.doc: small elaboration * doc/examples/test1.c,doc/examples/Makefile.am: re-commit (messed up on last try) * xmlreader.c: minor change to clear warning.
Daniel Veillard 8d7b5c7e 2003-11-15T18:24:36 fixed some wording make sure doc/examples is packaged fixed the really * Copyright: fixed some wording * libxml.spec.in: make sure doc/examples is packaged * include/libxml/tree.h valid.c xmlreader.c: fixed the really annoying problem about xmlRemoveID and xmlReader streaming. Thing looks fixed now, add to add a doc reference to the xmlID structure though... Daniel
Daniel Veillard 7899c5c5 2003-11-03T12:31:38 adding XInclude support to the reader interface. Lot of testing of the * 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> Daniel
Daniel Veillard e8039dfe 2003-10-27T11:25:13 make sure we report errors if xmlNewInputFromFile() fails. avoid using * 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. Daniel
Daniel Veillard 1d211e22 2003-10-20T22:32:39 added the xmlWriter module contributed by Alfred Mickautsch added room for * 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 Daniel
Daniel Veillard 198c1bfc 2003-10-20T17:07:41 removing xmldwalk module since it got merged with the xmlreader. cleanup * 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. Daniel
Daniel Veillard fc8dc355 2003-10-18T09:07:46 added new APIs for creating reader from sources or reusing a reader with a * 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 Daniel
Daniel Veillard f96cf4ec 2003-10-01T09:05:25 Applied fix for bug #123481 reported by Peter Derr Daniel * xmlreader.c: Applied fix for bug #123481 reported by Peter Derr Daniel
Daniel Veillard 8127390f 2003-09-30T00:43:48 added 2 new configure option: --with-reader --with-sax1 to allow removing * Makefile.am SAX.c SAX2.c configure.in globals.c parser.c parserInternals.c testReader.c testSAX.c xmlIO.c xmllint.c xmlreader.c example/gjobread.c include/libxml/xmlversion.h.in: added 2 new configure option: --with-reader --with-sax1 to allow removing the reader or non-xmlReadxxx() interfaces. Daniel
Daniel Veillard a9cce9cd 2003-09-29T13:20:24 Okay this is scary but it is just adding a configure option to disable * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
Daniel Veillard 9ee35f36 2003-09-28T00:19:54 fix a bug raised by the Mips compiler. move the SAXv1 block definitions to * parser.c: fix a bug raised by the Mips compiler. * include/libxml/SAX.h include/libxml/parser.h: move the SAXv1 block definitions to parser.h fixes bug #123380 * xmlreader.c include/libxml/xmlreader.h: reinstanciate the attribute and element pool borken 2 commits ago. Start playing with an entry point to preserve a subtree. * entities.c: remove a warning. Daniel
William M. Brack 899e64aa 2003-09-26T18:03:42 minor change to avoid compilation warnings on some (e.g. AIX) systems * HTMLparser.c, entities.c, xmlreader.c: minor change to avoid compilation warnings on some (e.g. AIX) systems
Daniel Veillard 092643b5 2003-09-25T14:29:29 preparing a beta3 solving the ABI problems make sure the global variables * configure.in: preparing a beta3 solving the ABI problems * globals.c parser.c parserInternals.c testHTML.c HTMLparser.c SAX.c include/libxml/globals.h include/libxml/SAX.h: make sure the global variables for the default SAX handler are V1 ones to avoid ABI compat problems. * xmlreader.c: cleanup of uneeded code * hash.c: fix a comment Daniel
Daniel Veillard 7a02cfe0 2003-09-25T12:18:34 fixing some comments to avoid warnings from apibuild.py Daniel * SAX2.c hash.c parser.c include/libxml/xmlexports.h include/libxml/xmlmemory.h include/libxml/xmlversion.h.in: fixing some comments to avoid warnings from apibuild.py Daniel
Daniel Veillard e96a2a4b 2003-09-24T21:23:56 adding repeated parsing and validating tests make the new DOM tree * Makefile.am: adding repeated parsing and validating tests * SAX2.c parser.c tree.c include/libxml/parser.h: make the new DOM tree building interfaces use the dictionary from the parsing context to build the element and attributes names as well as formatting spaces and short text nodes * include/libxml/dict.h dict.c: added some reference counting for xmlDictPtr because they can be shared by documents and a parser context. * xmlreader.c: a bit of cleanup, remove the specific tree freeing functions and use the standard ones now. * xmllint.c: add --nodict * python/libxml.c: fix a stupid bug so that ns() works on attribute nodes. Daniel
Daniel Veillard f85ce8e3 2003-09-22T10:24:45 the uri arg to xmlNodeSetBase is really a const xmlChar* addin the * tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is really a const xmlChar* * xmlreader.c include/libxml/xmlreader.h: addin the xmlTextReaderConstString() to get an interned string from the reader Daniel
Daniel Veillard e72c508c 2003-09-19T12:44:05 preparing a 2.6.0-beta2 release avoid a warning avoid duplicate code in * configure.in: preparing a 2.6.0-beta2 release * xmlIO.c: avoid a warning * tree.c: avoid duplicate code in xmlReplaceNode as pointed out by Chris Ryland * include/libxml/dict.h: add a QName access lookup to the dictionary. * xmlreader.c include/libxml/xmlreader.h: adding const access based on the dictionary interface for string read from the reader, the node content access is still TODO, it's too different Daniel
Daniel Veillard 5335055e 2003-09-18T13:35:51 add streaming on memory regression tests, found bad bugs in the reader * Makefile.am: add streaming on memory regression tests, found bad bugs in the reader interface * xmlreader.c: fixing bugs w.r.t. very large names, and special condition in end of file. * xmlIO.c tree.c include/libxml/tree.h include/libxml/xmlIO.h: adding immutable buffers, and parser input based on those, but this should not be used (yet) for general parsing * parser.c: added a comment about using immutable buffers for general parsing. * result/bigname.xml.rdr result/bigname2.xml.rdr: fixing the output of the regression tests * xmllint.c: using the immutable buffers when streaming on mmaped file (--stream --memory) Daniel
Daniel Veillard f6bc7c24 2003-09-17T22:33:22 add a Timingtests target to check bad behaviour from the streaming engine * Makefile.am: add a Timingtests target to check bad behaviour from the streaming engine * dbgen.pl dbgenattr.pl: perl script to generate big instances * xmlreader.c: fix a bad behaviour on large buffer inputs Daniel
Daniel Veillard ccc4d2b6 2003-09-17T21:27:31 two small improvements Daniel * dict.c xmlreader.c: two small improvements Daniel
Daniel Veillard 1989505a 2003-09-17T13:59:32 more performance hunting reducing memory allocation and free and avoiding * SAX2.c xmlreader.c include/libxml/parser.h: more performance hunting reducing memory allocation and free and avoiding expensive routines Daniel
Daniel Veillard 9f7eb0bb 2003-09-17T10:26:25 started messing seriously with per-document dict and element and attribute * SAX2.c parser.c parserInternals.c xmlreader.c: started messing seriously with per-document dict and element and attribute nodes reuse in the xmlReader. This seems to lead to an interesting speedup of the xmlReader already. Daniel
Daniel Veillard 07cb8226 2003-09-10T10:51:05 Time to commit 3 days of work rewriting the parser internal, fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
Daniel Veillard 40412cda 2003-09-03T13:28:32 when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * HTMLparser.c: when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * parser.c xmlreader.c: optimization, gain a few % parsing speed by avoiding calls to "areBlanks" when not needed. * include/libxml/parser.h include/libxml/tree.h: some structure extensions for future work on using per-document dictionaries. Daniel
William M. Brack c193956e 2003-08-05T15:52:22 small changes to syntax to get rid of compiler warnings. No changes to * error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
William M. Brack 779af007 2003-08-01T15:55:39 =Bug 118559 (continued)
Daniel Veillard d6038e02 2003-07-30T16:37:18 applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and * xmlreader.c include/libxml/xmlreader.h: applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and significant whitespace. There is an enum for node type values now. Daniel
Daniel Veillard c127adc8 2003-07-23T15:07:08 fixed an out of bound error #118052 , the good part if that base64 code * xmlreader.c: fixed an out of bound error #118052 , the good part if that base64 code was not in use yet ... Daniel
Daniel Veillard 409a8147 2003-07-18T15:16:57 adding Get interface for the error callback and parameters of parsing and * relaxng.c include/libxml/relaxng.h: adding Get interface for the error callback and parameters of parsing and validation contexts * xmlreader.c: patch to fix bug #117702 about incomplete Read() on text nodes. Daniel
Daniel Veillard a37aab84 2003-06-09T09:10:36 applied a patch from Gman for building docs applied a patch from Gary * doc/*: applied a patch from Gman for building docs * valid.c xmllint.c include/libxml/valid.h: applied a patch from Gary Pennington to provide an allocator for xmlValidCtxt * xmlreader.c: applied patch from Jacek Konieczny fixing bug #113580 about data not being passed immediately. Daniel
Daniel Veillard 37fc84d1 2003-05-09T19:38:15 fixing bug #104081 with xs:all with an element holding minOccurs="0" added * xmlschemas.c: fixing bug #104081 with xs:all with an element holding minOccurs="0" * test/schemas/all_* result/schemas/all_*: added some regression tests for that bug * xmllint.c xmlreader.c: patches from Joerg Schmitz-Linneweber and Garry Pennington to compile without schemas support. Daniel
Daniel Veillard 61c52202 2003-04-30T12:20:34 try to fix Red hat bug #89957, do not output -L/usr/lib64 fixed a typo in * xml2-config.in: try to fix Red hat bug #89957, do not output -L/usr/lib64 * xmlreader.c: fixed a typo in a comment Daniel
Daniel Veillard a76fe5ca 2003-04-24T16:06:47 integrated the Out Of Memory test from Havoc Pennington #109368 a lot of * Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
Daniel Veillard a880b124 2003-04-21T21:36:41 a lot of performance work especially the speed of streaming through the * globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel