Commit Graph

269 Commits

Author SHA1 Message Date
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
Antony Dovgal
f3867ec5e3 fix leak, convert unicode values to string before assigning
change error message to use zend_error() since there is no active function
2007-02-20 14:04:59 +00:00
Antony Dovgal
296f20f657 fix #38406 (crash when assigning objects to SimpleXML attributes) 2007-02-20 13:21:54 +00:00
Antony Dovgal
41e02dad89 MFB: #40451 (addAttribute() may crash when used with non-existent child node) 2007-02-12 21:13:01 +00:00
Marcus Boerger
8d030d1275 - Implement debug helper 2007-01-18 23:23:50 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Rob Richards
4b81343bd3 MFB: fix bug #39760 (cloning fails on nested SimpleXML-Object)
add test
2006-12-30 15:42:24 +00:00
Antony Dovgal
573ff9aaa5 add missing folding marker 2006-11-29 22:53:21 +00:00
Rob Richards
f799b0b19b MFB: correct fix for bug #39662 to fix leak and tree corruption
fix test
2006-11-29 08:52:08 +00:00
Antony Dovgal
d2e03795d9 fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) 2006-11-28 18:57:37 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +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