nlopess Tue Apr 25 12:41:59 2006 UTC Modified files: /php-src/ext/tidy tidy.c Log: mark a couple of functions as unicode-safe. no changes to code required http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.80&r2=1.81&diff_format=u Index: php-src/ext/tidy/tidy.c diff -u php-src/ext/tidy/tidy.c:1.80 php-src/ext/tidy/tidy.c:1.81 --- php-src/ext/tidy/tidy.c:1.80 Sun Apr 23 12:56:10 2006 +++ php-src/ext/tidy/tidy.c Tue Apr 25 12:41:59 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tidy.c,v 1.80 2006/04/23 12:56:10 nlopess Exp $ */ +/* $Id: tidy.c,v 1.81 2006/04/25 12:41:59 nlopess Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -985,7 +985,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "Tidy support", "enabled"); php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate()); - php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id: tidy.c,v 1.80 2006/04/23 12:56:10 nlopess Exp $)"); + php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id: tidy.c,v 1.81 2006/04/25 12:41:59 nlopess Exp $)"); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -1286,7 +1286,7 @@ } /* }}} */ -/* {{{ proto int tidy_get_status() +/* {{{ proto int tidy_get_status() U Get status of specfied document. */ PHP_FUNCTION(tidy_get_status) { @@ -1296,7 +1296,7 @@ } /* }}} */ -/* {{{ proto int tidy_get_html_ver() +/* {{{ proto int tidy_get_html_ver() U Get the Detected HTML version for the specified document. */ PHP_FUNCTION(tidy_get_html_ver) { @@ -1306,7 +1306,7 @@ } /* }}} */ -/* {{{ proto boolean tidy_is_xhtml() +/* {{{ proto bool tidy_is_xhtml() U Indicates if the document is a XHTML document. */ PHP_FUNCTION(tidy_is_xhtml) { @@ -1316,7 +1316,7 @@ } /* }}} */ -/* {{{ proto boolean tidy_is_xhtml() +/* {{{ proto bool tidy_is_xhtml() U Indicates if the document is a generic (non HTML/XHTML) XML document. */ PHP_FUNCTION(tidy_is_xml) { @@ -1326,7 +1326,7 @@ } /* }}} */ -/* {{{ proto int tidy_error_count() +/* {{{ proto int tidy_error_count() U Returns the Number of Tidy errors encountered for specified document. */ PHP_FUNCTION(tidy_error_count) { @@ -1336,7 +1336,7 @@ } /* }}} */ -/* {{{ proto int tidy_warning_count() +/* {{{ proto int tidy_warning_count() U Returns the Number of Tidy warnings encountered for specified document. */ PHP_FUNCTION(tidy_warning_count) { @@ -1346,7 +1346,7 @@ } /* }}} */ -/* {{{ proto int tidy_access_count() +/* {{{ proto int tidy_access_count() U Returns the Number of Tidy accessibility warnings encountered for specified document. */ PHP_FUNCTION(tidy_access_count) { @@ -1356,7 +1356,7 @@ } /* }}} */ -/* {{{ proto int tidy_config_count() +/* {{{ proto int tidy_config_count() U Returns the Number of Tidy configuration errors encountered for specified document. */ PHP_FUNCTION(tidy_config_count) { @@ -1559,7 +1559,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::hasChildren() +/* {{{ proto bool tidyNode::hasChildren() U Returns true if this node has children */ TIDY_NODE_METHOD(hasChildren) { @@ -1573,7 +1573,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::hasSiblings() +/* {{{ proto bool tidyNode::hasSiblings() U Returns true if this node has siblings */ TIDY_NODE_METHOD(hasSiblings) { @@ -1587,7 +1587,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isComment() +/* {{{ proto bool tidyNode::isComment() U Returns true if this node represents a comment */ TIDY_NODE_METHOD(isComment) { @@ -1601,7 +1601,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isHtml() +/* {{{ proto bool tidyNode::isHtml() U Returns true if this node is part of a HTML document */ TIDY_NODE_METHOD(isHtml) { @@ -1615,7 +1615,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isXhtml() +/* {{{ proto bool tidyNode::isXhtml() U Returns true if this node is part of a XHTML document */ TIDY_NODE_METHOD(isXhtml) { @@ -1629,7 +1629,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isXml() +/* {{{ proto bool tidyNode::isXml() U Returns true if this node is part of a XML document */ TIDY_NODE_METHOD(isXml) { @@ -1643,7 +1643,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isText() +/* {{{ proto bool tidyNode::isText() U Returns true if this node represents text (no markup) */ TIDY_NODE_METHOD(isText) { @@ -1657,7 +1657,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isJste() +/* {{{ proto bool tidyNode::isJste() U Returns true if this node is JSTE */ TIDY_NODE_METHOD(isJste) { @@ -1671,7 +1671,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isAsp() +/* {{{ proto bool tidyNode::isAsp() U Returns true if this node is ASP */ TIDY_NODE_METHOD(isAsp) { @@ -1685,7 +1685,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::isPhp() +/* {{{ proto bool tidyNode::isPhp() U Returns true if this node is PHP */ TIDY_NODE_METHOD(isPhp) { @@ -1699,7 +1699,7 @@ } /* }}} */ -/* {{{ proto boolean tidyNode::getParent() +/* {{{ proto tidyNode tidyNode::getParent() U Returns the parent node if available or NULL */ TIDY_NODE_METHOD(getParent) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php