cvs: php-src /ext/dom attr.c cdatasection.c characterdata.c comment.c document.c documentfragment.c documenttype.c dom_ce.h dom_fe.h dom_iterators.c
dom_properties.h domconfiguration.c domerror.c domerrorhandler.c domexception.c domimplementation.c domimplementationlist.c domimplementationsource.c
domlocator.c domstringlist.c element.c entity.c entityreference.c namednodemap.c namelist.c node.c nodelist.c notation.c php_dom.c php_dom.h
processinginstruction.c string_extend.c text.c typeinfo.c userdatahandler.c xml_common.h xpath.c

From: Date: Thu, 14 Aug 2008 08:38:37 +0000
Subject: cvs: php-src /ext/dom attr.c cdatasection.c characterdata.c comment.c document.c documentfragment.c documenttype.c dom_ce.h dom_fe.h dom_iterators.c
dom_properties.h domconfiguration.c domerror.c domerrorhandler.c domexception.c domimplementation.c domimplementationlist.c domimplementationsource.c
domlocator.c domstringlist.c element.c entity.c entityreference.c namednodemap.c namelist.c node.c nodelist.c notation.c php_dom.c php_dom.h
processinginstruction.c string_extend.c text.c typeinfo.c userdatahandler.c xml_common.h xpath.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52309@lists.php.net to get a copy of this message
tony2001 Thu Aug 14 08:38:37 2008 UTC Modified files: /php-src/ext/dom attr.c cdatasection.c characterdata.c comment.c document.c documentfragment.c documenttype.c dom_ce.h dom_fe.h dom_iterators.c dom_properties.h domconfiguration.c domerror.c domerrorhandler.c domexception.c domimplementation.c domimplementationlist.c domimplementationsource.c domlocator.c domstringlist.c element.c entity.c entityreference.c namednodemap.c namelist.c node.c nodelist.c notation.c php_dom.c php_dom.h processinginstruction.c string_extend.c text.c typeinfo.c userdatahandler.c xml_common.h xpath.c Log: fix ws, cs and folding

