Permalink
Switch branches/tags
Nothing to show
Commits on Nov 1, 2010
  1. Fix xmllint to use format=1 for default formatting

    * xmllint.c: again the goal is ultimately to use other values for
      a different semantic.
    Adam Spragg committed with veillard Nov 1, 2010
  2. Force _xmlSaveCtxt.format to be 0 or 1

    * xmlsave.c: force _xmlSaveCtxt.format to be 0 or 1 and check
      accordingly, this will allow other values of "format" to be used
      for other purposes.
    Adam Spragg committed with veillard Nov 1, 2010
  3. Cleanup encoding pointer comparison

    * parser.c: Compare encoding pointer with a NULL instead of
      xmlCharEncoding enum value 0 then casted to char * !
    nsivov committed with veillard Nov 1, 2010
Commits on Oct 28, 2010
  1. make sure htmlCtxtReset do reset the disableSAX field

    As pointed out by Stefan Behnel <stefan_ml@behnel.de>
    veillard committed Oct 28, 2010
Commits on Oct 22, 2010
  1. Fix a change of semantic on XPath preceding and following axis

    This was introduced in the prevous fix, while preceding-sibling and
    following sibling axis are empty for attributes and namespaces,
    preceding and following axis should still work based on the parent
    element. However the parent element is not available for a namespace
    node, so we keep the axis empty in that case.
    veillard committed Oct 22, 2010
Commits on Oct 15, 2010
  1. Fix a potential segfault due to weak symbols on pthreads

    In xmlInitParser, both __xmlGlobalInitMutexLock and xmlInitGlobals are
    called before xmlInitThreads, and both use pthread symbols.
    __xmlGlobalInitMutexLock does so directly, without checking if the symbol
    exists, and xmlInitGlobals calls xmlNewMutex, which correctly depends on
    libxml_is_threaded... except libxml_is_threaded is still -1 by then...
    And again, when releasing the global mutex in __xmlGlobalInitMutexUnlock,
    the pthread function is called directly.
    
    The patch changes the initialization order and make sure the functions
    are available before calling them
    glandium committed with veillard Oct 15, 2010
  2. Fix devhelp documentation installation

    When doing an out of tree build
    glandium committed with veillard Oct 15, 2010
  3. Sort python generated stubs

    to avoid shuffling each time python changes or on different
    architectures
    glandium committed with veillard Oct 15, 2010
  4. Fix a leak in XPath compilation

    Sometimes a not well formed XPath expression could lead to a
    leak as reported by Ralf Junker <ralfjunker@gmx.de>
    veillard committed Oct 15, 2010
  5. Fix the semantic of XPath axis for namespace/attribute context nodes

    The processing of namespace and attributes nodes was not compliant
    to the XPath-1.0 specification
    veillard committed Oct 15, 2010
Commits on Oct 14, 2010
  1. Avoid a descriptor leak in catalog loading code

    File descriptors could be leaked in xmlLoadFileContent()
    Carlo Bramini committed with veillard Oct 14, 2010
Commits on Oct 12, 2010
Commits on Sep 30, 2010
  1. Fix web site encoding problems

    The encoding.html page was generated incorectly, revamp the input
    xml.html and convert the full XSLT chain to use and serve it as
    UTF-8
    * doc/*: fix xml.html, update all stylesheets and regenerate
    veillard committed Sep 30, 2010
Commits on Sep 9, 2010
  1. Fix handling of XML-1.0 XML namespace declaration

    Usually 'xml' namespace for XML-1.0 declaration does not need
    to be carried but Mike Hommey raised the problem that the SVG
    XSD file fails to parse due to a mishandling.
    - SAX2.c: failure to create a namespace should not be interpreted
      as a memory allocation error
    - tree.c: document better xmlNewNs behaviour, and fix it in the
      case the 'xml' prefix is being used.
    veillard committed Sep 9, 2010
Commits on Aug 2, 2010
Commits on Jul 28, 2010
  1. Small code cleanup on previous patch

    suggested by Andrew Nosenko
    veillard committed Jul 28, 2010
  2. Fix errors in XSD double validation check

    - xmlschemastypes.c: "e" and "E" should not be accespted as is, digits
      are needed
    Csaba Raduly committed with veillard Jul 28, 2010
Commits on Jul 26, 2010
  1. Add an HTML parser option to avoid a default doctype

    - include/libxml/HTMLparser.h: defines the new HTML parser option
      HTML_PARSE_NODEFDTD
    - HTMLparser.c: if option is set don't add a default DTD
    - xmllint.c: add the corresponding --nodefdtd option in xmllint
    veillard committed Jul 26, 2010
Commits on Jun 4, 2010
  1. Fix handling of apos in URIs

    François Delyon <f.delyon@satimage.fr> pointed out a divergence between
    the URI code and RFC 3986, fix trivial and seems to not break regression
    tests
    veillard committed Jun 4, 2010
Commits on May 5, 2010
  1. xmlTextReaderReadOuterXml should handle DTD

    * xmlreader.c: fix description of xmlTextReaderReadOuterXml and support DTD
    robrichards committed May 5, 2010
Commits on Apr 26, 2010
  1. Autogen.sh needs to create m4 directory

    * autogen.sh: create m4 directory if not already existing
    robrichards committed Apr 26, 2010
Commits on Mar 25, 2010
Commits on Mar 19, 2010
  1. Fix Win32 build

    * libxml.h win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc: add
      NOLIBTOOL flag to prevent automatic define of LIBXML_STATIC
    robrichards committed Mar 19, 2010
Commits on Mar 15, 2010
  1. Release of libxml2-2.7.7

    * configure.in: bump version
    * doc//*: regenerated
    veillard committed Mar 15, 2010
  2. Remove a few warnings

    veillard committed Mar 15, 2010
  3. xmlCtxtResetLastError should reset ctxt->errNo

    just fix it !
    veillard committed Mar 15, 2010
  4. 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
    veillard committed Mar 15, 2010
  5. 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
    libc committed with veillard Mar 15, 2010
  6. 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.
    Volker Grabsch committed with veillard Mar 15, 2010
  7. Fix detection of python linker flags

    python-config has both --libs and --ldflags, and we should use the
    later to link the python binding
    dmacks committed with veillard Mar 15, 2010
  8. 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.
    madscientist committed with veillard Mar 15, 2010
  9. 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.
    rhudea committed with veillard Mar 15, 2010
  10. 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.
    Ben Walton committed with veillard Mar 15, 2010