History log of /external/libxml2/python/libxml.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a136fc2e5a8893a02b0912862d26a575fcbd641a 26-Jul-2016 Xin Li <delphij@google.com> Merge remote-tracking branch 'goog/upstream-master' into mymerge

BUG: 29834751
Change-Id: I88fc1d4f86bcbd0ac0fe9acdbe764f3d738c5f32
(cherry picked from commit e3d78e1fe0669e9c7083a4de19f1e06171849b28)
/external/libxml2/python/libxml.c
6eea2f2c60e6a97491920cdf86b847869a2411dd 30-May-2013 Armin K <krejzi@email.com> python: Fix compiler warnings when building python3 bindings
/external/libxml2/python/libxml.c
10ec19ab0a49936ca8ca0d6962d24d3f889960a5 02-May-2013 dcb <dcb314@hotmail.com> Fix missing break on last() function for attributes

pointed out by cppcheck
/external/libxml2/python/libxml.c
3798c4adbb91f80bef1e9f1b4b61dae72577a244 29-Mar-2013 Daniel Veillard <veillard@redhat.com> Fix compilation on Python3

while still compiling on recent Python2:
- change the handling of files, tweak the generator, get the fd
instead of the FILE *, dup it and fdopen based on mode, add a
Release function on Python3 and call to flush from the generated
python stubs
- switch to using Capsules instead of CObjects
- fix PyString to PyBytes
- fix PyInt to PyLong
- tweak the module registration to compile on both versions
- drop PyInstance check for passed xmlNodes and instead check
attributes presence

Daniel
/external/libxml2/python/libxml.c
519bc6a3ab82445a8719f548d0450efe02cc9c82 19-Sep-2012 Shaun McCance <shaunm@gnome.org> Add support for xpathRegisterVariable in Python
/external/libxml2/python/libxml.c
a9016c492788eb4792c42b52df0c72b46136787d 25-Feb-2013 Alexey Neyman <stilor@att.net> Fix a few problems with setEntityLoader

1. Setting entity loader does not increment the refcount on the Python object
passed in. This works only if the object is not deleted. For example, the
following code results in segmentation fault in Python interpreter when
attempting to process any document:

