Log

Author Commit Date CI Message
Daniel Veillard f61ba8d0 2010-03-25T10:54:32 Forgot to update the news page for 0.7.7
Rob Richards a295fbc4 2010-03-19T06:31:55 Fix Win32 build * libxml.h win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc: add NOLIBTOOL flag to prevent automatic define of LIBXML_STATIC
Daniel Veillard bb5055f3 2010-03-15T16:21:00 Release of libxml2-2.7.7 * configure.in: bump version * doc//*: regenerated
Daniel Veillard 06c93b75 2010-03-15T16:08:44 Remove a few warnings
Daniel Veillard 26b06874 2010-03-15T15:59:07 xmlCtxtResetLastError should reset ctxt->errNo just fix it !
Daniel Veillard 3c080d6d 2010-03-15T15:47:50 Don't give default HTML boolean attribute values in parser * HTMLparser.c: don't default value of HTML boolean attributes in the parser * SAX2.c: move this to SAX2 tree building backend * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax result/HTML/wired.html.sax: this changes a few HTML SAX regression tests
Eugene Pimenov 615904f5 2010-03-15T15:16:02 Switch the HTML parser to be non-recursive * HTMLparser.c: new htmlParseElementInternal non recursive, with htmlParseContentInternal and new function to handle node info and element end. * include/libxml/parser.h: add new stack for element info in parser context * parserInternals.c: fee element info stack
Eugene Pimenov ef9c636a 2010-03-15T11:37:48 Cleanup a couple of weirdness in HTML parser
Daniel Veillard 9543aee9 2010-03-15T11:13:39 Fix broken escape behaviour in regexp ranges
Volker Grabsch 9031709b 2010-03-15T10:36:56 Fix missing win32 libraries in libxml-2.0.pc The libxml-2.0.pc file doesn't contain the win32 specific libraries. So when (cross-)compiling for Windows, the output of pkg-config libxml-2.0 --libs returns an incompile set of libraries. Thus, applications using libxml2's network functionality fail to build for the win32 platform.
Daniel Macks 12febe86 2010-03-15T10:31:24 Fix detection of python linker flags python-config has both --libs and --ldflags, and we should use the later to link the python binding
Paul Smith 38af74f7 2010-03-15T10:22:25 fix build error in libxml2/python There are missing $(srcdir) values in libxml2/python/Makefile.am which cause it to fail if built remote from out of tree.
Raul Hudea ba9716a1 2010-03-15T10:13:29 ChunkParser: Incorrect decoding of small xml files if encoding was autodetected, in xmlParseChunk, if initial size is 86 (a chunk in UTF-16 encoding), the code that tries to read only the first line will set the size to 90, which eventually leads to a memmove of 90 bytes (in xmlBufferAdd) which will copy extra random memory bytes, which will make the parser to fail because of these extra bytes.
Ben Walton a7a6a4b2 2010-03-15T10:06:36 relaxng.c: cast to allow compilation with sun studio 11 Sun Studio 11 was failing to compile relaxng.c due to a type mismatch in a ternary operator used to provide an argument to xmlRngPErr. It seems that sos11 cc is more pedantic about this part of the C99 standard. GCC issues a warning but doesn't fail by default. After casting the string literal "nothing" to (const xmlChar *) sos11 cc is happy. GCC no longer issues a warning either. Another warning was cleaned up with an identical cast.
Roumen Petrov f39adc25 2010-03-11T14:49:13 Fix build failure on Sparc solaris Tries to find the right ld options needed to pass a linker script.
Eugene Pimenov 1e60fbcb 2010-03-10T18:10:49 htmlCheckEncoding doesn't update input-end after shrink * HTMLparser.c: add the missing update to the end pointer
Daniel Veillard 9ccea57d 2010-03-10T15:02:49 Fix a missing #ifdef https://bugzilla.gnome.org/show_bug.cgi?id=611806 Problem raised by Mark Overmeer
Daniel Veillard 743311bd 2010-03-10T10:35:56 use autoreconf in autogen.sh * autogen.sh: use autoreconf instead of the direct set of calls for auto* updates * INSTALL INSTALL.libxml2: migrate the INSTALL to INSTALL.libxml2 since autoreconf copies a new INSTALL
Roumen Petrov 120a2699 2010-03-10T10:07:49 Fix build with mingw - include/libxml/xmlexports.h: restore export decoration otherwise xsltproc and xmlsec crash - libxml.h: define LIBXML_STATIC for static build - configure.in: enable modules support for mingw* builds - Makefile.am: flags for testdso if modules support enabled
Daniel Veillard 3157e515 2010-03-09T11:32:46 Upgrade some of the configure and autogen Based on Roumen Petrov suggestions
Daniel Veillard e4d1849c 2010-03-09T11:12:30 Fix xmlNodeSetBase() comment
Daniel Veillard 47cd14e8 2010-02-04T18:49:01 Fix encoding selection for xmlParseInNodeContext * parser.c: use the encoding from the document to parse the chunk
François Delyon 2f700908 2010-02-03T17:32:37 xmlPreviousElementSibling mistake * tree.c: xmlPreviousElementSibling it should look for preceding sibling never for the following ones...
Daniel Veillard 59df7834 2010-02-02T10:24:01 608773 add a missing check in xmlGROW * parser.c: check that the input buffer is non null before dereferencing it
Daniel Veillard e20fb5a7 2010-01-29T20:47:08 Fix xmlParseInNodeContext for HTML content xmlParseInNodeContext notices that the enclosing document is an HTML document, so invoke the HTML parser for that fragment, and the HTML parser finding a "<p>hello world!</p>" document automatically augment it with defaulted <html> and <body>. This defaulting should be turned off in the HTML parser for this to work, but there is no such HTML parser option. There is an htmlOmittedDefaultValue global variable that you could use, but really we should not rely on global variable for processing options anymore, best is to add an HTML_PARSE_NOIMPLIED. * include/libxml/HTMLparser.h: add the HTML_PARSE_NOIMPLIED parser flag * HTMLparser.c: do add implied element if HTML_PARSE_NOIMPLIED is set * parser.c: add HTML_PARSE_NOIMPLIED to options for xmlParseInNodeContext on HTML documents
Rob Richards ddb01cbf 2010-01-29T13:32:12 Fix lost namespace when copying node * tree.c: reconcile namespace if not found
Rob Richards c9667907 2010-01-22T08:24:25 Fix relaxNG tests in runtest for Windows * runtest.c: initialize ret
Martin Trappel f3703105 2010-01-22T12:08:00 Fix a const warning in xmlNodeSetBase * tree.c: xmlNodeSetName: Remove const from declaration since it is used non-const anyway. Remove unnecessary cast on xmlFree later on.
Eugene Pimenov 4b41f15d 2010-01-20T14:25:59 Fix some missing commas in HTML element lists * HTMLparse.c: fix the macros BLOCK and INLINE to use commas and avoid transparent contatenation of strings
Mark Adler a7e79f28 2010-01-19T16:28:48 libxml violates the zlib interface and crashes * xmlIO.c: remove an abuse of zlib API and use a clean interface available in zlib >= 1.2.3
Nikolay Sivov 73046833 2010-01-19T15:38:05 Correct variable type to unsigned * parser.c: fix len sign in xmlParseChunk()
Daniel Veillard 79461377 2010-01-13T15:34:50 Fix python generator to not use deprecated xmllib * python/generator.py: use xml.sax instead, patch based on similar fir for libvirt by Cole Robinson <crobinso@redhat.com>
Daniel Veillard a2ff4971 2009-10-21T23:29:39 Update some automake files * install-sh missing mkinstalldirs: quite outdated as pointed by Matthias Jung, Roumen Petrov suggested to update
spadix d29a5c8a 2009-10-19T14:03:25 598785 Fix nanohttp on Windows * nanohttp.c: the check for socket comparing to FD_SETSIZE introduced in bug fix for 559501 breaks on WinSockAPI
Daniel Veillard f3c06692 2009-10-16T16:47:58 Recognize ID attribute in HTML without DOCTYPE * valid.c: xmlIsID() was short-circuiting the case where there was no DTD.
Martin 729601f1 2009-10-12T22:42:26 Fix memory leak in xmlXPathEvalExpression() * xpath.c: plug some leaks when parsing misformed XPath expressions * python/tests/xpathleak.py: expand the regression tests for those
Kai Henning 2c212838 2009-10-12T22:30:32 Fix an init bug in global.c * globals.c: fix the initialization of the mutex
Daniel Veillard 1934b0c0 2009-10-07T10:25:06 Adding a --xpath option to xmllint * xmllint.c: runs in --noout mode and dumps the result of the XPath argument query. Still need to be expanded in some ways to allow namespace binding.
Daniel Veillard 1e521723 2009-10-07T10:24:42 Adding a .gitignore to avoid status pollution
Daniel Veillard 96bb740e 2009-10-06T18:38:15 Release of libxml2-2.7.6 * configure.in doc/xml.html: updates for release * NEWS doc/libxml2.xsa doc/news.html python/setup.py: regenerated
Andrew W. Nosenko 858084fd 2009-10-06T18:14:15 Restore thread support in default configuration * configure.in: use '||' for "logical OR" operator as it should to be instead of '|' (pipe)
Daniel Veillard 1358fef9 2009-10-02T17:29:48 URI with no path parsing problem * uri.c: Ralf Junker pointed out that URI with no path like http://www.domain.com when parsed ended up with an empty path value instead of NULL, this fixes the problem
Eric Zurcher 243b034d 2009-10-01T00:13:07 Minor patch for conditional defines in threads.c Portability problem with CodeGear ("Borland") compiler 2007 on Windows * threads.c: use 'defined' after #elif
Daniel Veillard 7a896ce2 2009-09-24T18:38:57 Release of libxml2-2.7.5 * configure.in doc/xml.html: updated * doc/libxml2.xsa doc/xml.html python/setup.py: regenerated
Andrew W. Nosenko 2bdf87e3 2009-09-24T17:33:21 Restore behavior of --with-threads without argument * configure.in: restore behavior of --with-threads without argument as "enable threads support"
Rob Richards 410d2c4e 2009-09-24T11:00:16 Fix memory leak when doc is NULL * xmlschemas.c: fix memory leak when doc is NULL
Daniel Veillard aa422d92 2009-09-24T11:31:48 595792 fixing a RelaxNG bug introduced in 2.7.4 * relaxng.c: refs definitions added from inported schemas should not be processed as refs from the main schemas * test/relaxng/595792* result/relaxng/595792*: add the test to the regression suite
Daniel Veillard 4dd115c1 2009-09-23T18:32:42 Adding symbols.xml to EXTRA_DIST
Daniel Veillard 9332b48f 2009-09-23T18:28:43 Fix a Relaxng bug raised by libvirt test suite * xmlregexp.c: other fixes in 2.7.4 raised this internal error when comparing ranges, this affects among others detection of the determinism * test/relaxng/libvirt* result/relaxng/libvirt*: add a test case based on libvirt schemas and tests
Daniel Veillard 9d3d141c 2009-09-15T18:41:30 Fix a parsing problem with little data at startup * parser.c: inkscape extension loader (and possibly others) feed data to the parser very slowly, 0 at start, 4 bytes on first GROW and this broke after the fix for https://bugzilla.gnome.org/show_bug.cgi?id=566012 http://git.gnome.org/cgit/libxml2/commit/?id=7e385bd4e28a0cc12b6b26ed178c620e3c3ab8d8 leading to another bug https://bugzilla.redhat.com/show_bug.cgi?id=523002 this detects the situation and GROW when needed for proper processing.
Frederic Crozat e21731de 2009-09-12T18:02:40 link python module with python library * configure.in python/Makefile.am: libxml2 python module wasn't linked with python library
Daniel Veillard 84bff68e 2009-09-11T15:30:19 594874 Forgot an fclose in xmllint * xmllint.c: as pointed out by Pavol Rusnak, an fclose was missing in some case.
Daniel Veillard 29341682 2009-09-10T18:23:39 Release of libxml2-2.7.4 * configure.in: new version * libxml.spec.in: cleanup * xmlregexp.c: fix a comment * doc/apibuild.py: update * doc/*: regenerate everything
Daniel Veillard d87c5d1c 2009-09-10T17:46:07 593857 try to work around thread pbm MinGW 4.4 * threads.c: try to cope with HAVE_PTHREAD_H and HAVE_WIN32_THREADS being both defined and pthread_t being a non integer
MOD 44d1eff0 2009-09-09T19:03:13 594514 memory leaks - duplicate initialization * globals.c: xmlInitGlobals() might be called multiple times, leaking the xmlThrDefMutex value
Daniel Veillard 57f71aed 2009-09-09T18:57:26 594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes * include/libxml/xmlmemory.h include/libxml/xmlversion.h.in: rename it to LIBXML_ATTR_ALLOC_SIZE to avoid conflicts in public headers
Rob Richards 848e5cf3 2009-09-09T12:13:58 Fix Windows build * relaxng.c: fix windows build
Paul Smith 65d359e3 2009-09-07T15:24:24 Fix the globals.h to use XMLPUBFUN * include/libxml/globals.h: in addition to the extern extern Paul Smith noted that XMLPUBFUN should be used instead of LIBXML_DLL_IMPORT
Daniel Veillard 82cf412d 2009-09-07T15:20:24 Problem with extern extern in header * include/libxml/globals.h: LIBXML_DLL_IMPORT should not be followed by extern * include/libxml/xmlmemory.h: fix the same problem but in a comment
Daniel Veillard 594e5dfb 2009-09-07T14:58:47 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)
Daniel Veillard d44b9364 2009-09-07T12:15:08 A few more safety cleanup raised by scan * SAX2.c encoding.c parser.c xmlschemas.c: a few more safety checks * relaxng.c: remove an unused intitialization
Daniel Veillard 76d36458 2009-09-07T11:19:33 Fixing assorted potential problems raised by scan * encoding.c parser.c relaxng.c runsuite.c tree.c xmlreader.c xmlschemas.c: nothing really serious but better safe than sorry
Daniel Veillard 15495610 2009-09-05T15:04:41 Potential uninitialized arguments raised by scan * parser.c: ctxt->sax2 is not supposed to change suring parsing but better safe than sorry and initialize prefix and URI used in SAX2 callbacks.
Daniel Veillard 13cee4e3 2009-09-05T14:52:55 Fix a bunch of scan 'dead increments' and cleanup * HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c: fix unused variables, or unneeded increments as well as a couple of space issues * runtest.c: check for NULL before calling unlink()
Daniel Veillard 141ebfa0 2009-09-02T14:58:13 Wrong block opening in htmlNodeDumpOutputInternal * xmlsave.c: Jim Meyering ran clang on libxml2 and this is one of the error found, misplaced curly brace
Daniel Veillard 1ba2aca3 2009-08-31T16:47:39 492317 Fix Relax-NG validation problems * relaxng.c xmlregexp.c: a subtle problem when checking for compileable content model, if using the same elements in cases of choices. Handled by adding a special flag to the regexp compilation to detect transitions with different atoms using same strings. * test/relaxng/492317* result/relaxng/492317*: add the test to the regression suite
Daniel Veillard ec18c960 2009-08-26T18:37:43 558452 fight with reg test and error report * relaxng.c: tiny fix and provide more context on some errors * result/relaxng/558452_0* test/relaxng/558452*: add some regression tests for the bugs * Makefile.am runtest.c: fight with the fact streaming error messages can differ due to missing node context
Daniel Veillard fd780772 2009-08-26T18:35:29 558452 RNG compilation of optional multiple child * relaxng.c: don't assume there is a single define under a optional
Daniel Veillard 4013e83e 2009-08-26T17:24:31 579746 XSD validation not correct / nilable groups * xmlschemas.c: when a particle need to be processed via counted transition, if the group is nillable, the counting won't work, so keep track of nillable subset as they are built and generate the appropriate epsilon transitions as needed * test/schemas/579746* result/schemas/579746*: add related test cases based on the bug report
Daniel Veillard 74eaec14 2009-08-26T15:57:20 502960 provide namespace stack when parsing entity * parser.c: copy the entity stack * SAX2.c: fix the warning message for default entities
Daniel Veillard a6c76a26 2009-08-26T14:37:00 566012 part 2 fix regresion tests and push mode * test/utf16bebom.xml: regression test showed that this test case was broken but previous behaviour would not detect it ! * parser.c: fix 566012 for the push mode of the parser, tricky ! * test/ebcdic_566012.xml result//ebcdic_566012.xml*: add the test to the regression suite
Daniel Veillard 7e385bd4 2009-08-26T11:38:49 566012 autodetected encoding and encoding conflict * encoding.c parser.c parserInternals.c: when we autodetect an encoding but it's actually not completely compatible with the one declared great care must be taken to not convert more than just the first line. Led to some refactoring, more private functions and a bit of cleanup.
Scott McCreary 59f53085 2009-08-26T09:55:24 Add -lnetwork for compiling on Haiku * configure.in: trivial addition of network to the AC_SEARCH_LIB check for setsockopt.
Daniel Veillard cb6f525f 2009-08-25T19:24:15 584220 xpointer(/) and xinclude problems * xinclude.c: xpointer(/) in xinclude could lead to sub-document nodes and also fixed the code to inherit the dictionary from the embedding document
Daniel Veillard 283d5027 2009-08-25T17:18:39 587663 Incorrect Attribute-Value Normalization * parser.c: when replacing entities and that the entity is CDATA and reference entities then white space character in replacement text need to be replaced by 0x20 * result/noent/att10: correct the output of the associated regression test
Daniel Veillard eeb99329 2009-08-25T14:42:16 444994 HTML chunked failure for attribute with <> * HTMLparser.c: fix htmlParseLookupSequence to not save ctxt->checkIndex when the current buffer ends within an attribute value, as this information would be missed in next pass.
Tim Rice 85b07d18 2009-08-25T12:38:29 Runtest portability patch for Solaris * runtest.c: use defined(__sun) instead of defined(solaris)
Daniel Veillard 33c76c83 2009-08-25T11:30:34 Fix end of buffer char being split in XML parser * parserInternals.c: similar patch to previous, reset cur on GROW in xmlNextChar and xmlCurrentChar
Adiel Mittmann 8a103793 2009-08-25T11:27:13 Non ASCII character may be split at buffer end * HTMLparser.c: make sure when we call xmlParserInputGrow in htmlCurrentChar, to reset the current pointer
Daniel Veillard f447ab8f 2009-08-24T19:47:00 Regenerated API and symbols * doc/Makefile.am: make the check for symbols pbm a make api failure * doc/symbols.xml: added xmlXIncludeProcessTreeFlagsData * doc//* elfgcchack.h libxml2.syms testapi.c: regenerated
Stefan Behnel b9590e9c 2009-08-24T19:45:54 440226 Add xmlXIncludeProcessTreeFlagsData API * xinclude.c include/libxml/xinclude.h: new function similar to xmlXIncludeProcessFlagsData but operating on a subtree
Markus Kull 56a03035 2009-08-24T19:00:23 572129 speed up parasing of large HTML text nodes * HTMLparser.c: use a different lookup function htmlParseLookupChars() to avoid the quadratic behaviour
Daniel Veillard b468f744 2009-08-24T18:45:33 Remove a pedantic warning
Daniel Veillard 856c668c 2009-08-24T18:16:56 Fix HTML parsing with 0 character in CDATA * HTMLparser.c: 0 before the end of the input need some special case handling, raise the error and return a space instead
Daniel Veillard 472b1e11 2009-08-24T17:39:07 Regenerate symbols and API after previous patches * doc/symbols.xml: new global data xmlStructuredErrorContext * doc/checkapisym.xsl: slightly improve output * doc/* libxml2.syms win32/libxml2.def.src: regenerated the API
Wang Lam 1de382eb 2009-08-24T17:34:25 Fix SetGenericErrorFunc and SetStructured clash * include/libxml/globals.h globals.c global.data: define a new global variable (per thread) for structured error reporting, to not conflict with generic one * error.c: when defined use the structured error report over any generic one
Martin Kögler c78988ac 2009-08-24T16:47:48 566012 Incomplete EBCDIC parsing support * encoding.c: the iconv converter is sometimes only found as "EBCDIC-US"
Scott McCreary 508a8d68 2009-08-24T16:35:35 Small patch to accomodate the Haiku OS * configure.in: keep M_LIBS to empty
Daniel Veillard 2173b5cb 2009-08-24T14:23:32 555833 always use rm -f in uninstall-local * Makefile.am: so that make clean doesn't fail in some circumstances
Leonid Evdokimov 147687f1 2009-08-24T14:08:43 544910 typo: "renciliateNs" * python/libxml.py: typo on a comment
Daniel Veillard 0d5e58f3 2009-08-24T13:52:23 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK * xmlIO.c: trivial fix, wrong constant
Daniel Veillard 029a04d2 2009-08-24T12:50:23 541335 HTML avoid creating 2 head or 2 body element * HTMLparser.c: check when we see an head or a body tag and avoid autogenerating them * include/libxml/parser.h: the values for ctxt->html change depending on the head or body tags being seen
Daniel Veillard 6339c1a8 2009-08-24T11:59:51 541237 error correcting missing end tags in HTML * HTMLparser.c: make sure /p closes the FONTSTYLE list of elements
Daniel Veillard f5ac0a4b 2009-08-24T11:59:07 Fix python regression test after 583439 cleanup
Daniel Veillard d1e312a3 2009-08-24T11:58:20 Add VxWorks to list of OSes
Daniel Veillard b0641a10 2009-08-24T10:15:13 584605 package VxWorks folder in the distribution * Makefile.am: as Igor Novoseltsev pointed out this is missing from the distro
Daniel Veillard 852505b3 2009-08-23T15:44:48 583439 missing line numbers in push mode * parser.c: use the line number stored in the node itself if present for end of tag line error reports
Daniel Veillard 9d962647 2009-08-23T15:31:18 587867 xmllint --html --xmlout serializing as HTML * xmllint.c: one option was needed after the switch to the new save API
Raphael Prevost 48b60c3c 2009-08-23T13:11:01 559501 avoid select and use poll for nanohttp * config.h.in configure.in: detect availability of poll() and poll.h * nanohttp.c: switch to use poll instead of select() when possible to avoid out of fd set memory errors on very large fds
Daniel Veillard d80d0728 2009-08-22T18:56:01 559410 - Regexp bug on (...)? constructs * xmlregexp.c: fix a regexp bug on some (...)? constructs * test/schemas/nvdcve* result/schemas/nvdcve*: add the tests to the regression suite