Commit Graph

58 Commits

Author SHA1 Message Date
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Rob Richards
45d4f66b24 MFB: 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:32:19 +00:00
Rob Richards
339785c431 fix bug #40836 (Segfault in ext/dom)
add test
2007-03-18 21:29:20 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Rob Richards
95accd75bb mark more functions unicode safe
add tests
2006-12-08 16:28:33 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Rob Richards
49d8ec82fe MFB: implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:56:25 +00:00
Antony Dovgal
dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Antony Dovgal
f1a098cbdc fix types, add missing parentheses 2006-08-07 20:22:33 +00:00
Rob Richards
f85e695409 add unicode support
update test
2006-08-04 18:11:27 +00:00
Christian Stocker
1f4cce3e0f MFB
improved code (after suggestion by helly)
2006-07-16 16:04:35 +00:00
Christian Stocker
812887cedb Added DOMNode::getNodePath() for getting an XPath for a node.
(MFB)
2006-07-16 15:05:32 +00:00
Rob Richards
d178e8d3e4 add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:22:06 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Rob Richards
b8ded17f81 fix possible crash in textContent 2006-01-25 17:33:24 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Antony Dovgal
9e23794cb8 MFB: fix typo 2005-12-18 21:17:42 +00:00
Dmitry Stogov
21c1109e0c Unicode support 2005-08-12 11:29:33 +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