Action against software patents Gnome2 Logo W3C Logo Red Hat Logo
Made with Libxml2 Logo

ChangeLog last entries of libxml2

Developer Menu
API Indexes
Related links

Daniel Veillard Sun Jan 18 16:39:01 CET

  • threads.c: also remove pthread key when stopping thread support, patch based on Alex Ott one should fix #564723

Daniel Veillard Sun Jan 18 15:55:18 CET

  • threads.c: patch from Daniel Zimmermann fixing a memory leak in an edge case, solves #562230

Daniel Veillard Sun Jan 18 15:06:05 CET

  • include/libxml/parserInternals.h SAX2.c: add a new define XML_MAX_TEXT_LENGHT limiting the maximum size of a single text node, the defaultis 10MB and can be removed with the HUGE parsing option

Rob Richards Mon Jan 05 18:28:41 CET

  • include/libxml/parser.h parser.c: add XML_PARSE_OLDSAX parser option to enable pre 2.7 SAX behavior.

Rob Richards Wed Dec 31 23:11:37 CET

  • tree.c: set doc on last child tree in xmlAddChildList for bug #546772. Fix problem adding an attribute via with xmlAddChild reported by Kris Breuker.

Rob Richards Sun Dec 27 14:16:13 CET

  • xmlwriter.c: fix indenting in xmlTextWriterFullEndElement for bug# 554353.

