Wez Furlong [Thu, 18 Dec 2003 11:26:00 +0000 (11:26 +0000)]
Counteract brain-death in Apache headers
(they #define strtoul to something that will break compilation,
and it successfully breaks the win32 IPv6 headers)
Wez Furlong [Thu, 18 Dec 2003 11:23:21 +0000 (11:23 +0000)]
Fix use of the CorRuntimeHost; once it has been stopped for a process, it cannot be restarted, so we keep it alive for the duration of the process, and instead close down the application domain in
request shutdown.
Andrey Hristov [Wed, 17 Dec 2003 22:03:33 +0000 (22:03 +0000)]
Added optional parameter to microtime so now it can return float if it
the user wants. This prevents from getting string representation exploding
it and then creating a float.
Marcus Boerger [Wed, 17 Dec 2003 11:20:35 +0000 (11:20 +0000)]
Fix a memleak: A second call to *nix version of dlerror() frees the error
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
Antony Dovgal [Tue, 16 Dec 2003 15:58:10 +0000 (15:58 +0000)]
fix bug #26133 (thanks to Harald)
rename constant and add library check to config.m4
add info lines to see if Collection & Temp Lob support enabled or not
add OCI_THREADED to use thread safe OCI mode with ZTS (should fix bug #26558)
Harald Radi [Tue, 16 Dec 2003 10:29:11 +0000 (10:29 +0000)]
@- fixed #20006, #22674 and #24531 (harald)
@- added ZTS connection pooling support to the oci extension
@ connections will now be pooled per process and not
@ per thread anymore. the number of persistent and active
@ connections is now also shown in the phpinfo() output (harald)
Greg Beaver [Tue, 16 Dec 2003 02:12:55 +0000 (02:12 +0000)]
remove optional dep on xmlrpc, not really useful at this point
add required dep on pcre, as it is used without reservation in PEAR_Config, and other places
Ilia Alshanetsky [Mon, 15 Dec 2003 21:56:55 +0000 (21:56 +0000)]
Always set panic call handler, allows us to address critical libtidy errors
from inside PHP.
When memory_limit is enabled use e* memory allocation macros to control
memory usage.
Antony Dovgal [Mon, 15 Dec 2003 13:53:01 +0000 (13:53 +0000)]
add new functions:
ocitelllob(); [ OCI_Lob->tell(); ] - ftell(); analogue for Lobs
ociwritelob(); [ OCI_Lob->write(); ] - fwrite(); analogue for Lobs
ocitruncatelob(); [ OCI_Lob->truncate(); ] - ftruncate(); analogue for Lobs
ocieraselob(); [ OCI_Lob->erase(); ] - erases specified part of a Lob (for BLOBs it means zero-filling, for CLOBs - space-filling)
ociflushlob(); [ OCI_Lob->flush(); ] - flushes Lob buffer (if buffering was enabled before)
ocisetbufferinglob(); [ OCI_Lob->setBuffering(); ] - turns on/off buffering for the current Lob
ocigetbufferinglob(); [ OCI_Lob->getBuffering(); ] - gets buffering' current state
ocirewindlob(); [ OCI_Lob->rewind(); ] - rewind(); analogue for Lobs
ocireadlob(); [ OCI_Lob->read(); ] - fread(); analogue for Lobs
ocieoflob(); [ OCI_Lob->eof(); ] - feof(); analogue for Lobs
ociseeklob(); [ OCI_Lob->seek(); ] - fseek(); analogue for Lobs
ocilobgetlength(); [ OCI_Lob->getLength(); ] - filesize(); analogue for Lobs
ociappendlob(); - appends data from a Lob to another Lob
ocicopylob(); - copies data from a Lob to another Lob
ociisequallob(); - compares 2 Lobs and checks if they are equal
Dmitry Stogov [Mon, 15 Dec 2003 07:22:09 +0000 (07:22 +0000)]
Bug #24773 was fixed (Zend/tests/bug24773.phpt)
Assign_op operators (+=) were fixed for elements of overloaded objects
Memory leaks during accessing ptoperies/elements of overloaded objects were fixed
Sara Golemon [Mon, 15 Dec 2003 06:54:31 +0000 (06:54 +0000)]
Scan for : in host:port pair from right instead of left.
This will allow handling of http://[fe80::1]:443/foo.html
IPv6 Numeric addressing with port number to parse correctly.
Zeev Suraski [Sun, 14 Dec 2003 16:09:07 +0000 (16:09 +0000)]
Fix behavior of return-by-reference functions. Remove erroneous warnings,
add E_STRICT warnings in case you return something by reference that you're
not supposed to (anything that's not a variable, or a return-value of a
function that returned by reference).