Commit Graph

54 Commits

Author SHA1 Message Date
Antony Dovgal
e18b1c00b6 MFH: fix ws, cs and folding 2008-08-14 08:39:05 +00:00
Sebastian Bergmann
0c749ab10a MFH: Fix arginfo. 2008-01-30 06:48:13 +00:00
Sebastian Bergmann
8b87b2b12b MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:18 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Rob Richards
24434e7ba2 fix bug #41257 (lookupNamespaceURI does not work as expected)
fix related issue in isDefaultNamespace
add test
reconcile namespaces when setting attribute in a new namespace
2007-05-04 19:30:59 +00:00
Rob Richards
b172d3f8cd MFH: fix bug #40836 (Segfault in ext/dom)
add test
2007-03-18 21:31:05 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Rob Richards
1819e947f9 implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Antony Dovgal
8a3002d933 fix types of the variables 2006-08-07 20:23:35 +00:00
Christian Stocker
2dbcfcb8cb improved code (after suggestion by helly) 2006-07-16 16:04:09 +00:00
Christian Stocker
dc8ba6f475 Added DOMNode::getNodePath() for getting an XPath for a node. 2006-07-16 15:03:53 +00:00
Rob Richards
a7aa62ded1 MFH: add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:23:50 +00:00
Rob Richards
ec605ac2ad fix possible crash in textContent 2006-01-25 17:34:05 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Antony Dovgal
8aedeb8513 tix fypo 2005-12-18 21:17:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rob Richards
022461d976 - correct fix for bug #33059
- fix issue in other methods
2005-05-20 15:01:38 +00:00
Ilia Alshanetsky
8b8940ba84 php_error() -> php_error_docref(). 2005-04-21 21:11:23 +00:00
Rob Richards
334d756ffa Fix bug #32755 Segfault in replaceChild() when DocumentFragment has no children
update test
2005-04-18 23:07:50 +00:00
Rob Richards
5313e98b72 - Fixed bug #32615 (Segfault in replaceChild() using fragment when
previousSibling is NULL)
- add test
2005-04-08 15:58:24 +00:00
Rob Richards
e46e7309f8 Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable) 2005-02-18 11:47:20 +00:00
Rob Richards
b87d8cdfd0 prototype fixes (Jakub Vrána) 2004-11-18 19:54:30 +00:00
Rob Richards
02fa5aa0dc remove cloning under ze1_compatibility_mode
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 15:07:20 +00:00
Rob Richards
e73d498947 Fix bug #28721 (appendChild() and insertBefore() unset DOMText) 2004-06-13 10:12:47 +00:00
Rob Richards
5b0f34ae80 Fix bug #28584: DOMText::splitText() does not split text properly (benjcarson)
Prototype fixes
2004-05-31 12:50:28 +00:00
Zeev Suraski
e54165e406 No meaning for unsigned 2004-05-30 17:34:11 +00:00
Rob Richards
4051591cfe correct implementation of prefix write property 2004-02-18 20:37:30 +00:00
Rob Richards
ec2ea131fb implement clone functionality to fix segfault
DomNode->clone() creates new doc proxy if document is cloned
remove printf from xpath
fix remaining invalid object state issues
2004-02-17 11:13:47 +00:00
Rob Richards
602c786aa9 issue warning if object is in invalid state when dealing with properties 2004-02-16 13:06:33 +00:00
Rob Richards
c1418894dd switch to zend_parse_method_parameters for consistancy
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
2004-02-15 14:05:17 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Rob Richards
c7e945888b fix libxml mem leak 2003-12-27 12:39:10 +00:00
Rob Richards
84b90f639d Fixed bug #26723 (domNode::appendChild() changes child node namespace)
apply fix to insertBefore and replaceChild
2003-12-27 10:29:52 +00:00
Rob Richards
4756b5e05f fix possible mem leak when element has children 2003-12-09 21:56:42 +00:00
Wez Furlong
a35a82ddcd allow assignment to $node->nodeValue to work for more
objects and in situations where the rvalue is not a string.
(Fixes a segfault in that case)
2003-12-09 20:19:44 +00:00
Rob Richards
6fa6d3c470 check node type for ->attributes and ->childNodes 2003-12-02 15:17:02 +00:00
Rob Richards
6ac34646ac implement namednodemap and nodelist
fix xsl/dom integration under windows
update tests and examples
2003-11-29 20:40:18 +00:00
Rob Richards
207dc90924 add interop with simplexml - dom_import_simplexml
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Rob Richards
44164170f3 implement namespace nodes
fix getElementsByTagName
fixes to attribute namespaces
remove safemode stuff as its handled in streams
2003-10-20 15:50:34 +00:00
Shane Caraveo
e12aafca6b fix crash building nodeName 2003-10-05 21:53:08 +00:00
Rob Richards
c21e78ddf2 implement isDefaultNameSpace and baseURI
nodeName and tagName return qualified names
fix removeAttributeNode - takes domAttr as parameter
better uri and file handling for document load method
fix possible segfault when document is freed
set get_property_ptr_ptr handler to NULL
2003-10-05 11:52:22 +00:00
Rob Richards
09481c642b implement stricterrorcheck
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Wez Furlong
21329c5e0c allow building without libxml2 under win32 2003-08-22 15:04:29 +00:00
Rob Richards
43bc2f0b6d reworking xml namespace support
add node lookupNamespaceURI and lookupPrefix
add attr isId
2003-07-27 17:57:06 +00:00
Rob Richards
d75618e780 implement read only exceptions
implement notation nodes
changes for spec conformance
2003-07-12 17:29:20 +00:00
Rob Richards
4cd06845f9 implement node proxies: next phase of interop 2003-07-07 19:37:32 +00:00
Rob Richards
2a02045596 remove code no longer needed
fix format Output property
2003-06-15 19:58:42 +00:00
Rob Richards
5b19e1ec92 add node->isSupported()
add domimplementation->hasFeature()
add formatOutput property (extends DOM)
call xmlFreeDoc when doc is no longer referenced rather than custom code
save and savexml now format based on formatOutput property
2003-06-12 20:02:05 +00:00