summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* more work on the xml reader interfaces. updated Igor's mail and the WebDaniel Veillard2002-12-181-0/+3
| | | | | | | | * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more work on the xml reader interfaces. * AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the Web page for the Windows binaries. Daniel
* Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it.Daniel Veillard2002-12-161-0/+5
| | | | | | | | | * parser.c: Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it. * test/att4 result/att4 result/noent/att4: adding the test * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added more methods to XmlTextReader. Daniel
* added more methods of XmlTextReader. this increased the methods in theDaniel Veillard2002-12-152-0/+159
| | | | | | | | | * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added more methods of XmlTextReader. * python/libxml2class.txt python/tests/reader.py: this increased the methods in the bndings, augmented the test to check those new functions. Daniel
* added the close and getattribute methods of XmlTextReader. added theDaniel Veillard2002-12-146-1/+179
| | | | | | | | | | | * xmlreader.c doc/libxml2-api.xml: added the close and getattribute methods of XmlTextReader. * python/generator.py python/libxml_wrap.h python/types.c python/libxml2class.txt: added the reader to the Python bindings * python/tests/Makefile.am python/tests/reader.py: added a specific test for the Python bindings of the Reader APIs * parser.c: small cleanup. Daniel
* preparing release of 2.4.30 fixups to the api builder, gives enum values,Daniel Veillard2002-12-121-0/+1
| | | | | | | | | * configure.in: preparing release of 2.4.30 * doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder, gives enum values, fix functype return type, put back fields in structs * doc/*: updated the docs rebuilt Daniel
* patch from Mark Vadok about htmlNodeDumpOutput location. removed anDaniel Veillard2002-12-121-38/+0
| | | | | | | | | | * HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok about htmlNodeDumpOutput location. * xpath.c: removed an undefined function signature * doc/apibuild.py doc/libxml2-api.xml: the script was exporting too many symbols in the API breaking the python bindings. Updated with the libxslt/libexslt changes. Daniel
* new API building Python script, does the C parsing directly, generates aDaniel Veillard2002-12-111-7/+40
| | | | | | | | | | | | | | | * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel
* another patch from Stéphane Bidoul for Python bindings on Windows smallDaniel Veillard2002-11-271-14/+22
| | | | | | | * python/setup.py.in: another patch from Stéphane Bidoul for Python bindings on Windows * doc/parsedecl.py: small cleanup Daniel
* Return the previous as opposed to the next node (I guess this is theDaniel Veillard2002-11-241-2/+2
| | | | | | * python/libxml.c (libxml_prev): Return the previous as opposed to the next node (I guess this is the result of some cut & paste programming:) Daniel
* trying to fix the Python bindings build on Windows (Stéphane Bidoul)Daniel Veillard2002-11-233-12/+84
| | | | | | * python/generator.py python/libxml.c python/setup.py.in: trying to fix the Python bindings build on Windows (Stéphane Bidoul) Daniel
* final touch at closing #87235 </p> end tags need to be generated. thisDaniel Veillard2002-11-221-1/+2
| | | | | | | | | * HTMLparser.c: final touch at closing #87235 </p> end tags need to be generated. * result/HTML/cf_128.html result/HTML/test2.html result/HTML/test3.html: this change slightly the output of a few tests * doc/*: regenerated Daniel
* fixed #99082 for xi:include encoding="..." support on text includes. addedDaniel Veillard2002-11-202-2/+9
| | | | | | | | | | | * xinclude.c parserInternals.c encoding.c: fixed #99082 for xi:include encoding="..." support on text includes. * result/XInclude/tstencoding.xml test/XInclude/docs/tstencoding.xml test/XInclude/ents/isolatin.txt : added a specific regression test * python/generator.py python/libxml2class.txt: fixed the generator the new set of comments generated for doc/libxml2-api.xml were breaking the python generation. Daniel
* fixing bug #98792 , node may have no doc and dereferencing withoutDaniel Veillard2002-11-171-1/+1
| | | | | | * python/libxml.c: fixing bug #98792 , node may have no doc and dereferencing without checking ain't good ... Daniel
* trying to fix bug #98517 about building outside the source tree fixed theDaniel Veillard2002-11-152-4/+4
| | | | | | | * Makefile.am python/Makefile.am python/tests/Makefile.am: trying to fix bug #98517 about building outside the source tree * doc/xml.html doc/FAQ.html: fixed the link to libiconv #94585 Daniel
* Applied the VMS update patch from Craig A. Berry update DanielDaniel Veillard2002-10-221-88/+89
| | | | | | | | | | | * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
* fixed bugs when passing result value tree to Python functions. DanielDaniel Veillard2002-10-201-4/+28
| | | | | | * python/types.c: fixed bugs when passing result value tree to Python functions. Daniel
* fixed a stupid error breaking the python API DanielDaniel Veillard2002-09-262-7/+7
| | | | | | * python/generator.py python/libxml2class.txt: fixed a stupid error breaking the python API Daniel
* improving some documentation comments found and fixed a mem leak withDaniel Veillard2002-09-256-87/+314
| | | | | | | | | | | | | * tree.c: improving some documentation comments * xmlregexp.c: found and fixed a mem leak with python regression tests * doc/*: rebuilt the doc and the API XML file including the xmlregexp.h xmlautomata.h and xmlunicode.h headers * python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: added access to the XML Schemas regexps from python * python/tests/Makefile.am python/tests/regexp.py: added a simple regexp bindings test Daniel
* fixed the data callback on transition functionality which was broken whenDaniel Veillard2002-09-242-93/+93
| | | | | | | | | | | | | * xmlregexp.c: fixed the data callback on transition functionality which was broken when using the compact form * result/schemas/*: updated the results, less verbose, all tests pass like before * DOCBparser.c testAutomata.c testC14N.c testSchemas.c testThreads.c testXPath.c valid.c xinclude.c xmllint.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of annoying warnings * xpath.c: try to provide better error report when possible Daniel
* stupid bug found by mattam@netcourrier.com DanielDaniel Veillard2002-09-171-1/+1
| | | | | * python/libxml_wrap.h: stupid bug found by mattam@netcourrier.com Daniel
* updated the python bindings, added code for easier File I/O, and theDaniel Veillard2002-09-1213-12/+665
| | | | | | | | | | | | | * python/generator.py python/libxml.c python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: updated the python bindings, added code for easier File I/O, and the ability to define a resolver from Python fixing bug #91635 * python/tests/Makefile.am python/tests/inbuf.py python/tests/outbuf.py python/tests/pushSAXhtml.py python/tests/resolver.py python/tests/serialize.py: updated and augmented the set of Python tests. Daniel
* applied patch from Christophe Merlet to reestablish DESTDIR DanielDaniel Veillard2002-09-051-4/+4
| | | | | | * python/Makefile.am: applied patch from Christophe Merlet to reestablish DESTDIR Daniel
* possible mem leak patch from Jason Adams integrated xf:escape-uri() fromLIBXML_2_4_24Daniel Veillard2002-08-221-0/+49
| | | | | | | | | | | * xpath.c: possible mem leak patch from Jason Adams * xpath.c: integrated xf:escape-uri() from Wesley Terpstra in the XQuery namespace * configure.in: preparing 2.4.24 * doc/*.html: updated the web pages * python/generator.py: closing bug #85258 by generating conditional compile check to avoid linking to routines not configured in. Daniel
* typo in target name resulted in libxml2.py to not be rebuilt. fixedDaniel Veillard2002-08-221-6/+6
| | | | | | * python/Makefile.am: typo in target name resulted in libxml2.py to not be rebuilt. fixed DESTDIR similary to the libxslt one. Daniel
* more AMD 64 induced changes from Frederic Crozat DanielDaniel Veillard2002-08-141-1/+1
| | | | | | * configure.in python/Makefile.am: more AMD 64 induced changes from Frederic Crozat Daniel
* fixed the test results, indenting behaviour changed slightly DanielDaniel Veillard2002-08-121-4/+4
| | | | | | * python/tests/serialize.py: fixed the test results, indenting behaviour changed slightly Daniel
* Opening the interface xmlNewCharEncodingHandler as requested in #89415Daniel Veillard2002-08-012-21/+20
| | | | | | | | | | * encoding.c include/libxml/encoding.h: Opening the interface xmlNewCharEncodingHandler as requested in #89415 * python/generator.py python/setup.py.in: applied cleanup patches from Marc-Andre Lemburg * tree.c: fixing bug #89332 on a specific case of loosing the XML-1.0 namespace on xml:xxx attributes Daniel
* fixed python/Makefile.am for bug 72012William M. Brack2002-07-211-3/+6
|
* preparing 2.4.23 rebuilt the docs DanielLIBXML_2_4_23Daniel Veillard2002-07-061-0/+7
| | | | | | * configure.in: preparing 2.4.23 * doc/*: rebuilt the docs Daniel
* Fixed serialize and saveTo comment, DanielDaniel Veillard2002-05-291-1/+1
|
* preparing 2.4.22 DanielLIBXML_2_4_22Daniel Veillard2002-05-271-0/+4
| | | | | * configure.in: preparing 2.4.22 Daniel
* fixed a problem with the HTML parser pointed by Gary Benson sdding theDaniel Veillard2002-05-134-4/+73
| | | | | | | | * python/generator.py python/libxml2class.txt : fixed a problem with the HTML parser pointed by Gary Benson * python/tests/Makefile.am python/tests/pushSAXhtml.py: sdding the example Daniel
* release of 2.4.20 updated and rebuilt the docs DanielLIBXML_2_4_20Daniel Veillard2002-04-152-2/+42
| | | | | | * configure.in: release of 2.4.20 * doc/*: updated and rebuilt the docs Daniel
* patch from Cristian Gafton to build on Red Hat 6.2, should also fix #75779Daniel Veillard2002-04-151-2/+2
| | | | | | * python/Makefile.am: patch from Cristian Gafton to build on Red Hat 6.2, should also fix #75779 Daniel
* Added Igor Zlatkovic as official maintainer Albert Chin pointed thatDaniel Veillard2002-03-272-2/+2
| | | | | | | * AUTHORS HACKING: Added Igor Zlatkovic as official maintainer * python/Makefile.am python/tests/Makefile.am: Albert Chin pointed that $(datadir) should be used for docs Daniel
* humm, changed the way the SAX parser work whenDaniel Veillard2002-03-181-2/+2
| | | | | | | | | * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
* small fix to avoid potential problem due to ordering of freeing dataDaniel Veillard2002-03-161-1/+1
| | | | | | | | * xpath.c: small fix to avoid potential problem due to ordering of freeing data * python/Makefile.am: people were complaining about the generated file in python dir not being built Daniel
* Cleanup of the python Makefiles based on Jacob and James feedback, fixedDaniel Veillard2002-03-155-896/+1040
| | | | | | | | | | * libxml.spec.in python/Makefile.am python/tests/Makefile.am python/generator.py python/libxml.c python/types.c: Cleanup of the python Makefiles based on Jacob and James feedback, fixed the spec file accordingly, fixed the number of warning that passing my pedantic CFLAGS was generating. Conclusion is that Python includes are real crap. Daniel
* remove LDADD and CFLAGS as this is broken usage, redundant, and gccjacob berkman2002-03-141-3/+0
| | | | | | | 2002-03-13 jacob berkman <jacob@ximian.com> * python/Makefile.am: remove LDADD and CFLAGS as this is broken usage, redundant, and gcc specific
* config.py* was missing, DanielDaniel Veillard2002-03-091-0/+2
|
* fix to adapt varaiations in the bindings fixed to have the version of theDaniel Veillard2002-03-091-1/+1
| | | | | | | | * check-xml-test-suite.py: fix to adapt varaiations in the bindings * configure.in python/setup.py python/setup.py.in: fixed to have the version of the python scripts automatically updated Daniel
* preparing 2.4.17 release updated and rebuilt the docs fixed a commentLIBXML_2_4_13Daniel Veillard2002-03-081-0/+5
| | | | | | | | * configure.in: preparing 2.4.17 release * doc/*: updated and rebuilt the docs * xpath.c: fixed a comment * python/libxml.c: fixed a possible reentrancy problem Daniel
* fixed xmlHasNsProp() bugs for defaulted from DTD attribs, added a specificDaniel Veillard2002-03-073-3/+52
| | | | | | | | | * tree.c python/tests/Makefile.am python/tests/attribs.py: fixed xmlHasNsProp() bugs for defaulted from DTD attribs, added a specific regression test * python/generator.py: xmlHasNsProp() and xmlHasProp() shall not raise exceptions when failing to find the attribute. Daniel
* fixed xmlReconciliateNs(), added a Python test/example for inter-documentDaniel Veillard2002-03-073-3/+69
| | | | | | | | | * tree.c python/tests/Makefile.am python/tests/cutnpaste.py: fixed xmlReconciliateNs(), added a Python test/example for inter-document cut'n paste * python/libxml.py: fixed node.doc on document nodes and added xpathEval() onto node objects Daniel
* fixed some htmlSetMetaEncoding() problems fixup and integrated tests forDaniel Veillard2002-03-063-2/+157
| | | | | | | * HTMLtree.c: fixed some htmlSetMetaEncoding() problems * python/libxml.c python/tests/Makefile.am python/tests/serialize.py: fixup and integrated tests for the serialization stuff Daniel
* fix bug #72490 added methods serialize() and saveTo() to all nodeDaniel Veillard2002-03-062-1/+233
| | | | | | | * tree.c: fix bug #72490 * python/libxml.c python/libxml.py: added methods serialize() and saveTo() to all node elements. Daniel
* make sure SAX endDocument is always called as this could result in aDaniel Veillard2002-03-057-11/+304
| | | | | | | | | | | | * parser.c: make sure SAX endDocument is always called as this could result in a Python memory leak otherwise (it's used to decrement ref-counting) * python/generator.py python/libxml.c python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt python/tests/error.py python/tests/xpath.py: implemented the suggestions made by Gary Benson and extended the tests to match it. Daniel
* applied patch fixing #73450 DanielDaniel Veillard2002-03-051-2/+2
| | | | | * python/generator.py: applied patch fixing #73450 Daniel
* added the possibility of returning nodesets from XPath extension functionsDaniel Veillard2002-03-013-3/+81
| | | | | | | * python/types.c python/tests/Makefile.am python/tests/xpathret.py: added the possibility of returning nodesets from XPath extension functions written in Python Daniel
* commiting some Python bindings work done while travelling DanielDaniel Veillard2002-03-014-7/+51
| | | | | * python/*: commiting some Python bindings work done while travelling Daniel