1. 09 Nov, 2017 1 commit
    • Nick Wellnhofer's avatar
      Fix hash callback signatures · e03f0a19
      Nick Wellnhofer authored
      Make sure that all parameters and return values of hash callback
      functions exactly match the callback function type. This is required
      to pass clang's Control Flow Integrity checks and to allow compilation
      to asm.js with Emscripten.
      
      Fixes bug 784861.
      e03f0a19
  2. 28 Aug, 2017 1 commit
    • Stéphane Michaut's avatar
      Porting libxml2 on zOS encoding of code · 454e397e
      Stéphane Michaut authored
      First set of patches for zOS
      - entities.c parser.c tree.c xmlschemas.c xmlschemastypes.c xpath.c xpointer.c:
        ask conversion of code to ISO Latin 1 to avoid having the compiler assume
        EBCDIC codepoint for characters.
      - xmlmodule.c: make sure we have support for modules
      - xmlIO.c: zOS path names are special avoid dsome of the expectstions from
        Unix/Windows
      454e397e
  3. 23 May, 2016 1 commit
  4. 13 Oct, 2014 1 commit
    • Kurt Roeckx's avatar
      Fix and add const qualifiers · 95ebe53b
      Kurt Roeckx authored
      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
      95ebe53b
  5. 30 Mar, 2013 1 commit
  6. 11 Sep, 2012 2 commits
  7. 05 Sep, 2012 1 commit
  8. 20 Jul, 2012 1 commit
  9. 18 Jul, 2012 1 commit
  10. 05 Sep, 2009 1 commit
    • Daniel Veillard's avatar
      Fix a bunch of scan 'dead increments' and cleanup · 13cee4e3
      Daniel Veillard authored
      * 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()
      13cee4e3
  11. 25 Aug, 2008 2 commits
  12. 20 Aug, 2008 1 commit
    • Daniel Veillard's avatar
      fix for CVE-2008-3281 Daniel · 4bf899bf
      Daniel Veillard authored
      * include/libxml/parser.h include/libxml/entities.h entities.c
        parserInternals.c parser.c: fix for CVE-2008-3281
      Daniel
      
      svn path=/trunk/; revision=3772
      4bf899bf
  13. 10 Oct, 2006 1 commit
  14. 09 Mar, 2006 1 commit
  15. 01 Apr, 2005 1 commit
    • Daniel Veillard's avatar
      revamped the elfgcchack.h format to cope with gcc4 change of aliasing · 5d4644ef
      Daniel Veillard authored
      * 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
      5d4644ef
  16. 23 Jan, 2005 2 commits
  17. 05 Nov, 2004 3 commits
  18. 17 May, 2004 1 commit
    • Daniel Veillard's avatar
      avoid returning default namespace when searching from an attribute reverse · 62040be3
      Daniel Veillard authored
      * tree.c: avoid returning default namespace when searching
        from an attribute
      * entities.c xmlwriter.c: reverse xmlEncodeSpecialChars() behaviour
        back to escaping " since the normal serialization routines do not
        use it anymore, should close bug #134477 . Tried to make
        the writer avoid it too but it didn't work.
      Daniel
      62040be3
  19. 09 Dec, 2003 1 commit
  20. 25 Nov, 2003 1 commit
  21. 20 Oct, 2003 1 commit
  22. 18 Oct, 2003 1 commit
    • William M. Brack's avatar
      Changed all (?) occurences where validation macros (IS_xxx) had · 76e95df0
      William M. Brack authored
      * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c
        SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c
        testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c
        xpath.c: Changed all (?) occurences where validation macros
        (IS_xxx) had single-byte arguments to use IS_xxx_CH instead
        (e.g. IS_BLANK changed to IS_BLANK_CH).  This gets rid of
        many warning messages on certain platforms, and also high-
        lights places in the library which may need to be enhanced
        for proper UTF8 handling.
      76e95df0
  23. 01 Oct, 2003 1 commit
  24. 30 Sep, 2003 1 commit
  25. 29 Sep, 2003 2 commits
    • Daniel Veillard's avatar
      Adding a configure option to remove tree manipulation code which is not · 652327a7
      Daniel Veillard authored
      * configure.in entities.c tree.c valid.c xmllint.c
        include/libxml/tree.h include/libxml/xmlversion.h.in:
        Adding a configure option to remove tree manipulation
        code which is not strictly needed by the parser.
      Daniel
      652327a7
    • Daniel Veillard's avatar
      Okay this is scary but it is just adding a configure option to disable · a9cce9cd
      Daniel Veillard authored
      * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c
        encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c
        testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c
        testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c
        xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c
        example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h
        include/libxml/catalog.h include/libxml/debugXML.h
        include/libxml/entities.h include/libxml/nanohttp.h
        include/libxml/relaxng.h include/libxml/tree.h
        include/libxml/valid.h include/libxml/xmlIO.h
        include/libxml/xmlschemas.h include/libxml/xmlversion.h.in
        include/libxml/xpathInternals.h python/libxml.c:
        Okay this is scary but it is just adding a configure option
        to disable output, this touches most of the files.
      Daniel
      a9cce9cd
  26. 28 Sep, 2003 2 commits
    • Daniel Veillard's avatar
      cleanup, creating a new legacy.c module, made sure make tests ran in · 4432df23
      Daniel Veillard authored
      * Makefile.am: cleanup, creating a new legacy.c module,
        made sure make tests ran in reduced conditions
      * SAX.c SAX2.c configure.in entities.c globals.c parser.c
        parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c
        xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in:
        increased the modularization, allow to configure out
        validation code and legacy code, added a configuration
        option --with-minimum compiling only the mandatory code
        which then shrink to 200KB.
      Daniel
      4432df23
    • Daniel Veillard's avatar
      fix a bug raised by the Mips compiler. move the SAXv1 block definitions to · 9ee35f36
      Daniel Veillard authored
      * parser.c: fix a bug raised by the Mips compiler.
      * include/libxml/SAX.h include/libxml/parser.h: move the
        SAXv1 block definitions to parser.h fixes bug #123380
      * xmlreader.c include/libxml/xmlreader.h: reinstanciate
        the attribute and element pool borken 2 commits ago.
        Start playing with an entry point to preserve a subtree.
      * entities.c: remove a warning.
      Daniel
      9ee35f36
  27. 26 Sep, 2003 1 commit
  28. 15 Jul, 2003 1 commit
  29. 13 Jun, 2003 1 commit
  30. 26 Feb, 2003 1 commit
  31. 23 Feb, 2003 1 commit
  32. 30 Dec, 2002 1 commit
  33. 05 Sep, 2002 1 commit