aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 1 line patch, apparently htmlNewDoc() was not setting doc->charset. DanielDaniel Veillard2004-07-291-234/+234
| | | | | | * HTMLparser.c: 1 line patch, apparently htmlNewDoc() was not setting doc->charset. Daniel
* added a check on the argument for some classes (e.g. xmlDoc and xmlNode)William M. Brack2004-07-163-236/+255
| | | | | | | | | | | * 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
* ran 'expand' on the file to get rid of mixture of tabs and spaces (bugWilliam M. Brack2004-07-121-13/+13
| | | | | * python/libxml.py: ran 'expand' on the file to get rid of mixture of tabs and spaces (bug 147424)
* added an encoding "special comment" to avoid warning message in python2.3William M. Brack2004-07-113-2/+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.
* make the push interfaces synchronous added a specific test added the newDaniel Veillard2004-07-052-2/+143
| | | | | | | | | * 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
* Changed the number of XPath extension functions allowed to beWilliam M. Brack2004-07-031-41/+67
| | | | | | | * 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.
* some updates with memory debugging facilities while messing with libxsltDaniel Veillard2004-07-023-0/+17
| | | | | | | * xmlmemory.c python/libxml.c python/libxml2-python-api.xml: some updates with memory debugging facilities while messing with libxslt python bindings Daniel
* applied patch from Stéphane Bidoul to fix some Python bindingsDaniel Veillard2004-07-015-11/+55
| | | | | | | | | | * 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
* do not provide functions used as destructor of classes as public methodsDaniel Veillard2004-07-012-240/+242
| | | | | | | * 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
* warning message cleanup. Now compiles warning-free, all tests passed.William M. Brack2004-06-301-238/+238
| | | | | | | * 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.
* applied Schemas patches from Kasimier Buchcik, there is still one openDaniel Veillard2004-06-291-0/+1
| | | | | | | | | | * 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
* hack based on Arjan van de Ven suggestion to reduce ELF footprint andDaniel Veillard2004-06-271-0/+1
| | | | | | | | | | | | | | * 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
* a couple of large static variable which should really not be declared asDaniel Veillard2004-05-161-0/+1
| | | | | | * catalog.c: a couple of large static variable which should really not be declared as such cluttered the .bss section. Daniel
* better portability fix for f(*args), use apply(f, args) as Stephane BidoulDaniel Veillard2004-05-111-10/+1
| | | | | | * python/tests/tstLastError.py: better portability fix for f(*args), use apply(f, args) as Stephane Bidoul suggested Daniel
* applied patch from Ed Davis to allow "make tests" to work with Python 1.5Daniel Veillard2004-05-102-2/+11
| | | | | | | * 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
* Fixed bug #141529 i.e. various problems when building with --without-htmlDaniel Veillard2004-04-302-2/+28
| | | | | | * xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed bug #141529 i.e. various problems when building with --without-html Daniel
* keep the ChangeLog compressed fix a segfault when using Close() test forDaniel Veillard2004-04-182-0/+38
| | | | | | | | * 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
* move the TODO as comments as the function while not finished are usableDaniel Veillard2004-04-161-3/+3
| | | | | | | | | | * 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
* Add generated files, to make cvs silent.Johan Dahlin2004-04-011-1/+6
| | | | * python/.cvsignore: Add generated files, to make cvs silent.
* applied patch from Alfred Mickautsch for better DTD support. fixed bugDaniel Veillard2004-03-221-238/+238
| | | | | | | | | | | | * 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
* Minor change for later verson of php requiring $HTTP_GET_VARS.William M. Brack2004-03-101-238/+238
| | | | | * doc/search.php: Minor change for later verson of php requiring $HTTP_GET_VARS.
* applied patch from Anthony Carrico providing Python bindings for theDaniel Veillard2004-03-092-2/+346
| | | | | | * python/libxml.c python/libxml.py: applied patch from Anthony Carrico providing Python bindings for the Canonicalization C14N support. Daniel
* .cvsignore and python/.cvsignore patchedWilliam M. Brack2004-03-091-1/+3
| | | | * .cvsignore and python/.cvsignore patched
* fixing compilation and link option when configuring with --without-validDaniel Veillard2004-02-251-238/+238
| | | | | | | * 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
* fixed a memory leak (xmlXPathLangFunction) reported on the list by MikeWilliam M. Brack2004-02-251-238/+238
| | | | | * xpath.c: fixed a memory leak (xmlXPathLangFunction) reported on the list by Mike Hommey
* applied patch from Malcolm Tredinnick to avoid tabs in python sources,Daniel Veillard2004-02-239-54/+54
| | | | | | * python/tests/*.py: applied patch from Malcolm Tredinnick to avoid tabs in python sources, should fix #135095 Daniel
* indicated encoding of the test file, needed for python 2.3 DanielDaniel Veillard2004-02-172-0/+2
| | | | | | * python/tests/indexes.py python/tests/reader.py: indicated encoding of the test file, needed for python 2.3 Daniel
* added xmlByteConsumed() interface updated the benchmark rebuilt the docsDaniel Veillard2004-02-113-1/+115
| | | | | | | | | | * 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
* added a small hack to fix interference between my fixes for bugs 132585William M. Brack2004-02-081-1/+4
| | | | | | | * 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
* preparing release 2.6.5, rebuilt the docs, checked rngparser stuff doesDaniel Veillard2004-01-251-0/+1
| | | | | | * configure.in NEWS doc/*: preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does not end up in the tarball Daniel
* applied patch from Frederic Peters fixing the wrong arg order in xpathDaniel Veillard2004-01-251-1/+1
| | | | | | * python/libxml.c: applied patch from Frederic Peters fixing the wrong arg order in xpath callback in bug #130980 Daniel
* applied patch from Stephane Bidoul to add enums to the Python bindings.Daniel Veillard2004-01-142-10/+25
| | | | | | * python/generator.py python/tests/tstLastError.py: applied patch from Stephane Bidoul to add enums to the Python bindings. Daniel
* applied patch from Stephane Bidoul for structured error handling fromDaniel Veillard2004-01-067-1/+150
| | | | | | | | * 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
* moved string and UTF8 routines out of parser.c and encoding.c into a newWilliam M. Brack2004-01-061-9/+11
| | | | | | | | | | | | | | | | | | | | | * 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)
* fixed problem pointed out by Stéphane Bidoul on the list. completedWilliam M. Brack2003-12-312-3/+2
| | | | | | | | * 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...
* fixed bug #129489, propagation of parsing flags in entities. improved theDaniel Veillard2003-12-211-0/+1
| | | | | | | * parser.c: fixed bug #129489, propagation of parsing flags in entities. * parser.c xmlreader.c: improved the comments of parsing options Daniel
* applied fixes to allow build from 'outside' directory (Bug 129172)William M. Brack2003-12-212-3/+3
| | | | | | * python/Makefile.am, python/tests/Makefile.am, doc/Makefile.am: applied fixes to allow build from 'outside' directory (Bug 129172)
* augmented the XInclude API to be able to pass XML parser flags down to theDaniel Veillard2003-12-091-0/+2
| | | | | | | | | | | | | | * 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
* tried to fix the problems reported in bug #126735 fixed again some problemDaniel Veillard2003-12-081-15/+19
| | | | | | | | | | * 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
* fixed the pattern interfaces but not yet the parser to handle theDaniel Veillard2003-12-051-1/+0
| | | | | | | | * 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
* cleanup the make rebuild in doc, this include new directive to stopDaniel Veillard2003-12-051-0/+1
| | | | | | | | | | | | | | | | | * 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
* oops forgot to modify/commit the new code. DanielDaniel Veillard2003-12-041-4/+24
| | | | | * python/libxml.py: oops forgot to modify/commit the new code. Daniel
* cleanup the output buffer support to at least get the basic to work fixesDaniel Veillard2003-12-046-16/+104
| | | | | | | | | | * 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
* enhanced for range checking, updated to Unicode version 4.0.1 (API docsWilliam M. Brack2003-11-092-0/+33
| | | | | | | * 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
* small enhancement to assure ATTRIBUTE_UNUSED appears after the variableWilliam M. Brack2003-11-041-3/+4
| | | | | | * python/generator.py: small enhancement to assure ATTRIBUTE_UNUSED appears after the variable declaration. * valid.c: trivial change to eliminate a warning message
* preparing release 2.6.2, updated and rebuilt the docs DanielDaniel Veillard2003-11-041-0/+1
| | | | | | * configure.in NEWS doc/*: preparing release 2.6.2, updated and rebuilt the docs Daniel
* previous fix for #124044 was broken, correct fix provided. fixDaniel Veillard2003-10-311-3/+3
| | | | | | | | * 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
* be more defensive in the xmlReader python bindings fixing bug #124044Daniel Veillard2003-10-301-0/+8
| | | | | | * python/libxml.c: be more defensive in the xmlReader python bindings fixing bug #124044 Daniel
* preparing release 2.6.1, updated and regenerated docs and APIs cleanup andDaniel Veillard2003-10-281-0/+1
| | | | | | | * 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
* fixed warning message from IRIX (bug 125182) removed tabs, replaced withWilliam M. Brack2003-10-271-104/+104
| | | | | | * xmllint.c: fixed warning message from IRIX (bug 125182) * python/libxml.py: removed tabs, replaced with spaces (bug 125572)