95ebe53b50dfcff1fc5378309bc4f3c58173298e |
|
13-Oct-2014 |
Kurt Roeckx <kurt@roeckx.be> |
Fix and add const qualifiers For https://bugzilla.gnome.org/show_bug.cgi?id=689483 It seems there are functions that do use the const qualifier for some of the arguments, but it seems that there are a lot of functions that don't use it and probably should. So I created a patch against 2.9.0 that makes as much as possible const in tree.h, and changed other files as needed. There were a lot of cases like "const xmlNodePtr node". This doesn't actually do anything, there the *pointer* is constant not the object it points to. So I changed those to "const xmlNode *node". I also removed some consts, mostly in the Copy functions, because those functions can actually modify the doc or node they copy from
/external/libxml2/buf.c
|
2ff9284325d64d01ac0245ae266ef170c05f0e50 |
|
12-Sep-2012 |
Roumen Petrov <bugtrack@roumenpetrov.info> |
elfgcchack for buf module
/external/libxml2/buf.c
|
28cc42d06867f46f921ec137b725a124e43936fd |
|
10-Aug-2012 |
Daniel Veillard <veillard@redhat.com> |
Regenerating docs and API files Various cleanups * configure.in: force regeneration of APIs in my environment * buf.c buf.h enc.h encoding.c include/libxml/tree.h include/libxml/xmlerror.h save.h tree.c: various comment cleanups pointed by apibuild * doc/apibuild.py: added the 3 new internal headers in the excludes * doc/libxml2-api.xml doc/libxml2-refs.xml: regenerated the API * doc/symbols.xml: listing new entry points for 2.9.0 * doc/devhelp/*: regenerated
/external/libxml2/buf.c
|
7f713494adbc1f2be3e043a737ba31b616499bc0 |
|
07-Aug-2012 |
Daniel Veillard <veillard@redhat.com> |
Improve compatibility between xmlBuf and xmlBuffer An old xsltproc binary now works correctly with the new libxml2
/external/libxml2/buf.c
|
18e1f1f1180c4d48ed52bf995b3c700c2cefb492 |
|
06-Aug-2012 |
Daniel Veillard <veillard@redhat.com> |
Improvements for old buffer compatibility Now tree.h exports LIBXML2_NEW_BUFFER macro indicating that the API uses the new buffers, important to keep code working with both versions. * tree.h buf.h: also export xmlBufContent(), xmlBufEnd(), and xmlBufUse() to help port the old code * buf.c: make sure the compatibility counters are updated on buffer usage, to keep proper working of application compiled against the old structures, but take care of int overflow
/external/libxml2/buf.c
|
6f6feba876eeff3a75fc10cdc2f414cc66204dde |
|
25-Jul-2012 |
Daniel Veillard <veillard@redhat.com> |
Fixup for buf.c
/external/libxml2/buf.c
|
9ee02f80a4d674bac96f88b5a241825aad453a7a |
|
16-Jul-2012 |
Daniel Veillard <veillard@redhat.com> |
Harden the buffer code and make it more compatible Mimic the old xmlBuffer strcture in xmlBuf to avaoid catastrophic failures in case of old code directly reading ctxt->input->buf->buffer Check on all buffer entry points if an error previously occured on the buffer, and fail the operation if this is the case, the buffer becomes immutable and unreadable.
/external/libxml2/buf.c
|
00ac0d3b96459865684fc9378e420e93418f9ef9 |
|
16-Jul-2012 |
Daniel Veillard <veillard@redhat.com> |
More cleanups for input/buffers code When calling xmlParserInputBufferPush, the buffer may be reallocated and at the input level the pointers for base, cur and end need to be reevaluated. * buf.c buf.h: add two new functions, one to get the base from the input of the buffer, and another one to reset the pointers based on the cur and base inded * HTMLparser.c parser.c: cleanup to use the new helper functions as well as making sure size_t is used for the indexes computations
/external/libxml2/buf.c
|
61551a1eb75bacb32e5209635c0f3459595af54a |
|
16-Jul-2012 |
Daniel Veillard <veillard@redhat.com> |
Cleanup function xmlBufResetInput() to set input from Buffer This was scattered in a number of modules, xmlParserInputPtr have usually their base, cur and end pointer set from an xmlBuf used as input. * buf.c buf.h: add a new function implementing this setup * parser.c HTMLparser.c catalog.c parserInternals.c xmlreader.c use the new function instead of digging into the buffer in all those modules
/external/libxml2/buf.c
|
bca22f40c3b2b34169d8d2919dce4894d8eac1a4 |
|
11-Jul-2012 |
Daniel Veillard <veillard@redhat.com> |
Adding a new buf module for buffers This also add converter functions between xmlBuf and xmlBuffer * buf.c buf.h: the old xmlBuffer routines but modified for size_t and using xmlBuf instead of xmlBuffer * Makefile.am: add the 2 new files * include/libxml/xmlerror.h: add an entry for the new module * include/libxml/tree.h: expose the xmlBufPtr type but not the structure which stay private
/external/libxml2/buf.c
|