Ard Biesheuvel [Tue, 17 Feb 2004 12:53:54 +0000 (12:53 +0000)]
Fixed unregistered bugs in event handling
Cleaned up some of the code
Removed ISC_QUAD from static initializers because it looks different on
some platforms
Rob Richards [Tue, 17 Feb 2004 11:13:47 +0000 (11:13 +0000)]
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
Rob Richards [Sun, 15 Feb 2004 18:57:10 +0000 (18:57 +0000)]
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
fix a few segfaults found while testing
Rob Richards [Sun, 15 Feb 2004 17:07:34 +0000 (17:07 +0000)]
allow certain methods to be called statically again:
domdocument (all load methods)
domimplementation (all methods)
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
fix a few segfaults found while testing
Rob Richards [Sun, 15 Feb 2004 14:05:17 +0000 (14:05 +0000)]
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
Zeev Suraski [Sun, 15 Feb 2004 12:58:19 +0000 (12:58 +0000)]
Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
Note: You should not be using ZVAL_DELREF() in day to day usage. Instead,
you should use zval_ptr_dtor(). Use ZVAL_DELREF() only if you're
messing with the refcount directly and know what you're doing.
Note #2: For clarity, if you want to initialize a new zval with a refcount
of 0, it's best to do that directly, instead of using ZVAL_DELREF
after allocating the zval...
Rob Richards [Sun, 15 Feb 2004 10:54:37 +0000 (10:54 +0000)]
start of dom update
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
Timm Friebe [Sun, 15 Feb 2004 10:37:09 +0000 (10:37 +0000)]
- Changed initialization of function arguments to message handler
# Hopefully fixes bug #27157 (Compile Failure on Solaris 8), user does
# not know how to use patch and therefore couldn't verify this works.
Derick Rethans [Sat, 14 Feb 2004 12:29:04 +0000 (12:29 +0000)]
- Fixed zero bytes memory allocation when no extra ini files are found in the
--with-config-file-scan-dir specified directory. (patch by Eric Colinet
<e.colinet@laposte.net>)
Rob Richards [Fri, 13 Feb 2004 15:05:18 +0000 (15:05 +0000)]
Fix bug #27237: Working with simplexml crashes apache2
object dtor must be used to cleanup iterator data correctly
Fix asXML() outputing incorrect node
Zeev Suraski [Thu, 12 Feb 2004 13:49:55 +0000 (13:49 +0000)]
- Check return-by-reference bit when implementing interface prototypes
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used for anything,
except for interface prototypes (you can use it to request that the
function that implements your prototype returns by reference or
doesn't return by reference).
For downwards compatibility - by default, interface prototypes are
agnostic as to whether the function that implements them returns
by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with
ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
If your getOffset() should work with multidimensional arrays - it
must return by reference.