http://cvs.php.net/viewvc.cgi/php-src/ext/dom/attr.c?r1=1.31&r2=1.32&diff_format=u Index: php-src/ext/dom/attr.c diff -u php-src/ext/dom/attr.c:1.31 php-src/ext/dom/attr.c:1.32 --- php-src/ext/dom/attr.c:1.31 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/attr.c Thu Aug 14 08:38:36 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: attr.c,v 1.31 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: attr.c,v 1.32 2008/08/14 08:38:36 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -29,7 +29,6 @@ #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_is_id, 0, 0, 0) @@ -99,7 +98,6 @@ /* }}} end DOMAttr::__construct */ - /* {{{ name string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1112119403 @@ -124,8 +122,6 @@ /* }}} */ - - /* {{{ specified boolean readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-862529273 @@ -141,8 +137,6 @@ /* }}} */ - - /* {{{ value string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-221662474 @@ -210,8 +204,6 @@ /* }}} */ - - /* {{{ ownerElement DOMElement readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-ownerElement @@ -246,8 +238,6 @@ /* }}} */ - - /* {{{ schemaTypeInfo DOMTypeInfo readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-schemaTypeInfo @@ -263,8 +253,6 @@ /* }}} */ - - /* {{{ proto boolean dom_attr_is_id() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId Since: DOM Level 3 @@ -290,3 +278,12 @@ /* }}} end dom_attr_is_id */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/cdatasection.c?r1=1.21&r2=1.22&diff_format=u Index: php-src/ext/dom/cdatasection.c diff -u php-src/ext/dom/cdatasection.c:1.21 php-src/ext/dom/cdatasection.c:1.22 --- php-src/ext/dom/cdatasection.c:1.21 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/cdatasection.c Thu Aug 14 08:38:36 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cdatasection.c,v 1.21 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: cdatasection.c,v 1.22 2008/08/14 08:38:36 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_cdatasection_construct, 0, 0, 1) @@ -83,3 +82,12 @@ /* }}} end DOMCdataSection::__construct */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/characterdata.c?r1=1.26&r2=1.27&diff_format=u Index: php-src/ext/dom/characterdata.c diff -u php-src/ext/dom/characterdata.c:1.26 php-src/ext/dom/characterdata.c:1.27 --- php-src/ext/dom/characterdata.c:1.26 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/characterdata.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: characterdata.c,v 1.26 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: characterdata.c,v 1.27 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -171,7 +171,6 @@ /* }}} */ - /* {{{ proto string dom_characterdata_substring_data(int offset, int count) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6531BCCF Since: @@ -221,7 +220,6 @@ } /* }}} end dom_characterdata_substring_data */ - /* {{{ proto void dom_characterdata_append_data(string arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-32791A2F Since: @@ -256,7 +254,6 @@ } /* }}} end dom_characterdata_append_data */ - /* {{{ proto void dom_characterdata_insert_data(int offset, string arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3EDB695F Since: @@ -305,7 +302,6 @@ } /* }}} end dom_characterdata_insert_data */ - /* {{{ proto void dom_characterdata_delete_data(int offset, int count) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7C603781 Since: @@ -361,7 +357,6 @@ } /* }}} end dom_characterdata_delete_data */ - /* {{{ proto void dom_characterdata_replace_data(int offset, int count, string arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-E5CBA7FB Since: @@ -423,4 +418,14 @@ RETURN_TRUE; } /* }}} end dom_characterdata_replace_data */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/comment.c?r1=1.21&r2=1.22&diff_format=u Index: php-src/ext/dom/comment.c diff -u php-src/ext/dom/comment.c:1.21 php-src/ext/dom/comment.c:1.22 --- php-src/ext/dom/comment.c:1.21 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/comment.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: comment.c,v 1.21 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: comment.c,v 1.22 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_comment_construct, 0, 0, 0) @@ -81,4 +80,14 @@ } } /* }}} end DOMComment::__construct */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/document.c?r1=1.92&r2=1.93&diff_format=u Index: php-src/ext/dom/document.c diff -u php-src/ext/dom/document.c:1.92 php-src/ext/dom/document.c:1.93 --- php-src/ext/dom/document.c:1.92 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/document.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: document.c,v 1.92 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: document.c,v 1.93 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -226,7 +226,7 @@ * Since: */ -const zend_function_entry php_dom_document_class_functions[] = { +const zend_function_entry php_dom_document_class_functions[] = { /* {{{ */ PHP_FALIAS(createElement, dom_document_create_element, arginfo_dom_document_create_element) PHP_FALIAS(createDocumentFragment, dom_document_create_document_fragment, arginfo_dom_document_create_document_fragment) PHP_FALIAS(createTextNode, dom_document_create_text_node, arginfo_dom_document_create_text_node) @@ -266,6 +266,7 @@ PHP_ME(domdocument, registerNodeClass, arginfo_dom_document_registernodeclass, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; +/* }}} */ /* {{{ docType DOMDocumentType readonly=yes @@ -301,8 +302,6 @@ /* }}} */ - - /* {{{ implementation DOMImplementation readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1B793EBA @@ -317,8 +316,6 @@ /* }}} */ - - /* {{{ documentElement DOMElement readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-87CD092 @@ -423,8 +420,6 @@ /* }}} */ - - /* {{{ standalone boolean readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-standalone @@ -489,8 +484,6 @@ /* }}} */ - - /* {{{ version string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-version @@ -685,7 +678,6 @@ } /* }}} */ - /* {{{ resolveExternals boolean readonly=no */ @@ -728,7 +720,6 @@ } /* }}} */ - /* {{{ preserveWhiteSpace boolean readonly=no */ @@ -813,7 +804,6 @@ } /* }}} */ - /* {{{ substituteEntities boolean readonly=no */ @@ -856,7 +846,6 @@ } /* }}} */ - /* {{{ documentURI string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-documentURI @@ -921,8 +910,6 @@ /* }}} */ - - /* {{{ config DOMConfiguration readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-config @@ -937,8 +924,6 @@ /* }}} */ - - /* {{{ proto DOMElement dom_document_create_element(string tagName [, string value]) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547 Since: @@ -972,7 +957,6 @@ } /* }}} end dom_document_create_element */ - /* {{{ proto DOMDocumentFragment dom_document_create_document_fragment() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5 Since: @@ -1000,7 +984,6 @@ } /* }}} end dom_document_create_document_fragment */ - /* {{{ proto DOMText dom_document_create_text_node(string data) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127 Since: @@ -1029,7 +1012,6 @@ } /* }}} end dom_document_create_text_node */ - /* {{{ proto DOMComment dom_document_create_comment(string data) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328 Since: @@ -1058,7 +1040,6 @@ } /* }}} end dom_document_create_comment */ - /* {{{ proto DOMCdataSection dom_document_create_cdatasection(string data) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8 Since: @@ -1087,7 +1068,6 @@ } /* }}} end dom_document_create_cdatasection */ - /* {{{ proto DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439 Since: @@ -1123,7 +1103,6 @@ } /* }}} end dom_document_create_processing_instruction */ - /* {{{ proto DOMAttr dom_document_create_attribute(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198 Since: @@ -1158,7 +1137,6 @@ } /* }}} end dom_document_create_attribute */ - /* {{{ proto DOMEntityReference dom_document_create_entity_reference(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE Since: @@ -1192,7 +1170,6 @@ } /* }}} end dom_document_create_entity_reference */ - /* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name(string tagname) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094 Since: @@ -1219,7 +1196,6 @@ } /* }}} end dom_document_get_elements_by_tag_name */ - /* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode Since: DOM Level 2 @@ -1262,7 +1238,6 @@ } /* }}} end dom_document_import_node */ - /* {{{ proto DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS Since: DOM Level 2 @@ -1326,7 +1301,6 @@ } /* }}} end dom_document_create_element_ns */ - /* {{{ proto DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS Since: DOM Level 2 @@ -1392,7 +1366,6 @@ } /* }}} end dom_document_create_attribute_ns */ - /* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS Since: DOM Level 2 @@ -1420,7 +1393,6 @@ } /* }}} end dom_document_get_elements_by_tag_name_ns */ - /* {{{ proto DOMElement dom_document_get_element_by_id(string elementId) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId Since: DOM Level 2 @@ -1451,7 +1423,6 @@ } /* }}} end dom_document_get_element_by_id */ - /* {{{ proto DOMNode dom_document_adopt_node(DOMNode source) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode Since: DOM Level 3 @@ -1462,7 +1433,6 @@ } /* }}} end dom_document_adopt_node */ - /* {{{ proto void dom_document_normalize_document() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument Since: DOM Level 3 @@ -1483,7 +1453,6 @@ } /* }}} end dom_document_normalize_document */ - /* {{{ proto DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode Since: DOM Level 3 @@ -1541,7 +1510,8 @@ } /* }}} end DOMDocument::__construct */ -char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { +char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) /* {{{ */ +{ xmlURI *uri; xmlChar *escsource; char *file_dest; @@ -1586,10 +1556,10 @@ return file_dest; } +/* }}} */ - -/* {{{ */ -static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int options TSRMLS_DC) { +static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int options TSRMLS_DC) /* {{{ */ +{ xmlDocPtr ret; xmlParserCtxtPtr ctxt = NULL; dom_doc_propsptr doc_props; @@ -1925,7 +1895,8 @@ } /* }}} end dom_document_savexml */ -static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur TSRMLS_DC) { +static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur TSRMLS_DC) /* {{{ */ +{ xmlNodePtr xincnode; xincnode = cur; @@ -1935,8 +1906,10 @@ return cur; } +/* }}} */ -static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) { +static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) /* {{{ */ +{ while(cur) { if (cur->type == XML_XINCLUDE_START) { cur = php_dom_free_xinclude_node(cur TSRMLS_CC); @@ -1961,6 +1934,7 @@ } } } +/* }}} */ /* {{{ proto int dom_document_xinclude([int options]) U Substitutues xincludes in a DomDocument */ @@ -2000,7 +1974,7 @@ } } - +/* }}} */ /* {{{ proto boolean dom_document_validate() U Since: DOM extended @@ -2134,6 +2108,7 @@ RETURN_FALSE; } } +/* }}} */ /* {{{ proto boolean dom_document_schema_validate_file(string filename) U */ PHP_FUNCTION(dom_document_schema_validate_file) @@ -2149,9 +2124,7 @@ } /* }}} end dom_document_schema_validate */ - -static void -_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type) +static void _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */ { zval *id; xmlDoc *docp; @@ -2243,6 +2216,7 @@ RETURN_FALSE; } } +/* }}} */ /* {{{ proto boolean dom_document_relaxNG_validate_file(string filename) U */ PHP_FUNCTION(dom_document_relaxNG_validate_file) @@ -2262,7 +2236,7 @@ #if defined(LIBXML_HTML_ENABLED) -static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) +static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ { zval *id, *rv = NULL; xmlDoc *docp = NULL, *newdoc; @@ -2353,6 +2327,7 @@ DOM_RET_OBJ(rv, (xmlNodePtr) newdoc, &ret, NULL); } } +/* }}} */ /* {{{ proto DOMNode dom_document_load_html_file(string source) U Since: DOM extended @@ -2513,3 +2488,12 @@ /* }}} */ #endif /* HAVE_LIBXML && HAVE_DOM */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/documentfragment.c?r1=1.25&r2=1.26&diff_format=u Index: php-src/ext/dom/documentfragment.c diff -u php-src/ext/dom/documentfragment.c:1.25 php-src/ext/dom/documentfragment.c:1.26 --- php-src/ext/dom/documentfragment.c:1.25 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/documentfragment.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: documentfragment.c,v 1.25 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: documentfragment.c,v 1.26 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_documentfragement_construct, 0, 0, 0) @@ -88,7 +87,8 @@ /* php_dom_xmlSetTreeDoc is a custom implementation of xmlSetTreeDoc needed for hack in appendXML due to libxml bug - no need to share this function */ -static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) { +static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ +{ xmlAttrPtr prop; xmlNodePtr cur; @@ -117,6 +117,7 @@ tree->doc = doc; } } +/* }}} */ /* {{{ proto void DOMDocumentFragment::appendXML(string data) U */ PHP_METHOD(domdocumentfragment, appendXML) { @@ -154,5 +155,15 @@ RETURN_TRUE; } +/* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/documenttype.c?r1=1.19&r2=1.20&diff_format=u Index: php-src/ext/dom/documenttype.c diff -u php-src/ext/dom/documenttype.c:1.19 php-src/ext/dom/documenttype.c:1.20 --- php-src/ext/dom/documenttype.c:1.19 Mon Dec 31 07:12:08 2007 +++ php-src/ext/dom/documenttype.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: documenttype.c,v 1.19 2007/12/31 07:12:08 sebastian Exp $ */ +/* $Id: documenttype.c,v 1.20 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -62,8 +62,6 @@ /* }}} */ - - /* {{{ entities DOMNamedNodeMap readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1788794630 @@ -95,8 +93,6 @@ /* }}} */ - - /* {{{ notations DOMNamedNodeMap readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D46829EF @@ -128,8 +124,6 @@ /* }}} */ - - /* {{{ publicId string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-publicId @@ -158,8 +152,6 @@ /* }}} */ - - /* {{{ systemId string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-systemId @@ -187,8 +179,6 @@ /* }}} */ - - /* {{{ internalSubset string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-internalSubset @@ -232,3 +222,12 @@ /* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/dom_ce.h?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/dom_ce.h diff -u php-src/ext/dom/dom_ce.h:1.11 php-src/ext/dom/dom_ce.h:1.12 --- php-src/ext/dom/dom_ce.h:1.11 Mon Dec 31 07:12:08 2007 +++ php-src/ext/dom/dom_ce.h Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dom_ce.h,v 1.11 2007/12/31 07:12:08 sebastian Exp $ */ +/* $Id: dom_ce.h,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifndef DOM_CE_H #define DOM_CE_H @@ -55,3 +55,12 @@ extern zend_class_entry *dom_namespace_node_class_entry; #endif /* DOM_CE_H */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/dom_fe.h?r1=1.22&r2=1.23&diff_format=u Index: php-src/ext/dom/dom_fe.h diff -u php-src/ext/dom/dom_fe.h:1.22 php-src/ext/dom/dom_fe.h:1.23 --- php-src/ext/dom/dom_fe.h:1.22 Mon Dec 31 07:12:08 2007 +++ php-src/ext/dom/dom_fe.h Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dom_fe.h,v 1.22 2007/12/31 07:12:08 sebastian Exp $ */ +/* $Id: dom_fe.h,v 1.23 2008/08/14 08:38:37 tony2001 Exp $ */ #ifndef DOM_FE_H #define DOM_FE_H @@ -268,3 +268,12 @@ #endif #endif /* DOM_FE_H */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/dom_iterators.c?r1=1.21&r2=1.22&diff_format=u Index: php-src/ext/dom/dom_iterators.c diff -u php-src/ext/dom/dom_iterators.c:1.21 php-src/ext/dom/dom_iterators.c:1.22 --- php-src/ext/dom/dom_iterators.c:1.21 Mon Dec 31 07:12:08 2007 +++ php-src/ext/dom/dom_iterators.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dom_iterators.c,v 1.21 2007/12/31 07:12:08 sebastian Exp $ */ +/* $Id: dom_iterators.c,v 1.22 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -42,7 +42,8 @@ xmlNotation *notation; }; -static void itemHashScanner (void *payload, void *data, xmlChar *name) { +static void itemHashScanner (void *payload, void *data, xmlChar *name) /* {{{ */ +{ nodeIterator *priv = (nodeIterator *)data; if(priv->cur < priv->index) { @@ -53,9 +54,10 @@ } } } +/* }}} */ -xmlNodePtr create_notation(const xmlChar *name, - const xmlChar *ExternalID, const xmlChar *SystemID) { +xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID) /* {{{ */ +{ xmlEntityPtr ret; ret = (xmlEntityPtr) xmlMalloc(sizeof(xmlEntity)); @@ -76,8 +78,9 @@ ret->prev = NULL; return((xmlNodePtr) ret); } +/* }}} */ -xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) +xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ { xmlNode *nodep = NULL; nodeIterator *iter; @@ -96,8 +99,9 @@ return NULL; } } +/* }}} */ -xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) +xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ { notationIterator *iter; xmlNotation *notep = NULL; @@ -116,8 +120,9 @@ return NULL; } } +/* }}} */ -static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC) +static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */ { php_dom_iterator *iterator = (php_dom_iterator *)iter; @@ -129,8 +134,9 @@ efree(iterator); } +/* }}} */ -static int php_dom_iterator_valid(zend_object_iterator *iter TSRMLS_DC) +static int php_dom_iterator_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */ { php_dom_iterator *iterator = (php_dom_iterator *)iter; @@ -180,8 +186,9 @@ return HASH_KEY_IS_STRING; } } +/* }}} */ -static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC) +static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC) /* {{{ */ { zval *curobj, *curattr = NULL; zval *object; @@ -247,6 +254,7 @@ iterator->curobj = curattr; } +/* }}} */ zend_object_iterator_funcs php_dom_iterator_funcs = { php_dom_iterator_dtor, @@ -257,7 +265,7 @@ NULL }; -zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) +zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) /* {{{ */ { dom_object *intern; dom_nnodemap_object *objmap; @@ -328,5 +336,15 @@ return (zend_object_iterator*)iterator; } +/* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/dom_properties.h?r1=1.10&r2=1.11&diff_format=u Index: php-src/ext/dom/dom_properties.h diff -u php-src/ext/dom/dom_properties.h:1.10 php-src/ext/dom/dom_properties.h:1.11 --- php-src/ext/dom/dom_properties.h:1.10 Mon Dec 31 07:12:08 2007 +++ php-src/ext/dom/dom_properties.h Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dom_properties.h,v 1.10 2007/12/31 07:12:08 sebastian Exp $ */ +/* $Id: dom_properties.h,v 1.11 2008/08/14 08:38:37 tony2001 Exp $ */ #ifndef DOM_PROPERTIES_H #define DOM_PROPERTIES_H @@ -160,3 +160,12 @@ #endif #endif /* DOM_PROPERTIERS_H */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domconfiguration.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/domconfiguration.c diff -u php-src/ext/dom/domconfiguration.c:1.11 php-src/ext/dom/domconfiguration.c:1.12 --- php-src/ext/dom/domconfiguration.c:1.11 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domconfiguration.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domconfiguration.c,v 1.11 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domconfiguration.c,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2) @@ -95,4 +94,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domconfiguration_can_set_parameter */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domerror.c?r1=1.10&r2=1.11&diff_format=u Index: php-src/ext/dom/domerror.c diff -u php-src/ext/dom/domerror.c:1.10 php-src/ext/dom/domerror.c:1.11 --- php-src/ext/dom/domerror.c:1.10 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/domerror.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domerror.c,v 1.10 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: domerror.c,v 1.11 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -55,8 +55,6 @@ /* }}} */ - - /* {{{ message string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-message @@ -71,8 +69,6 @@ /* }}} */ - - /* {{{ type string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-type @@ -87,8 +83,6 @@ /* }}} */ - - /* {{{ relatedException object readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-relatedException @@ -103,8 +97,6 @@ /* }}} */ - - /* {{{ relatedData domobject readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-relatedData @@ -119,8 +111,6 @@ /* }}} */ - - /* {{{ location domlocator readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-location @@ -135,4 +125,15 @@ /* }}} */ +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domerrorhandler.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/domerrorhandler.c diff -u php-src/ext/dom/domerrorhandler.c:1.11 php-src/ext/dom/domerrorhandler.c:1.12 --- php-src/ext/dom/domerrorhandler.c:1.11 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domerrorhandler.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domerrorhandler.c,v 1.11 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domerrorhandler.c,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_domerrorhandler_handle_error, 0, 0, 1) @@ -59,4 +58,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domerrorhandler_handle_error */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domexception.c?r1=1.17&r2=1.18&diff_format=u Index: php-src/ext/dom/domexception.c diff -u php-src/ext/dom/domexception.c:1.17 php-src/ext/dom/domexception.c:1.18 --- php-src/ext/dom/domexception.c:1.17 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/domexception.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domexception.c,v 1.17 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: domexception.c,v 1.18 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* * class DOMException * @@ -41,8 +40,7 @@ {NULL, NULL, NULL} }; -/* {{{ php_dom_throw_error_with_message */ -void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) +void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) /* {{{ */ { if (strict_error == 1) { zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC); @@ -50,6 +48,7 @@ php_libxml_issue_error(E_WARNING, error_message TSRMLS_CC); } } +/* }}} */ /* {{{ php_dom_throw_error */ void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC) @@ -115,3 +114,12 @@ /* }}} end php_dom_throw_error */ #endif /* HAVE_LIBXML && HAVE_DOM */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domimplementation.c?r1=1.26&r2=1.27&diff_format=u Index: php-src/ext/dom/domimplementation.c diff -u php-src/ext/dom/domimplementation.c:1.26 php-src/ext/dom/domimplementation.c:1.27 --- php-src/ext/dom/domimplementation.c:1.26 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domimplementation.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementation.c,v 1.26 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domimplementation.c,v 1.27 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -89,7 +89,6 @@ } /* }}} end dom_domimplementation_has_feature */ - /* {{{ proto DOMDocumentType dom_domimplementation_create_document_type(string qualifiedName, string publicId, string systemId) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType Since: DOM Level 2 @@ -150,7 +149,6 @@ } /* }}} end dom_domimplementation_create_document_type */ - /* {{{ proto DOMDocument dom_domimplementation_create_document(string namespaceURI, string qualifiedName, DOMDocumentType doctype) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument Since: DOM Level 2 @@ -253,7 +251,6 @@ } /* }}} end dom_domimplementation_create_document */ - /* {{{ proto DOMNode dom_domimplementation_get_feature(string feature, string version) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature Since: DOM Level 3 @@ -263,4 +260,14 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementation_get_feature */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domimplementationlist.c?r1=1.12&r2=1.13&diff_format=u Index: php-src/ext/dom/domimplementationlist.c diff -u php-src/ext/dom/domimplementationlist.c:1.12 php-src/ext/dom/domimplementationlist.c:1.13 --- php-src/ext/dom/domimplementationlist.c:1.12 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domimplementationlist.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementationlist.c,v 1.12 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domimplementationlist.c,v 1.13 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationlist_item, 0, 0, 1) @@ -75,4 +74,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementationlist_item */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domimplementationsource.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/domimplementationsource.c diff -u php-src/ext/dom/domimplementationsource.c:1.11 php-src/ext/dom/domimplementationsource.c:1.12 --- php-src/ext/dom/domimplementationsource.c:1.11 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domimplementationsource.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domimplementationsource.c,v 1.11 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domimplementationsource.c,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -76,4 +76,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domimplementationsource_get_domimplementations */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domlocator.c?r1=1.10&r2=1.11&diff_format=u Index: php-src/ext/dom/domlocator.c diff -u php-src/ext/dom/domlocator.c:1.10 php-src/ext/dom/domlocator.c:1.11 --- php-src/ext/dom/domlocator.c:1.10 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/domlocator.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domlocator.c,v 1.10 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: domlocator.c,v 1.11 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -55,8 +55,6 @@ /* }}} */ - - /* {{{ column_number long readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-column-number @@ -71,8 +69,6 @@ /* }}} */ - - /* {{{ offset long readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-offset @@ -87,8 +83,6 @@ /* }}} */ - - /* {{{ related_node node readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-node @@ -103,8 +97,6 @@ /* }}} */ - - /* {{{ uri string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-uri @@ -119,5 +111,15 @@ /* }}} */ +/* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/domstringlist.c?r1=1.12&r2=1.13&diff_format=u Index: php-src/ext/dom/domstringlist.c diff -u php-src/ext/dom/domstringlist.c:1.12 php-src/ext/dom/domstringlist.c:1.13 --- php-src/ext/dom/domstringlist.c:1.12 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/domstringlist.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domstringlist.c,v 1.12 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: domstringlist.c,v 1.13 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_stringlist_item, 0, 0, 1) @@ -75,4 +74,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_domstringlist_item */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/element.c?r1=1.59&r2=1.60&diff_format=u Index: php-src/ext/dom/element.c diff -u php-src/ext/dom/element.c:1.59 php-src/ext/dom/element.c:1.60 --- php-src/ext/dom/element.c:1.59 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/element.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: element.c,v 1.59 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: element.c,v 1.60 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute, 0, 0, 1) @@ -146,7 +145,7 @@ * Since: */ -const zend_function_entry php_dom_element_class_functions[] = { +const zend_function_entry php_dom_element_class_functions[] = { /* {{{ */ PHP_FALIAS(getAttribute, dom_element_get_attribute, arginfo_dom_element_get_attribute) PHP_FALIAS(setAttribute, dom_element_set_attribute, arginfo_dom_element_set_attribute) PHP_FALIAS(removeAttribute, dom_element_remove_attribute, arginfo_dom_element_remove_attribute) @@ -168,6 +167,7 @@ PHP_ME(domelement, __construct, arginfo_dom_element_construct, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; +/* }}} */ /* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]) U */ PHP_METHOD(domelement, __construct) @@ -283,8 +283,6 @@ /* }}} */ - - /* {{{ schemaTypeInfo typeinfo readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Element-schemaTypeInfo @@ -299,7 +297,8 @@ /* }}} */ -static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) { +static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) /* {{{ */ +{ int len; const xmlChar *nqname; @@ -339,6 +338,7 @@ } return (xmlNodePtr)xmlHasNsProp(elem, name, NULL); } +/* }}} */ /* {{{ proto string dom_element_get_attribute(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9 @@ -383,7 +383,6 @@ } /* }}} end dom_element_get_attribute */ - /* {{{ proto void dom_element_set_attribute(string name, string value) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082 Since: @@ -450,7 +449,6 @@ } /* }}} end dom_element_set_attribute */ - /* {{{ proto void dom_element_remove_attribute(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9 Since: @@ -499,7 +497,6 @@ } /* }}} end dom_element_remove_attribute */ - /* {{{ proto DOMAttr dom_element_get_attribute_node(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8 Since: @@ -546,7 +543,6 @@ } /* }}} end dom_element_get_attribute_node */ - /* {{{ proto DOMAttr dom_element_set_attribute_node(DOMAttr newAttr) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154 Since: @@ -613,7 +609,6 @@ } /* }}} end dom_element_set_attribute_node */ - /* {{{ proto DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198 Since: @@ -651,7 +646,6 @@ } /* }}} end dom_element_remove_attribute_node */ - /* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D Since: @@ -678,7 +672,6 @@ } /* }}} end dom_element_get_elements_by_tag_name */ - /* {{{ proto string dom_element_get_attribute_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS Since: DOM Level 2 @@ -720,7 +713,8 @@ } /* }}} end dom_element_get_attribute_ns */ -static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) { +static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) /* {{{ */ +{ xmlNsPtr def; xmlChar prefix[50]; int counter = 1; @@ -756,6 +750,7 @@ def = xmlNewNs(tree, ns->href, prefix); return(def); } +/* }}} */ /* {{{ proto void dom_element_set_attribute_ns(string namespaceURI, string qualifiedName, string value) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS @@ -874,7 +869,6 @@ } /* }}} end dom_element_set_attribute_ns */ - /* {{{ proto void dom_element_remove_attribute_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS Since: DOM Level 2 @@ -932,7 +926,6 @@ } /* }}} end dom_element_remove_attribute_ns */ - /* {{{ proto DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS Since: DOM Level 2 @@ -963,7 +956,6 @@ } /* }}} end dom_element_get_attribute_node_ns */ - /* {{{ proto DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS Since: DOM Level 2 @@ -1037,8 +1029,6 @@ } /* }}} end dom_element_set_attribute_node_ns */ - - /* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942 Since: DOM Level 2 @@ -1067,7 +1057,6 @@ } /* }}} end dom_element_get_elements_by_tag_name_ns */ - /* {{{ proto boolean dom_element_has_attribute(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr Since: DOM Level 2 @@ -1096,7 +1085,6 @@ } /* }}} end dom_element_has_attribute */ - /* {{{ proto boolean dom_element_has_attribute_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS Since: DOM Level 2 @@ -1135,8 +1123,7 @@ } /* }}} end dom_element_has_attribute_ns */ - -static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id) +static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id) /* {{{ */ { if (is_id == 1 && attrp->atype != XML_ATTRIBUTE_ID) { xmlChar *id_val; @@ -1153,6 +1140,7 @@ } } } +/* }}} */ /* {{{ proto void dom_element_set_id_attribute(string name, boolean isId) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr @@ -1190,7 +1178,6 @@ } /* }}} end dom_element_set_id_attribute */ - /* {{{ proto void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS Since: DOM Level 3 @@ -1227,7 +1214,6 @@ } /* }}} end dom_element_set_id_attribute_ns */ - /* {{{ proto void dom_element_set_id_attribute_node(attr idAttr, boolean isId) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode Since: DOM Level 3 @@ -1264,3 +1250,12 @@ /* }}} end dom_element_set_id_attribute_node */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/entity.c?r1=1.14&r2=1.15&diff_format=u Index: php-src/ext/dom/entity.c diff -u php-src/ext/dom/entity.c:1.14 php-src/ext/dom/entity.c:1.15 --- php-src/ext/dom/entity.c:1.14 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/entity.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: entity.c,v 1.14 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: entity.c,v 1.15 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -67,8 +67,6 @@ /* }}} */ - - /* {{{ systemId string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-D7C29F3E @@ -97,8 +95,6 @@ /* }}} */ - - /* {{{ notationName string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-6ABAEB38 @@ -130,8 +126,6 @@ /* }}} */ - - /* {{{ actualEncoding string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-actualEncoding @@ -151,8 +145,6 @@ /* }}} */ - - /* {{{ encoding string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-encoding @@ -172,8 +164,6 @@ /* }}} */ - - /* {{{ version string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-version @@ -194,3 +184,12 @@ /* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/entityreference.c?r1=1.23&r2=1.24&diff_format=u Index: php-src/ext/dom/entityreference.c diff -u php-src/ext/dom/entityreference.c:1.23 php-src/ext/dom/entityreference.c:1.24 --- php-src/ext/dom/entityreference.c:1.23 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/entityreference.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: entityreference.c,v 1.23 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: entityreference.c,v 1.24 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_entityreference_construct, 0, 0, 1) @@ -86,6 +85,15 @@ php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); } } - /* }}} end DOMEntityReference::__construct */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/namednodemap.c?r1=1.25&r2=1.26&diff_format=u Index: php-src/ext/dom/namednodemap.c diff -u php-src/ext/dom/namednodemap.c:1.25 php-src/ext/dom/namednodemap.c:1.26 --- php-src/ext/dom/namednodemap.c:1.25 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/namednodemap.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: namednodemap.c,v 1.25 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: namednodemap.c,v 1.26 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_get_named_item, 0, 0, 1) @@ -74,7 +73,7 @@ * Since: */ -const zend_function_entry php_dom_namednodemap_class_functions[] = { +const zend_function_entry php_dom_namednodemap_class_functions[] = { /* {{{ */ PHP_FALIAS(getNamedItem, dom_namednodemap_get_named_item, arginfo_dom_namednodemap_get_named_item) PHP_FALIAS(setNamedItem, dom_namednodemap_set_named_item, arginfo_dom_namednodemap_set_named_item) PHP_FALIAS(removeNamedItem, dom_namednodemap_remove_named_item, arginfo_dom_namednodemap_remove_named_item) @@ -84,6 +83,7 @@ PHP_FALIAS(removeNamedItemNS, dom_namednodemap_remove_named_item_ns, arginfo_dom_namednodemap_remove_named_item_ns) {NULL, NULL, NULL} }; +/* }}} */ /* {{{ length int readonly=yes @@ -127,9 +127,6 @@ /* }}} */ - - - /* {{{ proto DOMNode dom_namednodemap_get_named_item(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549 Since: @@ -184,7 +181,6 @@ } /* }}} end dom_namednodemap_get_named_item */ - /* {{{ proto DOMNode dom_namednodemap_set_named_item(DOMNode arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788 Since: @@ -195,7 +191,6 @@ } /* }}} end dom_namednodemap_set_named_item */ - /* {{{ proto DOMNode dom_namednodemap_remove_named_item(string name) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193 Since: @@ -206,7 +201,6 @@ } /* }}} end dom_namednodemap_remove_named_item */ - /* {{{ proto DOMNode dom_namednodemap_item(int index) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9 Since: @@ -265,7 +259,6 @@ } /* }}} end dom_namednodemap_item */ - /* {{{ proto DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS Since: DOM Level 2 @@ -320,7 +313,6 @@ } /* }}} end dom_namednodemap_get_named_item_ns */ - /* {{{ proto DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS Since: DOM Level 2 @@ -331,7 +323,6 @@ } /* }}} end dom_namednodemap_set_named_item_ns */ - /* {{{ proto DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI, string localName) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS Since: DOM Level 2 @@ -341,4 +332,14 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_namednodemap_remove_named_item_ns */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/namelist.c?r1=1.13&r2=1.14&diff_format=u Index: php-src/ext/dom/namelist.c diff -u php-src/ext/dom/namelist.c:1.13 php-src/ext/dom/namelist.c:1.14 --- php-src/ext/dom/namelist.c:1.13 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/namelist.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: namelist.c,v 1.13 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: namelist.c,v 1.14 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namelist_get_name, 0, 0, 1) @@ -67,9 +66,6 @@ /* }}} */ - - - /* {{{ proto string dom_namelist_get_name(int index) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName Since: @@ -80,7 +76,6 @@ } /* }}} end dom_namelist_get_name */ - /* {{{ proto string dom_namelist_get_namespace_uri(int index) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI Since: @@ -90,4 +85,14 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_namelist_get_namespace_uri */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/node.c?r1=1.61&r2=1.62&diff_format=u Index: php-src/ext/dom/node.c diff -u php-src/ext/dom/node.c:1.61 php-src/ext/dom/node.c:1.62 --- php-src/ext/dom/node.c:1.61 Wed Jan 30 06:48:02 2008 +++ php-src/ext/dom/node.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: node.c,v 1.61 2008/01/30 06:48:02 sebastian Exp $ */ +/* $Id: node.c,v 1.62 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -150,7 +150,7 @@ * Since: */ -const zend_function_entry php_dom_node_class_functions[] = { +const zend_function_entry php_dom_node_class_functions[] = { /* {{{ */ PHP_FALIAS(insertBefore, dom_node_insert_before, arginfo_dom_node_insert_before) PHP_FALIAS(replaceChild, dom_node_replace_child, arginfo_dom_node_replace_child) PHP_FALIAS(removeChild, dom_node_remove_child, arginfo_dom_node_remove_child) @@ -174,8 +174,10 @@ PHP_ME(domnode, C14NFile, arginfo_dom_node_C14NFile, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; +/* }}} */ -static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) { +static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */ +{ xmlNsPtr nsptr; if (nodep->type == XML_ELEMENT_NODE) { @@ -190,6 +192,7 @@ xmlReconciliateNs(doc, nodep); } } +/* }}} */ /* {{{ nodeName string readonly=yes @@ -281,8 +284,6 @@ /* }}} */ - - /* {{{ nodeValue string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68D080 @@ -377,8 +378,6 @@ /* }}} */ - - /* {{{ nodeType int readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-111237558 @@ -409,8 +408,6 @@ /* }}} */ - - /* {{{ parentNode DomNode readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1060184317 @@ -444,8 +441,6 @@ /* }}} */ - - /* {{{ childNodes DomNodeList readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1451460987 @@ -478,8 +473,6 @@ /* }}} */ - - /* {{{ firstChild DomNode readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-169727388 @@ -516,8 +509,6 @@ /* }}} */ - - /* {{{ lastChild DomNode readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-61AD09FB @@ -554,8 +545,6 @@ /* }}} */ - - /* {{{ previousSibling DomNode readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-640FB3C8 @@ -589,8 +578,6 @@ /* }}} */ - - /* {{{ nextSibling DomNode readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6AC54C2F @@ -624,8 +611,6 @@ /* }}} */ - - /* {{{ attributes DomNamedNodeMap readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-84CF096 @@ -658,8 +643,6 @@ /* }}} */ - - /* {{{ ownerDocument DomDocument readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-node-ownerDoc @@ -700,8 +683,6 @@ /* }}} */ - - /* {{{ namespaceUri string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSname @@ -745,8 +726,6 @@ /* }}} */ - - /* {{{ prefix string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSPrefix @@ -869,8 +848,6 @@ /* }}} */ - - /* {{{ localName string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSLocalN @@ -900,8 +877,6 @@ /* }}} */ - - /* {{{ baseURI string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-baseURI @@ -934,8 +909,6 @@ /* }}} */ - - /* {{{ textContent string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-textContent @@ -974,10 +947,7 @@ /* }}} */ - -static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, - xmlNodePtr nextsib, xmlNodePtr fragment, - dom_object *intern, dom_object *childobj TSRMLS_DC) +static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *intern, dom_object *childobj TSRMLS_DC) /* {{{ */ { xmlNodePtr newchild, node; @@ -1020,6 +990,7 @@ return newchild; } +/* }}} */ /* {{{ proto domnode dom_node_insert_before(DomNode newChild, DomNode refChild) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727 @@ -1182,7 +1153,6 @@ } /* }}} end dom_node_insert_before */ - /* {{{ proto DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307 Since: @@ -1274,7 +1244,6 @@ } /* }}} end dom_node_replace_child */ - /* {{{ proto DomNode dom_node_remove_child(DomNode oldChild) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066 Since: @@ -1327,7 +1296,6 @@ } /* }}} end dom_node_remove_child */ - /* {{{ proto DomNode dom_node_append_child(DomNode newChild) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107 Since: @@ -1429,7 +1397,6 @@ } /* }}} end dom_node_append_child */ - /* {{{ proto boolean dom_node_has_child_nodes() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187 Since: @@ -1458,7 +1425,6 @@ } /* }}} end dom_node_has_child_nodes */ - /* {{{ proto DomNode dom_node_clone_node(boolean deep) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4 Since: @@ -1521,8 +1487,6 @@ } /* }}} end dom_node_clone_node */ - - /* {{{ proto void dom_node_normalize() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize Since: @@ -1544,7 +1508,6 @@ } /* }}} end dom_node_normalize */ - /* {{{ proto boolean dom_node_is_supported(string feature, string version); URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports Since: DOM Level 2 @@ -1567,7 +1530,6 @@ } /* }}} end dom_node_is_supported */ - /* {{{ proto boolean dom_node_has_attributes() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs Since: DOM Level 2 @@ -1605,7 +1567,6 @@ } /* }}} end dom_node_compare_document_position */ - /* {{{ proto boolean dom_node_is_same_node(DomNode other) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode Since: DOM Level 3 @@ -1632,7 +1593,6 @@ } /* }}} end dom_node_is_same_node */ - /* {{{ proto string dom_node_lookup_prefix(string namespaceURI) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix Since: DOM Level 3 @@ -1684,7 +1644,6 @@ } /* }}} end dom_node_lookup_prefix */ - /* {{{ proto boolean dom_node_is_default_namespace(string namespaceURI) U URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace Since: DOM Level 3 @@ -1718,7 +1677,6 @@ } /* }}} end dom_node_is_default_namespace */ - /* {{{ proto string dom_node_lookup_namespace_uri(string prefix) U URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI Since: DOM Level 3 @@ -1754,7 +1712,6 @@ } /* }}} end dom_node_lookup_namespace_uri */ - /* {{{ proto boolean dom_node_is_equal_node(DomNode arg) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode Since: DOM Level 3 @@ -1765,7 +1722,6 @@ } /* }}} end dom_node_is_equal_node */ - /* {{{ proto DomNode dom_node_get_feature(string feature, string version) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature Since: DOM Level 3 @@ -1776,7 +1732,6 @@ } /* }}} end dom_node_get_feature */ - /* {{{ proto DomUserData dom_node_set_user_data(string key, DomUserData data, userdatahandler handler) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData Since: DOM Level 3 @@ -1787,7 +1742,6 @@ } /* }}} end dom_node_set_user_data */ - /* {{{ proto DomUserData dom_node_get_user_data(string key) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData Since: DOM Level 3 @@ -1798,8 +1752,7 @@ } /* }}} end dom_node_get_user_data */ - -static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode) +static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ { zval *id; zval *xpath_array=NULL, *ns_prefixes=NULL; @@ -2043,6 +1996,7 @@ } } } +/* }}} */ /* {{{ proto string DOMNode::C14N([bool exclusive [, bool with_comments [, array xpath [, array ns_prefixes]]]]) U Canonicalize nodes to a string */ @@ -2050,6 +2004,7 @@ { dom_canonicalization(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } +/* }}} */ /* {{{ proto int DOMNode::C14NFile(string uri [, bool exclusive [, bool with_comments [, array xpath [, array ns_prefixes]]]]) U Canonicalize nodes to a file */ @@ -2057,8 +2012,7 @@ { dom_canonicalization(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); } - -#endif +/* }}} */ /* {{{ proto int DOMNode::getNodePath() U Gets an xpath for a node */ @@ -2070,8 +2024,6 @@ dom_object *intern; char *value; - - DOM_GET_THIS_OBJ(nodep, id, xmlNodePtr, intern); value = (char *)xmlGetNodePath(nodep); @@ -2081,7 +2033,16 @@ RETVAL_XML_STRING(value, ZSTR_DUPLICATE); xmlFree(value); } - - } +/* }}} */ + +#endif +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/nodelist.c?r1=1.27&r2=1.28&diff_format=u Index: php-src/ext/dom/nodelist.c diff -u php-src/ext/dom/nodelist.c:1.27 php-src/ext/dom/nodelist.c:1.28 --- php-src/ext/dom/nodelist.c:1.27 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/nodelist.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: nodelist.c,v 1.27 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: nodelist.c,v 1.28 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -99,7 +99,6 @@ /* }}} */ - /* {{{ proto DOMNode dom_nodelist_item(int index) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136 Since: @@ -173,4 +172,14 @@ RETVAL_NULL(); } /* }}} end dom_nodelist_item */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/notation.c?r1=1.15&r2=1.16&diff_format=u Index: php-src/ext/dom/notation.c diff -u php-src/ext/dom/notation.c:1.15 php-src/ext/dom/notation.c:1.16 --- php-src/ext/dom/notation.c:1.15 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/notation.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: notation.c,v 1.15 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: notation.c,v 1.16 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* * class DOMNotation extends DOMNode * @@ -69,8 +68,6 @@ /* }}} */ - - /* {{{ systemId string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-E8AAB1D0 @@ -99,4 +96,15 @@ /* }}} */ +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.c?r1=1.109&r2=1.110&diff_format=u Index: php-src/ext/dom/php_dom.c diff -u php-src/ext/dom/php_dom.c:1.109 php-src/ext/dom/php_dom.c:1.110 --- php-src/ext/dom/php_dom.c:1.109 Fri Jun 27 19:17:29 2008 +++ php-src/ext/dom/php_dom.c Thu Aug 14 08:38:37 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.c,v 1.109 2008/06/27 19:17:29 felipe Exp $ */ +/* $Id: php_dom.c,v 1.110 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -34,6 +34,7 @@ #define PHP_XPATH 1 #define PHP_XPTR 2 +/* {{{ class entries */ zend_class_entry *dom_node_class_entry; zend_class_entry *dom_domexception_class_entry; zend_class_entry *dom_domstringlist_class_entry; @@ -519,6 +520,7 @@ #ifdef COMPILE_DL_DOM ZEND_GET_MODULE(dom) #endif +/* }}} */ static void dom_prop_handlers_dtor(HashTable *ht) { @@ -890,7 +892,7 @@ } /* }}} */ -PHP_MSHUTDOWN_FUNCTION(dom) +PHP_MSHUTDOWN_FUNCTION(dom) /* {{{ */ { zend_hash_destroy(&classes); @@ -901,6 +903,7 @@ return SUCCESS; } +/* }}} */ /* {{{ node_list_unlink */ void node_list_unlink(xmlNodePtr node TSRMLS_DC) @@ -986,7 +989,7 @@ } /* }}} */ -void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) +void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) /* {{{ */ { dom_nnodemap_object *mapptr; zval *baseobj = NULL; @@ -1008,8 +1011,9 @@ mapptr->ns = ns; } +/* }}} */ -static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_DC) +static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_DC) /* {{{ */ { zend_class_entry *base_class; zval *tmp; @@ -1039,6 +1043,8 @@ return intern; } +/* }}} */ +/* }}} */ /* {{{ dom_objects_clone */ void dom_objects_clone(void *object, void **object_clone TSRMLS_DC) @@ -1110,7 +1116,7 @@ /* }}} */ #endif -static void dom_nnodemap_object_dtor(void *object, zend_object_handle handle TSRMLS_DC) +static void dom_nnodemap_object_dtor(void *object, zend_object_handle handle TSRMLS_DC) /* {{{ */ { zval *baseobj; dom_object *intern; @@ -1136,8 +1142,10 @@ } +/* }}} */ +/* }}} */ -void dom_nnodemap_objects_free_storage(void *object TSRMLS_DC) +void dom_nnodemap_objects_free_storage(void *object TSRMLS_DC) /* {{{ */ { dom_object *intern = (dom_object *)object; @@ -1147,8 +1155,9 @@ efree(object); } +/* }}} */ -zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC) +zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ { zend_object_value retval; dom_object *intern; @@ -1170,8 +1179,9 @@ return retval; } +/* }}} */ -void php_dom_create_interator(zval *return_value, int ce_type TSRMLS_DC) +void php_dom_create_interator(zval *return_value, int ce_type TSRMLS_DC) /* {{{ */ { zend_class_entry *ce; @@ -1183,6 +1193,7 @@ object_init_ex(return_value, ce); } +/* }}} */ /* {{{ php_dom_create_object */ PHP_DOM_EXPORT zval *php_dom_create_object(xmlNodePtr obj, int *found, zval *wrapper_in, zval *return_value, dom_object *domobj TSRMLS_DC) @@ -1304,8 +1315,8 @@ } /* }}} end php_domobject_new */ - -void php_dom_create_implementation(zval **retval TSRMLS_DC) { +void php_dom_create_implementation(zval **retval TSRMLS_DC) +{ object_init_ex(*retval, dom_domimplementation_class_entry); } @@ -1345,7 +1356,7 @@ } /* }}} end dom_has_feature */ -xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) +xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ { xmlNodePtr ret = NULL; @@ -1369,8 +1380,7 @@ } return ret; } -/* }}} end dom_element_get_elements_by_tag_name_ns_raw */ - +/* }}} */ /* {{{ void dom_normalize (xmlNodePtr nodep TSRMLS_DC) */ void dom_normalize (xmlNodePtr nodep TSRMLS_DC) @@ -1417,7 +1427,6 @@ } /* }}} end dom_normalize */ - /* {{{ void dom_set_old_ns(xmlDoc *doc, xmlNs *ns) */ void dom_set_old_ns(xmlDoc *doc, xmlNs *ns) { xmlNs *cur; @@ -1479,7 +1488,7 @@ return 0; } - +/* }}} */ /* http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-DocCrElNS http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.h?r1=1.37&r2=1.38&diff_format=u Index: php-src/ext/dom/php_dom.h diff -u php-src/ext/dom/php_dom.h:1.37 php-src/ext/dom/php_dom.h:1.38 --- php-src/ext/dom/php_dom.h:1.37 Thu Feb 28 14:16:12 2008 +++ php-src/ext/dom/php_dom.h Thu Aug 14 08:38:37 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.h,v 1.37 2008/02/28 14:16:12 felipe Exp $ */ +/* $Id: php_dom.h,v 1.38 2008/08/14 08:38:37 tony2001 Exp $ */ #ifndef PHP_DOM_H #define PHP_DOM_H @@ -154,3 +154,12 @@ PHP_MINFO_FUNCTION(dom); #endif /* PHP_DOM_H */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/processinginstruction.c?r1=1.28&r2=1.29&diff_format=u Index: php-src/ext/dom/processinginstruction.c diff -u php-src/ext/dom/processinginstruction.c:1.28 php-src/ext/dom/processinginstruction.c:1.29 --- php-src/ext/dom/processinginstruction.c:1.28 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/processinginstruction.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: processinginstruction.c,v 1.28 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: processinginstruction.c,v 1.29 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_processinginstruction_construct, 0, 0, 1) @@ -113,8 +112,6 @@ /* }}} */ - - /* {{{ data string readonly=no URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-837822393 @@ -178,3 +175,12 @@ /* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/string_extend.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/string_extend.c diff -u php-src/ext/dom/string_extend.c:1.11 php-src/ext/dom/string_extend.c:1.12 --- php-src/ext/dom/string_extend.c:1.11 Mon Feb 4 15:22:40 2008 +++ php-src/ext/dom/string_extend.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string_extend.c,v 1.11 2008/02/04 15:22:40 sebastian Exp $ */ +/* $Id: string_extend.c,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* {{{ arginfo */ static ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset16, 0, 0, 1) @@ -76,4 +75,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_string_extend_find_offset32 */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/text.c?r1=1.37&r2=1.38&diff_format=u Index: php-src/ext/dom/text.c diff -u php-src/ext/dom/text.c:1.37 php-src/ext/dom/text.c:1.38 --- php-src/ext/dom/text.c:1.37 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/text.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: text.c,v 1.37 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: text.c,v 1.38 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -141,7 +141,6 @@ /* }}} */ - /* {{{ proto DOMText dom_text_split_text(int offset) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D Since: @@ -204,7 +203,6 @@ } /* }}} end dom_text_split_text */ - /* {{{ proto boolean dom_text_is_whitespace_in_element_content() U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent Since: DOM Level 3 @@ -228,7 +226,6 @@ } /* }}} end dom_text_is_whitespace_in_element_content */ - /* {{{ proto DOMText dom_text_replace_whole_text(string content) U URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText Since: DOM Level 3 @@ -238,4 +235,14 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_text_replace_whole_text */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/typeinfo.c?r1=1.10&r2=1.11&diff_format=u Index: php-src/ext/dom/typeinfo.c diff -u php-src/ext/dom/typeinfo.c:1.10 php-src/ext/dom/typeinfo.c:1.11 --- php-src/ext/dom/typeinfo.c:1.10 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/typeinfo.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: typeinfo.c,v 1.10 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: typeinfo.c,v 1.11 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* * class domtypeinfo * @@ -55,8 +54,6 @@ /* }}} */ - - /* {{{ type_namespace string readonly=yes URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#TypeInfo-typeNamespace @@ -71,4 +68,15 @@ /* }}} */ +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/userdatahandler.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/dom/userdatahandler.c diff -u php-src/ext/dom/userdatahandler.c:1.11 php-src/ext/dom/userdatahandler.c:1.12 --- php-src/ext/dom/userdatahandler.c:1.11 Mon Dec 31 07:12:09 2007 +++ php-src/ext/dom/userdatahandler.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: userdatahandler.c,v 1.11 2007/12/31 07:12:09 sebastian Exp $ */ +/* $Id: userdatahandler.c,v 1.12 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -27,7 +27,6 @@ #if HAVE_LIBXML && HAVE_DOM #include "php_dom.h" - /* * class domuserdatahandler * @@ -52,4 +51,16 @@ DOM_NOT_IMPLEMENTED(); } /* }}} end dom_userdatahandler_handle */ + +/* }}} */ + #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/xml_common.h?r1=1.29&r2=1.30&diff_format=u Index: php-src/ext/dom/xml_common.h diff -u php-src/ext/dom/xml_common.h:1.29 php-src/ext/dom/xml_common.h:1.30 --- php-src/ext/dom/xml_common.h:1.29 Wed Jan 30 09:56:21 2008 +++ php-src/ext/dom/xml_common.h Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xml_common.h,v 1.29 2008/01/30 09:56:21 dmitry Exp $ */ +/* $Id: xml_common.h,v 1.30 2008/08/14 08:38:37 tony2001 Exp $ */ #ifndef PHP_XML_COMMON_H #define PHP_XML_COMMON_H @@ -95,3 +95,12 @@ DOM_GET_OBJ(__ptr, __id, __prtype, __intern); #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */ http://cvs.php.net/viewvc.cgi/php-src/ext/dom/xpath.c?r1=1.39&r2=1.40&diff_format=u Index: php-src/ext/dom/xpath.c diff -u php-src/ext/dom/xpath.c:1.39 php-src/ext/dom/xpath.c:1.40 --- php-src/ext/dom/xpath.c:1.39 Fri Aug 8 22:06:42 2008 +++ php-src/ext/dom/xpath.c Thu Aug 14 08:38:37 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xpath.c,v 1.39 2008/08/08 22:06:42 colder Exp $ */ +/* $Id: xpath.c,v 1.40 2008/08/14 08:38:37 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -75,7 +75,7 @@ }; -static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int type) +static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int type) /* {{{ */ { zval **args; zval *retval; @@ -256,16 +256,19 @@ efree(fci.params); } } +/* }}} */ -static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) +static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ { dom_xpath_ext_function_php(ctxt, nargs, 1); } +/* }}} */ -static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) +static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ { dom_xpath_ext_function_php(ctxt, nargs, 2); } +/* }}} */ /* {{{ proto void DOMXPath::__construct(DOMDocument doc) U */ PHP_METHOD(domxpath, __construct) @@ -334,6 +337,7 @@ } return SUCCESS; } +/* }}} */ /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri) U */ PHP_FUNCTION(dom_xpath_register_ns) @@ -361,8 +365,9 @@ } RETURN_TRUE; } +/* }}} */ -static void dom_xpath_iter(zval *baseobj, dom_object *intern) +static void dom_xpath_iter(zval *baseobj, dom_object *intern) /* {{{ */ { dom_nnodemap_object *mapptr; @@ -371,8 +376,10 @@ mapptr->nodetype = DOM_NODESET; } +/* }}} */ -static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) { +static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */ +{ zval *id, *retval, *context = NULL; xmlXPathContextPtr ctxp; xmlNodePtr nodep = NULL; @@ -513,6 +520,7 @@ xmlXPathFreeObject(xpathobjp); } +/* }}} */ /* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context]) U */ PHP_FUNCTION(dom_xpath_query) @@ -572,5 +580,13 @@ #endif /* LIBXML_XPATH_ENABLED */ -/* }}} */ #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */
« previous php.cvs (#52309) next »