]> granicus.if.org Git - php/log
php
18 years agoFixed compiler warnings
Ilia Alshanetsky [Thu, 16 Nov 2006 17:33:39 +0000 (17:33 +0000)]
Fixed compiler warnings

18 years agoFix ftruncate() with negative size on FreeBSD
Hannes Magnusson [Thu, 16 Nov 2006 16:06:51 +0000 (16:06 +0000)]
Fix ftruncate() with negative size on FreeBSD

18 years agofix tests
Antony Dovgal [Thu, 16 Nov 2006 13:49:20 +0000 (13:49 +0000)]
fix tests

18 years agoadd new tests
Antony Dovgal [Thu, 16 Nov 2006 13:01:23 +0000 (13:01 +0000)]
add new tests

18 years agorenamed to oo_getcomment.phpt
Hannes Magnusson [Thu, 16 Nov 2006 08:52:15 +0000 (08:52 +0000)]
renamed to oo_getcomment.phpt

18 years ago- mv oo_get_comment.phpt oo_getcomment.phpt
Pierre Joye [Wed, 15 Nov 2006 23:53:46 +0000 (23:53 +0000)]
- mv oo_get_comment.phpt oo_getcomment.phpt

18 years ago- MFH: #39217, serialNumber might be -1 when the value is too big
Pierre Joye [Wed, 15 Nov 2006 23:28:06 +0000 (23:28 +0000)]
- MFH: #39217, serialNumber might be -1 when the value is too big

18 years agoadd new tests, improve existing ones
Antony Dovgal [Wed, 15 Nov 2006 22:44:29 +0000 (22:44 +0000)]
add new tests, improve existing ones

18 years agofix leak, add test
Antony Dovgal [Wed, 15 Nov 2006 22:10:19 +0000 (22:10 +0000)]
fix leak, add test

18 years agoBackport md2, ripemd256, and ripemd320 algos from HEAD
Sara Golemon [Wed, 15 Nov 2006 20:06:09 +0000 (20:06 +0000)]
Backport md2, ripemd256, and ripemd320 algos from HEAD

18 years ago#9278 and #39506, force the binary mode for the zip operation only. At least I do...
Pierre Joye [Wed, 15 Nov 2006 19:14:02 +0000 (19:14 +0000)]
#9278 and #39506, force the binary mode for the zip operation only. At least I do not have to set/restore it in each function.

18 years agoFixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
Ilia Alshanetsky [Wed, 15 Nov 2006 18:34:57 +0000 (18:34 +0000)]
Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
1").

18 years agotypo
Dmitry Stogov [Wed, 15 Nov 2006 17:53:27 +0000 (17:53 +0000)]
typo

18 years agofix leak appearing when converting object to NULL
Antony Dovgal [Wed, 15 Nov 2006 17:29:08 +0000 (17:29 +0000)]
fix leak appearing when converting object to NULL
add test

18 years agoadd new tests
Antony Dovgal [Wed, 15 Nov 2006 17:27:03 +0000 (17:27 +0000)]
add new tests

18 years ago#39506 and PECL #9278, should fix the problem for the other SAPI (works for CLI,...
Pierre Joye [Wed, 15 Nov 2006 16:24:24 +0000 (16:24 +0000)]
#39506 and PECL #9278, should fix the problem for the other SAPI (works for CLI, CGI and embed)
see: http://news.php.net/php.internals/26606 for the details

18 years agoFixed bug #39445 (Calling debug_backtrace() in the __toString() function produces...
Dmitry Stogov [Wed, 15 Nov 2006 16:05:11 +0000 (16:05 +0000)]
Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash)

18 years agoRemoved unnecessary getenv/putenv calls
Dmitry Stogov [Wed, 15 Nov 2006 13:33:41 +0000 (13:33 +0000)]
Removed unnecessary getenv/putenv calls

18 years agofix test on AIX
Antony Dovgal [Wed, 15 Nov 2006 12:11:17 +0000 (12:11 +0000)]
fix test on AIX

