diff --git a/ChangeLog b/ChangeLog index 1eaf6994..0988184c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Dec 11 19:18:45 CET 2002 Daniel Veillard + + * doc/Makefile.am doc/apibuild.py doc/libexslt-api.xml: added + the generation of libexslt-api.xml + * libexslt/exslt.h: small cleanup. + Wed Dec 11 18:45:09 CET 2002 Daniel Veillard * doc/Makefile.am doc/apibuild.py doc/libxslt-api.xml: diff --git a/doc/Makefile.am b/doc/Makefile.am index 9bacca8b..1800537a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,7 @@ ## Process this file with automake to produce Makefile.in EXTRA_DIST = \ libxslt-api.xml \ + libexslt-api.xml \ libxslt-decl.txt \ xsltproc.xml \ apibuild.py @@ -57,7 +58,7 @@ xml: sgml -@(for s in sgml/*.sgml ; do name=`basename $$s .sgml` ; \ xmllint --sgml $$s > xml/"$$name".xml ; done) -libxslt-api.xml: apibuild.py ../libxslt/*.h ../libxslt/*.c +libxslt-api.xml libexslt-api.xml: apibuild.py ../libxslt/*.h ../libxslt/*.c ../libexslt/*.h ../libexslt/*.c -(./apibuild.py) api: libxslt-api.xml libxslt-refs.xml diff --git a/doc/apibuild.py b/doc/apibuild.py index 926d6910..28148777 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -225,6 +225,8 @@ ignored_words = { "LIBXML_DLL_IMPORT": (0, "Special macro to flag external keywords"), "__declspec": (3, "Windows keyword"), "ATTRIBUTE_UNUSED": (0, "macro keyword"), + "LIBEXSLT_PUBLIC": (0, "macro keyword"), + "X_IN_Y": (5, "macro function builder"), } class CLexer: @@ -1449,6 +1451,11 @@ def rebuild(): builder.scan() builder.analyze() builder.serialize() + if glob.glob("../libexslt/exslt.c") != [] : + extra = docBuilder("libexslt", ["../libexslt"], ["libexslt.h"]) + extra.scan() + extra.analyze() + extra.serialize() return builder # diff --git a/doc/libexslt-api.xml b/doc/libexslt-api.xml new file mode 100644 index 00000000..f6c08ac3 --- /dev/null +++ b/doc/libexslt-api.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Namespace for EXSLT common functions + + + Namespace for EXSLT date functions + + + Namespace for EXSLT dynamic functions + + + Namespace for EXSLT functions extension functions + + + Namespace for EXSLT math functions + + + Namespace for EXSLT set functions + + + Namespace for EXSLT strings functions + + + Namespace for SAXON extensions functions + + + Registers the EXSLT - Common module + + + + Registers the EXSLT - Dates and Times module + + + + Registers the EXSLT - Dynamic module + + + + Registers the EXSLT - Functions module + + + + Registers the EXSLT - Math module + + + + Registers all available EXSLT extensions + + + + Registers the SAXON extension module + + + + Registers the EXSLT - Sets module + + + + Registers the EXSLT - Strings module + + + + diff --git a/libexslt/exslt.h b/libexslt/exslt.h index c53d8ff1..f8612358 100644 --- a/libexslt/exslt.h +++ b/libexslt/exslt.h @@ -14,15 +14,56 @@ LIBEXSLT_PUBLIC extern const int exsltLibexsltVersion; LIBEXSLT_PUBLIC extern const int exsltLibxsltVersion; LIBEXSLT_PUBLIC extern const int exsltLibxmlVersion; +/** + * EXSLT_COMMON_NAMESPACE: + * + * Namespace for EXSLT common functions + */ #define EXSLT_COMMON_NAMESPACE ((const xmlChar *) "http://exslt.org/common") +/** + * EXSLT_MATH_NAMESPACE: + * + * Namespace for EXSLT math functions + */ #define EXSLT_MATH_NAMESPACE ((const xmlChar *) "http://exslt.org/math") +/** + * EXSLT_SETS_NAMESPACE: + * + * Namespace for EXSLT set functions + */ #define EXSLT_SETS_NAMESPACE ((const xmlChar *) "http://exslt.org/sets") +/** + * EXSLT_FUNCTIONS_NAMESPACE: + * + * Namespace for EXSLT functions extension functions + */ #define EXSLT_FUNCTIONS_NAMESPACE ((const xmlChar *) "http://exslt.org/functions") +/** + * EXSLT_STRINGS_NAMESPACE: + * + * Namespace for EXSLT strings functions + */ #define EXSLT_STRINGS_NAMESPACE ((const xmlChar *) "http://exslt.org/strings") +/** + * EXSLT_DATE_NAMESPACE: + * + * Namespace for EXSLT date functions + */ #define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times") -#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon") +/** + * EXSLT_DYNAMIC_NAMESPACE: + * + * Namespace for EXSLT dynamic functions + */ #define EXSLT_DYNAMIC_NAMESPACE ((const xmlChar *) "http://exslt.org/dynamic") +/** + * SAXON_NAMESPACE: + * + * Namespace for SAXON extensions functions + */ +#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon") + void LIBEXSLT_PUBLIC exsltCommonRegister (void); void LIBEXSLT_PUBLIC exsltMathRegister (void); void LIBEXSLT_PUBLIC exsltSetsRegister (void);