Commit Graph

119 Commits

Author SHA1 Message Date
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Antony Dovgal
1359b315fc fix build 2008-12-17 12:03:42 +00:00
Rob Richards
9dea98a842 fix bug #46849 (Cloning DOMDocument doesn't clone the properties)
fix some warnings
add test
2008-12-16 12:51:58 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Rob Richards
ab7e0ab7b3 fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:21:06 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Ilia Alshanetsky
815ac6539a MFB: Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned
object).
2008-09-16 00:38:55 +00:00
Antony Dovgal
e67e446a73 fix ws, cs and folding 2008-08-14 08:38:37 +00:00
Felipe Pena
61a01e1c20 - MFB: Added arginfo 2008-06-27 19:17:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
e10e348c5d fix bug #42462 (Segmentation when trying to set an attribute in DOMElement) 2007-08-30 16:31:57 +00:00
Rob Richards
ebd85732fa fix bug #42082 (NodeList length zero should be empty). (Hannes)
add and update tests
2007-08-06 16:21:45 +00:00
Rob Richards
ab5d9f9342 MFB: allow registered classes to be changed 2007-04-03 11:58:24 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Rob Richards
c27c9666d3 add ability to call PHP functions from XPath
update test
2006-12-14 16:24:00 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Rob Richards
b2a44a9cc6 mark functionality unicode safe
add test
2006-09-22 10:13:27 +00:00
Rob Richards
1acc8abe56 fix domcomment property handler so it inherits from domcharacterdata
mark tested functions as unicode safe
add tests
2006-09-21 11:53:58 +00:00
Rob Richards
e1fa06393d MFB: fix underlying issue for bug #38438 2006-08-14 11:29:49 +00:00
Antony Dovgal
0816690760 fix error messages in Unicode mode 2006-06-02 21:55:26 +00:00
Rob Richards
85e8f351d5 Fix bug #37456 (DOMElement->setAttribute() loops forever) 2006-05-17 16:32:04 +00:00
Rob Richards
b1f52e79aa Fix bug #37277 (cloning Dom Documents or Nodes does not work)
Proper fix for bug #36859
2006-05-03 08:40:52 +00:00
Antony Dovgal
6a53a49c8b MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
Antony Dovgal
ae7fbe8132 MF51: fix #36859 (DOMElement crashes when calling __construct when clone'ing) 2006-03-26 00:23:37 +00:00
Rob Richards
7fc0756e55 MFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node)
add test
2006-03-18 11:46:13 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Marcus Boerger
5d60cbc498 - MFB Fix export 2005-12-17 15:44:44 +00:00
Rob Richards
406910e1e9 add registerNodeClass() method
- methods can now natively return user classes registered with document
2005-11-23 02:56:41 +00:00
Rob Richards
8038df9ce2 Fixed bug #35342 (isset(DOMNodeList->length) returns false). 2005-11-23 00:55:34 +00:00
Dmitry Stogov
8bb39e7dba Allow recursive calls to __get/__set for different properties 2005-11-15 15:21:47 +00:00
Antony Dovgal
e658842761 fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 21:52:27 +00:00
Rasmus Lerdorf
f16fb8484d MFB - We don't need the simplexml requirement here anymore 2005-11-05 22:32:55 +00:00
Dmitry Stogov
b45944a5b3 Fixed access to uninitialized value 2005-09-19 18:47:36 +00:00
foobar
98ce7bf37b - Removed EOL from error message 2005-08-18 12:40:17 +00:00
Dmitry Stogov
3658f1fb7b Unicode support 2005-08-18 11:47:03 +00:00
Dmitry Stogov
96a24404ce Unicode support 2005-08-12 14:57:58 +00:00
Sebastian Bergmann
52b001cc05 ZTS fixes. 2005-08-12 14:08:28 +00:00
Dmitry Stogov
21c1109e0c Unicode support 2005-08-12 11:29:33 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rob Richards
9ad129468a - Fix bug #33299 (php:function no longer handles returned dom objects)
- maybe fix #33431/33432
2005-06-22 19:56:30 +00:00
Dmitry Stogov
f47c78487b Improved PHP extension loading mechanism with support for module dependencies and conflicts 2005-06-17 09:39:23 +00:00
Rob Richards
6d2fd215e9 Fix bug #32930 (class extending DOMDocument doesn't clone properly) 2005-05-03 22:55:03 +00:00