python


Log

Author Commit Date CI Message
Daniel Veillard 36505562 2004-08-22T14:02:09 fix a problem on last commit Daniel * python/libxml.c: fix a problem on last commit Daniel
Daniel Veillard 6ebf3c4c 2004-08-22T13:11:39 trying to remove some warning when compiling on Fedora Core 3 and 64bits * xmllint.c xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h python/libxml.c python/libxml_wrap.h: trying to remove some warning when compiling on Fedora Core 3 and 64bits Daniel
William M. Brack 2f2a6632 2004-08-20T23:09:47 modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, * xmlschemas.c: modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, <include>, <import>. Fixed schema defaults (elementFormDefault, etc.) for included schemas. Fixed a bug which reported attributes as invalid on elements declarations with the built-in type 'anyType'. Added "lax" validation of the content of elements of type 'anyType'. Fixed: element declarations with the same name were treated as duplicate if located in the subtree of <choice> -> <sequence>. (This was bug 150623, submitted by Roland Lezuo) Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed by Igor Kapitanker. (This was bug 150647, submitted by Igor Kapitanker) * xmlschemastypes.c: Changed the type of anyType to XML_SCHEMAS_ANYTYPE. * include/libxml/xmlerror.h: Added schema parser errors. * result/schemas/bug145246_0_0* result/schemas/extension1_0_2.err: Changed test results. * result/schemas/ct-sc-nobase_0_0* result/schemas/facet-whiteSpace_0_0* result/schemas/import1_0_0* result/schemas/import2_0_0* result/schemas/include2_0_0* result/schemas/include3_0_0* result/schemas/restriction-attr1_0_0* result/schemas/seq-dubl-elem1_0_0* result/schemas/xsd-list-itemType_0_0*: Added new rest results. test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0* test/schemas/facet-whiteSpace_0* test/schemas/import1_0* test/schemas/import2_0* test/schemas/include2_0* test/schemas/include3_0* test/schemas/restriction-attr1_0* test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd test/schemas/xsd-list-itemType_0*: Added new tests and missing files.
Daniel Veillard 259f0dfa 2004-08-18T09:13:18 Applied patch from Torkel Lyng to add Schemas support to the Python * xmlschemas.c include/libxml/xmlschemas.h python/generator.py python/libxml.c python/libxml_wrap.h python/types.c python/tests/schema.py python/tests/Makefile.am: Applied patch from Torkel Lyng to add Schemas support to the Python bindings and extend the schemas error API, registered a new test. * doc/* elfgcchack.h: rebuilt to regenerate the bindings Daniel
Daniel Veillard 1f8658a7 2004-08-14T21:46:31 Dodji pointed out a bug in xmlGetNodePath() applied patch from Albert Chin * tree.c: Dodji pointed out a bug in xmlGetNodePath() * xmlcatalog.c: applied patch from Albert Chin to add a --no-super-update option to xmlcatalog see #145461 and another patch also from Albert Chin to not crash on -sgml --del without args see #145462 * Makefile.am: applied another patch from Albert Chin to fix a problem with diff on Solaris #145511 * xmlstring.c: fix xmlCheckUTF8() according to the suggestion in bug #148115 * python/libxml.py: apply fix from Marc-Antoine Parent about the errors in libxml(2).py on the node wrapper #135547 Daniel
Daniel Veillard c0826a77 2004-08-10T14:17:33 applied Schemas patches from Kasimier Buchcik lot of new tests for things * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel
Daniel Veillard d392ba7e 2004-08-04T14:56:45 applied a patch from Gerrit P. Haase to get python bindings on Cygwin * Makefile.am config.h.in configure.in python/Makefile.am: applied a patch from Gerrit P. Haase to get python bindings on Cygwin Daniel
William M. Brack 4e3a9fa1 2004-08-03T22:41:11 elaborated on description of xmlValidityWarningFunc and * include/libxml/valid.h: elaborated on description of xmlValidityWarningFunc and xmlValidityErrorFunc (bug 144760) * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: minor fixes to comments for doc rebuilding errors. * doc/*.html: rebuilt the docs
Daniel Veillard 7cc23572 2004-07-29T11:20:30 1 line patch, apparently htmlNewDoc() was not setting doc->charset. Daniel * HTMLparser.c: 1 line patch, apparently htmlNewDoc() was not setting doc->charset. Daniel
William M. Brack c68d78d2 2004-07-16T10:39:30 added a check on the argument for some classes (e.g. xmlDoc and xmlNode) * python/generator.py: added a check on the argument for some classes (e.g. xmlDoc and xmlNode) to prevent a segfault (as reported on the list). Further enhancement should be done to auto-create the appropriate object. * python/libxml.c: minor fix for a warning message; added a routine, currently not used, to report the description of a PyCObject. * python/libxml2class.txt: regenerated
William M. Brack 37e63946 2004-07-12T16:27:37 ran 'expand' on the file to get rid of mixture of tabs and spaces (bug * python/libxml.py: ran 'expand' on the file to get rid of mixture of tabs and spaces (bug 147424)
William M. Brack e9449c5d 2004-07-11T14:41:20 added an encoding "special comment" to avoid warning message in python2.3 * python/drv_libxml.py: added an encoding "special comment" to avoid warning message in python2.3 (bug 146889) * Makefile.am, python/Makefile.am, python/tests/Makefile.am: small change to make "make tests" a little quieter (MAKEFLAGS+=--silent) * xpath.c: enhanced to take advantage of current libxslt handling of tmpRVT. Fixes bug 145547.
Daniel Veillard eb70f93f 2004-07-05T16:46:09 make the push interfaces synchronous added a specific test added the new * parser.c: make the push interfaces synchronous * python/tests/sync.py: added a specific test * python/tests/Makefile.am doc/examples/Makefile.am doc/examples/index.py: added the new test, cleaning up "make tests" output Daniel
William M. Brack 8e2cc6f2 2004-07-03T23:28:52 Changed the number of XPath extension functions allowed to be * python/libxml.c: Changed the number of XPath extension functions allowed to be variable-length (patch supplied by Marc-Antoine Parent, bug 143805). Added code to "unregister" the functions when the parser cleanup takes place.
Daniel Veillard 529233cc 2004-07-02T12:23:44 some updates with memory debugging facilities while messing with libxslt * xmlmemory.c python/libxml.c python/libxml2-python-api.xml: some updates with memory debugging facilities while messing with libxslt python bindings Daniel
Daniel Veillard f93a8660 2004-07-01T12:56:30 applied patch from Stéphane Bidoul to fix some Python bindings * python/libxml.c python/generator.py python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt: applied patch from Stéphane Bidoul to fix some Python bindings initialization, then had to change the parserCleanup() to handle memory released there. * xmlmemory.c: added more debugging comments. Daniel
Daniel Veillard d69cc817 2004-07-01T09:36:26 do not provide functions used as destructor of classes as public methods * python/generator.py: do not provide functions used as destructor of classes as public methods to avoid double-free problem like in bug #145185 Daniel
William M. Brack 96d2effc 2004-06-30T11:48:47 warning message cleanup. Now compiles warning-free, all tests passed. * xmlschemas.c, xmlschemastypes.c: warning message cleanup. Now compiles warning-free, all tests passed. * SAX2.c: small change to comments for documentation. No change to logic.
Daniel Veillard 01fa6156 2004-06-29T17:04:39 applied Schemas patches from Kasimier Buchcik, there is still one open * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik, there is still one open issue about referencing freed memory. * test/schemas/* result/schemas/*: updated with new tests from Kasimier Daniel
Daniel Veillard a2351322 2004-06-27T12:08:10 hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel
Daniel Veillard f0552936 2004-05-16T01:20:17 a couple of large static variable which should really not be declared as * catalog.c: a couple of large static variable which should really not be declared as such cluttered the .bss section. Daniel
Daniel Veillard b3ac18dc 2004-05-11T13:06:29 better portability fix for f(*args), use apply(f, args) as Stephane Bidoul * python/tests/tstLastError.py: better portability fix for f(*args), use apply(f, args) as Stephane Bidoul suggested Daniel
Daniel Veillard 6d38c750 2004-05-10T00:40:51 applied patch from Ed Davis to allow "make tests" to work with Python 1.5 * Makefile.am python/tests/Makefile.am python/tests/tstLastError.py: applied patch from Ed Davis to allow "make tests" to work with Python 1.5 Daniel
Daniel Veillard 656ce948 2004-04-30T23:11:45 Fixed bug #141529 i.e. various problems when building with --without-html * xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed bug #141529 i.e. various problems when building with --without-html 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 377e1a90 2004-04-16T16:30:05 move the TODO as comments as the function while not finished are usable * xmlsave.c: move the TODO as comments as the function while not finished are usable as-is * xmlschemas.c include/libxml/xmlerror.h: patch from Kasimier Buchcik implementing union * test/schemas/union_0_0.x* result/schemas/union_0_0*: added example * python/Makefile.am: applied fix from Mike Hommey Daniel
Johan Dahlin 1f093e0c 2004-04-01T14:17:33 Add generated files, to make cvs silent. * python/.cvsignore: Add generated files, to make cvs silent.
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
William M. Brack b318c3b7 2004-03-10T11:43:12 Minor change for later verson of php requiring $HTTP_GET_VARS. * doc/search.php: Minor change for later verson of php requiring $HTTP_GET_VARS.
Daniel Veillard d5e198ad 2004-03-09T09:03:28 applied patch from Anthony Carrico providing Python bindings for the * python/libxml.c python/libxml.py: applied patch from Anthony Carrico providing Python bindings for the Canonicalization C14N support. Daniel
William M. Brack 4a00326b 2004-03-09T02:39:04 .cvsignore and python/.cvsignore patched * .cvsignore and python/.cvsignore patched
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
William M. Brack a59ddb5e 2004-02-25T08:12:32 fixed a memory leak (xmlXPathLangFunction) reported on the list by Mike * xpath.c: fixed a memory leak (xmlXPathLangFunction) reported on the list by Mike Hommey
Daniel Veillard 09b792ba 2004-02-23T10:53:52 applied patch from Malcolm Tredinnick to avoid tabs in python sources, * python/tests/*.py: applied patch from Malcolm Tredinnick to avoid tabs in python sources, should fix #135095 Daniel
Daniel Veillard a9a1b105 2004-02-17T13:24:01 indicated encoding of the test file, needed for python 2.3 Daniel * python/tests/indexes.py python/tests/reader.py: indicated encoding of the test file, needed for python 2.3 Daniel
Daniel Veillard 3671190b 2004-02-11T13:25:26 added xmlByteConsumed() interface updated the benchmark rebuilt the docs * parserInternals.c xmlIO.c encoding.c include/libxml/parser.h include/libxml/xmlIO.h: added xmlByteConsumed() interface * doc/*: updated the benchmark rebuilt the docs * python/tests/Makefile.am python/tests/indexes.py: added a specific regression test for xmlByteConsumed() * include/libxml/encoding.h rngparser.c tree.c: small cleanups Daniel
William M. Brack 95af594b 2004-02-08T04:12:49 added a small hack to fix interference between my fixes for bugs 132585 * xinclude.c: added a small hack to fix interference between my fixes for bugs 132585 and 132588. * python/libxml.c: fixed problem with serialization of namespace reported on the mailing list by Anthony Carrico
Daniel Veillard 189f46b1 2004-01-25T21:03:04 preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does * configure.in NEWS doc/*: preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does not end up in the tarball Daniel
Daniel Veillard 05349ab2 2004-01-25T20:01:35 applied patch from Frederic Peters fixing the wrong arg order in xpath * python/libxml.c: applied patch from Frederic Peters fixing the wrong arg order in xpath callback in bug #130980 Daniel
Daniel Veillard 4f4a27f9 2004-01-14T23:50:34 applied patch from Stephane Bidoul to add enums to the Python bindings. * python/generator.py python/tests/tstLastError.py: applied patch from Stephane Bidoul to add enums to the Python bindings. Daniel
Daniel Veillard 46da4649 2004-01-06T22:54:57 applied patch from Stephane Bidoul for structured error handling from * python/libxml2-python-api.xml python/libxml_wrap.h python/types.c python/tests/Makefile.am python/tests/tstLastError.py: applied patch from Stephane Bidoul for structured error handling from python, and the associated test Daniel
William M. Brack a2e844a3 2004-01-06T11:52:13 moved string and UTF8 routines out of parser.c and encoding.c into a new * encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP)
William M. Brack f7eb794c 2003-12-31T07:59:17 fixed problem pointed out by Stéphane Bidoul on the list. completed * python/generator.py, python/libxml2class.txt: fixed problem pointed out by Stéphane Bidoul on the list. * xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h: completed modifications required to fix Bug 129967 (at last!). Now wait to see how long before further trouble...
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
William M. Brack cafe8851 2003-12-21T10:14:35 applied fixes to allow build from 'outside' directory (Bug 129172) * python/Makefile.am, python/tests/Makefile.am, doc/Makefile.am: applied fixes to allow build from 'outside' directory (Bug 129172)
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 f88d8cf9 2003-12-08T10:25:02 tried to fix the problems reported in bug #126735 fixed again some problem * python/libxml.py: tried to fix the problems reported in bug #126735 * xpath.c SAX2.c error.c parser.c valid.c include/libxml/xmlerror.h: fixed again some problem trying to use the structured error handlers, c.f. bug #126735 * result/VC/ElementValid: tiny change due to the fix 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 85bb5b08 2003-12-04T14:12:05 oops forgot to modify/commit the new code. Daniel * python/libxml.py: oops forgot to modify/commit the new code. Daniel
Daniel Veillard 6cbd6c07 2003-12-04T12:31:49 cleanup the output buffer support to at least get the basic to work fixes * python/generator.py python/libxml.c python/libxml_wrap.h: cleanup the output buffer support to at least get the basic to work * python/tests/outbuf.py python/tests/serialize.py: fixes and cleanup. * include/libxml/xmlwriter.h: cleanup Daniel
William M. Brack ea939087 2003-11-09T12:45:26 enhanced for range checking, updated to Unicode version 4.0.1 (API docs * genUnicode.py, xmlunicode.c, include/libxml/xmlunicode.h, python/libxml2class.txt: enhanced for range checking, updated to Unicode version 4.0.1 (API docs also updated) * python/generator.py: minor change to fix a warning
William M. Brack 6bf4d6fd 2003-11-04T23:29:16 small enhancement to assure ATTRIBUTE_UNUSED appears after the variable * python/generator.py: small enhancement to assure ATTRIBUTE_UNUSED appears after the variable declaration. * valid.c: trivial change to eliminate a warning message
Daniel Veillard 6d373a26 2003-11-04T10:26:43 preparing release 2.6.2, updated and rebuilt the docs Daniel * configure.in NEWS doc/*: preparing release 2.6.2, updated and rebuilt the docs Daniel
Daniel Veillard 157fee01 2003-10-31T10:36:03 previous fix for #124044 was broken, correct fix provided. fix * 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 Daniel
Daniel Veillard bb3ba326 2003-10-30T13:12:43 be more defensive in the xmlReader python bindings fixing bug #124044 * python/libxml.c: be more defensive in the xmlReader python bindings fixing bug #124044 Daniel
Daniel Veillard e4e3f5d8 2003-10-28T23:06:32 preparing release 2.6.1, updated and regenerated docs and APIs cleanup and * configure.in NEWS doc/*: preparing release 2.6.1, updated and regenerated docs and APIs * parser.c: cleanup and last change to fix #123105 Daniel
William M. Brack 1d75c8a8 2003-10-27T13:48:16 fixed warning message from IRIX (bug 125182) removed tabs, replaced with * xmllint.c: fixed warning message from IRIX (bug 125182) * python/libxml.py: removed tabs, replaced with spaces (bug 125572)
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 7869729c 2003-10-19T20:44:43 adding xmlNodeBufGetContent() allowing to grab the content without forcing * 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. Daniel
Daniel Veillard 05bcb7ed 2003-10-19T14:26:34 fixed to not send NULL to %s printing cleaning up some of the regression * 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 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
William M. Brack 871611bb 2003-10-18T04:53:14 enhanced macros to avoid breaking ABI from previous versions. modified to * 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
Daniel Veillard cd6ff282 2003-10-08T22:38:13 final error handling cleanup converted XInclude to the new error handling * xmlIO.c: final error handling cleanup * xinclude.c error.c: converted XInclude to the new error handling * include/libxml/xmlerror.h: added XInclude errors Daniel
Daniel Veillard 4c004147 2003-10-07T11:33:24 switched Relax-NG module to teh new error reporting. Better default * 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. Daniel
Daniel Veillard bb5ababa 2003-10-03T22:21:51 more cleanup in make tests more work in the transition to the new error * Makefile.am: more cleanup in make tests * error.c valid.c parser.c include/libxml/xmlerror.h: more work in the transition to the new error reporting strategy. * python/tests/reader2.py result/VC/* result/valid/*: few changes in the strings generated by the validation output Daniel
Daniel Veillard 2b8c4a15 2003-10-02T22:28:19 changed 'make tests' to use a concise output, scrolling to see where thing * Makefile.am: changed 'make tests' to use a concise output, scrolling to see where thing broke wasn't pleasant * configure.in: some beta4 preparation, but not ready yet * error.c globals.c include/libxml/globals.h include/libxml/xmlerror.h: new error handling code, last error informations are stored in the parsing context or a global variable, new APIs to handle the xmlErrorPtr type. * parser.c parserInternals.c valid.c : started migrating to the new error handling code, it's a royal pain. * include/libxml/parser.h include/libxml/parserInternals.h: moved the definition of xmlNewParserCtxt() * parser.c: small potential buffer access problem in push code provided by Justin Fletcher * result/*.sax result/VC/PENesting* result/namespaces/* result/valid/*.err: some error messages were sligthly changed. 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 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard dca8cc79 2003-09-26T13:53:14 rebuilt the API added the new options --nocdata and --nsclean to remove * doc/libxml2-api.xml: rebuilt the API * xmllint.c doc/xmllint.1 doc/xmllint.xml: added the new options --nocdata and --nsclean to remove CDATA section and surperfluous namespace declarations * parser.c SAX2.c: implementation of the 2 new options 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 16fa96c5 2003-09-23T21:50:54 adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated 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 007d51eb 2003-09-17T20:07:28 use stderr and not stdout for default errors in python environment bug * python/libxml.c: use stderr and not stdout for default errors in python environment bug #122552 Daniel
Daniel Veillard bdbe0d4e 2003-09-14T19:56:14 factoring of more error handling code, serious size reduction and more * parser.c include/libxml/xmlerror.h: factoring of more error handling code, serious size reduction and more lisibility of the resulting code. * parserInternals.c parser.c include/libxml/parserInternals.h include/libxml/parser.h: changing the way VC:Proper Group/PE Nesting checks are done, use a counter for entities. Entities where freed and reallocated at the same address failing the check. * tree.c: avoid a warning * result/valid/* result/VC/*: this slightly changes some validation error messages. Daniel
Daniel Veillard 5f1e1f8a 2003-09-11T23:35:09 backport of a thread bugfix from 2_5_X branch Daniel * threads.c: backport of a thread bugfix from 2_5_X branch Daniel
Daniel Veillard f2a941fc 2003-09-07T20:54:29 2.6.0beta1 changes Fixing attribute normalization, might not be totally * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
Daniel Veillard bbeb9f9e 2003-09-07T20:54:29 try to cope with the fact that apps may still have allocated smaller SAX * parser.c: try to cope with the fact that apps may still have allocated smaller SAX callbak block Daniel
Daniel Veillard e8553730 2003-09-01T20:33:14 Applied a patch from Kevin P. Fleming to add --libtool-libs option to * configure.in xml2-config.in: Applied a patch from Kevin P. Fleming to add --libtool-libs option to xml2-config script. Daniel
William M. Brack a71a8ef1 2003-08-06T04:43:55 further small changes to elminate most of the remaining warnings. * error.c trionan.[ch] testThreads.c python/generator.py: further small changes to elminate most of the remaining warnings.
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.
Daniel Veillard c758c229 2003-08-04T20:42:34 rebuilt the API and docs. Daniel * doc/libxml2-api.xml doc/html/*: rebuilt the API and docs. Daniel
Daniel Veillard 8d73bcb5 2003-08-04T01:06:15 added a new API to split a QName without generating any memory allocation * tree.c include/libxml/tree.h: added a new API to split a QName without generating any memory allocation * valid.c: fixed another problem with namespaces on element in mixed content case * python/tests/reader2.py: updated the testcase with Bjorn Reese fix to reader for unsignificant white space * parser.c HTMLparser.c: cleanup. Daniel
Daniel Veillard c2664641 2003-07-29T20:44:53 patch from Joachim Bauch + cleanup for Relax NG error callbacks in python * python/generator.py python/libxml.c python/libxml2class.txt: patch from Joachim Bauch + cleanup for Relax NG error callbacks in python Daniel
Daniel Veillard 781ac8b1 2003-05-15T22:11:36 patch from Stéphane Bidoul for setting up threads global defaults. this * build_glob.py global.data globals.c parser.c include/libxml/globals.h: patch from Stéphane Bidoul for setting up threads global defaults. * doc/libxml2-api.xml: this extends the API with new functions * python/tests/Makefile.am python/tests/reader2.py python/tests/thread2.py: integrated the associated testcase and fixed the error string used in reader2 Daniel
Daniel Veillard 38b80a8f 2003-05-14T18:59:00 trying to conciliate --with-python= requirements and RPM builds, a PITA * configure.in libxml.spec.in python/Makefile.am: trying to conciliate --with-python= requirements and RPM builds, a PITA really... 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 94bb2f1c 2003-04-27T22:14:07 applied patch from Stéphane Bidoul for the Python bindings on the new * win32/configure.js python/setup.py.in: applied patch from Stéphane Bidoul for the Python bindings on the new release. Daniel
Daniel Veillard 2b32e6f3 2003-04-26T12:03:54 fixed a problem in the generator where the way functions are remapped as * python/generator.py: fixed a problem in the generator where the way functions are remapped as methods on classes was not symetric and dependant on python internal hash order, as reported by Stéphane Bidoul Daniel
Daniel Veillard 92fc02cc 2003-04-24T23:12:35 preparing release 2.5.7 updated and rebuilt the docs fixed the script * NEWS configure.in: preparing release 2.5.7 * doc/*: updated and rebuilt the docs * doc/apibuild.py: fixed the script Daniel
Daniel Veillard de0a0a5a 2003-04-24T17:12:57 make sure the OOM code don't get in the way of the builds automatic update * Makefile.am doc/apibuild.py: make sure the OOM code don't get in the way of the builds * doc/libxml2-api.xml python/libxml2class.txt: automatic update Daniel
Daniel Veillard 5439624b 2003-04-23T07:36:50 applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal * python/libxml.c python/libxml.py: applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal 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
Daniel Veillard ac297930 2003-04-17T12:55:35 some cleanups extended the document to cover RelaxNG and tree operations * relaxng.c: some cleanups * doc/xmlreader.html: extended the document to cover RelaxNG and tree operations * python/tests/Makefile.am python/tests/reader[46].py: added some xmlReader example/regression tests * result/relaxng/tutor*.err: updated the output of a number of tests Daniel
Daniel Veillard 33300b49 2003-04-17T09:09:19 augnemting the APIs, cleanups. cleanup bug #111005 added some missing * include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h xmlreader.c: augnemting the APIs, cleanups. * parser.c: cleanup bug #111005 * xmlIO.c: added some missing comments Daniel
Daniel Veillard c6cae7b6 2003-04-11T09:02:11 Added the Expand() and Next() operation to work on subtrees within the * xmlreader.c include/libxml/xmlreader.h: Added the Expand() and Next() operation to work on subtrees within the reader framework. * doc/libxml2-api.xml python/libxml2class.txt: resulting updates * python/tests/reader5.py: added an example for those new functions of the reader. Daniel
Daniel Veillard c2d4a93d 2003-04-01T11:13:05 preparing release 2.5.6 updated and rebuilt the docs Daniel * configure.in NEWS: preparing release 2.5.6 * doc/*: updated and rebuilt the docs Daniel
Daniel Veillard 6c5b2d3f 2003-03-27T14:55:52 fixing #109227 providing more context in case of start/end tag mismatch * parser.c: fixing #109227 providing more context in case of start/end tag mismatch * python/tests/ctxterror.py python/tests/readererr.py: update the tests accordingly Daniel
Daniel Veillard e4fa2932 2003-03-26T00:38:10 first part of the fix to performance bug #108905, adds * xpath.c include/libxml/xpath.h: first part of the fix to performance bug #108905, adds xmlXPathOrderDocElems() providing document order for nodes. * python/libxml.c: Python may require TRIO as Albert Chin pointed out Daniel