18 years agofix test
Antony Dovgal [Wed, 15 Nov 2006 11:27:26 +0000 (11:27 +0000)]
fix test

18 years agoFixed wrong ext/filter behavior. It didn't register FastCGI environment variables...
Dmitry Stogov [Wed, 15 Nov 2006 11:13:02 +0000 (11:13 +0000)]
Fixed wrong ext/filter behavior. It didn't register FastCGI environment variables and made memory leaks.

18 years agofix test
Antony Dovgal [Wed, 15 Nov 2006 10:47:26 +0000 (10:47 +0000)]
fix test

18 years agoFix test (file_put_contents() now uses __toString)
Hannes Magnusson [Wed, 15 Nov 2006 07:58:02 +0000 (07:58 +0000)]
Fix test (file_put_contents() now uses __toString)

18 years agoAdded missing object support to file_put_contents().
Ilia Alshanetsky [Wed, 15 Nov 2006 00:20:40 +0000 (00:20 +0000)]
Added missing object support to file_put_contents().

18 years agoone more test
Antony Dovgal [Tue, 14 Nov 2006 22:23:45 +0000 (22:23 +0000)]
one more test

18 years agoadd new tests
Antony Dovgal [Tue, 14 Nov 2006 21:59:57 +0000 (21:59 +0000)]
add new tests

18 years agoBundled lib upgrade
Edin Kadribasic [Tue, 14 Nov 2006 19:59:31 +0000 (19:59 +0000)]
Bundled lib upgrade

18 years agoTell linker that we're using stati libcurl
Edin Kadribasic [Tue, 14 Nov 2006 19:57:13 +0000 (19:57 +0000)]
Tell linker that we're using stati libcurl

18 years ago- MFH: No idea if we actually support 16 bit systems, but this just looked wrong
Derick Rethans [Tue, 14 Nov 2006 14:42:42 +0000 (14:42 +0000)]
- MFH: No idea if we actually support 16 bit systems, but this just looked wrong

18 years agoFixed VC2005 support
Dmitry Stogov [Tue, 14 Nov 2006 14:20:26 +0000 (14:20 +0000)]
Fixed VC2005 support

18 years agoFixed problem with spaces in libpath
Dmitry Stogov [Tue, 14 Nov 2006 14:10:53 +0000 (14:10 +0000)]
Fixed problem with spaces in libpath

18 years ago- #39508, do not use the 4 neighbors implementation for small images (w<4)
Pierre Joye [Tue, 14 Nov 2006 13:45:24 +0000 (13:45 +0000)]
- #39508, do not use the 4 neighbors implementation for small images (w<4)
  test will follow

18 years agocgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi...
Dmitry Stogov [Tue, 14 Nov 2006 10:31:47 +0000 (10:31 +0000)]
cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line.

18 years agoadd .libs to .cvsignore
Antony Dovgal [Tue, 14 Nov 2006 09:40:14 +0000 (09:40 +0000)]
add .libs to .cvsignore

18 years agoAdded comments
Dmitry Stogov [Tue, 14 Nov 2006 09:15:55 +0000 (09:15 +0000)]
Added comments

18 years agoFixed bug #36812 (pg_execute() modifies input array).
Ilia Alshanetsky [Mon, 13 Nov 2006 22:10:37 +0000 (22:10 +0000)]
Fixed bug #36812 (pg_execute() modifies input array).

18 years agoadd new test
Antony Dovgal [Mon, 13 Nov 2006 21:27:48 +0000 (21:27 +0000)]
add new test

18 years agodon't forget to close the stream when/if flock() fails
Antony Dovgal [Mon, 13 Nov 2006 20:31:27 +0000 (20:31 +0000)]
don't forget to close the stream when/if flock() fails

18 years agoMFH: fix leaks in get_meta_tags() when used with b0rked HTML
Antony Dovgal [Mon, 13 Nov 2006 20:18:12 +0000 (20:18 +0000)]
MFH: fix leaks in get_meta_tags() when used with b0rked HTML
add test

