Commit Graph

34707 Commits

Author SHA1 Message Date
Ilia Alshanetsky
d4a64fba74 removed bogus char 2006-11-12 17:23:01 +00:00
Hannes Magnusson
1182b325c2 MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Ilia Alshanetsky
e0d385a328 Optimized array functions utilizing php_splice(). 2006-11-12 17:13:22 +00:00
Marcus Boerger
d3bda9a516 - MFH: Correct comments 2006-11-12 15:58:17 +00:00
Hannes Magnusson
7b81e554ae MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:14:39 +00:00
Nuno Lopes
7d75155e01 fix leak in oo_stream.phpt 2006-11-12 00:41:16 +00:00
Nuno Lopes
c0b0d0a81a fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt) 2006-11-12 00:31:03 +00:00
Nuno Lopes
232bb79bed fix leaks within zip entries in several tests 2006-11-11 23:43:00 +00:00
Nuno Lopes
b3de830b61 fix leak in oo_setArchiveComment.phpt 2006-11-11 23:35:27 +00:00
Pierre Joye
8cb18e8d64 - fix leak in zip_close when the function's succeeded 2006-11-11 19:06:56 +00:00
Nuno Lopes
94404da606 fix the bug I introduced previously, sorry
anyway, convert the recursive version of the binary search to an iterative one
2006-11-10 23:27:11 +00:00
Antony Dovgal
88e827f3f1 MFH 2006-11-10 23:03:32 +00:00
Antony Dovgal
7563d4f573 fix possible issue with negative values in oci_set_prefetch
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Andi Gutmans
d98a8aa589 - Fix typo 2006-11-10 18:51:05 +00:00
Nuno Lopes
ec46e5e510 mark a few variables and functions as static 2006-11-10 18:05:11 +00:00
Nuno Lopes
fe8e53f7a7 mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation 2006-11-10 17:32:15 +00:00
Dmitry Stogov
3011278aab Fixed wrong realpath() result in case of unexistent path 2006-11-10 17:23:58 +00:00
Hannes Magnusson
16e6b2cf52 Fix tests 2006-11-10 17:04:03 +00:00
Dmitry Stogov
c06626d8c6 Fixed wrong realpath() result in case of unexistent path 2006-11-10 16:57:17 +00:00
Antony Dovgal
4106eee7c7 fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order 2006-11-10 16:33:41 +00:00
Dmitry Stogov
31bfc6e55b Fixed bug #39454 (Returning a SOAP array segfaults PHP) 2006-11-10 15:05:22 +00:00
Dmitry Stogov
ce958eded5 stat() is reimplemented using using GetFileAttributesEx().
The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.
2006-11-10 15:04:07 +00:00
Dmitry Stogov
40d3abba41 Fixed tests 2006-11-10 14:20:26 +00:00
Dmitry Stogov
daed379550 Removed unnecessary ftell() calls (one call for each included PHP file) 2006-11-10 13:18:35 +00:00
Dmitry Stogov
f22ae56bc9 Disabled reading from stream (calls to read()) after EOF 2006-11-10 13:10:16 +00:00
Dmitry Stogov
f05ed6390c VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR 2006-11-10 12:59:27 +00:00
Derick Rethans
140edac7f9 - Forward port the binary cast, which will do the same as the string cast in
PHP 5.2.
2006-11-10 12:02:51 +00:00
Dmitry Stogov
a4a77d3f91 Intialization code is moved from request startup to module startup 2006-11-10 12:02:10 +00:00
Dmitry Stogov
011e0cde62 Start timiout thread on Windows only if necessary 2006-11-10 11:49:35 +00:00
Dmitry Stogov
532b02cd19 Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:07 +00:00
Dmitry Stogov
41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +00:00
Dmitry Stogov
a5f951f27c Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows 2006-11-10 10:55:26 +00:00
Dmitry Stogov
ab5268fc84 typo 2006-11-10 10:47:52 +00:00
Dmitry Stogov
f1b6587ebb Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:40 +00:00
Dmitry Stogov
fedc06d290 Fix warnings 2006-11-10 10:38:07 +00:00
Dmitry Stogov
bcfc501ca6 Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization) 2006-11-10 10:30:46 +00:00
Dmitry Stogov
a930751112 Faster and better licensed implementation 2006-11-10 10:10:38 +00:00
Dmitry Stogov
9fd2b6deb4 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:16 +00:00
Ilia Alshanetsky
126be8ec7c Added missing API declarations. 2006-11-10 01:28:59 +00:00
Ilia Alshanetsky
f06762b361 Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:17 +00:00
Ilia Alshanetsky
ddae41877f Added missing PHPAPI declaration 2006-11-09 20:01:41 +00:00
Ilia Alshanetsky
b3006ed2a5 Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
ErrorDocument).
2006-11-09 19:10:13 +00:00
Nuno Lopes
fb06fa19e3 fix test for non English guys 2006-11-09 16:38:28 +00:00
Nuno Lopes
98dd25e04c fix an invalid read + invalid free() 2006-11-09 16:33:07 +00:00
Nuno Lopes
d6802e1022 statification of local functions and variables.
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +00:00
Hannes Magnusson
371400ae15 Add "As of 5.2.1" notes as requested 2006-11-09 12:35:12 +00:00
Hannes Magnusson
4989f0d899 New features/errormsgs/return values in ext/zip
New optional parameter in ext/ming
2006-11-09 11:44:13 +00:00
Frank M. Kromann
87b412dc3a Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:19:21 +00:00
Dmitry Stogov
25f01e8ec3 Fixed tests 2006-11-09 08:29:18 +00:00
Ilia Alshanetsky
e5f9b479af Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version). 2006-11-09 00:13:26 +00:00