1. 12 Sep, 2012 1 commit
  2. 13 Nov, 2007 1 commit
  3. 14 Jul, 2006 2 commits
    • Kasimier T. Buchcik's avatar
      Committing again, since I forgot to switch from win to linux linebreaks in · 7662584e
      Kasimier T. Buchcik authored
      * libxslt/attributes.c libxslt/documents.c
        libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
        libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
        libxslt/templates.h libxslt/transform.c
        libxslt/variables.c libxslt/xslt.c
        libxslt/xsltInternals.h libxslt/xsltutils.c
        libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
        libexslt/functions.c libexslt/strings.c:
        Committing again, since I forgot to switch from win to linux
        linebreaks in the files.
      7662584e
    • Kasimier T. Buchcik's avatar
      Refactored xsltValueOf(). Changed to use xmlXPathCastToString() directly, · 90d2d1c2
      Kasimier T. Buchcik authored
      * libxslt/attributes.c libxslt/documents.c
        libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
        libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
        libxslt/templates.h libxslt/transform.c libxslt/variables.c
        libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltutils.c
        libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
        libexslt/functions.c libexslt/strings.c:
        Refactored xsltValueOf(). Changed to use xmlXPathCastToString()
        directly, rather than creating an intermediate object with
        xmlXPathConvertString(). This now does not add a text-node to
        the result if the string is empty (this has impact on
        serialization, since an empty text-node is serialized as
        <foo></foo>, and now it will be serialized as <foo/>).
        Refactored other functions in transform.c:
        Mostly code cleanup/restructuring. Minimized number of
        function variables for instruction which eat up function stack
        memory when recursing templates (xsltIf(), xsltChoose(),
        xsltApplyTemplates(),  xsltCallTemplate()).
        Changed XSLT tests to use xmlXPathCompiledEvalToBoolean().
        Implemented redefinition checks at compilation-time and
        eliminating them at transformation time in the refactored code
        paths.
        Introduced the field @currentTemplateRule on xsltTransformContext to
        reflect the "Current Template Rule" as defined by the spec.
        NOTE that ctxt->currentTemplateRule and ctxt->templ is not the
        same; the former is the "Current Template Rule" as defined by the
        XSLT spec, the latter is simply the template struct being
        currently processed by Libxslt.
        Added XML_COMMENT_NODE and XML_CDATA_SECTION_NODE to the macro
        IS_XSLT_REAL_NODE.
        Misc code cleanup/restructuring and everything else I already forgot.
        Refactored lifetime of temporary result tree fragments.
        Substituted all calls to the now deprecated xsltRegisterTmpRVT()
        for the new xsltRegisterLocalRVT().
        Fragments of xsl:variable and xsl:param are freed when the
        variable/pram is freed.
        Fragments created when evaluating a "select" of xsl:varible and
        xsl:param are also bound to the lifetime of the var/param.
        EXSLT's func:function now uses the following functions to let take
        care the transformation's garbage collector of returned tree
        fragments:
          xsltExtensionInstructionResultRegister(),
          xsltExtensionInstructionResultFinalize()
        Fixes:
        #339222 - xsl:param at invalid position inside an xsl:template is
                  not catched
        #346015 - Non-declared caller-parameters are accepted
        #160400 - Compiles invalid XSLT; unbound variable accepted
        #308441 - namespaced parameters become unregistered
        #307103 - problem with proximity position in predicates of match
                  patterns
        #328218 - problem with exsl:node-set() when converting strings
                  to node sets
        #318088 - infinite recursion detection
        #321505 - Multiple contiguous CDATA in output
        #334493 - "--param" option does not have root context
        #114377 - weird func:result/xsl:variable/exsl:node-set interaction
        #150309 - Regression caused by fix for 142768
      90d2d1c2
  4. 14 Jan, 2004 1 commit
    • William M. Brack's avatar
      fixed problem, reported on the list by Markus Bayerlein, concerning math · 62742bd4
      William M. Brack authored
      * libexslt/math.c, libexslt/common.c: fixed problem,
        reported on the list by Markus Bayerlein, concerning
        math functions on nodesets generated with
        exslt:node-set
      * tests/exslt/math/max.3.xsl, tests/exslt/math/max.3.xml,
        tests/exslt/math/max.3.out, tests/exslt/math/Makefile.am:
        added test case for above.
      62742bd4
  5. 18 Aug, 2003 1 commit
  6. 18 Mar, 2002 1 commit
  7. 16 Mar, 2002 1 commit
  8. 17 Jan, 2002 1 commit
    • Daniel Veillard's avatar
      applied Robert Collins patch for Cygwin support Daniel · fde4cdef
      Daniel Veillard authored
      * Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c
        libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c
        libexslt/libexslt.h libexslt/math.c libexslt/saxon.c
        libexslt/sets.c libexslt/strings.c libxslt/libxslt.h
        libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c
        xsltproc/xsltproc.c: applied Robert Collins patch for
        Cygwin support
      Daniel
      fde4cdef
  9. 19 Oct, 2001 1 commit
  10. 29 Aug, 2001 2 commits
  11. 15 Aug, 2001 1 commit
  12. 14 Aug, 2001 1 commit
    • Thomas Broyer's avatar
      fixed compilation warnings due to recent changes to the extension · ccddc73b
      Thomas Broyer authored
      
      	* libxslt/xslt.c libxslt/xsltInternals.h libxslt/transform.c
      	  libxslt/extra.[ch] libxslt/extensions.c libxslt/preproc.[ch]:
      	  fixed compilation warnings due to recent changes to the extension
      	  framework.
      	* libxslt/preproc.[ch] libexslt/common.c
      	  fixed the precomputation of *:document elements
      	* libxslt/functions.h: fixed a compilation warning
      ccddc73b
  13. 26 Jul, 2001 1 commit
    • Thomas Broyer's avatar
      new extension framework. Added stylesheet module data, top-level and · 3a16b45e
      Thomas Broyer authored
      
      	* libxslt/extensions.[ch] libxslt/functions.[ch] libxslt/preproc.c
      	  libxslt/transform.[ch] libxslt/variables.c libxslt/xslt.c
      	  libxslt/xsltInternals.h: new extension framework.
      	  Added stylesheet module data, top-level and extension elements
      	  precomputing, global registration of top-level elements and
      	  extension elements and functions.
      	  Extensions are no longer initialized from extension-element-prefixes
      	  declarations but when modules need the data.
      	  init/shutdown functions registered with xsltRegisterExtModule{,Full}
      	  only allocate and free module data, they shouldn't register the
      	  elements and functions any more.
      	* libxslt/xsltutils.c: fixed a bug in xsltPrintErrorContext when
      	  @node wasn't NULL.
      	* libxslt/xslt.c: fixed xsltPrecomputeStylesheetTop which allowed
      	  non-XSLT top-level elements before any xsl:import element.
      	* libexslt/common.c libexslt/functions.c libexslt/math.c
      	  libexslt/sets.c: adapted to use the new extension framework.
      	* libxslt/functions.c libxslt/extensions[ch] xsltproc/xsltproc.c:
      	  moved the test module from functions.c to extensions.[ch],
      	  modified it to use the new extension framework. Updated xsltproc
      	  to register the test module.
      3a16b45e
  14. 16 Jul, 2001 1 commit
    • Thomas Broyer's avatar
      removed utils.[ch] as their content is integrated in libxml uses the new · 6280ee58
      Thomas Broyer authored
      
      
      	* libexslt/.cvsignore libexslt/Makefile.am libexslt/utils.[ch]
      	  libexslt/common.c libexslt/functions.c libexslt/math.c
      	  libexslt/sets.c: removed utils.[ch] as their content is
      	  integrated in libxml
      	* libexslt/sets.c: uses the new libxml functions
      	* libxslt/extra.[ch]: removed exsl:document
      	* AUTHORS: added /me
      6280ee58
  15. 15 Jul, 2001 3 commits
    • Thomas Broyer's avatar
      some more generated files to ignore utils.h not installed anymore changed · e98a65f3
      Thomas Broyer authored
      
              * libexslt/.cvsignore: some more generated files to ignore
              * libexslt/Makefile.am: utils.h not installed anymore
              * libexslt/common.c libexslt/exslt.[ch] libexslt/functions.c
                libexslt/math.c libexslt/sets.c:
                changed function prefix from exsl* to exslt*
                {common.c,exslt.c} moved exsltLib{rary,exslt,xslt,xml}Version
                from common.c to exslt.c
                {common.c} removed exslNodeSetFunction, uses xsltFunctionNodeSet
                instead
              * libxslt/extra.c: fixed xsltFunctionNodeSet to accept
                XPATH_NODESET arguments in addition to XPATH_XSLT_TREE
              * xsltproc/xsltproc.c: updated to use the new function prefix
      e98a65f3
    • Daniel Veillard's avatar
      Integrating EXSLT and cleanup: · a476e34b
      Daniel Veillard authored
      * Makefile.am configure.in libexslt/Makefile.am:
        Integration of libexslt in the build system
      * libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c
        xsltproc/Makefile.am xsltproc/xsltproc.c:
        Moved xsltproc to a separate directory, linked it to libexslt,
        and added exslt version reports to -V
      * tests/*/Makefile.am: updated the path to xsltproc
      * libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in
        libexslt/functions.c libexslt/math.c libexslt/sets.c: added
        versionning informations, some cleanup, and added documentation
        to a couple of exported functions
      Daniel
      a476e34b
    • Thomas Broyer's avatar
      start implementing EXSLT · 00c70605
      Thomas Broyer authored
      
              * libexslt/exslt.[hc] libexslt/common.[hc] libexslt/functions.[hc]
                libexslt/math.[hc] libexslt/sets.[hc] libexslt/utils.[hc]
                configure.in libexslt/Makefile.am:
                start implementing EXSLT
      00c70605