Commit Graph

280 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
ecc1eaa739 Added parameter parsing check to SimpleXMLElement::count() 2010-02-25 17:06:32 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
8fb0baded3 Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Hannes Magnusson
929d82eec4 Fix extension loading order 2009-06-10 14:28:06 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Kalle Sommer Nielsen
f7373da190 Fixed Windows build, declarations first ladies and gentlemen 2009-03-30 14:21:03 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
David Coallier
0050c92c91 - MFB (Fixed Bug #46048: SimpleXML top-level @attributes not in iterator). 2009-02-04 00:07:27 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Rob Richards
ebe5b582aa properly export functions 2008-12-26 20:27:14 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Etienne Kneuss
6e2845f377 Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:36:29 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Rob Richards
a86b196463 fix bug #46323 (compilation of simplexml for NetWare breaks) 2008-10-20 19:28:36 +00:00
Alexey Zakhlestin
818f03d9cd MFB: propagated const, to avoid "discards qualifiers from pointer target type" errors 2008-10-16 11:42:20 +00:00
Rob Richards
5f50350ca9 fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
add test
2008-09-11 14:20:30 +00:00
Rob Richards
da5e36b702 fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:28:20 +00:00
Rob Richards
9068c264be fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:20:35 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Etienne Kneuss
6d0c676a59 Move SXI::count to SXE::count and make it user-friendly 2008-07-09 21:27:10 +00:00
Felipe Pena
a9b4ed2118 - MFB: Added arginfo 2008-06-27 15:47:21 +00:00
Ilia Alshanetsky
b55e780166 MFB:When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:24 +00:00
Etienne Kneuss
d0577693da Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:24 +00:00
Rob Richards
cfb250b84f fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:46:55 +00:00
Rob Richards
96c4eba263 fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:58:09 +00:00
Dmitry Stogov
a2b707fcd7 Fixed bug #43918 (Segmentation fault in garbage collector) 2008-01-29 09:59:53 +00:00
Antony Dovgal
bcd286cfa1 MFH: fix leak appearing when appending data to unnamed attribute 2008-01-23 09:59:42 +00:00
Marcus Boerger
2f1540e162 - Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus) 2008-01-22 20:40:30 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
9cb5054d80 fix folding, move protos to the top of the sources 2007-11-30 13:15:38 +00:00
Rob Richards
62d03825b2 fix bug #43221 (SimpleXML adding default namespace in addAttribute)
add test
2007-11-12 18:58:01 +00:00
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
6d0247ed7c fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults) 2007-07-31 15:39:59 +00:00
Rob Richards
142356ba19 fix possible crash 2007-07-31 15:07:15 +00:00
Rob Richards
8c18516f5a MFB: fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces
add test
2007-07-10 12:26:37 +00:00
Sara Golemon
2f4713a9a9 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:32 +00:00
Rob Richards
7b62431305 MFB: fix bug #41861 (getNamespaces() returns namespaces of node's siblings)
add test
2007-07-03 15:02:40 +00:00
Dmitry Stogov
1a666b7166 Allow unicode XML 2007-07-02 11:53:08 +00:00
Rob Richards
889bc9eab4 MFB: fix bug #41867 (getName is broken)
add test
2007-07-02 11:36:28 +00:00
Dmitry Stogov
85279a4dce Allowed loading XML from unicode strings 2007-06-29 13:58:34 +00:00
Nuno Lopes
643d8671e8 MFB:fix memleak in sxe_prop_dim_read() 2007-06-24 11:43:34 +00:00
Dmitry Stogov
25b9b800b5 Fixed wrong fic for bug #41582 2007-06-13 13:38:59 +00:00
Antony Dovgal
878577579c fix #41582 (SimpleXML crashes when accessing newly created element) 2007-06-05 10:02:02 +00:00
Ilia Alshanetsky
de573ba7ff MFB 2007-05-28 23:14:57 +00:00
Rob Richards
97771fcc74 MFB: 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:16:16 +00:00