18 years agoMFH: improve the fix and the test
Antony Dovgal [Mon, 13 Nov 2006 19:32:58 +0000 (19:32 +0000)]
MFH: improve the fix and the test

18 years agoIt's called addEmptyDir(), not createEmptyDir()
Hannes Magnusson [Mon, 13 Nov 2006 18:30:59 +0000 (18:30 +0000)]
It's called addEmptyDir(), not createEmptyDir()

18 years agoFixed bug #36644 (possible crash in variant_date_from_timestamp()).
Ilia Alshanetsky [Mon, 13 Nov 2006 15:33:26 +0000 (15:33 +0000)]
Fixed bug #36644 (possible crash in variant_date_from_timestamp()).

18 years agoUse symbolic names
Dmitry Stogov [Mon, 13 Nov 2006 15:13:20 +0000 (15:13 +0000)]
Use symbolic names

18 years agoMFH
Antony Dovgal [Mon, 13 Nov 2006 15:00:05 +0000 (15:00 +0000)]
MFH

18 years agonew test
Antony Dovgal [Mon, 13 Nov 2006 14:51:11 +0000 (14:51 +0000)]
new test

18 years agoadd a note that libxml2 2.6.2x is required
Antony Dovgal [Mon, 13 Nov 2006 12:54:04 +0000 (12:54 +0000)]
add a note that libxml2 2.6.2x is required

18 years agoMFH: fix compile warning
Antony Dovgal [Mon, 13 Nov 2006 12:49:28 +0000 (12:49 +0000)]
MFH: fix compile warning

18 years agofix test
Antony Dovgal [Mon, 13 Nov 2006 12:47:43 +0000 (12:47 +0000)]
fix test

18 years agoFixed incorrect heap corruptiuon detection code
Dmitry Stogov [Mon, 13 Nov 2006 10:28:46 +0000 (10:28 +0000)]
Fixed incorrect heap corruptiuon detection code

18 years agoAdd missing header installation..
Hannes Magnusson [Sun, 12 Nov 2006 19:00:33 +0000 (19:00 +0000)]
Add missing header installation..

18 years agoFixed generated file
Ilia Alshanetsky [Sun, 12 Nov 2006 17:55:44 +0000 (17:55 +0000)]
Fixed generated file

18 years agoFixed a memory leak when named & positional params are being used in the
Ilia Alshanetsky [Sun, 12 Nov 2006 17:49:19 +0000 (17:49 +0000)]
Fixed a memory leak when named & positional params are being used in the
same query.

18 years agoMFH: SplFileObject no longer overwrites SplFileInfo::getFilename()
Hannes Magnusson [Sun, 12 Nov 2006 17:35:09 +0000 (17:35 +0000)]
MFH: SplFileObject no longer overwrites SplFileInfo::getFilename()

18 years agoremoved bogus char
Ilia Alshanetsky [Sun, 12 Nov 2006 17:23:01 +0000 (17:23 +0000)]
removed bogus char

18 years agoMFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
Hannes Magnusson [Sun, 12 Nov 2006 17:16:13 +0000 (17:16 +0000)]
MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)

18 years agoOptimized array functions utilizing php_splice().
Ilia Alshanetsky [Sun, 12 Nov 2006 17:13:22 +0000 (17:13 +0000)]
Optimized array functions utilizing php_splice().

18 years ago- MFH: Correct comments
Marcus Boerger [Sun, 12 Nov 2006 15:58:17 +0000 (15:58 +0000)]
- MFH: Correct comments

18 years agoMFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
Hannes Magnusson [Sun, 12 Nov 2006 01:14:39 +0000 (01:14 +0000)]
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)

18 years agofix leak in oo_stream.phpt
Nuno Lopes [Sun, 12 Nov 2006 00:41:16 +0000 (00:41 +0000)]
fix leak in oo_stream.phpt

18 years agofix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)
Nuno Lopes [Sun, 12 Nov 2006 00:31:03 +0000 (00:31 +0000)]
fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)

18 years agofix leaks within zip entries in several tests
Nuno Lopes [Sat, 11 Nov 2006 23:43:00 +0000 (23:43 +0000)]
fix leaks within zip entries in several tests

