1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Commit Graph

366 Commits

Author SHA1 Message Date
Christian Stocker 5dc852e734 @- Added domxml_doc_create_document_fragment() and
@    domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
2003-04-05 19:56:41 +00:00
Christian Stocker 630a00dda6 - Added domxml_elem_set_attribute_node() method. (Rob Richards) 2003-04-03 10:21:19 +00:00
Christian Stocker 19771e0433 Patch for Bug #22774 by Rob Richards 2003-04-02 10:31:33 +00:00
Christian Stocker 0cc4b081a3 fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method") 2003-03-20 09:48:19 +00:00
foobar 6638543a72 WS & CS fixes.. 2003-03-20 01:27:40 +00:00
David Hill 5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Stefan Esser af4aa97d1e Fixing functionicalls with variable number of parameters... 2003-03-06 20:31:20 +00:00
Christian Stocker 6804378398 MFB (make it really W3C compatible (unlink node, when in tree...)) 2003-03-04 13:38:38 +00:00
Marcus Boerger 0b2216e03d pass tsrmls instead of fetching it always 2003-02-13 21:41:00 +00:00
Ilia Alshanetsky a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Ilia Alshanetsky 74e34d1657 Changed getParameters() to zend_get_parameters_ex(). 2003-01-14 20:07:52 +00:00
Derick Rethans 2cbcb743d8 - Fix ZTS build 2003-01-13 08:19:50 +00:00
Christian Stocker 9234916fc8 Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node() 2003-01-10 18:07:36 +00:00
Ilia Alshanetsky f7513855b3 Fixed ZTS build with ZE2. 2003-01-07 14:34:41 +00:00
Christian Stocker 413053aa75 - get_path forgotten in .h file
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
2003-01-06 09:59:53 +00:00
Christian Stocker cafc0b2e59 @- Added domxml_node_get_path() (Lukas Schröder)
- Fixed segfault, when trying to add a node to itself.
2003-01-06 08:47:35 +00:00
Sebastian Bergmann b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Frank M. Kromann ad69583ba1 Fixing Win32 build by adding missing libraries 2002-12-20 18:40:31 +00:00
Edin Kadribasic 8eb1791790 MFB: DOM/XSLT support in win32 build (bug #20485). 2002-12-12 10:56:33 +00:00
Christian Stocker bda98029b4 PHP_FALIAS for doc_get_elements_by_tagname got lost 2002-12-09 08:14:15 +00:00
Marcus Boerger 4ce4a1c32c php_error -> php_error_docref 2002-12-05 21:53:25 +00:00
Christian Stocker 3429e3313b fixed big bad memory leak in xpath objects. 2002-11-30 10:38:17 +00:00
Christian Stocker 71235e4140 removed unused variable 2002-11-29 16:31:41 +00:00
Christian Stocker a2ccb29a97 @- Added xpath_register_ns_auto([contextnode]) for automatically registering
@  namespace definitions (chregu)

changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
2002-11-29 11:22:06 +00:00
Christian Stocker eed5b11b5f do some kind of automatic namespace registration in xpath_eval(). This
works only for namespaces defined in the context node (eg docroot if
no second argument is given. If one wants to use namespaces defined
elsewhere or with different prefixes, you still have to use
xpath_ns_register()
2002-11-29 10:24:44 +00:00
Christian Stocker b1dab29214 relative xpath queries are already possible
(use $ctx->xpath_eval($xpath,$contextnode) )
2002-11-29 08:28:53 +00:00
Christian Stocker cac5d670b3 get_element_by_id does not need LIBXML_XPATH support 2002-11-29 07:50:37 +00:00
Christian Stocker 20688a30ab Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work 2002-11-26 15:37:54 +00:00
Frank M. Kromann c77d276997 Adding path to resolv.lib 2002-11-20 18:53:14 +00:00
Marcus Boerger 66ec203e70 Showing memleaks for a memleak test is a good idea 2002-11-15 11:55:57 +00:00
Marcus Boerger b030a7a140 Fix segfaults (check ext/domxml/tests/domxml002.phpt) 2002-11-15 11:06:13 +00:00
Christian Stocker 70b9310d3a fix for bug #20209 (appending text nodes leads to segfaults sometimes) 2002-11-01 10:06:10 +00:00
Christian Stocker 0b8040aa8d fix proto for clone_node 2002-10-31 19:52:45 +00:00
Marcus Boerger 656b3ae8ec that was not good :-(
#failure was in my installation
2002-10-30 17:42:36 +00:00
Marcus Boerger eab2c769d9 added default library path 2002-10-30 14:57:59 +00:00
Christian Stocker 9250827af6 Added 2 more items 2002-10-30 13:14:23 +00:00
Marcus Boerger 84e5746efb fix warnings 2002-10-29 16:57:52 +00:00
Marcus Boerger 402adbbe9d -php_error => php_error_docref
-two warnings
2002-10-29 16:45:19 +00:00
Marcus Boerger cc62badf9d corrected output 2002-10-29 16:09:03 +00:00
Marcus Boerger 2719c54b32 -Use skipif.inc
-split into two tests
-domxml001.phpt should work
-domxml002.phpt contains the part that fails
2002-10-29 16:06:51 +00:00
Marcus Boerger 5c92a61dcb Add simple parsing test 2002-10-29 16:04:42 +00:00
Christian Stocker fe34195288 Patch by Morus Walter, concerning some dtd/entity expanding stuff. 2002-10-28 08:54:30 +00:00
Ilia Alshanetsky e4becf42ed Added an ini option to hide the expected memory leak. This is done for
compatibility with systems where report_memleak is turned off or running
PHP with --disable-debug.
2002-10-24 17:02:44 +00:00
foobar 3be17e3f26 - Prevent resetting the PHP_*_DIR variables if already set. 2002-10-21 02:46:13 +00:00
Sander Roobol 36fd03b578 Typo 2002-10-12 16:16:36 +00:00
Christian Stocker 0e384b473b text and comment nodes do not have children... test was wrong, implementation
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker 820e5b766a node->attributes returns null, if there are no attributes. 2002-10-11 14:00:12 +00:00
Christian Stocker ab40c954fb chregu: Can you please use the new php_error_docref in new code? 2002-09-09 20:32:49 +00:00
Christian Stocker 2375745ab4 Fix for bug 19266 (don't allow appending nodes from 2 different documents) 2002-09-09 20:21:31 +00:00
foobar 3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00