From: Daniel Veillard Date: Wed, 22 Oct 2003 11:09:56 +0000 (+0000) Subject: applied patch from Kasimier Buchcik for xsltGetDebuggerStatus and X-Git-Tag: v1.1.28~583 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1521b2c80dc5962b42231e7e74f6cd0439b4d9af;p=platform%2Fupstream%2Flibxslt.git applied patch from Kasimier Buchcik for xsltGetDebuggerStatus and * libxslt/xsltutils.[ch]: applied patch from Kasimier Buchcik for xsltGetDebuggerStatus and xsltSetDebuggerStatus * doc/libxslt-api.xml: regenerated the API Daniel --- diff --git a/ChangeLog b/ChangeLog index d6fa4be..103c8b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 22 13:07:50 CEST 2003 Daniel Veillard + + * libxslt/xsltutils.[ch]: applied patch from Kasimier Buchcik + for xsltGetDebuggerStatus and xsltSetDebuggerStatus + * doc/libxslt-api.xml: regenerated the API + Sun Oct 19 23:32:23 CEST 2003 Daniel Veillard * configure.in: bump the libxml2 require to 2.6.0 which diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml index f5b23c3..ff7dcca 100644 --- a/doc/libxslt-api.xml +++ b/doc/libxslt-api.xml @@ -94,6 +94,7 @@ + @@ -109,6 +110,7 @@ + @@ -1393,6 +1395,10 @@ informations are stored'/> + + Get xslDebugStatus. + + Get the default security preference application-wide @@ -1961,6 +1967,11 @@ informations are stored'/> + + This function sets the value of xslDebugStatus. + + + Set the default security preference application-wide diff --git a/libxslt/xsltutils.c b/libxslt/xsltutils.c index 32bb179..3339aae 100644 --- a/libxslt/xsltutils.c +++ b/libxslt/xsltutils.c @@ -1732,6 +1732,31 @@ static xsltDebuggerCallbacks xsltDebuggerCurrentCallbacks = { int xslDebugStatus; /** + * xsltSetDebuggerStatus: + * @value : the value to be set + * + * This function sets the value of xslDebugStatus. + */ +void +xsltSetDebuggerStatus(int value) +{ + xslDebugStatus = value; +} + +/** + * xsltGetDebuggerStatus: + * + * Get xslDebugStatus. + * + * Returns the value of xslDebugStatus. + */ +int +xsltGetDebuggerStatus(void) +{ + return(xslDebugStatus); +} + +/** * xsltSetDebuggerCallbacks: * @no : number of callbacks * @block : the block of callbacks diff --git a/libxslt/xsltutils.h b/libxslt/xsltutils.h index e253bd4..180ae04 100644 --- a/libxslt/xsltutils.h +++ b/libxslt/xsltutils.h @@ -219,6 +219,10 @@ typedef void (*xsltHandleDebuggerCallback) (xmlNodePtr cur, xmlNodePtr node, typedef int (*xsltAddCallCallback) (xsltTemplatePtr templ, xmlNodePtr source); typedef void (*xsltDropCallCallback) (void); +XSLTPUBFUN void XSLTCALL + xsltSetDebuggerStatus (int value); +XSLTPUBFUN int XSLTCALL + xsltGetDebuggerStatus (void); XSLTPUBFUN int XSLTCALL xsltSetDebuggerCallbacks (int no, void *block); XSLTPUBFUN int XSLTCALL diff --git a/python/libxsltclass.txt b/python/libxsltclass.txt index 71bcddc..0b88bb4 100644 --- a/python/libxsltclass.txt +++ b/python/libxsltclass.txt @@ -36,7 +36,9 @@ parseStylesheetImportedDoc() # functions from module xsltutils calibrateAdjust() +debuggerStatus() nsProp() +setDebuggerStatus() timestamp() xslDropCall() diff --git a/win32/libxslt.def.src b/win32/libxslt.def.src index 17d144f..381d507 100644 --- a/win32/libxslt.def.src +++ b/win32/libxslt.def.src @@ -45,6 +45,7 @@ xsltCopy xsltCopyNamespace xsltCopyNamespaceList xsltCopyOf +xsltCopyTextString xsltCreateRVT xsltDebug xsltDebugDumpExtensions @@ -98,8 +99,10 @@ xsltFreeTransformContext xsltFunctionAvailableFunction xsltFunctionNodeSet xsltGenerateIdFunction +xsltGetDebuggerStatus xsltGetDefaultSecurityPrefs xsltGetExtData +xsltGetExtInfo xsltGetKey xsltGetNamespace xsltGetNsProp @@ -130,6 +133,7 @@ xsltNewStyleDocument xsltNewStylesheet xsltNewTransformContext xsltNextImport +xsltNormalizeCompSteps xsltNumber xsltNumberFormat xsltParseGlobalParam @@ -181,6 +185,7 @@ xsltSecurityForbid xsltSetCtxtSecurityPrefs xsltSetCtxtSortFunc xsltSetDebuggerCallbacks +xsltSetDebuggerStatus xsltSetDefaultSecurityPrefs xsltSetGenericDebugFunc xsltSetGenericErrorFunc