1. 03 Jan, 2019 1 commit
  2. 21 Nov, 2018 1 commit
    • Nick Wellnhofer's avatar
      Don't cache direct evaluation of patterns with variables · a846514a
      Nick Wellnhofer authored
      The slow pattern matching path in xsltTestCompMatchDirect caches the
      result of evaluating the pattern. But this can't be done if the pattern
      contains variables which could evaluate to different values.
      Only enable the cache for patterns like template matches that don't
      allow variable references. Don't use the cache for "count" and "from"
      patterns in xsl:number.
      A more fine-grained approach would be nice, but most effort should be
      spent on eliminating the slow path completely.
      Thanks to Martin Honnen for the report.
      Fixes #6.
  3. 26 Sep, 2018 1 commit
    • Nick Wellnhofer's avatar
      Move function result RVTs to context variable · 5e16672d
      Nick Wellnhofer authored
      If a variable with a "select" expression calls an EXSLT func:function,
      the context variable must be restored before evaluating the function
      result. This makes sure that the RVTs in the result will be moved to
      the context variable's fragment list when they're released in
      xsltReleaseLocalRVTs or xsltReleaseLocalRVTs.
      Thanks to Nikolai Weibull for the report.
  4. 22 Sep, 2018 1 commit
  5. 31 Aug, 2018 1 commit
  6. 24 Jul, 2018 2 commits
  7. 16 Jan, 2018 2 commits
  8. 29 Nov, 2017 5 commits
  9. 04 Nov, 2017 2 commits
  10. 02 Nov, 2017 3 commits
  11. 31 Oct, 2017 2 commits
  12. 25 Oct, 2017 5 commits
  13. 08 Oct, 2017 3 commits
  14. 06 Oct, 2017 1 commit
  15. 03 Oct, 2017 1 commit
  16. 29 Sep, 2017 1 commit
  17. 14 Sep, 2017 2 commits
    • Nick Wellnhofer's avatar
      Misc autoconf updates · 31cbd625
      Nick Wellnhofer authored
      * Switch to autoreconf in autogen.sh
      * Rename configure.in to configure.ac
      * Use modern form of AC_INIT and AM_INIT_AUTOMAKE
      * Set "foreign" automake option to avoid creation of a default
        COPYING and INSTALL.
      * Remove AC_PATH_PROG(RM), otherwise libtool's $RM will be overwritten
        and cause the infamous "cannot remove libtoolT" warning.
      * Remove autogenerated config.h.in from version control
      * Update .gitignore
    • Nick Wellnhofer's avatar
      Fix pkg-config related regressions in configure script · 76df4c96
      Nick Wellnhofer authored
      Fix bashism in configure.in. Resulted in pkg-config never getting used
      for libxml if sh is not bash.
      Move pkg-config block to correct location. Rework libxml2 detection
      Fixes bugs 787602 and 787617.
  18. 04 Sep, 2017 1 commit
  19. 29 Aug, 2017 1 commit
    • Nick Wellnhofer's avatar
      Also fix memory hazards in exsltFuncResultElem · 2fc326e8
      Nick Wellnhofer authored
      Similar to the previous fix to exsltFuncFunctionFunction,
      exsltFuncResultElem also has to get the current node from the transform
      context instead of the XPath context.
      Thanks to Nicolas Gregoire for the report.
      Fixes bug 786989.
  20. 31 Jul, 2017 2 commits
    • Nick Wellnhofer's avatar
      Fix NULL deref in xsltDefaultSortFunction · 6b067190
      Nick Wellnhofer authored
      An evaluation error in a secondary sort key could lead to a NULL pointer
      Thanks to Nicolas Gregoire for the report.
      Fixes bug 785588.
    • Nick Wellnhofer's avatar
      Fix memory hazards in exsltFuncFunctionFunction · 3892a890
      Nick Wellnhofer authored
      Get the current node from the transform context. The current node in
      the XPath context isn't guaranteed to be preserved when evaluating the
      function template and could point to an invalid address.
      Thanks to Nicolas Gregoire for the report.
      Fixes bug 785589.
  21. 01 Jun, 2017 2 commits
    • Nick Wellnhofer's avatar
      Add .travis.yml · 8f4a2eee
      Nick Wellnhofer authored
      For now this is mainly useful if you work on a fork of the libxslt
      mirror on GitHub:
      Start with two build setups:
      - GCC with as many GNU extensions disabled as possible, trying to
        emulate a C89 compiler on a POSIX system.
      - clang with ASan and UBSan.
      The test suite doesn't set an exit code on failure, so log the test
      output and grep for unexpected lines. This doesn't work for the Python
      tests yet, so they're still disabled.
    • Nick Wellnhofer's avatar
      Silence tests a little · f996b936
      Nick Wellnhofer authored