18 years agofix leak in oo_setArchiveComment.phpt
Nuno Lopes [Sat, 11 Nov 2006 23:35:27 +0000 (23:35 +0000)]
fix leak in oo_setArchiveComment.phpt

18 years ago- fix leak in zip_close when the function's succeeded
Pierre Joye [Sat, 11 Nov 2006 19:06:56 +0000 (19:06 +0000)]
- fix leak in zip_close when the function's succeeded

18 years agofix the bug I introduced previously, sorry
Nuno Lopes [Fri, 10 Nov 2006 23:27:11 +0000 (23:27 +0000)]
fix the bug I introduced previously, sorry
anyway, convert the recursive version of the binary search to an iterative one

18 years agoMFH
Antony Dovgal [Fri, 10 Nov 2006 23:03:32 +0000 (23:03 +0000)]
MFH

18 years agofix possible issue with negative values in oci_set_prefetch
Antony Dovgal [Fri, 10 Nov 2006 20:13:36 +0000 (20:13 +0000)]
fix possible issue with negative values in oci_set_prefetch
(reported by Chris Jones)

18 years ago- Fix typo
Andi Gutmans [Fri, 10 Nov 2006 18:51:05 +0000 (18:51 +0000)]
- Fix typo

18 years agomark a few variables and functions as static
Nuno Lopes [Fri, 10 Nov 2006 18:05:11 +0000 (18:05 +0000)]
mark a few variables and functions as static

18 years agomark the binary search delimiters as unsigned, so that the compiler can use a quick...
Nuno Lopes [Fri, 10 Nov 2006 17:32:15 +0000 (17:32 +0000)]
mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation

18 years agoFixed wrong realpath() result in case of unexistent path
Dmitry Stogov [Fri, 10 Nov 2006 17:23:58 +0000 (17:23 +0000)]
Fixed wrong realpath() result in case of unexistent path

18 years agoFix tests
Hannes Magnusson [Fri, 10 Nov 2006 17:04:03 +0000 (17:04 +0000)]
Fix tests

18 years agoFixed wrong realpath() result in case of unexistent path
Dmitry Stogov [Fri, 10 Nov 2006 16:57:17 +0000 (16:57 +0000)]
Fixed wrong realpath() result in case of unexistent path

18 years agofix segfault in ZTS mode when statements containing sub-statements are destroyed...
Antony Dovgal [Fri, 10 Nov 2006 16:33:41 +0000 (16:33 +0000)]
fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order

18 years agoFixed bug #39454 (Returning a SOAP array segfaults PHP)
Dmitry Stogov [Fri, 10 Nov 2006 15:05:22 +0000 (15:05 +0000)]
Fixed bug #39454 (Returning a SOAP array segfaults PHP)

18 years agostat() is reimplemented using using GetFileAttributesEx().
Dmitry Stogov [Fri, 10 Nov 2006 15:04:07 +0000 (15:04 +0000)]
stat() is reimplemented using using GetFileAttributesEx().
The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.

18 years agoFixed tests
Dmitry Stogov [Fri, 10 Nov 2006 14:20:26 +0000 (14:20 +0000)]
Fixed tests

18 years agoRemoved unnecessary ftell() calls (one call for each included PHP file)
Dmitry Stogov [Fri, 10 Nov 2006 13:18:35 +0000 (13:18 +0000)]
Removed unnecessary ftell() calls (one call for each included PHP file)

18 years agoDisabled reading from stream (calls to read()) after EOF
Dmitry Stogov [Fri, 10 Nov 2006 13:10:16 +0000 (13:10 +0000)]
Disabled reading from stream (calls to read()) after EOF

18 years agoVCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR
Dmitry Stogov [Fri, 10 Nov 2006 12:59:27 +0000 (12:59 +0000)]
VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR

18 years ago- Forward port the binary cast, which will do the same as the string cast in
Derick Rethans [Fri, 10 Nov 2006 12:02:51 +0000 (12:02 +0000)]
- Forward port the binary cast, which will do the same as the string cast in
  PHP 5.2.

