python/libxml.c


Log

Author Commit Date CI Message
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
Daniel Veillard c64b8e98 2003-02-24T11:47:13 some warning removal on Igor's patch seems I messed up with #106788 fix * uri.c parser.c: some warning removal on Igor's patch * tree.c: seems I messed up with #106788 fix * python/libxml.c: fixed some base problems when Python provides the resolver. * relaxng.c: fixed the interleave algorithm found 373 test schemas: 364 success 9 failures found 529 test instances: 525 success 4 failures the resulting failures are bug in the algorithm from 7.3 and lack of support for params Daniel
Daniel Veillard 3b2e4e1c 2003-02-03T08:52:58 removed an unprotedted debug message Aleksi Suhonen put a guard against * python/libxml.c: removed an unprotedted debug message Aleksi Suhonen * parser.c: put a guard against infinite document depth, basically trying to avoid another kind of DoS attack. * relaxng.c: some code w.r.t. nameClasses Daniel
Daniel Veillard 417be3ae 2003-01-20T21:26:34 patch from Stéphane Bidoul for better per context error message APIs * xmlreader.c python/drv_libxml2.py python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: patch from Stéphane Bidoul for better per context error message APIs * python/tests/ctxterror.py python/tests/readererr.py: update of the tests Daniel
Daniel Veillard 26f70269 2003-01-16T22:45:08 applied a patch from Stéphane Bidoul to allow per XMLtextReader error and * xmlreader.c include/libxml/xmlreader.h python/generator.py python/libxml.c python/libxml.py win32/libxml2.def.src: applied a patch from Stéphane Bidoul to allow per XMLtextReader error and warning handling * python/tests/Makefile.am python/tests/readererr.py: adding the specific regression test Daniel
Daniel Veillard e4a07e7b 2003-01-14T14:40:25 cleanup patch from Stéphane Bidoul Daniel * python/libxml.c: cleanup patch from Stéphane Bidoul Daniel
Daniel Veillard e6227e05 2003-01-14T11:42:39 applied and fixed a patch from Stephane Bibould to provide per parser * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: applied and fixed a patch from Stephane Bibould to provide per parser error handlers at the Python level. * python/tests/Makefile.am python/tests/ctxterror.py: added a regression test for it. Daniel
Daniel Veillard 3e20a292 2003-01-10T13:14:40 fixed bug #102181 by applying the suggested change and fixing the * python/libxml.py python/libxml.c python/libxml2-python-api.xml: fixed bug #102181 by applying the suggested change and fixing the generation/registration problem. Daniel
Daniel Veillard 0d132cff 2002-12-23T14:43:32 patch from Stéphane Bidoul for Python 2.1 Daniel * python/libxml.c python/setup.py.in: patch from Stéphane Bidoul for Python 2.1 Daniel
Daniel Veillard faa35ff3 2002-11-24T13:53:43 Return the previous as opposed to the next node (I guess this is the * 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
Daniel Veillard a1196ed4 2002-11-23T11:22:49 trying to fix the Python bindings build on Windows (Stéphane Bidoul) * python/generator.py python/libxml.c python/setup.py.in: trying to fix the Python bindings build on Windows (Stéphane Bidoul) Daniel
Daniel Veillard a8c0adbc 2002-11-17T22:37:35 fixing bug #98792 , node may have no doc and dereferencing without * python/libxml.c: fixing bug #98792 , node may have no doc and dereferencing without checking ain't good ... Daniel
Daniel Veillard 118aed78 2002-09-24T14:13:13 fixed the data callback on transition functionality which was broken when * 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
Daniel Veillard c6d4a933 2002-09-12T15:00:57 updated the python bindings, added code for easier File I/O, and the * 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
Daniel Veillard d2379010 2002-03-15T22:24:56 Cleanup of the python Makefiles based on Jacob and James feedback, fixed * 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
Daniel Veillard af43f63a 2002-03-08T15:05:20 preparing 2.4.17 release updated and rebuilt the docs fixed a comment * 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
Daniel Veillard 4e0e2974 2002-03-06T21:39:42 fixed some htmlSetMetaEncoding() problems fixup and integrated tests for * 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
Daniel Veillard 1e77438d 2002-03-06T17:35:40 fix bug #72490 added methods serialize() and saveTo() to all node * tree.c: fix bug #72490 * python/libxml.c python/libxml.py: added methods serialize() and saveTo() to all node elements. Daniel
Daniel Veillard 8d24cc18 2002-03-05T15:41:29 make sure SAX endDocument is always called as this could result in a * 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
Daniel Veillard a94ec6ff 2002-03-01T13:00:53 commiting some Python bindings work done while travelling Daniel * python/*: commiting some Python bindings work done while travelling Daniel
Daniel Veillard 6361da0c 2002-02-23T10:10:33 Added wrapper for the xmlURIPtr type, provided accessors, fixed the * python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: Added wrapper for the xmlURIPtr type, provided accessors, fixed the accessor generator for strings * python/tests/Makefile.am python/tests/tstURI.py: added a specific regression test. Daniel
Daniel Veillard 0fea6f45 2002-02-22T22:51:13 added the 'usual' setup.py to allow building a libxml2-python module based * python/README python/generator.py python/libxml.c python/setup.py: added the 'usual' setup.py to allow building a libxml2-python module based on the same code. The initialization is however different the 2 .so files fo libxml2 and libxslt are identical and they entry point initialize both libraries. this is done to avoid some possible nasty problem since the Python don't merge the maps of all shared modules. Daniel
Daniel Veillard 797a565a 2002-02-12T13:46:21 couple of bug fixes Daniel * python/libxml.c: couple of bug fixes Daniel
Daniel Veillard 0ba59239 2002-02-10T13:20:39 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c globals.c parser.c threads.c tree.c valid.c xmlmemory.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlmemory.h include/libxml/xpathInternals.h: Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * python/libxml.c: fixed a warning. Daniel
Daniel Veillard 5e5c2d0a 2002-02-09T18:03:01 Justin Fletcher found some parts of the code needing cleanup Fixed the * parserInternals.c valid.c: Justin Fletcher found some parts of the code needing cleanup * libxml.spec.in python/Makefile.am python/generator.py python/libxml.c python/libxml.py: Fixed the python Makefiles corrected a bug showing up on ia64, changed the name of the python internal module too Daniel
Daniel Veillard c575b997 2002-02-08T13:28:40 Changed to the MIT Licence updated the doc accordingly preparing 2.4.14 * Copyright Makefile.am README configure.in libxml.spec.in: Changed to the MIT Licence * doc/FAQ.html doc/catalog.html doc/intro.html doc/xml.html doc/xmlio.html: updated the doc accordingly * include/libxml/xmlwin32version.h configure.in: preparing 2.4.14 release * python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: fixed the const xmlChar * wrapper and generator, XPath extension functions now use the context as first argument * python/tests/tstxpath.py python/tests/xpath.py python/tests/xpathext.py: Updated the tests accordingly * tree.c: fixed bug #70067 Daniel
Daniel Veillard 70cab35a 2002-02-06T16:06:58 cleanup the extension function lookup always compile the list Daniel * python/TODO python/libxml.c: cleanup the extension function lookup * xmlmemory.c include/libxml/xmlmemory.h: always compile the list Daniel
Daniel Veillard 33caa0b8 2002-02-04T14:07:26 started adding SAX interfaces added a basic SAX test Daniel * python/TODO python/libxml.c: started adding SAX interfaces * python/tests/Makefile.am python/tests/pushSAX.py: added a basic SAX test Daniel
Daniel Veillard 36eea2d2 2002-02-04T00:17:01 hardened the addChild function added accessors needed for xmlNode, a bit * tree.c: hardened the addChild function * python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/TODO: added accessors needed for xmlNode, a bit more testing and extension of interfaces * python/tests/Makefile.am python/tests/build.py: added a test build from scratch/save/load/check Daniel
Daniel Veillard 4e1b26cf 2002-02-03T20:13:06 change a small bit in the way valididy error messages get initialized * parserInternals.c: change a small bit in the way valididy error messages get initialized * python/TODO python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: added some memory debugging to track leaks at the libxml2 level * python/tests/*.py: changed all tests to check for leaks, there is just one left in XPath extension registrations. daniel
Daniel Veillard 3ce5257b 2002-02-03T15:08:05 cleanup added class for parser context, added first cut for push mode * python/Makefile.am python/types.c: cleanup * python/libxml.c python/libxml.py python/libxml_wrap.h python/generator.py python/libxml2-python-api.xml python/libxml2class.txt: added class for parser context, added first cut for push mode support. Added a framework to generate accessors functions. * python/tests/Makefile.am python/tests/push.py: added a push test Daniel
Daniel Veillard 5d81903b 2002-02-02T21:49:17 adding error redirections and preformat to a python handler cleanup made * python/Makefile.am python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt: adding error redirections and preformat to a python handler * python/tests/Makefile.am python/tests/*.py: cleanup made all tests self checking Daniel
Daniel Veillard 7fd7a94a 2002-02-02T12:19:46 fixed a stupid bug when renaming a function Daniel * python/libxml.c python/libxml.py: fixed a stupid bug when renaming a function Daniel
Daniel Veillard 9589d455 2002-02-02T10:28:17 Progressing through the TODOs, class description output, extra XML API, * libxml.spec.in python/Makefile.am python/TODO python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt: Progressing through the TODOs, class description output, extra XML API, RPM now builds the wrappers for all python installed versions Daniel
Daniel Veillard a7340c83 2002-02-01T17:56:45 more work, now able to extend the XPath interpreter with functions written * python/Makefile.am python/generator.py python/libxml.c python/libxml.py: more work, now able to extend the XPath interpreter with functions written in python. Daniel
Daniel Veillard 96c9af76 2002-02-01T00:06:44 Fixed a couple more of python building problems, Daniel
Daniel Veillard f1d0e6be 2002-01-31T23:42:44 inserted the python wrappers build, I hope this won't be too unportable * python/Makefile.am python/libxml.c configure.in Makefile.am: inserted the python wrappers build, I hope this won't be too unportable Daniel
Daniel Veillard 1971ee26 2002-01-31T20:29:19 minor optimization more work on the python bindings, they now support * xpath.c: minor optimization * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h: more work on the python bindings, they now support XPath and there is no evident leak Daniel
Daniel Veillard 36ed5290 2002-01-30T23:49:06 more work on the python bindings generator. Daniel * python/generator.py python/libxml.c python/libxml.py: more work on the python bindings generator. Daniel
Daniel Veillard 96fe095d 2002-01-30T20:52:23 more work on the python bindings. Daniel * python/generator.py python/libxml.c python/libxml_wrap.h: more work on the python bindings. Daniel
Daniel Veillard d2897fde 2002-01-30T16:37:32 commited early version of a python binding for private use only ATM Daniel * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h: commited early version of a python binding for private use only ATM Daniel