1. 29 May, 2006 1 commit
    • Kasimier T. Buchcik's avatar
      Added an XPath object cache. It sits on an xmlXPathContext and need to be · a7248443
      Kasimier T. Buchcik authored
      * xpath.c include/libxml/xpath.h: Added an XPath object cache.
        It sits on an xmlXPathContext and need to be explicitely
        activated (or deactivated again) with
        xmlXPathContextSetObjectCache(). The cache consists of 5
        lists for node-set, string, number, boolean and misc XPath
        objects. Internally the xpath.c module will use object-
        deposition and -acquisition functions which will try to reuse
        as many XPath objects as possible, and fallback to normal
        free/create behaviour if no cache is available or if the cache
        is full.
      * runsuite.c: Adjusted to deactivate the cache for XML Schema
        tests if a cache-creation is turned on by default for the whole
        library, e.g. for testing purposes of the cache. It is
        deactivated here in order to avoid confusion of the memory leak
        detection in runsuite.c.
      a7248443
  2. 04 Sep, 2005 1 commit
  3. 23 Jul, 2005 1 commit
    • Daniel Veillard's avatar
      changed xmlPatterncompile signature to pass an int and not an enum since · ed6c5497
      Daniel Veillard authored
      * pattern.c include/libxml/pattern.h: changed xmlPatterncompile
        signature to pass an int and not an enum since it can generate
        ABI compat troubles.
      * include/libxml/schematron.h schematron.c: adding the new
        schematron code, work in progress lots to be left and needing
        testing
      * include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in
        Makefile.am configure.in: integration of schematron into the
        build
      * xpath.c include/libxml/xpath.h: adding flags to control compilation
        options right now just XML_XPATH_CHECKNS.
      Daniel
      ed6c5497
  4. 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
  5. 06 Nov, 2004 1 commit
  6. 22 Aug, 2004 1 commit
  7. 27 Jun, 2004 1 commit
    • Daniel Veillard's avatar
      hack based on Arjan van de Ven suggestion to reduce ELF footprint and · a2351322
      Daniel Veillard authored
      * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de
        Ven suggestion to reduce ELF footprint and generated code. Based on
        aliasing of libraries function to generate direct call instead of
        indirect ones
      * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic
        generation of elfgcchack.h based on the API description, extended
        the API description to show the conditionals configuration flags
        required for symbols.
      * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup
      * doc/*: regenerated the docs.
      Daniel
      a2351322
  8. 23 Jan, 2004 1 commit
    • Daniel Veillard's avatar
      added io1.c an example ox xmlIO usage and io1.res test result, fixed a · 4773df2a
      Daniel Veillard authored
      * doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
        test result, fixed a awful lot of memory leaks showing up in
        testWriter.c, changed the examples and the Makefiles to test
        memory leaks.
      * xmlwriter.c: fixed a memory leak
      * Makefile.am: run the doc/examples regression tests as part of
        make tests
      * xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
        compile an XPath expression within a context, currently the goal
        is to be able to reuse the XSLT stylesheet dictionnary, but this
        opens the door to others possible optimizations.
      * dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
        to build a new dictionnary based on another read-only dictionnary.
        This is needed for XSLT to keep the stylesheet dictionnary read-only
        while being able to reuse the strings for the transformation
        dictionnary.
      * xinclude.c: fixed a dictionnar reference counting problem occuring
        when document parsing failed.
      * testSAX.c: adding option --repeat for timing 100times the parsing
      * doc/* : rebuilt all the docs
      Daniel
      4773df2a
  9. 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
  10. 07 Oct, 2003 1 commit
    • Daniel Veillard's avatar
      cleaning up XPath error reporting that time. applied the two patches for · d96f6d34
      Daniel Veillard authored
      * error.c include/libxml/xmlerror.h include/libxml/xpath.h
        include/libxml/xpathInternals.h xpath.c: cleaning up XPath
        error reporting that time.
      * threads.c: applied the two patches for TLS threads
        on Windows from Jesse Pelton
      * parser.c: tiny safety patch for xmlStrPrintf() make sure the
        return is always zero terminated. Should also help detecting
        passing wrong buffer size easilly.
      * result/VC/* result/valid/rss.xml.err result/valid/xlink.xml.err:
        updated the results to follow the errors string generated by
        last commit.
      Daniel
      d96f6d34
  11. 27 Aug, 2003 1 commit
  12. 25 Aug, 2003 1 commit
  13. 26 Mar, 2003 1 commit
  14. 12 Mar, 2002 1 commit
  15. 04 Mar, 2002 1 commit
    • Daniel Veillard's avatar
      fixing #61290 "namespace nodes have no parent" long standing divergence · 044fc6b7
      Daniel Veillard authored
      * xpath.c: fixing #61290 "namespace nodes have no parent"
        long standing divergence from the XPath REC. NodeSets
        simply hold a copy of namespace nodes and those node ->next
        points to the parent (which may not be the node carrying the
        definition).
      * include/libxml/xpath.h: flagged but didn't added a possible
        speedup
      * DOCBparser.c HTMLparser.c: removed some warnings from push
        parser due to new state being added.
      * tree.c: new fix from Boris Erdmann
      * configure.in c14n.c include/libxml/c14n.h testC14N.c: added
        the XML Canonalization support from Aleksey Sanin
      Daniel
      044fc6b7
  16. 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
  17. 31 Dec, 2001 1 commit
  18. 27 Aug, 2001 1 commit
  19. 21 Aug, 2001 1 commit
    • Daniel Veillard's avatar
      more work on the XML catalog support. small cleanup seems using list as a · cda96921
      Daniel Veillard authored
      * Makefile.am catalog.c xmlcatalog.c include/libxml/catalog.h:
        more work on the XML catalog support.
      * parser.c include/libxml/parser.h: small cleanup seems using
        list as a public parameter name can give portability troubles
      * trionan.c trionan.h xpath.c include/libxml/trionan.h
        include/libxml/xpath.h include/libxml/Makefile.am: removed
        trionan from the libxml API, added xmlXPathIsInf and xmlXPathIsNaN
        wrappers
      Daniel
      cda96921
  20. 30 Jul, 2001 1 commit
  21. 26 Jul, 2001 1 commit
  22. 18 Jul, 2001 1 commit
  23. 16 Jul, 2001 1 commit
  24. 15 Jul, 2001 1 commit
  25. 07 Jul, 2001 1 commit
  26. 03 Jul, 2001 1 commit
  27. 24 Jun, 2001 1 commit
    • Daniel Veillard's avatar
      Summer's cleanup, a really big one: · c5d64345
      Daniel Veillard authored
      * AUTHORS: added William and Bjorn
      * include/libxml/*.h *.c README doc/*.html etc.: changed old email to
        daniel@veillard.com hopefully I won't have to do this again
      * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that
        docs can be rebuilt cleanly now
      * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h
        from CVs it's generated, added include/libxml/xmlwin32version.h
        also generated but which should change far less frequently.
      * catalog.c nanoftp.c: made sure to include libxml.h not
        libxml/xmlversion.h directly
      * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h
        when compiling on WIN32 and MSC
      Daniel
      c5d64345
  28. 22 May, 2001 1 commit
  29. 19 May, 2001 1 commit
  30. 15 May, 2001 2 commits
  31. 27 Apr, 2001 1 commit
    • Daniel Veillard's avatar
      - parserInternals.c xpath.[ch]: some UTF8 cleanup on · 61d80a28
      Daniel Veillard authored
        xmlXPathParseName
      - xpath.c: Igor Zlatkovic suggested a change for NAN and MSC
      - debugXML.c: avoid compilation problems if compiling without
        HTML support, Igor Zlatkovic
      - win32/libxml2/libxml2.def.src: being able to compile without
        XPath on Windows
      Daniel
      61d80a28
  32. 19 Mar, 2001 3 commits
  33. 18 Mar, 2001 1 commit
    • Daniel Veillard's avatar
      Completely changed the way the XPath evaluation is done, likely to break · 9e7160d4
      Daniel Veillard authored
      stuff like libxslt right now:
      - Makefile.am: detect XPath memleaks in regreson tests
      - error.c: fixed and error w.r.t. error reporting still using
        stderr
      - hash.c: added new line at end of file
      - tree.h: minor cleanup
      - xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath
        expression parsing from evaluation, resulted in a number of
        changes internally, and in XPointer. Likely to break stuff
        using xpathInternals.h but should remain binary compatible,
        new interfaces will be added.
      Daniel
      9e7160d4
  34. 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
  35. 25 Jan, 2001 2 commits