1. 16 May, 2006 1 commit
    • Kasimier T. Buchcik's avatar
      Applied patch from Rob Richards, fixing a potential memory leak in · 6ed2eb47
      Kasimier T. Buchcik authored
      * xpath.c: Applied patch from Rob Richards, fixing a potential
        memory leak in xmlXPathTryStreamCompile(), when a list of
        namespaces was assigned to the XPath compilation context;
        here a new namespace list was created and passed to
        xmlPatterncompile(); but this list was not freed afterwards.
        Additionally we avoid now in xmlXPathTryStreamCompile() to
        compile the expression, if it has a colon - indicating
        prefixed name tests - and no namespace list was given. The
        streaming XPath mechanism needs a namespace list at
        compilation time (unlike normal XPath, where we can bind
        namespace names to prefixes at execution time).
      * pattern.c: Enhanced to use a string dict for local-names,
        ns-prefixes and and namespace-names.
        Fixed xmlStreamPushInternal() not to use string-pointer
        comparison if a dict is available; this won't work, since
        one does not know it the given strings originate from the
        same dict - and they normally don't do, since e.g.
        namespaces are hold on xmlNs->href. I think this would be
        worth an investigation: if we can add a @doc field to xmlNs
        and put the @href in to a additionan namespace dict hold
        in xmlDoc. Daniel will surely not like this idea :-) But
        evaluation of tons of elements/attributes in namespaces
        with xmlStrEqual() isn't the way we should go forever.
      6ed2eb47
  2. 10 Mar, 2006 2 commits
  3. 27 Feb, 2006 1 commit
  4. 05 Jan, 2006 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed bug #322928, reported by Erich Schubert: The bug was in pattern.c, · 97258713
      Kasimier T. Buchcik authored
      * pattern.c xpath.c include/libxml/pattern.h:
        Fixed bug #322928, reported by Erich Schubert: The bug was
        in pattern.c, which is used for a tiny subset of xpath
        expression which can be evaluated in an optimized way.
        The doc-node was never considered when evaluating "//"
        expressions. Additionally, we fixed resolution
        to nodes of any type in pattern.c; i.e. a "//." didn't work
        yet, as it did select only element-nodes. Due to this
        issue the pushing of nodes in xpath.c needed to be adjusted
        as well.
      97258713
  5. 04 Sep, 2005 2 commits
  6. 24 Aug, 2005 1 commit
  7. 28 Jul, 2005 1 commit
    • Daniel Veillard's avatar
      a lot of small cleanups based on Linus' sparse check output. Daniel · 24505b0f
      Daniel Veillard authored
      * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
        runsuite.c runtest.c schematron.c testHTML.c testReader.c
        testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
        xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
        small cleanups based on Linus' sparse check output.
      Daniel
      24505b0f
  8. 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
  9. 14 Jul, 2005 1 commit
  10. 10 Jul, 2005 1 commit
    • Daniel Veillard's avatar
      preparing to make testsuite releases along with code source releases fixed · 1f33c4d6
      Daniel Veillard authored
      * xstc/Makefile.am README README.tests Makefile.tests Makefile.am:
        preparing to make testsuite releases along with code source releases
      * gentest.py testapi.c: fixed a couple of problem introduced by
        the new Schemas support for Readers
      * xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude
        but simple way.
      * xmlschemas.c include/libxml/tree.h: fixed a couple of problems
        raised by the doc builder.
      * doc/*: made rebuild
      Daniel
      1f33c4d6
  11. 09 Jun, 2005 1 commit
    • William M. Brack's avatar
      Further enhancement for XPath streaming, consolidated with schemas usage · ea152c05
      William M. Brack authored
      * pattern.c, xpath.c, include/libxml/pattern.h: Further
        enhancement for XPath streaming, consolidated with
        schemas usage of pattern.c.  Added a new enum
        xmlPatternFlags.
      * doc/*, testapi.c, elfgcchack.h: updated to reflect new
        enum.
      * test/XPath/tests/mixedpat, test/XPath/docs/mixed,
        result/XPath/mixedpat: added regression test for problems
        reported in bug306348
      ea152c05
  12. 06 Jun, 2005 1 commit
  13. 04 May, 2005 1 commit
  14. 19 Apr, 2005 1 commit
  15. 15 Apr, 2005 1 commit
  16. 10 Apr, 2005 1 commit
  17. 06 Apr, 2005 1 commit
  18. 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
  19. 21 Feb, 2005 2 commits
  20. 16 Feb, 2005 1 commit
    • Daniel Veillard's avatar
      fix the comment to describe the real return values lot of work on the · 56de87ee
      Daniel Veillard authored
      * encoding.c: fix the comment to describe the real return values
      * pattern.c xpath.c include/libxml/pattern.h: lot of work on
        the patterns, pluggin in the XPath default evaluation, but
        disabled right now because it's not yet good enough for XSLT.
        pattern.h streaming API are likely to be changed to handle
        relative and absolute paths in the same expression.
      Daniel
      56de87ee
  21. 06 Jan, 2005 1 commit
  22. 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
  23. 01 Dec, 2004 1 commit
  24. 29 Nov, 2004 1 commit
  25. 12 Nov, 2004 1 commit
  26. 09 Nov, 2004 1 commit
  27. 08 Nov, 2004 3 commits
  28. 06 Nov, 2004 1 commit
  29. 05 Nov, 2004 2 commits
  30. 01 Nov, 2004 1 commit
  31. 07 Oct, 2004 1 commit
  32. 02 Oct, 2004 1 commit
  33. 26 Sep, 2004 1 commit
  34. 22 Aug, 2004 1 commit