18 years agoIntialization code is moved from request startup to module startup
Dmitry Stogov [Fri, 10 Nov 2006 12:02:10 +0000 (12:02 +0000)]
Intialization code is moved from request startup to module startup

18 years agoStart timiout thread on Windows only if necessary
Dmitry Stogov [Fri, 10 Nov 2006 11:49:35 +0000 (11:49 +0000)]
Start timiout thread on Windows only if necessary

18 years agoImplemented registry cache that prevent registry lookup on each request. In case...
Dmitry Stogov [Fri, 10 Nov 2006 11:42:07 +0000 (11:42 +0000)]
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.

18 years agoopendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findf...
Dmitry Stogov [Fri, 10 Nov 2006 11:20:48 +0000 (11:20 +0000)]
opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext

18 years agoRemoved unnecessary checks for ISREG file and corresponding stat() calls on Windows
Dmitry Stogov [Fri, 10 Nov 2006 10:55:26 +0000 (10:55 +0000)]
Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows

18 years agotypo
Dmitry Stogov [Fri, 10 Nov 2006 10:47:52 +0000 (10:47 +0000)]
typo

18 years agoZend Memory Manager Improvements
Dmitry Stogov [Fri, 10 Nov 2006 10:44:40 +0000 (10:44 +0000)]
Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default

18 years agoFix warnings
Dmitry Stogov [Fri, 10 Nov 2006 10:38:07 +0000 (10:38 +0000)]
Fix warnings

18 years agoUse $(CC) for linking instead of $(LD). This allows usage of advansed optimization...
Dmitry Stogov [Fri, 10 Nov 2006 10:30:46 +0000 (10:30 +0000)]
Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization)

18 years agoFaster and better licensed implementation
Dmitry Stogov [Fri, 10 Nov 2006 10:10:38 +0000 (10:10 +0000)]
Faster and better licensed implementation

18 years agoSimplify the code base as this getpwd() was used only once
Dmitry Stogov [Fri, 10 Nov 2006 09:56:16 +0000 (09:56 +0000)]
Simplify the code base as this getpwd() was used only once

18 years agoAdded missing API declarations.
Ilia Alshanetsky [Fri, 10 Nov 2006 01:28:59 +0000 (01:28 +0000)]
Added missing API declarations.

18 years agoFixed pecl bug #9179 (phpversion("filter") shows wrong version).
Ilia Alshanetsky [Fri, 10 Nov 2006 01:08:17 +0000 (01:08 +0000)]
Fixed pecl bug #9179 (phpversion("filter") shows wrong version).

18 years agoAdded missing PHPAPI declaration
Ilia Alshanetsky [Thu, 9 Nov 2006 20:01:41 +0000 (20:01 +0000)]
Added missing PHPAPI declaration

18 years agoFixed bug #38456 (Apache2 segfaults when virtual() is called in .php
Ilia Alshanetsky [Thu, 9 Nov 2006 19:10:13 +0000 (19:10 +0000)]
Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
ErrorDocument).

18 years agofix test for non English guys
Nuno Lopes [Thu, 9 Nov 2006 16:38:28 +0000 (16:38 +0000)]
fix test for non English guys

18 years agofix an invalid read + invalid free()
Nuno Lopes [Thu, 9 Nov 2006 16:33:07 +0000 (16:33 +0000)]
fix an invalid read + invalid free()

18 years agostatification of local functions and variables.
Nuno Lopes [Thu, 9 Nov 2006 16:04:34 +0000 (16:04 +0000)]
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

18 years agoAdd "As of 5.2.1" notes as requested
Hannes Magnusson [Thu, 9 Nov 2006 12:35:12 +0000 (12:35 +0000)]
Add "As of 5.2.1" notes as requested

18 years agoNew features/errormsgs/return values in ext/zip
Hannes Magnusson [Thu, 9 Nov 2006 11:44:13 +0000 (11:44 +0000)]
New features/errormsgs/return values in ext/zip
New optional parameter in ext/ming