python/generator.py


Log

Author Commit Date CI Message
Daniel Veillard 3cd7240d 2002-05-13T10:33:30 fixed a problem with the HTML parser pointed by Gary Benson sdding the * 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
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 ef6c46f8 2002-03-07T22:21:56 fixed xmlHasNsProp() bugs for defaulted from DTD attribs, added a specific * 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
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 ba5e18a3 2002-03-05T09:36:43 applied patch fixing #73450 Daniel * python/generator.py: applied patch fixing #73450 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 01a6d417 2002-02-11T18:42:20 removed tabs and used spaces. Daniel * python/*.py: removed tabs and used spaces. 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 7db3871b 2002-02-07T16:39:11 cleanup always use stdout if output is NULL don't close filedescriptors * Makefile.am: cleanup * debugXML.c: always use stdout if output is NULL * xmlIO.c: don't close filedescriptors passed to outputBuffers * python/Makefile.am python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: augmented the number of bindings handling FILE * and XPath contexts * python/tests/Makefile.am: avoid a stupid problem due to the use of 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 26f1dcc5 2002-02-03T16:53:19 more accessor classes for the parser context, allow to switch on and check * python/TODO python/generator.py python/libxml2-python-api.xml python/libxml2class.txt: more accessor classes for the parser context, allow to switch on and check validity * python/tests/Makefile.am python/tests/error.py python/tests/invalid.xml python/tests/valid.xml python/tests/validate.py: attded more test and and added error.py which I forgot to commit in the last step 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 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 253aa2c3 2002-02-02T09:17:16 added more informations in the libxml2-python package including docs. * configure.in libxml.spec.in python/Makefile.am python/TODO python/generator.py python/libxml2class.txt: added more informations in the libxml2-python package including docs. Slightly changed the class hierarchy * python/tests/*: added basic regression tests infrastructure too 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 6327697c 2002-01-31T23:49:05 Force the generato to use the API description in ../doc, 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