Commit Graph

314 Commits

Author SHA1 Message Date
Rob Richards
7c91532eac MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:48:10 +00:00
Felipe Pena
2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Rasmus Lerdorf
3be17e4f66 count() before and after a simplexml array cast should be the same 2008-02-28 17:38:04 +00:00
Rob Richards
d1459b8554 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:58:57 +00:00
Dmitry Stogov
58433c9b11 Fixed bug #43918 (Segmentation fault in garbage collector) 2008-01-29 09:59:42 +00:00
Antony Dovgal
d008f576b0 use expectF 2008-01-23 09:55:53 +00:00
Antony Dovgal
ff183efe61 fix test 2008-01-23 09:54:38 +00:00
Antony Dovgal
a5505302e4 fix leak appearing when appending data to unnamed attribute 2008-01-23 09:52:57 +00:00
Marcus Boerger
10a0f20652 - MFH Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus) 2008-01-22 20:42:22 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Antony Dovgal
f5b1ee4b2b MFH: fix folding 2007-11-30 13:15:59 +00:00
Rob Richards
5d10360d5a MFH: fix bug #43221 (SimpleXML adding default namespace in addAttribute)
add test
2007-11-12 18:58:48 +00:00
Marcus Boerger
8ce1211a62 - MFH debug object helper 2007-10-11 01:03: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
e0a2d149f5 MFH: fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults) 2007-07-31 15:40:49 +00:00
Rob Richards
ce582024a5 MFH: fix possible crash 2007-07-31 15:07:54 +00:00
Rob Richards
796d9cd783 fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces
add test
2007-07-10 12:24:51 +00:00
Sara Golemon
1ac512f547 MFH (r-1.240)
Fix behavior of empty($sxe->element) and empty($sxe['prop'])
when used on empty elements properties (apply PHP emptiness rules)
2007-07-04 05:05:57 +00:00
Rob Richards
d6756845e8 fix bug #41861 (getNamespaces() returns namespaces of node's siblings)
add test
2007-07-03 14:55:53 +00:00
Rob Richards
4938221a36 fix bug #41867 (getName is broken)
add test
2007-07-02 11:35:18 +00:00
Nuno Lopes
7f47814c4e fix memleak in sxe_prop_dim_read()
#found by coverity
2007-06-24 11:41:12 +00:00
Dmitry Stogov
f018ec9024 Fixed wrong fix for bug #41582 2007-06-13 13:38:26 +00:00
Johannes Schlüter
62849e3fee - MFH: Fix test 2007-06-12 17:24:38 +00:00
Antony Dovgal
5d8ae45309 MFH: fix #41582 (SimpleXML crashes when accessing newly created element) 2007-06-05 10:03:12 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
af7a7a4e36 Fixed error message to reflect the check 2007-04-24 14:11:28 +00:00
Ilia Alshanetsky
bc9f8f582c Fixed bug #41175 (addAttribute() fails to add an attribute with an empty
value).
2007-04-24 13:54:59 +00:00
Rob Richards
b7c2eb3228 fix bug #37386 (autocreating element doesn't assign value to first node)
all single SimpleXMLElements are addressable using offset 0
use correct node for xpath context node
add test
2007-03-26 20:14:58 +00:00
Antony Dovgal
180baf0109 MFH: fix leak and errmsg
add test
2007-02-20 14:08:43 +00:00
Antony Dovgal
e7544f28b8 MFH: fix #38406 (crash when assigning objects to SimpleXML attributes) 2007-02-20 13:22:41 +00:00
Antony Dovgal
2c31b1e194 fix #40451 (addAttribute() may crash when used with non-existent child node) 2007-02-12 21:06:29 +00:00
Dmitry Stogov
7c750656f1 Fixed tests 2007-01-10 16:00:31 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Rob Richards
604f18c20d fix bug #39760 (cloning fails on nested SimpleXML-Object)
add test
2006-12-30 15:41:17 +00:00
Rob Richards
4991dba418 fix tests 2006-12-08 17:55:58 +00:00
Antony Dovgal
4cc29fef5c MFH 2006-11-29 22:53:26 +00:00
Rob Richards
d5d1801df7 correct fix for bug #39662 to fix leak and tree corruption
fix test
2006-11-29 08:51:36 +00:00
Antony Dovgal
d55eb93c94 MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) 2006-11-28 18:59:53 +00:00
Antony Dovgal
20fc2d4274 improve SKIPIF condition 2006-10-09 13:20:46 +00:00
Nuno Lopes
b772a83282 fix one more parameter (int*->int) 2006-09-06 15:31:48 +00:00
Rob Richards
a0c941aad1 fix bug #38424 (Different attribute assignment if new or existing)
add test
2006-08-14 11:57:50 +00:00
Rob Richards
ee82fb781a should be RETURN_ not RETVAL_ 2006-08-07 10:15:12 +00:00
Rob Richards
65ae8773b5 asXML() needs to return bool when serializing doc and filename is passed in
do not copy the content of the outputbuffer twice in asXML()
fix compiler warnings
2006-08-07 10:09:52 +00:00
Antony Dovgal
b9b1984646 fix test 2006-08-06 20:17:51 +00:00
Antony Dovgal
1a58ec5156 add test 2006-08-06 20:10:19 +00:00
Christian Stocker
42982ac3a1 Fix #38354 (Unwanted reformatting of XML when using AsXML) 2006-08-06 19:38:45 +00:00
Antony Dovgal
07b5c8fe2a MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) 2006-08-06 17:41:51 +00:00
Antony Dovgal
218aa04f79 avoid extra strlen() call 2006-08-06 13:27:46 +00:00