History log of /external/libxml2/xpointer.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
01c357604fe77000d84cd016eef7c3bdc9088e13 03-Apr-2017 Brian C. Young <bcyoung@google.com> DO NOT MERGE: Fix XPointer paths beginning with range-to

The old code would invoke the broken xmlXPtrRangeToFunction. range-to
isn't really a function but a special kind of location step. Remove
this function and always handle range-to in the XPath code.

The old xmlXPtrRangeToFunction could also be abused to trigger a
use-after-free error with the potential for remote code execution.

Found with afl-fuzz.

Fixes CVE-2016-5131.

Bug: 36554209
Change-Id: I2bd369290a884c432d16796884d48db6285f8502
/external/libxml2/xpointer.c
9b3db498afd859c9986e83695ce52719cad3ed18 03-Apr-2017 Brian C. Young <bcyoung@google.com> DO NOT MERGE: Disallow namespace nodes in XPointer ranges

Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.

Found with afl-fuzz.

Fixes CVE-2016-4658.

Bug: 36554207
Change-Id: Ie570c4a53ae8ca82ed4ca19701ab7d8ba9b0468f
/external/libxml2/xpointer.c
4472c3a5a5b516aaf59b89be602fbce52756c3e9 13-May-2016 David Kilzer <ddkilzer@webkit.org> Fix some format string warnings with possible format string vulnerability

For https://bugzilla.gnome.org/show_bug.cgi?id=761029

Decorate every method in libxml2 with the appropriate
LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups
following the reports.
/external/libxml2/xpointer.c
f5496a1ef43ab46211c772cd7a183e719ab24bb5 07-Oct-2014 Gaurav Gupta <g.gupta@samsung.com> xpointer : fixing Null Pointers

For https://bugzilla.gnome.org/show_bug.cgi?id=738053
At many places in xpointer.c
Null check is missing which is dereferenced at later places.
/external/libxml2/xpointer.c
a61929e8cafcf42b407ae507ff185dee05d9e070 06-Oct-2014 Gaurav Gupta <g.gupta@samsung.com> Remove Unnecessary Null check in xpointer.c

For https://bugzilla.gnome.org/show_bug.cgi?id=738052

superfluous check
/external/libxml2/xpointer.c
f8e3db0445a1bc8cfe3f77326b07ec161482caa2 11-Sep-2012 Daniel Veillard <veillard@redhat.com> Big space and tab cleanup

Remove all space before tabs and space and tabs at end of lines.
/external/libxml2/xpointer.c
3e62adbe39f2083c9c2cd3330c320227818fd361 09-Aug-2012 Daniel Veillard <veillard@redhat.com> Adding various checks on node type though the API

Specifially checking against namespace nodes before accessing node
pointers
/external/libxml2/xpointer.c
d8e1faeaa99c7a7c07af01c1c72de352eb590a3e 07-May-2012 Jüri Aedla <asd@ut.ee> Fix an off by one pointer access

getting out of the range of memory allocated for xpointer decoding
/external/libxml2/xpointer.c
f5048b3e71fc30ad096970b8df6e7af073bae4cb 18-Aug-2011 Daniel Veillard <veillard@redhat.com> Hardening of XPath evaluation

Add a mechanism of frame for XPath evaluation when entering a function
or a scoped evaluation, also fix a potential problem in predicate
evaluation.
/external/libxml2/xpointer.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/xpointer.c
8ed1072c2d4dac0bc72a8d0ebff7ccc1b338f035 20-Aug-2009 Daniel Veillard <veillard@redhat.com> Add symbol versioning to libxml2 shared libs

* libxml2.syms: the symbols with history, going back to 2.4.30
* Makefile.am configure.in: linking flags detection and use
* parser.c tree.c valid.c xpointer.c: various cleanup of functions
which could be made static or simply discarded, not that many
/external/libxml2/xpointer.c
928d703386e049eaad10cf58d5fd39ebc5cfec98 29-Jul-2009 Jakub Wilk <ubanus@users.sf.net> Skip silently unrecognized XPointer schemes

