mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 18:29:45 +00:00
[LIBXSLT] Update to version 1.1.34. CORE-16952
This commit is contained in:
parent
f22fa382fe
commit
b01a480163
22 changed files with 657 additions and 374 deletions
|
@ -44,6 +44,9 @@ XSLTPUBFUN int XSLTCALL
|
|||
xsltTestCompMatchList (xsltTransformContextPtr ctxt,
|
||||
xmlNodePtr node,
|
||||
xsltCompMatchPtr comp);
|
||||
XSLTPUBFUN void XSLTCALL
|
||||
xsltCompMatchClearCache (xsltTransformContextPtr ctxt,
|
||||
xsltCompMatchPtr comp);
|
||||
XSLTPUBFUN void XSLTCALL
|
||||
xsltNormalizeCompSteps (void *payload,
|
||||
void *data,
|
||||
|
|
|
@ -105,14 +105,6 @@ extern const xmlChar *xsltXSLTAttrMarker;
|
|||
*/
|
||||
/* #define XSLT_REFACTORED_XSLT_NSCOMP */
|
||||
|
||||
/**
|
||||
* XSLT_REFACTORED_XPATHCOMP:
|
||||
*
|
||||
* Internal define to enable the optimization of the
|
||||
* compilation of XPath expressions.
|
||||
*/
|
||||
#define XSLT_REFACTORED_XPATHCOMP
|
||||
|
||||
#ifdef XSLT_REFACTORED_XSLT_NSCOMP
|
||||
|
||||
extern const xmlChar *xsltConstNamespaceNameXSLT;
|
||||
|
@ -478,7 +470,7 @@ typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp);
|
|||
*/
|
||||
struct _xsltElemPreComp {
|
||||
xsltElemPreCompPtr next; /* next item in the global chained
|
||||
list hold by xsltStylesheet. */
|
||||
list held by xsltStylesheet. */
|
||||
xsltStyleType type; /* type of the element */
|
||||
xsltTransformFunction func; /* handling function */
|
||||
xmlNodePtr inst; /* the node in the stylesheet's tree
|
||||
|
@ -590,7 +582,7 @@ struct _xsltNsListContainer {
|
|||
*/
|
||||
struct _xsltStylePreComp {
|
||||
xsltElemPreCompPtr next; /* next item in the global chained
|
||||
list hold by xsltStylesheet */
|
||||
list held by xsltStylesheet */
|
||||
xsltStyleType type; /* type of the item */
|
||||
xsltTransformFunction func; /* handling function */
|
||||
xmlNodePtr inst; /* the node in the stylesheet's tree
|
||||
|
@ -1346,9 +1338,6 @@ struct _xsltCompilerCtxt {
|
|||
*/
|
||||
int strict;
|
||||
xsltPrincipalStylesheetDataPtr psData;
|
||||
#ifdef XSLT_REFACTORED_XPATHCOMP
|
||||
xmlXPathContextPtr xpathCtxt;
|
||||
#endif
|
||||
xsltStyleItemUknownPtr unknownItem;
|
||||
int hasNsAliases; /* Indicator if there was an xsl:namespace-alias. */
|
||||
xsltNsAliasPtr nsAliases;
|
||||
|
@ -1642,6 +1631,8 @@ struct _xsltStylesheet {
|
|||
int forwards_compatible;
|
||||
|
||||
xmlHashTablePtr namedTemplates; /* hash table of named templates */
|
||||
|
||||
xmlXPathContextPtr xpathCtxt;
|
||||
};
|
||||
|
||||
typedef struct _xsltTransformCache xsltTransformCache;
|
||||
|
@ -1789,6 +1780,8 @@ struct _xsltTransformContext {
|
|||
int depth; /* Needed to catch recursions */
|
||||
int maxTemplateDepth;
|
||||
int maxTemplateVars;
|
||||
unsigned long opLimit;
|
||||
unsigned long opCount;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1871,6 +1864,9 @@ XSLTPUBFUN xsltStylesheetPtr XSLTCALL
|
|||
XSLTPUBFUN xsltStylesheetPtr XSLTCALL
|
||||
xsltParseStylesheetImportedDoc(xmlDocPtr doc,
|
||||
xsltStylesheetPtr style);
|
||||
XSLTPUBFUN int XSLTCALL
|
||||
xsltParseStylesheetUser(xsltStylesheetPtr style,
|
||||
xmlDocPtr doc);
|
||||
XSLTPUBFUN xsltStylesheetPtr XSLTCALL
|
||||
xsltLoadStylesheetPI (xmlDocPtr doc);
|
||||
XSLTPUBFUN void XSLTCALL
|
||||
|
|
|
@ -20,21 +20,21 @@ extern "C" {
|
|||
*
|
||||
* the version string like "1.2.3"
|
||||
*/
|
||||
#define LIBXSLT_DOTTED_VERSION "1.1.33"
|
||||
#define LIBXSLT_DOTTED_VERSION "1.1.34"
|
||||
|
||||
/**
|
||||
* LIBXSLT_VERSION:
|
||||
*
|
||||
* the version number: 1.2.3 value is 10203
|
||||
*/
|
||||
#define LIBXSLT_VERSION 10133
|
||||
#define LIBXSLT_VERSION 10134
|
||||
|
||||
/**
|
||||
* LIBXSLT_VERSION_STRING:
|
||||
*
|
||||
* the version number string, 1.2.3 value is "10203"
|
||||
*/
|
||||
#define LIBXSLT_VERSION_STRING "10133"
|
||||
#define LIBXSLT_VERSION_STRING "10134"
|
||||
|
||||
/**
|
||||
* LIBXSLT_VERSION_EXTRA:
|
||||
|
@ -110,6 +110,19 @@ extern "C" {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* WITH_PROFILER:
|
||||
*
|
||||
* Activate the compilation of the profiler. Speed penalty
|
||||
* is insignifiant.
|
||||
* On by default unless --without-profiler is passed to configure
|
||||
*/
|
||||
#if 0
|
||||
#ifndef WITH_PROFILER
|
||||
#define WITH_PROFILER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* WITH_MODULES:
|
||||
*
|
||||
|
@ -129,9 +142,6 @@ extern "C" {
|
|||
* This macro is used to flag unused function parameters to GCC
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#ifdef HAVE_ANSIDECL_H
|
||||
#include <ansidecl.h>
|
||||
#endif
|
||||
#ifndef ATTRIBUTE_UNUSED
|
||||
#define ATTRIBUTE_UNUSED __attribute__((unused))
|
||||
#endif
|
||||
|
|
|
@ -80,7 +80,7 @@ extern "C" {
|
|||
((n)->type == XML_PI_NODE)))
|
||||
|
||||
/*
|
||||
* Our own version of namespaced atributes lookup.
|
||||
* Our own version of namespaced attributes lookup.
|
||||
*/
|
||||
XSLTPUBFUN xmlChar * XSLTCALL
|
||||
xsltGetNsProp (xmlNodePtr node,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue