Zeev Suraski [Sun, 16 Jan 2000 20:59:03 +0000 (20:59 +0000)]
- Make zend_hash_apply() (and friends) reentrant and much, much quicker
- Introduce zend_hash_graceful_destroy(), which allows the destructor functions to
use zend_hash_apply() and/or zend_hash_graceful_destroy()
- Switch to zend_hash_graceful_destroy() in the resource list shutdowns
Zeev Suraski [Sun, 16 Jan 2000 19:43:34 +0000 (19:43 +0000)]
Remove the post-startup callback support. Modules are now started only after
the entire engine is started. People - please make sure that the session module
works properly for you.
Thies C. Arntzen [Sun, 16 Jan 2000 13:30:57 +0000 (13:30 +0000)]
@- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
lots of cleanup - all invisible to the user (i hope;-)
- full refcounting of connections & statements
- cleanup of the descriptor-code (descriptors are now real resources)
- we now use SQLT_CHR instead of SQLT_STR (no trailing \0) - smarter & faster
- ocifetchinto(OCI_BOTH) will use references.
Andrei Zmievski [Sat, 15 Jan 2000 19:41:17 +0000 (19:41 +0000)]
Added ability to set timeout on socket read operations. New function
set_socket_timeout(socket, seconds, microseconds) sets the timeout.
@- Added ability to set timeout on socket read operations through
@ set_socket_timeout() function. (Andrei)
Thies C. Arntzen [Sat, 15 Jan 2000 13:40:17 +0000 (13:40 +0000)]
if ZEND_DEBUG mode is on we'll now see warnings when a HashTable is accessed
while it's inconsistent.
Zeev, Andi - you welcome to revert this patch if you don't like it - i find it
useful! accesssing inconsistent hashtables is one of the hardest things to track!
Thies C. Arntzen [Sat, 15 Jan 2000 13:02:54 +0000 (13:02 +0000)]
- don't set php_errormsg on errors that will cause a zend_bailout().
using zend_hash_update() can make things worse in this situation.
- new function php_register_pre_request_shutdown(). this way modules
can register callbacks that will be called as soon as execution of
the script is done but *before* any cleanup (global symbol_table etc)
has taken place.
Zeev Suraski [Thu, 13 Jan 2000 17:37:25 +0000 (17:37 +0000)]
- Added flush() support to SAPI
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
Andi Gutmans [Tue, 4 Jan 2000 13:56:13 +0000 (13:56 +0000)]
- Separate the overloaded objects' types from Zend's data types.
There is no reason for them to be the same, and IS_METHOD just cluttered
the data types.
- Overloaded elements should now use OE_IS_OBJECT, OE_IS_ARRAY, and
OE_IS_METHOD
Andi Gutmans [Tue, 4 Jan 2000 13:52:52 +0000 (13:52 +0000)]
- Separate the overloaded objects' types from Zend's data types.
There is no reason for them to be the same, and IS_METHOD just cluttered
there data types.
Andrei Zmievski [Mon, 3 Jan 2000 18:10:27 +0000 (18:10 +0000)]
* Implemented <boolean> and <null> types. We now support WDDX version 1.0
as best as we can.
* Cleaned up the API function names, _ was really not needed.
* Cleaned up the repetitive stack var name stuff with a macro.
* WDDX now no longer converts numbers to strings in arrays when during
serialization.
@Implemented support for <boolean> and <null> types according
@to WDDX version 1.0 (Andrei)