* xpointer.c: unrecognized XPointers should be skipped instead of
aborting the full XPointer evaluation
/external/libxml2/xpointer.c
aac7c68e87d00732b319698723de1ec43252fb01 10-Mar-2006 Daniel Veillard <veillard@src.gnome.org> fix a few warning raised by gcc-4.1 and latests changes Daniel

* c14n.c encoding.c xmlschemas.c xpath.c xpointer.c: fix a few
warning raised by gcc-4.1 and latests changes
Daniel
/external/libxml2/xpointer.c
24505b0f5c872c5afb6da5093565e5a6e09ca541 29-Jul-2005 Daniel Veillard <veillard@src.gnome.org> a lot of small cleanups based on Linus' sparse check output. Daniel

* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
runsuite.c runtest.c schematron.c testHTML.c testReader.c
testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
small cleanups based on Linus' sparse check output.
Daniel
/external/libxml2/xpointer.c
5d4644ef6e38479a648615eca758c5e962a141d5 01-Apr-2005 Daniel Veillard <veillard@src.gnome.org> revamped the elfgcchack.h format to cope with gcc4 change of aliasing

* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
format to cope with gcc4 change of aliasing allowed scopes, had
to add extra informations to doc/libxml2-api.xml to separate
the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Daniel
/external/libxml2/xpointer.c
ce682bc24b79f1dd29b781d4c17f9bf169ce7e32 05-Nov-2004 Daniel Veillard <veillard@src.gnome.org> autogenerate a minimal NULL value sequence for unknown pointer types This

* gentest.py testapi.c: autogenerate a minimal NULL value sequence
for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
xpointer.c: This uncovered an impressive amount of entry points
not checking for NULL pointers when they ought to, closing all
the open gaps.
Daniel
/external/libxml2/xpointer.c
3d97e669eca6f4849c7b3014f472cacc57817015 04-Nov-2004 Daniel Veillard <veillard@src.gnome.org> extending the tests coverage more fixes and cleanups Daniel

* gentest.py testapi.c: extending the tests coverage
* HTMLtree.c tree.c xmlsave.c xpointer.c: more fixes and cleanups
Daniel
/external/libxml2/xpointer.c
4d59e22a19c6c88cd37d7c5fc3d570d2ac6f21c6 08-Mar-2004 William M. Brack <wbrack@src.gnome.org> enhanced to assure that if xpointer is called for a document, the

