mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
Add API versioning and various cleanups
* doc/symbols.xml doc/syms.xsl doc/checkapisym.xsl libxslt/libxslt.syms: the new symbol files, checking and stylesheets, based on libxml2 ones * configure.in doc/Makefile.am libxslt/Makefile.am: modifications needed to activate the symbol versioning * doc/libxslt-api.xml doc/libxslt-refs.xml doc/EXSLT/libexslt-api.xml doc/EXSLT/libexslt-refs.xml: regenerated * libexslt/crypto.c libxslt/Makefile.am libxslt/keys.c libxslt/variables.c libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltlocale.c libxslt/xsltlocale.h: various cleanups
This commit is contained in:
@ -39,7 +39,7 @@
|
||||
<exports symbol='xsltGetExtData' type='function'/>
|
||||
<exports symbol='xsltStyleGetExtData' type='function'/>
|
||||
<exports symbol='xsltStyleExtInitFunction' type='function'/>
|
||||
<exports symbol='xsltExtFunctionLookup' type='function'/>
|
||||
<exports symbol='xsltInitGlobals' type='function'/>
|
||||
<exports symbol='xsltShutdownExts' type='function'/>
|
||||
<exports symbol='xsltExtModuleElementPreComputeLookup' type='function'/>
|
||||
<exports symbol='xsltRegisterTestModule' type='function'/>
|
||||
@ -299,10 +299,8 @@
|
||||
<author>Daniel Veillard </author>
|
||||
<exports symbol='CHECK_STOPPED0' type='macro'/>
|
||||
<exports symbol='XSLT_PAT_NO_PRIORITY' type='macro'/>
|
||||
<exports symbol='XSLT_ELEMENT_CATEGORY_XSLT' type='macro'/>
|
||||
<exports symbol='XSLT_ITEM_NSINSCOPE_FIELDS' type='macro'/>
|
||||
<exports symbol='XSLT_IS_TEXT_NODE' type='macro'/>
|
||||
<exports symbol='XSLT_VAR_GLOBAL' type='macro'/>
|
||||
<exports symbol='IS_XSLT_ELEM_FAST' type='macro'/>
|
||||
<exports symbol='XSLT_REFACTORED_VARS' type='macro'/>
|
||||
<exports symbol='XSLT_RUNTIME_EXTRA_LST' type='macro'/>
|
||||
@ -314,20 +312,16 @@
|
||||
<exports symbol='XSLT_GET_INTERNAL_NSMAP' type='macro'/>
|
||||
<exports symbol='XSLT_REFACTORED_KEYCOMP' type='macro'/>
|
||||
<exports symbol='XSLT_REFACTORED_XPATHCOMP' type='macro'/>
|
||||
<exports symbol='XSLT_TCTXT_VARIABLE' type='macro'/>
|
||||
<exports symbol='XSLT_ELEMENT_CATEGORY_LRE' type='macro'/>
|
||||
<exports symbol='XSLT_ITEM_NAVIGATION_FIELDS' type='macro'/>
|
||||
<exports symbol='XSLT_MAX_SORT' type='macro'/>
|
||||
<exports symbol='XSLT_RUNTIME_EXTRA' type='macro'/>
|
||||
<exports symbol='XSLT_IS_RES_TREE_FRAG' type='macro'/>
|
||||
<exports symbol='XML_CAST_FPTR' type='macro'/>
|
||||
<exports symbol='XSLT_ELEMENT_CATEGORY_EXTENSION' type='macro'/>
|
||||
<exports symbol='XSLT_ITEM_COMMON_FIELDS' type='macro'/>
|
||||
<exports symbol='CHECK_STOPPED' type='macro'/>
|
||||
<exports symbol='XSLT_RUNTIME_EXTRA_FREE' type='macro'/>
|
||||
<exports symbol='XSLT_CCTXT' type='macro'/>
|
||||
<exports symbol='CHECK_STOPPEDE' type='macro'/>
|
||||
<exports symbol='XSLT_VAR_IN_SELECT' type='macro'/>
|
||||
<exports symbol='XSLT_ERROR_SEVERITY_ERROR' type='enum'/>
|
||||
<exports symbol='XSLT_FUNC_ELEMENT' type='enum'/>
|
||||
<exports symbol='XSLT_FUNC_VALUEOF' type='enum'/>
|
||||
@ -575,6 +569,18 @@
|
||||
<exports symbol='_REENTRANT' type='macro'/>
|
||||
<exports symbol='XSLTCALL' type='macro'/>
|
||||
</file>
|
||||
<file name='xsltlocale'>
|
||||
<summary>Locale handling</summary>
|
||||
<description>Interfaces for locale handling. Needed for language dependent sorting. </description>
|
||||
<author>Nick Wellnhofer </author>
|
||||
<exports symbol='XSLT_LOCALE_NONE' type='macro'/>
|
||||
<exports symbol='xsltLocale' type='typedef'/>
|
||||
<exports symbol='xsltLocaleChar' type='typedef'/>
|
||||
<exports symbol='xsltNewLocale' type='function'/>
|
||||
<exports symbol='xsltLocaleStrcmp' type='function'/>
|
||||
<exports symbol='xsltFreeLocale' type='function'/>
|
||||
<exports symbol='xsltStrxfrm' type='function'/>
|
||||
</file>
|
||||
<file name='xsltutils'>
|
||||
<summary>set of utilities for the XSLT engine</summary>
|
||||
<description>interfaces for the utilities module of the XSLT engine. things like message handling, profiling, and other generally useful routines. </description>
|
||||
@ -718,12 +724,6 @@
|
||||
<macro name='XSLT_DEFAULT_VERSION' file='xslt'>
|
||||
<info>The default version of XSLT supported.</info>
|
||||
</macro>
|
||||
<macro name='XSLT_ELEMENT_CATEGORY_EXTENSION' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_ELEMENT_CATEGORY_LRE' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_ELEMENT_CATEGORY_XSLT' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_FAST_IF' file='xsltInternals'>
|
||||
<info>Internal define to enable usage of xmlXPathCompiledEvalToBoolean() for XSLT "tests"; e.g. in <xsl:if test="/foo/bar"></info>
|
||||
</macro>
|
||||
@ -760,6 +760,9 @@
|
||||
<macro name='XSLT_LIBXSLT_NAMESPACE' file='extra'>
|
||||
<info>This is the libxslt namespace for specific extensions.</info>
|
||||
</macro>
|
||||
<macro name='XSLT_LOCALE_NONE' file='xsltlocale'>
|
||||
<info>Macro indicating that locale are not supported</info>
|
||||
</macro>
|
||||
<macro name='XSLT_MARK_RES_TREE_FRAG' file='xsltInternals'>
|
||||
<info>internal macro to set up tree fragments</info>
|
||||
</macro>
|
||||
@ -814,8 +817,6 @@
|
||||
<macro name='XSLT_STRANGE' file='xsltutils'>
|
||||
<info>Macro to flag that a problem was detected internally.</info>
|
||||
</macro>
|
||||
<macro name='XSLT_TCTXT_VARIABLE' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_TIMESTAMP_TICS_PER_SEC' file='xsltutils'>
|
||||
<info>Sampling precision for profiling</info>
|
||||
</macro>
|
||||
@ -825,10 +826,6 @@
|
||||
<macro name='XSLT_TRACE' file='xsltutils'>
|
||||
<info>Control the type of xsl debugtrace messages emitted.</info>
|
||||
</macro>
|
||||
<macro name='XSLT_VAR_GLOBAL' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_VAR_IN_SELECT' file='xsltInternals'>
|
||||
</macro>
|
||||
<macro name='XSLT_XALAN_NAMESPACE' file='extra'>
|
||||
<info>This is the Apache project XALAN processor namespace for extensions.</info>
|
||||
</macro>
|
||||
@ -1056,6 +1053,8 @@ corresponding to this item end of common part'/>
|
||||
</struct>
|
||||
<typedef name='xsltKeyTablePtr' file='xsltInternals' type='xsltKeyTable *'/>
|
||||
<typedef name='xsltLoadType' file='documents' type='enum'/>
|
||||
<typedef name='xsltLocale' file='xsltlocale' type='void *'/>
|
||||
<typedef name='xsltLocaleChar' file='xsltlocale' type='xmlChar'/>
|
||||
<struct name='xsltNsAlias' file='xsltInternals' type='struct _xsltNsAlias'>
|
||||
<field name='next' type='xsltNsAliasPtr' info=' next in the list'/>
|
||||
<field name='literalNs' type='xmlNsPtr' info=''/>
|
||||
@ -1271,6 +1270,7 @@ TODO: Check if we need.'/>
|
||||
<field name='descending' type='int' info=' sort'/>
|
||||
<field name='lang' type='const xmlChar *' info=' sort'/>
|
||||
<field name='has_lang' type='int' info=' sort'/>
|
||||
<field name='locale' type='xsltLocale' info=' sort'/>
|
||||
<field name='case_order' type='const xmlChar *' info=' sort'/>
|
||||
<field name='lower_first' type='int' info=' sort'/>
|
||||
<field name='use' type='const xmlChar *' info=''/>
|
||||
@ -1315,6 +1315,7 @@ TODO: Check if we need.'/>
|
||||
<field name='descending' type='int' info=' sort'/>
|
||||
<field name='lang' type='const xmlChar *' info=' sort'/>
|
||||
<field name='has_lang' type='int' info=' sort'/>
|
||||
<field name='locale' type='xsltLocale' info=' sort'/>
|
||||
<field name='case_order' type='const xmlChar *' info=' sort'/>
|
||||
<field name='lower_first' type='int' info=' sort'/>
|
||||
<field name='use' type='const xmlChar *' info=' copy, element'/>
|
||||
@ -2013,13 +2014,6 @@ exits'/>
|
||||
<arg name='name' type='const xmlChar *' info='the element name'/>
|
||||
<arg name='URI' type='const xmlChar *' info='the element namespace URI'/>
|
||||
</function>
|
||||
<function name='xsltExtFunctionLookup' file='extensions'>
|
||||
<info></info>
|
||||
<return type='xmlXPathFunction' info=''/>
|
||||
<arg name='ctxt' type='xsltTransformContextPtr' info=''/>
|
||||
<arg name='name' type='const xmlChar *' info=''/>
|
||||
<arg name='URI' type='const xmlChar *' info=''/>
|
||||
</function>
|
||||
<functype name='xsltExtInitFunction' file='extensions'>
|
||||
<info>A function called at initialization time of an XSLT extension module.</info>
|
||||
<return type='void *' info='a pointer to the module specific data for this transformation.'/>
|
||||
@ -2154,6 +2148,11 @@ exits'/>
|
||||
<return type='void'/>
|
||||
<arg name='style' type='xsltStylesheetPtr' info='an XSLT stylesheet'/>
|
||||
</function>
|
||||
<function name='xsltFreeLocale' file='xsltlocale'>
|
||||
<info>Frees a locale created with xsltNewLocale</info>
|
||||
<return type='void'/>
|
||||
<arg name='locale' type='xsltLocale' info='the locale to free'/>
|
||||
</function>
|
||||
<function name='xsltFreeNamespaceAliasHashes' file='namespaces'>
|
||||
<info>Free up the memory used by namespaces aliases</info>
|
||||
<return type='void'/>
|
||||
@ -2348,8 +2347,8 @@ exits'/>
|
||||
</function>
|
||||
<function name='xsltInitAllDocKeys' file='xsltInternals'>
|
||||
<info>INTERNAL ROUTINE ONLY Check if any keys on the current document need to be computed</info>
|
||||
<return type='int' info=''/>
|
||||
<arg name='ctxt' type='xsltTransformContextPtr' info=''/>
|
||||
<return type='int' info='0 in case of success, -1 in case of failure'/>
|
||||
<arg name='ctxt' type='xsltTransformContextPtr' info='transformation context'/>
|
||||
</function>
|
||||
<function name='xsltInitCtxtExts' file='extensions'>
|
||||
<info>Initialize the set of modules with registered stylesheet data</info>
|
||||
@ -2378,6 +2377,10 @@ exits'/>
|
||||
<arg name='function' type='xsltTransformFunction' info='the transform function'/>
|
||||
<arg name='freeFunc' type='xsltElemPreCompDeallocator' info='the @comp deallocator'/>
|
||||
</function>
|
||||
<function name='xsltInitGlobals' file='extensions'>
|
||||
<info>Initialize the global variables for extensions</info>
|
||||
<return type='void'/>
|
||||
</function>
|
||||
<function name='xsltIsBlank' file='xsltInternals'>
|
||||
<info>Check if a string is ignorable</info>
|
||||
<return type='int' info='1 if the string is NULL or made of blanks chars, 0 otherwise'/>
|
||||
@ -2420,6 +2423,13 @@ exits'/>
|
||||
<arg name='variable' type='xsltStackElemPtr' info='variable to be pushed to the variable stack'/>
|
||||
<arg name='level' type='int' info='new value for variable's level'/>
|
||||
</function>
|
||||
<function name='xsltLocaleStrcmp' file='xsltlocale'>
|
||||
<info>Compares two strings transformed with xsltStrxfrm</info>
|
||||
<return type='int' info='a value < 0 if str1 sorts before str2, a value > 0 if str1 sorts after str2, 0 if str1 and str2 are equal wrt sorting'/>
|
||||
<arg name='locale' type='xsltLocale' info='a locale identifier'/>
|
||||
<arg name='str1' type='const xsltLocaleChar *' info='a string transformed with xsltStrxfrm'/>
|
||||
<arg name='str2' type='const xsltLocaleChar *' info='a string transformed with xsltStrxfrm'/>
|
||||
</function>
|
||||
<function name='xsltMatchPattern' file='pattern'>
|
||||
<info></info>
|
||||
<return type='int' info=''/>
|
||||
@ -2460,6 +2470,11 @@ exits'/>
|
||||
<arg name='inst' type='xmlNodePtr' info='the element node'/>
|
||||
<arg name='function' type='xsltTransformFunction' info='the transform function'/>
|
||||
</function>
|
||||
<function name='xsltNewLocale' file='xsltlocale'>
|
||||
<info>Creates a new locale of an opaque system dependent type based on the language tag. Three-letter language codes (ISO 639-2 Alpha-3) are not supported.</info>
|
||||
<return type='xsltLocale' info='the locale or NULL on error or if no matching locale was found'/>
|
||||
<arg name='languageTag' type='const xmlChar *' info='RFC 3066 language tag'/>
|
||||
</function>
|
||||
<function name='xsltNewSecurityPrefs' file='security'>
|
||||
<info>Create a new security preference block</info>
|
||||
<return type='xsltSecurityPrefsPtr' info='a pointer to the new block or NULL in case of error'/>
|
||||
@ -2584,10 +2599,10 @@ exits'/>
|
||||
<arg name='cur' type='xmlNodePtr' info='the XSLT 'param' element'/>
|
||||
</function>
|
||||
<function name='xsltParseStylesheetProcess' file='xsltInternals'>
|
||||
<info></info>
|
||||
<return type='xsltStylesheetPtr' info=''/>
|
||||
<arg name='ret' type='xsltStylesheetPtr' info=''/>
|
||||
<arg name='doc' type='xmlDocPtr' info=''/>
|
||||
<info>Parses an XSLT stylesheet, adding the associated structures. Called by: xsltParseStylesheetImportedDoc() (xslt.c) xsltParseStylesheetInclude() (imports.c)</info>
|
||||
<return type='xsltStylesheetPtr' info='the value of the @style parameter if everything went right, NULL if something went amiss.'/>
|
||||
<arg name='ret' type='xsltStylesheetPtr' info='the XSLT stylesheet (the current stylesheet-level)'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='and xmlDoc parsed XML'/>
|
||||
</function>
|
||||
<function name='xsltParseStylesheetVariable' file='variables'>
|
||||
<info>Registers a local XSLT 'variable' instruction at transformation time and evaluates its value.</info>
|
||||
@ -2786,10 +2801,10 @@ exits'/>
|
||||
<arg name='style' type='xsltStylesheetPtr' info='the XSLT stylesheet'/>
|
||||
</function>
|
||||
<function name='xsltRestoreDocumentNamespaces' file='xsltInternals'>
|
||||
<info></info>
|
||||
<return type='int' info=''/>
|
||||
<arg name='ns' type='xsltNsMapPtr' info=''/>
|
||||
<arg name='doc' type='xmlDocPtr' info=''/>
|
||||
<info>Restore the namespaces for the document</info>
|
||||
<return type='int' info='0 in case of success, -1 in case of failure'/>
|
||||
<arg name='ns' type='xsltNsMapPtr' info='map of namespaces'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the document'/>
|
||||
</function>
|
||||
<function name='xsltRunStylesheet' file='transform'>
|
||||
<info>Apply the stylesheet to the document and generate the output according to @output @SAX and @IObuf. It's an error to specify both @SAX and @IObuf. NOTE: This may lead to a non-wellformed output XML wise ! NOTE: This may also result in multiple files being generated NOTE: using IObuf, the result encoding used will be the one used for creating the output buffer, use the following macro to read it from the stylesheet XSLT_GET_IMPORT_PTR(encoding, style, encoding) NOTE: using SAX, any encoding specified in the stylesheet will be lost since the interface uses only UTF8</info>
|
||||
@ -2984,6 +2999,12 @@ exits'/>
|
||||
<arg name='name' type='const xmlChar *' info='the full QName'/>
|
||||
<arg name='prefix' type='const xmlChar **' info='the return value'/>
|
||||
</function>
|
||||
<function name='xsltStrxfrm' file='xsltlocale'>
|
||||
<info>Transforms a string according to locale. The transformed string must then be compared with xsltLocaleStrcmp and freed with xmlFree.</info>
|
||||
<return type='xsltLocaleChar *' info='the transformed string or NULL on error'/>
|
||||
<arg name='locale' type='xsltLocale' info='locale created with xsltNewLocale'/>
|
||||
<arg name='string' type='const xmlChar *' info='UTF-8 string to transform'/>
|
||||
</function>
|
||||
<functype name='xsltStyleExtInitFunction' file='extensions'>
|
||||
<info>A function called at initialization time of an XSLT extension module.</info>
|
||||
<return type='void *' info='a pointer to the module specific data for this transformation.'/>
|
||||
|
Reference in New Issue
Block a user