1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Daniel Veillard
417be3ae08 patch from Stphane 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 Stphane Bidoul for better per
  context error message APIs
* python/tests/ctxterror.py python/tests/readererr.py:
  update of the tests
Daniel
2003-01-20 21:26:34 +00:00
Daniel Veillard
26f70269c8 applied a patch from Stphane 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 Stphane Bidoul to allow per XMLtextReader error
  and warning handling
* python/tests/Makefile.am python/tests/readererr.py: adding the
  specific regression test
Daniel
2003-01-16 22:45:08 +00:00
Daniel Veillard
e6227e0549 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
2003-01-14 11:42:39 +00:00
Daniel Veillard
3e20a29213 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
2003-01-10 13:14:40 +00:00
Daniel Veillard
51a447a578 integrated the Python 2.2 optimizations from Hannu Krosing, while
* python/libxml.py: integrated the Python 2.2 optimizations
  from Hannu Krosing, while maintaining compatibility with
  1.5 and 2.1
Daniel
2003-01-04 19:42:46 +00:00
Daniel Veillard
e59494fa54 a bit of cleanup small fix more work on the XmlTextReader tutorial a few
* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
2003-01-04 16:35:29 +00:00
Daniel Veillard
e18fc185fa extended the XmlTextReader API a bit, addding accessors for the current
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml:
  extended the XmlTextReader API a bit, addding accessors for
  the current doc and node, and an entity substitution mode for
  the parser.
* python/libxml.py python/libxml2class.txt: related updates
* python/tests/Makefile.am python/tests/reader.py
  python/tests/reader2.py python/tests/reader3.py: updated a bit
  the old tests and added a new one to test the entities handling
Daniel
2002-12-28 22:56:33 +00:00
Daniel Veillard
f25b4cab44 added a few predefined xmlTextReader parser configuration values. Daniel
* python/libxml.py: added a few predefined xmlTextReader parser
  configuration values.
Daniel
2002-12-27 15:18:35 +00:00
Daniel Veillard
c6d4a933f0 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
2002-09-12 15:00:57 +00:00
Daniel Veillard
12171c4db1 Fixed serialize and saveTo comment, Daniel 2002-05-29 14:43:10 +00:00
Daniel Veillard
f742d34179 fixed xmlReconciliateNs(), added a Python test/example for inter-document
* 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
2002-03-07 00:05:35 +00:00
Daniel Veillard
1e77438da7 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
2002-03-06 17:35:40 +00:00
Daniel Veillard
8d24cc1898 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
2002-03-05 15:41:29 +00:00
Daniel Veillard
797a565a2f couple of bug fixes Daniel
* python/libxml.c: couple of bug fixes
Daniel
2002-02-12 13:46:21 +00:00
Daniel Veillard
01a6d4170c removed tabs and used spaces. Daniel
* python/*.py: removed tabs and used spaces.
Daniel
2002-02-11 18:42:20 +00:00
Daniel Veillard
5e5c2d0a93 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
2002-02-09 18:03:01 +00:00
Daniel Veillard
3ce5257b29 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
2002-02-03 15:08:05 +00:00
Daniel Veillard
cfb0546244 fixed a small bug a bit of cleanup. Daniel
* python/Makefile.am python/TODO python/libxml.py: fixed a small
  bug a bit of cleanup.
Daniel
2002-02-02 23:18:22 +00:00
Daniel Veillard
7fd7a94aa8 fixed a stupid bug when renaming a function Daniel
* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
  a function
Daniel
2002-02-02 12:19:46 +00:00
Daniel Veillard
a7340c830e 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
2002-02-01 17:56:45 +00:00
Daniel Veillard
1971ee2698 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
2002-01-31 20:29:19 +00:00
Daniel Veillard
36ed5290a2 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
2002-01-30 23:49:06 +00:00
Daniel Veillard
d2897fde00 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
2002-01-30 16:37:32 +00:00