Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5 | SVN Migration | 2003-02-27 | 302 | -62792/+0 |
| | |||||
* | Another big commit (tm). | Wez Furlong | 2003-02-27 | 6 | -238/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main Changes: - Implement a socket transport layer for use by all code that needs to open some kind of "special" socket for network or IPC. - Extensions can register (and override) transports. - Implement ftruncate() on streams via the ioctl-alike option interface. - Implement mmap() on streams via the ioctl-alike option interface. - Implement generic crypto API via the ioctl-alike option interface. (currently only supports OpenSSL, but could support other SSL toolkits, and other crypto transport protocols). Impact: - tcp sockets can be overloaded by the openssl capable sockets at runtime, removing the link-time requirement for ssl:// and https:// sockets and streams. - checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since there are now a range of possible socket-type streams. Working towards: - socket servers using the new transport layer - mmap support under win32 - Cleaner code. # I will be updating the win32 build to add the new files shortly # after this commit. | ||||
* | Fixed bug #21410 (fixed handling of NULL or "" files on Win32) | Ilia Alshanetsky | 2003-02-27 | 1 | -0/+4 |
| | |||||
* | 1) Make the output of system() binary safe | Ilia Alshanetsky | 2003-02-26 | 2 | -198/+120 |
| | | | | | | | | | | | | | 2) Solved a memory leak when the return_value variable passed by reference is not an integer in system()/exec()/passthru(). 3) Solved a bug in exec(), which would make it append to the 2nd parameter (passed by reference) if the parameter is an array instead of overwriting it. 4) Changed the code to use the streams code, resulting in a smaller code base. 5) Various cleanups resulting in reduction of overall code base inside the file by ~ 1/3. 6) Speed improvements of ~2.5 times compared to previous performance (based on attached PHP script). | ||||
* | - Added an extra ini setting with which extra commands can be forced to | Derick Rethans | 2003-02-26 | 1 | -1/+4 |
| | | | | | | | | | | | the sendmail deamon on a per-vhost base. The value in this ini setting will override all extra commands passed as the 5th parameter to mail() and will work in Safe Mode. @- Added an extra ini setting (mail_force_extra_paramaters) which forces @ the addition of the specified parameters to be passed as extra @ parameters to the sendmail binary. These parameters will always replace @ the value of the 5th parameter to mail(), even in safe mode. (Derick) | ||||
* | - Fix proto | Derick Rethans | 2003-02-26 | 1 | -1/+1 |
| | |||||
* | - Whitespace | Derick Rethans | 2003-02-26 | 1 | -4/+4 |
| | |||||
* | Made shell_exec() use streams, this simplifies the code and in some cases | Ilia Alshanetsky | 2003-02-25 | 1 | -15/+11 |
| | | | | | makes it a little faster too. | ||||
* | MFH (forgot to put this fix into the 5.X tree). | Ilia Alshanetsky | 2003-02-25 | 1 | -0/+3 |
| | |||||
* | Set fgetss() free from the length parameter | Moriyoshi Koizumi | 2003-02-25 | 1 | -18/+26 |
| | |||||
* | Fixed test. | Ilia Alshanetsky | 2003-02-25 | 1 | -2/+3 |
| | |||||
* | Fixed bug #22414 and added a test case for it. | Ilia Alshanetsky | 2003-02-25 | 2 | -1/+38 |
| | |||||
* | Fixed bug #22402 (opening of ftp for read/write could fail due to invalid | Ilia Alshanetsky | 2003-02-25 | 1 | -1/+1 |
| | | | | | | return code handling). Solution suggested by jan@jancm.org | ||||
* | Added locking to streams. | Ilia Alshanetsky | 2003-02-25 | 1 | -9/+8 |
| | | | | | | | Allow PHP to automatically release locks on files when terminating the stream. Fixed bugs in the handling of the 3rd optional parameter to flock(). | ||||
* | Fixed string.strip_tags filter so it reflects the change on php_strip_tags | Moriyoshi Koizumi | 2003-02-24 | 1 | -2/+3 |
| | |||||
* | Made fgetss() binary safe too | Moriyoshi Koizumi | 2003-02-24 | 1 | -3/+4 |
| | |||||
* | Fixed possible buffer overflow of php_strip_tags | Moriyoshi Koizumi | 2003-02-24 | 1 | -1/+3 |
| | |||||
* | Made strip_tags() binary safe | Moriyoshi Koizumi | 2003-02-24 | 2 | -4/+7 |
| | |||||
* | Initial re-implementation of userfilters after filterchain redesign by wez. ↵ | Sara Golemon | 2003-02-24 | 3 | -17/+198 |
| | | | | More userspace API to come. | ||||
* | MFB: Bunch of streams related fixes. | Wez Furlong | 2003-02-24 | 1 | -1/+1 |
| | |||||
* | Fixed bug #22355 (PHP would remove folding from Subject & To fields). | Ilia Alshanetsky | 2003-02-24 | 1 | -0/+16 |
| | |||||
* | Forgot to fix this part | Moriyoshi Koizumi | 2003-02-24 | 1 | -1/+1 |
| | |||||
* | Fixed a signed / unsigned issue. | Moriyoshi Koizumi | 2003-02-24 | 1 | -1/+1 |
| | | | | | | # imagine the case like "\\\xfe" where walk[1] takes a value that is greater # than 127 in integer... | ||||
* | Style fix | Moriyoshi Koizumi | 2003-02-24 | 1 | -7/+11 |
| | |||||
* | Fixed bug #22382 (fgetcsv did not handle \" correctly). | Ilia Alshanetsky | 2003-02-24 | 3 | -0/+44 |
| | |||||
* | Extra paranoia checks if dn_skipname/dn_expand exist or not | foobar | 2003-02-24 | 3 | -0/+6 |
| | |||||
* | Revent previous patch, adding of file_write_content() was premature. | Ilia Alshanetsky | 2003-02-22 | 3 | -63/+0 |
| | |||||
* | int/long change. | Ilia Alshanetsky | 2003-02-22 | 4 | -3/+66 |
| | |||||
* | additional speedup for array_shift(). No need to rehash if the removed element's | Andrey Hristov | 2003-02-22 | 1 | -2/+8 |
| | | | | | | | key is not scalar and elements with scalar keys are already well numbered (sequentially from 0) for some reason. This is the case if the leading elements have no scalar indexes. | ||||
* | rehash only in case something is changed. | Andrey Hristov | 2003-02-22 | 1 | -1/+3 |
| | | | | | | #lowers the execution time in half on my machine on array with 1000 elements #with nonscalar keys. Maybe it can be optimized further. | ||||
* | - Fixed bug: #22339 | foobar | 2003-02-21 | 3 | -4/+4 |
| | | | | | | # No NEWS, this was bug introduced by Marcus a while ago.. # Not present in php4.3.x branch | ||||
* | Reduce unnecessary filter applications when stream is (read|write) only | Sara Golemon | 2003-02-20 | 1 | -1/+9 |
| | |||||
* | - Fixed testcase... you can never trust on RFCs it seems | Derick Rethans | 2003-02-20 | 2 | -4/+4 |
| | |||||
* | - Fixed copy and paste bug | Derick Rethans | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | - Also add the optional raw output parameter to md5_file and sha1_file. | Derick Rethans | 2003-02-20 | 2 | -24/+30 |
| | |||||
* | - No need to add the \0 ourselves, the estrndup in STRINGL takes care of | Derick Rethans | 2003-02-20 | 2 | -4/+2 |
| | | | | | that for us. | ||||
* | - Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX) | foobar | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | Revert accidental commit. | Ilia Alshanetsky | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | Fixed bug #22308 (optimized passthru, code is now ~40 times faster). | Ilia Alshanetsky | 2003-02-20 | 2 | -5/+6 |
| | |||||
* | scandir -> php_scandir, alphasort -> php_alphasort | foobar | 2003-02-19 | 1 | -6/+4 |
| | |||||
* | Fixed bug #22283 (possible crash when opening relative URLs). | Ilia Alshanetsky | 2003-02-19 | 1 | -2/+7 |
| | |||||
* | Added string.strip_tags filter. | Moriyoshi Koizumi | 2003-02-19 | 1 | -0/+94 |
| | |||||
* | Fixed memory leaks on conversion failure. | Moriyoshi Koizumi | 2003-02-18 | 1 | -8/+17 |
| | |||||
* | Revived convert filter codes | Moriyoshi Koizumi | 2003-02-18 | 1 | -246/+141 |
| | |||||
* | - Added new parameter to sha1() and md5() which return the digest as | Derick Rethans | 2003-02-18 | 6 | -19/+101 |
| | | | | | | | | | binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>) - Added test cases for sha1() and md5() based on the testvectors in RFC 1321 and RFC 3174. @- Added new parameter to sha1() and md5() which return the digest as @ binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick) | ||||
* | Fixed bug #21708 (ucfirst() trouble again) | Moriyoshi Koizumi | 2003-02-18 | 1 | -1/+1 |
| | | | | | # this bug is related to bug #21689 | ||||
* | Fixed bug #21689 (fgetcsv suppresses some characters before a separator) | Moriyoshi Koizumi | 2003-02-18 | 1 | -4/+4 |
| | | | | | | | The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp> # is* functions expect their argument to be an integer in range of 0-255 | ||||
* | Implement simple stream support in the ZE scanners. | Wez Furlong | 2003-02-18 | 1 | -14/+3 |
| | |||||
* | Introduce //filter target to php: wrapper to allow inline application of ↵ | Sara Golemon | 2003-02-18 | 1 | -0/+56 |
| | | | | filters during fopen() style opperations | ||||
* | nice() is part of libc, use AC_CHECK_FUNCS instead | foobar | 2003-02-18 | 1 | -6/+1 |
| |