* xinclude.c: enhanced to assure that if xpointer is called
for a document, the XML_PARSE_NOENT flag is set before parsing
the included document so that entities will automatically get
taken care of.
* xpointer.c: corrected code so that, if an XML_ENTITY_REF node
is encountered, it will log it and not crash (bug 135713)
/external/libxml2/xpointer.c
ce4fc56e1b56253ae794b47515948f3bc3142024 22-Jan-2004 William M. Brack <wbrack@src.gnome.org> fixed problem with union when last() is used in predicate (bug #131971)

* xpath.c: fixed problem with union when last() is used
in predicate (bug #131971)
* xpointer.c: minor change to comment for doc generation
/external/libxml2/xpointer.c
f7eb794c142e31ca895f2d7743f872a809e514ab 31-Dec-2003 William M. Brack <wbrack@src.gnome.org> fixed problem pointed out by St�phane Bidoul on the list. completed

* python/generator.py, python/libxml2class.txt: fixed problem
pointed out by St�phane Bidoul on the list.
* xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h:
completed modifications required to fix Bug 129967 (at last!).
Now wait to see how long before further trouble...
/external/libxml2/xpointer.c
72ee48d55f9002544d011826e2897b5054b7e32c 30-Dec-2003 William M. Brack <wbrack@src.gnome.org> Fixed memory leak reported by Dave Beckett Removed spurious comment

* parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed
memory leak reported by Dave Beckett
* xmlschemas.c: Removed spurious comment reported on the mailing
list
* xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h:
Further work on Bug 129967 concerning xpointer range handling
and range-to function; much better, but still not complete
/external/libxml2/xpointer.c
081719182de3d15e6a438f32fdc3d1ca240a08e8 29-Dec-2003 William M. Brack <wbrack@src.gnome.org> edited a couple of comments in accordance with posting on the mailing list

* xmlschemas.c: edited a couple of comments in accordance with
posting on the mailing list (no logic change)
* xpointer.c: working on Bug 129967, added check for NULL
nodeset to prevent crash. Further work required.
* xpath.c: working on Bug 129967, added code to handle
XPATH_LOCATIONSET in RANGETO code, also added code to
handle it in xmlXPathEvaluatePredicateResult. Further
work required.
/external/libxml2/xpointer.c
272693c7e127a43dbcd5bc39c1cec4bfcdabcd2a 14-Nov-2003 William M. Brack <wbrack@src.gnome.org> minor error cleanup for gcc-3.3.[12] compilation warnings.

* catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py,
chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c:
minor error cleanup for gcc-3.3.[12] compilation warnings.
/external/libxml2/xpointer.c
659e71ec2476d24bfca0d6432a69ef9a49a62be4 10-Oct-2003 Daniel Veillard <veillard@src.gnome.org> Setting up the framework for structured error reporting, touches a lot of

* HTMLparser.c c14n.c catalog.c error.c globals.c parser.c
parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c
xmlschemas.c xpath.c xpointer.c include/libxml/globals.h
include/libxml/parser.h include/libxml/valid.h
include/libxml/xmlerror.h: Setting up the framework for structured
error reporting, touches a lot of modules, but little code now
the error handling trail has been cleaned up.
Daniel
/external/libxml2/xpointer.c
fcf719ce0a94f0d438f69b73cd1ca31a7000da81 10-Oct-2003 Daniel Veillard <veillard@src.gnome.org> cleanup migrated XPointer module to the new error mechanism Daniel

* xpath.c: cleanup
* xpointer.c include/libxml/xmlerror.h: migrated XPointer module
to the new error mechanism
Daniel
/external/libxml2/xpointer.c
3c908dca479ed50dca24b8593bca90e40dbde6b8 19-Apr-2003 Daniel Veillard <veillard@src.gnome.org> added xmlMallocAtomic() to be used when allocating blocks which do not

* DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c
nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c
xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c
include/libxml/globals.h include/libxml/xmlmemory.h: added
xmlMallocAtomic() to be used when allocating blocks which
do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet()
to allow registering the full set of functions needed by
a garbage collecting allocator like libgc, ref #109944
Daniel
/external/libxml2/xpointer.c
9a237c9d2663e3bc5278c948aae3e6fdb59f80e0 13-Feb-2003 Daniel Veillard <veillard@src.gnome.org> improved the script accordingly to the XInclude regression tests updates

* check-xinclude-test-suite.py: improved the script accordingly
to the XInclude regression tests updates
* xpointer.c: Implemented XPointer element() Scheme W3C PR of 13
November 2002
* result/XPath/xptr/chapterschildseq result/XPath/xptr/vidchildseq
test/XPath/xptr/chapterschildseq test/XPath/xptr/vidchildseq:
augmented the Xpointer testsuite for the element() scheme
Daniel
/external/libxml2/xpointer.c
56f21f298e423d4ead893a97c4736004b309579a 06-Nov-2002 Daniel Veillard <veillard@src.gnome.org> tried to fix bug #97852 reported by Nicolas Noffke Daniel

* xpointer.c: tried to fix bug #97852 reported by Nicolas Noffke
Daniel
/external/libxml2/xpointer.c
34ce8bece2f22cc99d25221b77315cd008f4866b 18-Mar-2002 Daniel Veillard <veillard@src.gnome.org> preparing 2.4.18 updated and rebuilt the web site implement the new

* configure.in: preparing 2.4.18
* doc/*: updated and rebuilt the web site
* *.c libxml.h: implement the new IN_LIBXML scheme discussed with
the Windows and Cygwin maintainers.
* parser.c: humm, changed the way the SAX parser work when
xmlSubstituteEntitiesDefault(1) is set, it will then
do the entity registration and loading by itself in case the
user provided SAX getEntity() returns NULL.
* testSAX.c: added --noent to test the behaviour.
Daniel
/external/libxml2/xpointer.c
9ff8817e67b286f081205000a63a897f788e42ab 11-Mar-2002 Daniel Veillard <veillard@src.gnome.org> Fixing #74186, made sure all boolean expressions get fully parenthesized,

* c14n.c: Fixing #74186, made sure all boolean expressions
get fully parenthesized, ran indent on the output
* configure.in HTMLtree.c SAX.c c14n.c debugXML.c tree.c xpointer.c
include/libxml/tree.h: also #74186 related, removed the
--with-buffers option, and all the preprocessor conditional
sections that were resulting from it.
Daniel
/external/libxml2/xpointer.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/xpointer.c
cbaf399537a1fb69ef97b079e4cb553869aaa4d9 31-Dec-2001 Daniel Veillard <veillard@src.gnome.org> applied 42 documentation patches from Charlie Bozeman. Regenerated the

* *.c include/libxml/*.h doc/html/*: applied 42 documentation
patches from Charlie Bozeman. Regenerated the HTML docs.
Daniel
/external/libxml2/xpointer.c
913d6e090f948cdb3517b346202b2e9580728c91 28-Nov-2001 Daniel Veillard <veillard@src.gnome.org> Fixed the previous fix, Daniel
/external/libxml2/xpointer.c
e85d9342c121b0bede9c4777dea90fa7ce510399 28-Nov-2001 Daniel Veillard <veillard@src.gnome.org> fixed a compilation bug pointed by Danny Jamshy Daniel

* xpointer.c: fixed a compilation bug pointed by Danny Jamshy
Daniel
/external/libxml2/xpointer.c
3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b 17-Oct-2001 Daniel Veillard <veillard@src.gnome.org> - include/libxml/globals.h include/libxml/threads.h threads.c
testThreads.c: far more testing, cleaning up bugs
- *.c : make sure globals.h is always included.
Daniel
/external/libxml2/xpointer.c
b44025c72b7472971a061b022cfe422adc42715d 12-Oct-2001 Daniel Veillard <veillard@src.gnome.org> started integrating the non-controversial parts of Gary Pennington

* HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c
parser.c valid.c xmlmemory.c xpath.c xpointer.c: started
integrating the non-controversial parts of Gary Pennington
multithread patches
* catalog.c: corrected a small bug introduced
Daniel
/external/libxml2/xpointer.c
60087f30f3b4cf21de48f39181736e7d71e7a661 10-Oct-2001 Daniel Veillard <veillard@src.gnome.org> preparing 2.4.6 release updated and rebuilt the docs fixed a number of

* configure.in: preparing 2.4.6 release
* doc/xml.html doc/html/*: updated and rebuilt the docs
* include/libxml/*.h *.c: fixed a number of teh/the widht/width typos
Daniel
/external/libxml2/xpointer.c
ae6db17a444af6e9a5d9d733540e623cea888161 16-Aug-2001 Daniel Veillard <veillard@src.gnome.org> removed unused var Daniel

* xpointer.c: removed unused var
Daniel
/external/libxml2/xpointer.c
7db3773a5cdafd122df5b69ba90be82535d46069 12-Jul-2001 Daniel Veillard <veillard@src.gnome.org> store the line numbder in element->content, may break some software, need

* DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c
tree.c xpointer.c: store the line numbder in element->content,
may break some software, need a configuration mechanism
Daniel
/external/libxml2/xpointer.c
87ee914013402992fc6cdafc0bd4c9904e5a99e0 28-Jun-2001 Daniel Veillard <veillard@src.gnome.org> - xpointer.c include/win32config.h win32/libxml2/libxml2.def.src
libxml.h : Yon Derek provided a set of changes to compile from
CVS on Windows/MSC
Daniel
/external/libxml2/xpointer.c
c5d64345cf19bfd72418eb0a837869b0462e9130 24-Jun-2001 Daniel Veillard <veillard@src.gnome.org> Summer's cleanup, a really big one:
* AUTHORS: added William and Bjorn
* include/libxml/*.h *.c README doc/*.html etc.: changed old email to
daniel@veillard.com hopefully I won't have to do this again
* doc/Makefile.am doc/html/*.html: cleanup makefile, checked that
docs can be rebuilt cleanly now
* include/libxml/xml*version.h*: removed include/libxml/xmlversion.h
from CVs it's generated, added include/libxml/xmlwin32version.h
also generated but which should change far less frequently.
* catalog.c nanoftp.c: made sure to include libxml.h not
libxml/xmlversion.h directly
* include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h
when compiling on WIN32 and MSC
Daniel
/external/libxml2/xpointer.c
017b108fcf16dbce05ca7ebd75763f3d888abb5f 21-Jun-2001 Daniel Veillard <veillard@src.gnome.org> - Makefile.am: cleanup when --without-debug is specified
- xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup
w.r.t. --without-debug and other include points
- catalog.h testCatalog.c: a bit of cleanup and prepare for XML
Catalogs
- configure.in entities.h tree.h HTMLparser.c: removed
--without-corba, made the _private field mandatory
Daniel
/external/libxml2/xpointer.c
39196eba1746f2ecc9d340a31c66f437092fe5fd 19-Jun-2001 Daniel Veillard <veillard@src.gnome.org> - tree.c xinclude.c xpointer.c: bug #56402 exposed a number of
weakness in the node copy the XPointer and the XInclude
implementations. Serious cleanup.
Daniel
/external/libxml2/xpointer.c
f69bb4b5bf3df1982f63a331b02cd7187456492f 19-May-2001 Daniel Veillard <veillard@src.gnome.org> - HTMLparser.c: Closed bug #54891
- result/HTML/cf_128.html* test/HTML/cf_128.html: added the test
to the suite
forgot to commit this one yesterday
- encoding.h hash.c nanoftp.h parser.h tree.h uri.h xlink.h xpointer.c:
applied a documentation patch from LotR and filled in a few missing
descriptions
Daniel
/external/libxml2/xpointer.c
70a9da54eb200cd5c5ceafb72aff72c39021c94c 21-Apr-2001 Bjorn Reese <breese@src.gnome.org> trio upgrade and integration
/external/libxml2/xpointer.c
92ad210417f318c8f0142fd0aee8d2893d83b8e8 27-Mar-2001 Daniel Veillard <veillard@src.gnome.org> Spring cleanup ...: - configure.in Makefile.am config.h.in

Spring cleanup ...:
- configure.in Makefile.am config.h.in xmlversion.h.in: detect if
we need string functions
- trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions
to be able to use them where needed. Applied some changes
to reduce name linking pollution and compile in only what's
needed.
- HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c
xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef
for the string manipulation functions
- xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically
to the free() function of xmlmemory.c
- entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c
xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP
usage.
Daniel
/external/libxml2/xpointer.c
c86a4fae4a164046393d4bb948453e3a71b45754 26-Mar-2001 Daniel Veillard <veillard@src.gnome.org> - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c
testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c
xmlversion.h.in xpointer.c: of course the way I defined
UNUSED breaks on old gcc version. Try to be smart and
also define it directly in xmlversion.h
- configure.in: removed -ansi flag from the pedantic set
Daniel
/external/libxml2/xpointer.c
56a4cb8c4d3eab4ab3295a61c87e8e92483922c6 24-Mar-2001 Daniel Veillard <veillard@src.gnome.org> Huge cleanup, I switched to compile with
-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
-Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
- HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch]
encoding.h entities.c error.c list.[ch] nanoftp.c
nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c
testSAX.c testURI.c testXPath.c tree.[ch] uri.c
valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c
xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c:
Cleanup, staticfied a number of non-exported functions,
detected and cleaned up a dozen of problem found this way,
avoided a lot of public function name/typedef/system names clashes
- doc/xml.html: updated
- configure.in: switched private flags to the really pedantic ones.
Daniel
/external/libxml2/xpointer.c
fbf8a2d0c8145b713099df63d174154a8442e60d 19-Mar-2001 Daniel Veillard <veillard@src.gnome.org> More cleanups, XSLT induced, start looking okay:
- xpath.[ch]: still a lot of cleanup based on XSLT, added
xmlXPathConvert{String,Number,Boolean} to be able to make
type casts without a context stack, fixed some implementation
problems related to the absence of context at parse-time,
added xmlXPathEvalPredicate() and xmlXPathFreeCompExpr()
in the public API too
- xpointer.c xpathInternals.h: we need to know at parse time
whether we are compiling an XPointer
Daniel
/external/libxml2/xpointer.c
afcbe1cb12ae42a3be93249730e631d795d63a4f 19-Mar-2001 Daniel Veillard <veillard@src.gnome.org> Did the boring cleanup job now that stuff works okay again:
- xpath.[ch] xpointer.c: restaured the Binary and API compatibility
cleaned up the parser internals, refactored XPath code, added
new compilation based APIs and cleanly separated public and
private APIs.
Daniel
/external/libxml2/xpointer.c
9e7160d45a18bfa26d708e22ba991f7670d0128b 19-Mar-2001 Daniel Veillard <veillard@src.gnome.org> Completely changed the way the XPath evaluation is done, likely to break
stuff like libxslt right now:
- Makefile.am: detect XPath memleaks in regreson tests
- error.c: fixed and error w.r.t. error reporting still using
stderr
- hash.c: added new line at end of file
- tree.h: minor cleanup
- xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath
expression parsing from evaluation, resulted in a number of
changes internally, and in XPointer. Likely to break stuff
using xpathInternals.h but should remain binary compatible,
new interfaces will be added.
Daniel
/external/libxml2/xpointer.c
48b2f8968e9f8a9cab63cc72697e900325edfd7e 25-Feb-2001 Daniel Veillard <veillard@src.gnome.org> Okay time to improve performances, gprof session:
before real 0m2.483s (2.3.2 release yesterday)
current real 0m1.763s
when parsing (with tree build/freeing) db10000.xml from XSLTMark:
- xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c
xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c:
avoiding memcpy in production builds MEM_CLEANUP macro use
- parser.[ch] parserInternals.c: optimizations of the tightest
internal loops inside the parser. Better checking of I/O
flushing/loading conditions
- xmllint.c : added --timing
Daniel
/external/libxml2/xpointer.c
3473f88a7abdf4e585e267288fb77e898c580d2b 23-Feb-2001 Owen Taylor <otaylor@src.gnome.org> Revert directory structure changes
/external/libxml2/xpointer.c
64636e7f6e97729eae365801ab13632492bf0b14 23-Feb-2001 CET 2001 Tomasz K�oczko <kloczek@pld.org.pl> moved to libxml directory - this allow simplify automake/autoconf. Now

Thu Feb 23 02:03:56 CET 2001 Tomasz K�oczko <kloczek@pld.org.pl>

* *.c *.h libxml files: moved to libxml directory - this allow
simplify automake/autoconf. Now isn't neccessary hack on
am/ac level for make and remove libxml symlink (modified for this
also configure.in and main Makefile.am). Now automake abilities
are used in best way (like in many other projects with libraries).
* include/win32config.h: moved to libxml directory (now include
directory isn't neccessary).
* Makefile.am, examples/Makefile.am, libxml/Makefile.am:
added empty DEFS and in INCLUDES rest only -I$(top_builddir) -
this allow minimize parameters count passed to libtool script
(now compilation is also slyghtly more quiet).
* configure.in: simplifies libzdetestion - prepare separated
variables for keep libz name and path to libz header files isn't
realy neccessary (if someone have libz installed in non standard
prefix path to header files ald library can be passed as:
$ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure
* autogen.sh: check now for libxml/entities.h.

After above building libxml pass correctly and also pass
"make install DESTDIR=</install/prefix>" from tar ball generated by
"make dist". Seems ac/am reorganization is finished. This changes
not touches any other things on *.{c,h} files level.
/external/libxml2/xpointer.c
f17e09bcc8e69f124b4571309f7fa3785550d269 25-Jan-2001 Daniel Veillard <veillard@src.gnome.org> Incorporated patches, some cleanup:
- xpath.[ch] xpointer.c: added xmlXPathCmpNodes, changed
xmlXPtrCmpPoints to use it.
- propagated the following patch from Alejandro Forero
- include/win32config.h xmlIO.c: applied further suggestions
from Igor Zlatkovic <igorz@dialup.nacamar.de> and cleanup
- example/gjobread.c: fixed warnings, now that it builds
Daniel
/external/libxml2/xpointer.c
5a2b697af8bf01efef3693ff2d531d62ee8d732f 20-Jan-2001 Daniel Veillard <veillard@src.gnome.org> - xpath.c: seems I finally killed that ugly path evaluation
context bug (tagged 9999 in case is is wrong)
Daniel
/external/libxml2/xpointer.c
a6d8eb6256e4b4165976318a0f058b7c51330564 27-Dec-2000 Daniel Veillard <veillard@src.gnome.org> Finally had a bit of time to resynch both trees:
- HTMLparser.[ch]: added a way to avoid adding automatically
omitted tags. htmlHandleOmittedElem() allows to change the
default handling.
- tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and
xmlDocDumpFormatMemoryEnc(), uses memory functions for output
of xmllint too when using --memory flag, added a memory test
suite at the Makefile level.
- xpathInternals.h xpath.[ch] xpointer.c: fixed problems
with namespace use when encountering QNames in XPath evalation,
added xmlns() scheme in XPointer.
- nanoftp.c : incorporated a fix
- parser.c xmlIO.c: fixed problems raised with encoding when using
the memory I/O
- parserInternals.c: closed bug 25934 reported by
torsten.landschoff@innominate.de
- TODO: updated
Daniel
/external/libxml2/xpointer.c
f62ceffb7e538bf78894d2e2192848fdb40fe278 25-Nov-2000 Daniel Veillard <veillard@src.gnome.org> General fixes, XPointer improvements:
- HTMLparser.c: some fixes on auto-open of html/head/body
- encoding.c: fixed a compilation error on some gcc env
- xpath.c xpointer.[ch] xpathInternals.h: improved the
XPointer implementation
- test/XPath/xptr/strpoint test/XPath/xptr/strrange3: added
related XPointer tests and associated results
Daniel
/external/libxml2/xpointer.c
bf43275dd1e31ee7542c37f1f7ce21e0ee9218ee 12-Nov-2000 Daniel Veillard <veillard@src.gnome.org> Bug fixes new Xinclude tests:
- nanoftp.c: fixed gcc 2.95 new warnings
- SAX.c: fixed a stupid bug
- tree.c: fixed a formatting problem when round-tripping
from/to memory
- xinclude.c: chased memleak, fixed a base problem
- xpointer.c: added xmlXPtrBuildRangeNodeList(), finished ?
xmlXPtrBuildNodeList()
- TODO: updated
- Makefile.am test/XInclude/docs test/XInclude/ents result/XInclude:
adding a first small set of regression tests for XInclude
Daniel
/external/libxml2/xpointer.c
c2def84b484f6706c2ad7d076a2f3e1c56f76b9f 07-Nov-2000 Daniel Veillard <veillard@src.gnome.org> Various patches and bug fixes, and XInclude progresses:
- nanohttp.[ch]: applied Wayne Davison patches to access
the WWW-Authorization header.
- parser.c: Closed Bug#30847: Problems when switching encoding
in short files by applying Simon Berg's patch.
- valid.c: fixed a validation problem
- hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h
xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from
Wayne Davison
- xpointer.[ch]: added first version of xmlXPtrBuildNodeList()
need to be extended to non full nodes selections.
- xinclude.c: starts to work decently
Daniel
/external/libxml2/xpointer.c
9e8bfae59a087a938a810a5527023b1e7b0e15b3 06-Nov-2000 Daniel Veillard <veillard@src.gnome.org> XInclude and other stuff while travelling. Contributed patches:
- tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c
debugXML.c xmlversion.h.in: Started adding XInclude support,
this is a new xmllint option
- tree.c xpath.c: applied TOM patches for XPath
- xpointer.c: fixed a couple of errors.
- uri.c: added an escaping function needed for xinclude
- testXPath.c hash.c HTMLtree.c: minor cleanups raised by
new warning from RH70 gcc's version
Daniel
/external/libxml2/xpointer.c
2ffc3591c16807e0ba320f18ed5e3b401611bae2 30-Oct-2000 Daniel Veillard <veillard@src.gnome.org> - parser.[ch]: added xmlIOParseDTD()
- xpointer.c: added support for the 2 extra parameters of
string-range, fixed a stoopid error when '0' was present
in XPointer expressions
- test/XPath/xptr/strrange2 result/XPath/xptr/strrange2: added
testsuite for the above
Daniel
/external/libxml2/xpointer.c
d6d7f7bf96a87688cc4bf756cf98367018e3ef88 25-Oct-2000 Daniel Veillard <veillard@src.gnome.org> patched to redirrect all "out of context" error messages to
a reconfigurable routine. The changes are:
* xmlerror.h : added the export of an error context type (void *)
an error handler type xmlGenericErrorFunc there is an interface
xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
to reset the error handling routine and its argument
(by default it's equivalent to respectively fprintf and stderr.
* all the c files: all wild accesses to stderr or stdout within
the library have been replaced to calls to the handler.
Daniel
/external/libxml2/xpointer.c
29a11cc696655f9ac841a5ca28b272e4150aafa1 25-Oct-2000 Daniel Veillard <veillard@src.gnome.org> Releasing 2.2.6 after adding xpathInternals.h:
- configure.in: release 2.2.6
- xpath.[ch] xpointer.c xpathInternals.h: added xpathInternals.h
exporting the inner functions of xpath for extension modules
- doc/*: updated and rebuilt the doc
Daniel
/external/libxml2/xpointer.c
1baf412f4e6d10911004c97b79c6f43f7d9a7b19 15-Oct-2000 Daniel Veillard <veillard@src.gnome.org> - Release of 2.2.5 - xpointer.c: range() range-inside and other helper

- Release of 2.2.5
- xpointer.c: range() range-inside and other helper functions
- parserInternals.c: fixed perf problem raised by rolf@pointsman.de
Daniel
/external/libxml2/xpointer.c
ff9c33075358e670a8c48bb860b1db6a3d1eae0b 13-Oct-2000 Daniel Veillard <veillard@src.gnome.org> More work on XPointer
- xpath.c xpointer.c: XPointer reorder of ranges start/end and
string-range for empty strings
- test/XPath/docs/str test/XPath/xptr/chaptersrange
test/XPath/xptr/strrange: augmented the XPointer testsuite
Daniel
/external/libxml2/xpointer.c
c2df4cde4e9e364fe2f06f053b3fa9d5d3129386 13-Oct-2000 Daniel Veillard <veillard@src.gnome.org> Going forward in XPointer implementation:
- testXPath.c xpath.[ch]: moved some debug functions to xpath core
- xpointer.c: implemented string-range() at least a good first version
- test/XPath/docs/str test/XPath/xptr/strrange
result/XPath/xptr/strrange: the string-range() tests
Daniel
/external/libxml2/xpointer.c
19d611157461f502069736ac1cb65c03666994e6 12-Oct-2000 Daniel Veillard <veillard@src.gnome.org> - nanohttp.c: added xmlNanoHTTPTimeout(int delay), removed a bug
xmlNanoHTTPMethod on input MimeType Tony Lam <Tony.Lam@eng.sun.com>
- xpointer.c: slight extension of xmlXPtrLocationSetMerge
Daniel
/external/libxml2/xpointer.c
2d38f047073a0c988a078f1536658b80e1cb4ee1 11-Oct-2000 Daniel Veillard <veillard@src.gnome.org> - xpath.[ch] xpointer.[ch]: worked on XPath functions and variable
handlings (registration, lookup, cleanup)
Daniel
/external/libxml2/xpointer.c
e8eac3d979a860dbb811f0a21163a840522ba700 11-Oct-2000 Daniel Veillard <veillard@src.gnome.org> Oops seems I forgot to commit the xpointer.[ch] files, Daniel.
/external/libxml2/xpointer.c