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. 11 Sep, 2012 1 commit
  3. 10 Mar, 2005 1 commit
  4. 23 Jan, 2005 1 commit
  5. 02 Jan, 2005 1 commit
    • William M. Brack's avatar
      Re-examined the problems of configuring a "minimal" library. · 21e4ef20
      William M. Brack authored
      Synchronized the header files with the library code in order
      to assure that all the various conditionals (LIBXML_xxxx_ENABLED)
      were the same in both.  Modified the API database content to more
      accurately reflect the conditionals.  Enhanced the generation
      of that database.  Although there was no substantial change to
      any of the library code's logic, a large number of files were
      modified to achieve the above, and the configuration script
      was enhanced to do some automatic enabling of features (e.g.
      --with-xinclude forces --with-xpath).  Additionally, all the format
      errors discovered by apibuild.py were corrected.
      * configure.in: enhanced cross-checking of options
      * doc/apibuild.py, doc/elfgcchack.xsl, doc/libxml2-refs.xml,
        doc/libxml2-api.xml, gentest.py: changed the usage of the
        <cond> element in module descriptions
      * elfgcchack.h, testapi.c: regenerated with proper conditionals
      * HTMLparser.c, SAX.c, globals.c, tree.c, xmlschemas.c, xpath.c,
        testSAX.c: cleaned up conditionals
      * include/libxml/[SAX.h, SAX2.h, debugXML.h, encoding.h, entities.h,
        hash.h, parser.h, parserInternals.h, schemasInternals.h, tree.h,
        valid.h, xlink.h, xmlIO.h, xmlautomata.h, xmlreader.h, xpath.h]:
        synchronized the conditionals with the corresponding module code
      * doc/examples/tree2.c, doc/examples/xpath1.c, doc/examples/xpath2.c:
        added additional conditions required for compilation
      * doc/*.html, doc/html/*.html: rebuilt the docs
      21e4ef20
  6. 01 Dec, 2004 1 commit
  7. 20 Nov, 2003 1 commit
    • Daniel Veillard's avatar
      applied patch from Alfred Mickautsch, bugfixes and comments added his test · 5841f0e0
      Daniel Veillard authored
      * xmlwriter.c include/libxml/xmlwriter.h: applied patch from
        Alfred Mickautsch, bugfixes and comments
      * doc/examples/*: added his test as the xmlWriter example
      * doc/html/ doc/*.html: this resulted in some improvements
      * include/libxml/hash.h: fixed an inclusion problem when
        <libxml/hash.h> wasn't preceeded by <xml/parser.h>
      Daniel
      5841f0e0
  8. 18 Nov, 2003 1 commit
    • Daniel Veillard's avatar
      modified the file header to add more informations, painful... updated to · be586972
      Daniel Veillard authored
      * include/libxml/*.h include/libxml/*.h.in: modified the file
        header to add more informations, painful...
      * genChRanges.py genUnicode.py: updated to generate said changes
        in headers
      * doc/apibuild.py: extract headers, add them to libxml2-api.xml
      * *.html *.xsl *.xml: updated the stylesheets to flag geprecated
        APIs modules. Updated the stylesheets, some cleanups, regenerated
      * doc/html/*.html: regenerated added back book1 and libxml-lib.html
      Daniel
      be586972
  9. 10 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      Time to commit 3 days of work rewriting the parser internal, · 07cb8226
      Daniel Veillard authored
      fixing bugs and migrating to SAX2 interface by default. There
      is some work letf TODO, like namespace validation and attributes
      normalization (this break C14N right now)
      * Makefile.am: fixed the test rules
      * include/libxml/SAX2.h include/libxml/parser.h
        include/libxml/parserInternals.h SAX2.c parser.c
        parserInternals.c: changing the parser, migrating to SAX2,
        adding new interface to switch back to SAX1 or initialize a
        SAX block for v1 or v2. Most of the namespace work is done
        below SAX, as well as attribute defaulting
      * globals.c: changed initialization of the default SAX handlers
      * hash.c tree.c include/libxml/hash.h: added QName specific handling
      * xmlIO.c: small fix
      * xmllint.c testSAX.c: provide a --sax1 switch to test the old
        version code path
      * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code
        pointed out a typo in a very old test namespace
      Daniel
      07cb8226
  10. 25 Aug, 2003 1 commit
  11. 12 Mar, 2002 1 commit
  12. 22 Jan, 2002 1 commit
    • Daniel Veillard's avatar
      Build a new version hopefully near complete and fully documented of the · 9d06d300
      Daniel Veillard authored
      * doc/libxml2-api.xml doc/parsedecl.py: Build a new version
        hopefully near complete and fully documented of the API in XML
      * HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c
       xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h
       include/libxml/list.h include/libxml/parser.h include/libxml/tree.h
       include/libxml/parserInternals.h include/libxml/valid.hi
       include/libxml/xmlIO.h include/libxml/xmlerror.hi
       include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini
       include/libxml/xpath.h include/libxml/xpathInternals.h:
        Cleaned up the doc comments a lot in the process, the interface
        coverage is now 100%
      Daniel
      9d06d300
  13. 22 Jul, 2001 1 commit
  14. 18 Jul, 2001 1 commit
  15. 07 Jul, 2001 1 commit
  16. 23 Feb, 2001 2 commits
    • Owen Taylor's avatar
      Revert directory structure changes · 3473f88a
      Owen Taylor authored
      3473f88a
    • CET 2001 Tomasz Koczko's avatar
      moved to libxml directory - this allow simplify automake/autoconf. Now · 64636e7f
      CET 2001 Tomasz Koczko authored
      Thu Feb 23 02:03:56 CET 2001 Tomasz Koczko <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.
      64636e7f
  17. 14 Feb, 2001 1 commit
  18. 08 Feb, 2001 1 commit
  19. 24 Oct, 2000 1 commit
    • Daniel Veillard's avatar
      Bunch of fixes, finishing moving datastructures to the hash stuff: · 126f2799
      Daniel Veillard authored
      - hash.[ch] debugXML.c: expanded/enhanced the API, added
        multikey tuples, made hash structure opaque
      - valid.[ch]: moved elements, attributes, notations decalarations
        as well as ID and refs to hash tables.
      - entities.c: hash cleanup
      - xmlmemory.c: fixed a dump problem in debug mode
      - include/Makefile.am: problem passing in DESTDIR= values patch
        from Marc Christensen <marc@calderasystems.com>
      - nanohttp.c: removed debugging remains
      - HTMLparser.c: the bogus tag should be ignored (Wayne)
      - HTMLparser.c parser.c: fixing a number of problems with the
        macros in the *parser.c files (Wayne).
      - HTMLparser.c: close the previous option when opening a new one
        (Marc Sanfacon).
      - result/HTML/*: updated the HTML results accordingly
      Daniel
      126f2799
  20. 23 Oct, 2000 1 commit