[[[
def register_entity_loader():
def entity_loader(URL, ID, ctxt):
...
libxml2.setEntityLoader(entity_loader

register_entity_loader()
]]]

2. setEntityLoader() does not verify if the passed object is callable. If it
is not, current implementation attempts to call it anyway and failing that,
silently moves on to default entity loader. Attached patch makes
setEntityLoader raise ValueError exception if non-callable object is
passed.

3. In debug mode, pythonExternalEntityLoader() outputs the result object to
stderr, while the messages before and after the object (description + newline)
go to stdout. Attached patch makes them all go to stdout.
/external/libxml2/python/libxml.c
48da90bc4a3809728d08ee9ee8da21d044fbca82 25-Feb-2013 Alexey Neyman <stilor@att.net> Python binding for xmlRegisterInputCallback

It is possible to make xmlIO handle any protocol by means of
xmlRegisterInputCallback(). However, that function is currently only
available in C API. So, the natural solution seems to be implementing Python
bindings for the xmlRegisterInputCallback.

* python/generator.py: skip xmlPopInputCallbacks
* python/libxml.c python/libxml.py python/libxml_wrap.h: implement the
wrappers
* python/tests/input_callback.py python/tests/Makefile.am: also add a test case
/external/libxml2/python/libxml.c
961b535c10c7d07d7919c58c1d0c6762b35503a1 03-Jul-2012 Akira TAGOH <akira@tagoh.org> Bug 676544 - fails to build with --without-sax1

Added some ifdef'd LIBXML_SAX1_ENABLED to make it buildable with
--without-sax1 configure option.
/external/libxml2/python/libxml.c
c3b1d09ba226a138722a21cc8e8cc8ee29d80f8d 13-Aug-2012 Roumen Petrov <bugtrack@roumenpetrov.info> clean redefinition of {v}snprintf in C-source

as those from *config.h are preferable (e.g. win32config.h)
/external/libxml2/python/libxml.c
22030ef8888579b9ae8d8a63367e31b201eef4b5 23-May-2012 Daniel Veillard <veillard@redhat.com> Restore code for Windows compilation

Try to keep as close to rc1 but still allow the change from Roumen for
mingw
/external/libxml2/python/libxml.c
978ff224b2284f50bfb59c70b92a4b77bd4a7388 20-May-2012 Roumen Petrov <bugtrack@roumenpetrov.info> use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime
/external/libxml2/python/libxml.c
fdd3c04a617b330084335bee90387dcfa975500f 08-May-2011 Stefan Kost <ensonic@users.sf.net> python: remove unused variable
/external/libxml2/python/libxml.c
c31e06cc18ac5d876eb712dcd2d7e2cbe74832a6 08-May-2011 Stefan Kost <ensonic@users.sf.net> python: flag two unused args
/external/libxml2/python/libxml.c
e306260f543aa4c47e8087b2eb013bb7586d801f 03-Nov-2010 Koop Mast <kwm@freebsd.org> Fix compilation with Clang

Don't redefine vsnprintf if it is available
/external/libxml2/python/libxml.c
594e5dfb48ee6fbac1b64155839063648022fc57 07-Sep-2009 Daniel Veillard <veillard@redhat.com> Chasing dead assignments reported by clang-scan

* SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c
relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c
xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations,
but this led to a few real bugs and some part not yet understood
(relaxng/interleave)
/external/libxml2/python/libxml.c
da3fee406da96c344d7b5f4e0631faee74f7e11d 01-Sep-2008 Daniel Veillard <veillard@src.gnome.org> Borland C fix from Moritz Both regenerate, workaround a problem for buffer

* trionan.c: Borland C fix from Moritz Both
* testapi.c: regenerate, workaround a problem for buffer testing
* xmlIO.c HTMLtree.c: new internal entry point to hide even better
xmlAllocOutputBufferInternal
* tree.c: harden the code around buffer allocation schemes
* parser.c: restore the warning when namespace names are not absolute
URIs
* runxmlconf.c: continue regression tests if we get the expected
number of errors
* Makefile.am: run the python tests on make check
* xmlsave.c: handle the HTML documents and trees
* python/libxml.c: convert python serialization to the xmlSave APIs
and avoid some horrible hacks
Daniel

svn path=/trunk/; revision=3790
/external/libxml2/python/libxml.c
438ebbd59af78c436397ae488e42aeca5cad7542 12-May-2008 Daniel Veillard <veillard@src.gnome.org> fx compilation when configured without the reader should fix #513110

* xmlschemas.c runtest.c testapi.c include/libxml/xmlreader.h
python/types.c python/libxml_wrap.h python/libxml.c: fx compilation
when configured without the reader should fix #513110
* doc/*: regenerated
Daniel

svn path=/trunk/; revision=3743
/external/libxml2/python/libxml.c
a3d230513c3f28dc475ee09ffd6787762da07d56 09-Jan-2007 Daniel Veillard <veillard@src.gnome.org> fix a memory leak in the python string handling when SAX event are passed

* python/libxml.c: fix a memory leak in the python string handling
when SAX event are passed back to the python handlers
Daniel

svn path=/trunk/; revision=3573
/external/libxml2/python/libxml.c
40cca61fc130f0f865f51b2fb2ba15e478e102ab 26-Jun-2006 William M. Brack <wbrack@src.gnome.org> Added code submitted by Andreas Pakulat to provide node equality,

* python/libxml.c, python/libxml.py, python/tests/compareNodes.py,
python/tests/Makefile.am:
Added code submitted by Andreas Pakulat to provide node
equality, inequality and hash functions, plus a single
test program to check the functions (bugs 345779 + 345961).
/external/libxml2/python/libxml.c
2728f845c5581af9213057ace8b3f664d64c15a9 09-Mar-2006 Daniel Veillard <veillard@src.gnome.org> more cleanups based on coverity reports. Daniel

* SAX2.c catalog.c encoding.c entities.c example/gjobread.c
python/libxml.c: more cleanups based on coverity reports.
Daniel
/external/libxml2/python/libxml.c
22eda2bc82acd047247df3f88aa9a5ab08d6a434 01-Aug-2005 Daniel Veillard <veillard@src.gnome.org> applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181

* python/libxml.c: applied fix from Jakub Piotr Clapa for
xmlAttr.parent(), closing #312181
Daniel
/external/libxml2/python/libxml.c
4ea89f04ccd58de6cc4b83195252d0becba1fe69 29-Jul-2005 Daniel Veillard <veillard@src.gnome.org> don't output any message on failed resolver lookups, better done by the

* python/libxml.c: don't output any message on failed resolver lookups,
better done by the python user provided resolver layer.
Daniel
/external/libxml2/python/libxml.c
f9cf6f5a01527406ed0bcbcf5a180d85b5e771de 12-Apr-2005 Daniel Veillard <veillard@src.gnome.org> applied patch from Brent Hendricks adding namespace removal at the python

* python/libxml.c python/libxml.py: applied patch from Brent Hendricks
adding namespace removal at the python level #300209
* python/tests/Makefile.am python/tests/nsdel.py: added the regression
test
Daniel
/external/libxml2/python/libxml.c
f2531afe41a2232669302ceb49161d5689971ed9 31-Mar-2005 Daniel Veillard <veillard@src.gnome.org> fixed bug #168504 Daniel

* python/libxml.c: fixed bug #168504
Daniel
/external/libxml2/python/libxml.c
bb8502c0ef2af706fbdff69119e994e40da64a88 30-Mar-2005 Daniel Veillard <veillard@src.gnome.org> applied patch from Brent Hendricks to avoid leak in python bindings when

* python/generator.py python/libxml.c: applied patch from Brent
Hendricks to avoid leak in python bindings when using schemas
error handlers.
Daniel
/external/libxml2/python/libxml.c
25c90c589b256f0925f081198c1525134a491e31 02-Mar-2005 Daniel Veillard <veillard@src.gnome.org> try to fix a problem with valgrind. applied memory leak fix from Brent

* Makefile.am doc/examples/Makefile.am python/tests/Makefile.am
xstc/Makefile.am: try to fix a problem with valgrind.
* python/generator.py python/libxml.c python/tests/Makefile.am
python/tests/tstmem.py: applied memory leak fix from Brent Hendricks
c.f. bug #165349
Daniel
/external/libxml2/python/libxml.c
850ce9b6584ecc2893632392f1d3ba46fefc13ac 10-Nov-2004 Daniel Veillard <veillard@src.gnome.org> Applied patch from Brent Hendricks adding support for late DTD validation.

* python/generator.py python/libxml.c python/libxml2class.txt
python/libxml_wrap.h python/types.c: Applied patch from Brent
Hendricks adding support for late DTD validation.
* python/tests/Makefile.am python/tests/dtdvalid.py
python/tests/test.dtd: integrated the provided regression test
Daniel
/external/libxml2/python/libxml.c
eff45a92da861195551a2050487fcca0492cac7c 29-Oct-2004 Daniel Veillard <veillard@src.gnome.org> register xmlSchemaSetValidErrors, patch from Brent Hendricks in the

* python/libxml.c: register xmlSchemaSetValidErrors, patch from
Brent Hendricks in the mailing-list
* include/libxml/valid.h HTMLparser.c SAX2.c valid.c
parserInternals.c: fix #156626 and more generally how to find out
if a validation contect is part of a parsing context or not. This
can probably be improved to make 100% sure that vctxt->userData
is the parser context too. It's a bit hairy because we can't
change the xmlValidCtxt structure without breaking the ABI since
this change xmlParserCtxt information indexes.
Daniel
/external/libxml2/python/libxml.c
ad9fb7c06fea9cf63911c63cc9488ab1d0267005 22-Oct-2004 Daniel Veillard <veillard@src.gnome.org> fixed a problem occuring only in x86_64 when very large error messages are

* python/libxml.c: fixed a problem occuring only in x86_64 when
very large error messages are raied to the Python handlers.
Daniel
/external/libxml2/python/libxml.c
263ec86a75f7b5ec2d37dbb89356bf7fca11cff3 04-Oct-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from Malcolm Tredinnick fixing bug #154294 related to saving

* python/generator.py python/libxml.c python/tests/outbuf.py:
applied patch from Malcolm Tredinnick fixing bug #154294
related to saving to python file objects.
Daniel
/external/libxml2/python/libxml.c
36505562ac3ef50694b53feebc5d779e807bc2c5 22-Aug-2004 Daniel Veillard <veillard@src.gnome.org> fix a problem on last commit Daniel

* python/libxml.c: fix a problem on last commit
Daniel
/external/libxml2/python/libxml.c
6ebf3c4c1a78406d15e8629b4a7b3d52549f0c8b 22-Aug-2004 Daniel Veillard <veillard@src.gnome.org> trying to remove some warning when compiling on Fedora Core 3 and 64bits

* xmllint.c xpath.c include/libxml/xpath.h
include/libxml/xpathInternals.h python/libxml.c
python/libxml_wrap.h: trying to remove some warning when compiling
on Fedora Core 3 and 64bits
Daniel
/external/libxml2/python/libxml.c
259f0dfa8b4f29158954959b4d0d7c03dd1eab05 18-Aug-2004 Daniel Veillard <veillard@src.gnome.org> Applied patch from Torkel Lyng to add Schemas support to the Python

* xmlschemas.c include/libxml/xmlschemas.h python/generator.py
python/libxml.c python/libxml_wrap.h python/types.c
python/tests/schema.py python/tests/Makefile.am: Applied patch
from Torkel Lyng to add Schemas support to the Python bindings
and extend the schemas error API, registered a new test.
* doc/* elfgcchack.h: rebuilt to regenerate the bindings
Daniel
/external/libxml2/python/libxml.c
c68d78d25a17e65d172ccc1ac24d609c7c1d5cde 16-Jul-2004 William M. Brack <wbrack@src.gnome.org> added a check on the argument for some classes (e.g. xmlDoc and xmlNode)

* 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
/external/libxml2/python/libxml.c
8e2cc6f2b53f536692f3c8ad8112bb67e0a1a629 04-Jul-2004 William M. Brack <wbrack@src.gnome.org> Changed the number of XPath extension functions allowed to be

* 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.
/external/libxml2/python/libxml.c
529233ccdd43203fd74ec18a1d5a071c122c6e46 02-Jul-2004 Daniel Veillard <veillard@src.gnome.org> some updates with memory debugging facilities while messing with libxslt

* xmlmemory.c python/libxml.c python/libxml2-python-api.xml:
some updates with memory debugging facilities while messing
with libxslt python bindings
Daniel
/external/libxml2/python/libxml.c
f93a866079364a006189683eaa07f94c867389d1 01-Jul-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from St�phane Bidoul to fix some Python bindings

* 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
/external/libxml2/python/libxml.c
656ce948ab664ce96298c5f419a03a7ffcc88d9d 01-May-2004 Daniel Veillard <veillard@src.gnome.org> Fixed bug #141529 i.e. various problems when building with --without-html

* xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed
bug #141529 i.e. various problems when building with --without-html
Daniel
/external/libxml2/python/libxml.c
d5e198ad454803c60b898451ff432f2fcf0e95ce 09-Mar-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from Anthony Carrico providing Python bindings for the

* python/libxml.c python/libxml.py: applied patch from Anthony Carrico
providing Python bindings for the Canonicalization C14N support.
Daniel
/external/libxml2/python/libxml.c
95af594b0bd28ad8847de96ec00ff9244bd94da7 08-Feb-2004 William M. Brack <wbrack@src.gnome.org> added a small hack to fix interference between my fixes for bugs 132585

* 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
/external/libxml2/python/libxml.c
05349ab2f6995d33f06932aa3cc62cf420ce0477 25-Jan-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from Frederic Peters fixing the wrong arg order in xpath

* python/libxml.c: applied patch from Frederic Peters
fixing the wrong arg order in xpath callback in bug #130980
Daniel
/external/libxml2/python/libxml.c
6cbd6c0738efb6c55d08f39c0731d46d678858fa 04-Dec-2003 Daniel Veillard <veillard@src.gnome.org> cleanup the output buffer support to at least get the basic to work fixes

* 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
/external/libxml2/python/libxml.c
157fee019d02e1ba4ed377ea21172b67f479241b 31-Oct-2003 Daniel Veillard <veillard@src.gnome.org> previous fix for #124044 was broken, correct fix provided. fix

* 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
/external/libxml2/python/libxml.c
bb3ba326e6ba5b661ca51aab53b17f519eda5924 30-Oct-2003 Daniel Veillard <veillard@src.gnome.org> be more defensive in the xmlReader python bindings fixing bug #124044

* python/libxml.c: be more defensive in the xmlReader python bindings
fixing bug #124044
Daniel
/external/libxml2/python/libxml.c
871611bb0325095b30559ff1edc1fdaa2ad5fd2f 18-Oct-2003 William M. Brack <wbrack@src.gnome.org> enhanced macros to avoid breaking ABI from previous versions. modified to

* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
include/libxml/parserInternals.h: enhanced macros to avoid
breaking ABI from previous versions.
* catalog.c, parser.c, tree.c: modified to use IS_* macros
defined in parserInternals.h. Makes maintenance much easier.
* testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid
compilation warnings
* configuration.in: fixed pushHTML test error; enhanced for
better devel (me) testing
/external/libxml2/python/libxml.c
a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4 29-Sep-2003 Daniel Veillard <veillard@src.gnome.org> Okay this is scary but it is just adding a configure option to disable

* HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c
encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c
testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c
testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c
xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c
example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h
include/libxml/catalog.h include/libxml/debugXML.h
include/libxml/entities.h include/libxml/nanohttp.h
include/libxml/relaxng.h include/libxml/tree.h
include/libxml/valid.h include/libxml/xmlIO.h
include/libxml/xmlschemas.h include/libxml/xmlversion.h.in
include/libxml/xpathInternals.h python/libxml.c:
Okay this is scary but it is just adding a configure option
to disable output, this touches most of the files.
Daniel
/external/libxml2/python/libxml.c
e96a2a4bf040ec93f83d9c33f8ae4ac3f1e512e9 24-Sep-2003 Daniel Veillard <veillard@src.gnome.org> adding repeated parsing and validating tests make the new DOM tree

* Makefile.am: adding repeated parsing and validating tests
* SAX2.c parser.c tree.c include/libxml/parser.h: make the new
DOM tree building interfaces use the dictionary from the
parsing context to build the element and attributes names
as well as formatting spaces and short text nodes
* include/libxml/dict.h dict.c: added some reference counting
for xmlDictPtr because they can be shared by documents and
a parser context.
* xmlreader.c: a bit of cleanup, remove the specific tree freeing
functions and use the standard ones now.
* xmllint.c: add --nodict
* python/libxml.c: fix a stupid bug so that ns() works on
attribute nodes.
Daniel
/external/libxml2/python/libxml.c
007d51eb73cd5c78b676e13aae5bcfce83550a5d 17-Sep-2003 Daniel Veillard <veillard@src.gnome.org> use stderr and not stdout for default errors in python environment bug

* python/libxml.c: use stderr and not stdout for default errors
in python environment bug #122552
Daniel
/external/libxml2/python/libxml.c
c193956ee1c3b229556301cf09f6ff1b6eb9cb70 05-Aug-2003 William M. Brack <wbrack@src.gnome.org> small changes to syntax to get rid of compiler warnings. No changes to

* error.c HTMLparser.c testC14N.c testHTML.c testURI.c
xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c
python/libxml.c include/libxml/xmlmemory.h: small changes
to syntax to get rid of compiler warnings. No changes
to logic.
/external/libxml2/python/libxml.c
c2664641740126714bb363bd6b5f65f724031c83 29-Jul-2003 Daniel Veillard <veillard@src.gnome.org> patch from Joachim Bauch + cleanup for Relax NG error callbacks in python

* python/generator.py python/libxml.c python/libxml2class.txt:
patch from Joachim Bauch + cleanup for Relax NG error callbacks
in python
Daniel
/external/libxml2/python/libxml.c
781ac8b19bfc10635a8bb83158f874116fd7559e 16-May-2003 Daniel Veillard <veillard@src.gnome.org> patch from St�phane Bidoul for setting up threads global defaults. this

* build_glob.py global.data globals.c parser.c
include/libxml/globals.h: patch from St�phane Bidoul for setting
up threads global defaults.
* doc/libxml2-api.xml: this extends the API with new functions
* python/tests/Makefile.am python/tests/reader2.py
python/tests/thread2.py: integrated the associated testcase and
fixed the error string used in reader2
Daniel
/external/libxml2/python/libxml.c
5439624bd9167dbb880ea4a75d91677d20a6ebe3 23-Apr-2003 Daniel Veillard <veillard@src.gnome.org> applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal

* python/libxml.c python/libxml.py: applied patch from
Brent M Hendricks adding binding for xmlCatalogAddLocal
Daniel
/external/libxml2/python/libxml.c
e4fa293265c935365717dc9accf6c6ec23d5f22f 26-Mar-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
c64b8e984c13a0d989dea436c13128b289a4d4d6 24-Feb-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
3b2e4e1c1477e9eb0889a8c9d35da4ce36a2e3f1 03-Feb-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
417be3ae08346c6510c28d2042dd42a22a74b331 20-Jan-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
26f70269c80140a7fb8a7aae9ef09c95efa98e70 16-Jan-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
e4a07e7b77b191d61291d44dffa19b65387e04e4 14-Jan-2003 Daniel Veillard <veillard@src.gnome.org> cleanup patch from St�phane Bidoul Daniel

* python/libxml.c: cleanup patch from St�phane Bidoul
Daniel
/external/libxml2/python/libxml.c
e6227e0549490b5bf9271ecd2d874a97c3f4852b 14-Jan-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
3e20a2921373677d1cf54fcf6081b3492e0c7558 10-Jan-2003 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
0d132cffc1733447f0fa9624f0265369a7f8c02a 23-Dec-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
faa35ff3cdcf15154dd207606a31b34923da9be9 24-Nov-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
a1196ed4142269343ac98e698f195966886319e1 23-Nov-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
a8c0adbc395e48f0a65ccbd6c4931525380cf55c 17-Nov-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
118aed78f360f51d182770e62b251ef324707aa2 24-Sep-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
c6d4a933f017b17cacdf2a6f6505faf8d945b0b3 12-Sep-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
d2379010b1aa04ff87876d5b6dfd42ce2e12928f 15-Mar-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
af43f63aaabf0dc4b4a070773875d0927da3d8a2 08-Mar-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
4e0e29746889d4a70728e6406eed2f546287bdd6 06-Mar-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
1e77438da7dd912885effa97b1079867d1e041be 06-Mar-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
8d24cc189845663509623fbd6b5106cc01266994 05-Mar-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
a94ec6ff13d9617ff22e790cef82208e7d1bd375 01-Mar-2002 Daniel Veillard <veillard@src.gnome.org> commiting some Python bindings work done while travelling Daniel

* python/*: commiting some Python bindings work done while travelling
Daniel
/external/libxml2/python/libxml.c
6361da0c25e355affdeed84cfccb187ccaadfccb 23-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
0fea6f45cd6f158418318c0af922533e44f9c0e2 22-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
797a565a2f6a2c0a8480670174e9eaef30d271a4 12-Feb-2002 Daniel Veillard <veillard@src.gnome.org> couple of bug fixes Daniel

* python/libxml.c: couple of bug fixes
Daniel
/external/libxml2/python/libxml.c
0ba59239d92a0ea82d6515f15cc0723a61ef7400 10-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
5e5c2d0a93e3e1bef0aaa63500cbbbd53e6a4063 09-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
c575b997d85d4791d852ad43e175d47a64cf8b3c 08-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
70cab35abbb75eb9f0e328d498aa7a85195a1d5b 06-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
33caa0b8307eccf22010400747830b1967edb292 04-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
36eea2d2ee84132e66552f84724e9b377d687681 04-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
4e1b26cfeba7f5fad4f8bd12fb5ce7029f930b79 03-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
3ce5257b293ed75d8feb18ed7ab18ea2b52510bd 03-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
5d81903b06418c7d8cc72cf9add81c4026a2f3bc 02-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
7fd7a94aa812e007842a4a0896bcbfa80ffdc907 02-Feb-2002 Daniel Veillard <veillard@src.gnome.org> fixed a stupid bug when renaming a function Daniel

* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
a function
Daniel
/external/libxml2/python/libxml.c
9589d4551e71b598202e799ea462b7e97d00a1da 02-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
a7340c830e4bddd86201cfdb97ac81e30b0dee62 01-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
96c9af76e725bba8cf346bcd79043ba0ad85f22a 01-Feb-2002 Daniel Veillard <veillard@src.gnome.org> Fixed a couple more of python building problems, Daniel
/external/libxml2/python/libxml.c
f1d0e6be57b76cf4fb8a7c0612ea5e71cce5c5c2 01-Feb-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
1971ee2698cb84c7699c96d3302f00e20d42c0d3 31-Jan-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
36ed5290a2dd1d44ddc0f102f6251156ad6965b9 31-Jan-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c
96fe095d4bf3c76301ed58ebe1ba10f8004f87ef 30-Jan-2002 Daniel Veillard <veillard@src.gnome.org> more work on the python bindings. Daniel

* python/generator.py python/libxml.c python/libxml_wrap.h:
more work on the python bindings.
Daniel
/external/libxml2/python/libxml.c
d2897fde0089a9f349f7a589c1e58a8e130a3d61 30-Jan-2002 Daniel Veillard <veillard@src.gnome.org> 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
/external/libxml2/python/libxml.c