Daniel Veillard Thu Nov 27 16:24:52 CET

  • include/libxml/tree.h tree.c python/generator.py: adds element traversal support
  • valid.c: avoid a warning
  • doc/*: regenerated

Daniel Veillard Mon Nov 17 16:56:18 CET

  • SAX2.c parser.c: fix for CVE-2008-4226, a memory overflow when building gigantic text nodes, and a bit of cleanup to better handled out of memory problem in that code.
  • tree.c: fix for CVE-2008-4225, lack of testing leads to a busy loop test assuming one have enough core memory.

Daniel Veillard Thu Nov 6 14:34:35 CET

  • xmllint.c: Matthias Kaehlcke reported a build problem when not compiling HTML support in.

Daniel Veillard Fri Oct 17 15:24:08 CEST

  • configure.in doc/Makefile.am: patch from Adrian Bunk which adds --disable-rebuild-docs to avoid rebuilding them

Daniel Veillard Fri Oct 3 09:43:45 CEST

  • configure.in doc/* NEWS: preparing the release of 2.7.2
  • dict.c: fix the Solaris portability issue
  • parser.c: additional cleanup on #554660 fix
  • test/ent13 result/ent13* result/noent/ent13*: added the example in the regression test suite.
  • HTMLparser.c: handle leading BOM in htmlParseElement()

Daniel Veillard Thu Oct 2 22:53:39 CEST

  • parser.c: fix a nasty bug introduced when cleaning up entities processing in 2.7.x , fixes #554660

Daniel Veillard Thu Sep 25 18:04:20 CEST

  • HTMLparser.c: fix an HTML parsing error on large data sections reported by Mike Day
  • test/HTML/utf8bug.html result/HTML/utf8bug.html.err result/HTML/utf8bug.html.sax result/HTML/utf8bug.html: add the reproducer to the test suite

Daniel Veillard Thu Sep 25 17:35:57 CEST

  • runxmlconf.c: fix compilation if XPath is not included

Daniel Veillard Thu Sep 25 16:54:04 CEST

  • xmlreader.c: patch from Riccardo Scussat fixing custom error handlers problems.

Daniel Veillard Thu Sep 25 16:30:11 CEST

  • include/libxml/xmlsave.h xmlsave.c: new options to serialize as XML/HTML/XHTML and restore old entry point behaviours

Daniel Veillard Mon Sep 1 16:49:05 CEST

  • doc/xml.html doc/news.html configure.in python/setup.py NEWS: prepare release of 2.7.1

Daniel Veillard Mon Sep 1 15:35:13 CEST

  • schematron.c xpath.c: applied a couple of patches from Martin avoiding some leaks, fixinq QName checks in XPath, XPath debugging and schematron code cleanups.
  • python/tests/Makefile.am python/tests/xpathleak.py: add the specific regression tests, just tweak it to avoid output by default

Daniel Veillard Mon Sep 1 15:02:05 CEST

  • 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 Veillard Sat Aug 30 16:58:40 CEST

  • configure.in, doc/*: preparing 2.7.0 release
  • tree.c: remove some testing traces
  • parser.c xmlIO.c xmlschemas.c: remove some warnings

Daniel Veillard Sat Aug 30 14:50:16 CEST

  • include/libxml/tree.h tree.c: make a new kind of buffer where shrinking and adding in head can avoid reallocation or full buffer memmoves
  • encoding.c xmlIO.c: use the new kind of buffers for output buffers

Daniel Veillard Sat Aug 30 10:18:13 CEST

  • doc/* testapi.c: regenerated

Daniel Veillard Fri Aug 29 21:53:12 CEST

  • doc/examples/reader3.c: patch from Robert Schwebel , allows to compile the example if configured without output support fixes #545582
  • Makefile.am: add testrecurse to the make check tests
  • HTMLparser.c: if the parser got a encoding argument it should be used over what the meta specifies, patch fixing #536346

Daniel Veillard Fri Aug 29 14:41:38 CEST

  • parser.c: a couple more fixes
  • nanohttp.c nanoftp.c: patch from Andreas Färber to compile on Haiku fixes #527880
  • doc/examples/*: regenerated

Daniel Veillard Thu Aug 28 17:31:46 CEST

  • parser.c include/libxml/parser.h: completely different fix for the recursion detection based on entity density, big cleanups in the entity parsing code too
  • result/*.sax*: the parser should not ask for used defined versions of the predefined entities
  • testrecurse.c: automatic test for entity recursion checks
  • Makefile.am: added testrecurse
  • test/recurse/lol* test/recurse/good*: a first set of tests for the recursion

Daniel Veillard Wed Aug 27 21:55:34 CEST

  • include/libxml/xmlerror.h parser.c: a bit of cleanup and added checks based on the regression tests of the xmlconf suite

Daniel Veillard Wed Aug 27 19:22:35 CEST

  • uri.c: bug in parsing RFC 3986 uris with port numbers

Daniel Veillard Wed Aug 27 17:30:48 CEST

  • configure.in Makefile.am: add an --with-coverage configure option and a 'make cov' target based on gcc profiling and the lcov tool. Currently at 68.9% coverage out of 'make check' and runsuite executions.
  • xmlreader.c: remove warnings due to C++ comments

Daniel Veillard Wed Aug 27 15:00:54 CEST

  • include/libxml/parserInternals.h parser.c: cleanup entity pushing error handling based on a patch from Ashwin

Daniel Veillard Wed Aug 27 13:41:26 CEST

  • threads.c: fix a small initialization problem raised by Ashwin
  • testapi.c gentest.py: increase testing especially for document with an internal subset, and entities
  • tree.c: fix a deallocation issue when unlinking entities from a document.
  • valid.c: fix a missing entry point test not found previously.
  • doc/*: regenerated the APIs, docs etc.

Daniel Veillard Tue Aug 26 15:02:58 CEST

  • include/libxml/parser.h parser.c xmllint.c: strengthen some of the internal parser limits, add an XML_PARSE_HUGE option to bypass them all. More internal parser limits will still need to be added.

Daniel Veillard Tue Aug 26 09:42:08 CEST

  • Makefile.am: add the testchar to 'make check'
  • xmlschemas.c: Volker Grabsch pointed out a typo
  • xmlregexp.c: production [19] from XML Schemas regexps were a mistake removed in version REC-xmlschema-2-20041028, Volker Grabsch provided a patch to remove it
  • test/schemas/regexp-char-ref_0.xml test/schemas/regexp-char-ref_0.xsd test/schemas/regexp-char-ref_1.xsd result/schemas/regexp-char-ref_0_0 result/schemas/regexp-char-ref_1_0: Volker Grabsch also provided regession tests for this

Daniel Veillard Tue Aug 26 09:25:39 CEST

  • include/libxml/parser.h xinclude.c xmllint.c: patch based on Wieant Nielander contribution to add the option of not doing URI base fixup in XInclude

Daniel Veillard Mon Aug 25 16:52:53 CEST

  • xmlreader.c: applied patch from Aswin to fix tree skipping
  • include/libxml/entities.h entities.c: fixed a comment and added a new xmlNewEntity() entry point
  • runtest.c: be less verbose
  • tree.c: space and tabs cleanups

Daniel Veillard Mon Aug 25 10:56:30 CEST

  • include/libxml/entities.h entities.c SAX2.c parser.c: rework the patch to avoid some ABI issue with people allocating entities structure directly

Daniel Veillard Wed Aug 20 19:02:01 CEST

  • include/libxml/parser.h include/libxml/entities.h entities.c parserInternals.c parser.c: fix for CVE-2008-3281

Rob Richards Sun Aug 10 17:06:13 CEST

  • dict.c: fix non GNUC builds.

Daniel Veillard Fri Aug 8 14:13:06 CEST

  • makefile.am: adding a check-valgrind target

Daniel Veillard Fri Aug 8 14:01:59 CEST

  • Makefile.am testdict.c: add the new test in 'make check' and update it to check subdictionaries processing.

Daniel Veillard Fri Aug 8 12:07:20 CEST

  • testdict.c: added a program to regression test the dictionary code
  • dict.c: improve the lookup efficiency by caching the key.

Daniel Veillard Thu Aug 7 18:30:55 CEST

  • dict.c: chased and found a couple of nasty issues

Sven Herzberg Thu Aug 7 15:51:31 CEST

  • runtest.c: use libpthread on Mac OS X as well

Daniel Veillard Wed Aug 6 12:24:33 CEST

  • uri.c: allow [ and ] in fragment identifiers, 3986 disallow them but it's widely used for XPointer, and would break DocBook processing among others

Daniel Veillard Wed Aug 6 11:32:21 CEST

  • dict.c: change the big key algorithm to work properly with QName too, fix a bug with dict size and sub dictionaries

Daniel Veillard Mon Aug 4 17:27:27 CEST

  • uri.c include/libxml/uri.h: rewrite the URI parser to update to rfc3986 (from 2396)
  • test/errors/webdav.xml result/errors/webdav.xml*: removed the error test, 'DAV:' is a correct URI under 3986
  • Makefile.am: small cleanup in make check

Daniel Veillard Thu Jul 31 21:49:45 CEST

  • runxmlconf.c: more progresses against the official regression tests
  • runsuite.c: small cleanup for non-leak reports
  • include/libxml/tree.h: parsing flags and other properties are now added to the document node, this is generally useful and allow to make Name and NmToken validations based on the parser flags, more specifically the 5th edition of XML or not
  • HTMLparser.c tree.c: small side effects for the previous changes
  • parser.c SAX2.c valid.c: the bulk of teh changes are here, the parser and validation behaviour can be affected, parsing flags need to be copied, lot of changes. Also fixing various validation problems in the regression tests.

Daniel Veillard Thu Jul 31 10:15:53 CEST

  • runxmlconf.c: added a skipped list, insert rmt-ns10-035
  • Makefile.am: improve 'make check'
  • include/libxml/xmlerror.h parser.c: clean up namespace errors checking and reporting, errors when a document is labelled as UTF-16 while it is parsed as UTF-8 and no encoding was given explicitely.
  • result/errors/webdav.xml.*: some warnings are no recategorized as Namespace errors

Daniel Veillard Wed Jul 30 14:55:54 CEST

  • include/libxml/xmlmemory.h xmlmemory.c: add xmlMemDisplayLast to help debug incremental memory leaks, and some cleanups
  • runxmlconf.c: use that new call and avoid ever touching the system catalog in the regression tests

Daniel Veillard Wed Jul 30 14:33:33 CEST

  • parser.c include/libxml/xmlerror.h: an XML-1.0 document can't load an 1.1 entity
  • runxmlconf.c: when using entities make sure we load them

Daniel Veillard Tue Jul 29 18:43:07 CEST

  • parser.c: fix a bug not detecting cross entity comments probably when comment parsing got optimized.
  • Makefile.am: add make check
  • runxmlconf.c: fix the log file name

Daniel Veillard