]> granicus.if.org Git - php/log
php
13 years agoFixed bug #50816 (Using class constants in array definition fails).
Dmitry Stogov [Mon, 1 Aug 2011 11:21:23 +0000 (11:21 +0000)]
Fixed bug #50816 (Using class constants in array definition fails).

13 years agofix params parsing
Stanislav Malyshev [Mon, 1 Aug 2011 04:29:37 +0000 (04:29 +0000)]
fix params parsing

13 years agofix tests
Stanislav Malyshev [Mon, 1 Aug 2011 03:42:02 +0000 (03:42 +0000)]
fix tests

13 years agofix failing tests
Stanislav Malyshev [Mon, 1 Aug 2011 01:00:57 +0000 (01:00 +0000)]
fix failing tests

13 years agofix termination in sha-512 too
Stanislav Malyshev [Sun, 31 Jul 2011 23:14:04 +0000 (23:14 +0000)]
fix termination in sha-512 too

13 years agoretore open_basedir check for unlink
Stanislav Malyshev [Sun, 31 Jul 2011 22:43:21 +0000 (22:43 +0000)]
retore open_basedir check for unlink

13 years agofix salt truncation bug in sha256
Stanislav Malyshev [Sun, 31 Jul 2011 21:47:03 +0000 (21:47 +0000)]
fix salt truncation bug in sha256

13 years ago- blowfish 1.2 update, 2nd part
Pierre Joye [Sun, 31 Jul 2011 20:50:09 +0000 (20:50 +0000)]
- blowfish 1.2 update, 2nd part

13 years ago- Fixed tests
Felipe Pena [Sun, 31 Jul 2011 18:51:15 +0000 (18:51 +0000)]
- Fixed tests

13 years agoFixed Bug #55214 use of __CLASS__ within trait returns trait name not class name...
Stefan Marr [Sun, 31 Jul 2011 18:18:56 +0000 (18:18 +0000)]
Fixed Bug #55214  use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]

13 years agoAdded __TRAIT__ magic constant [TRAITS] [DOC]
Stefan Marr [Sun, 31 Jul 2011 17:39:30 +0000 (17:39 +0000)]
Added __TRAIT__ magic constant [TRAITS] [DOC]
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.

13 years agoAdded: SKIP when tokenizer extension is not available
Stefan Marr [Sun, 31 Jul 2011 16:35:09 +0000 (16:35 +0000)]
Added: SKIP when tokenizer extension is not available

13 years agoFixed test which was assuming that E_STRICT is not on by default.
Stefan Marr [Sun, 31 Jul 2011 16:15:40 +0000 (16:15 +0000)]
Fixed test which was assuming that E_STRICT is not on by default.

13 years ago- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
Felipe Pena [Sun, 31 Jul 2011 12:27:47 +0000 (12:27 +0000)]
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
  patch by: Gustavo Lopes (cataphract@php)

13 years ago- Fix #55301 (sybase part, take #2) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 21:16:51 +0000 (21:16 +0000)]
- Fix #55301 (sybase part, take #2) check if malloc succeded

13 years agoReverted Gopal's patch that allowed plugable interned string check
Dmitry Stogov [Thu, 28 Jul 2011 12:01:42 +0000 (12:01 +0000)]
Reverted Gopal's patch that allowed plugable interned string check
1. It introduced a significant slowdown
2. It didn't fix the real problem in APC (I'm goint to commit the fix)

13 years ago- Fix #55301 (mssql part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 11:01:04 +0000 (11:01 +0000)]
- Fix #55301 (mssql part) check if malloc succeded

13 years ago- Fix #55301 (sybase part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:57:31 +0000 (10:57 +0000)]
- Fix #55301 (sybase part) check if malloc succeded

13 years ago- Fix #55301 (url scanner part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:52:45 +0000 (10:52 +0000)]
- Fix #55301 (url scanner part) check if malloc succeded

13 years ago- Fix #55301 (readline part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:42:45 +0000 (10:42 +0000)]
- Fix #55301 (readline part) check if malloc succeded

13 years ago- Fix #55301 (interbase part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:39:08 +0000 (10:39 +0000)]
- Fix #55301 (interbase part) check if malloc succeded

13 years ago- Fix #55301 (pdo_odbc part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:37:04 +0000 (10:37 +0000)]
- Fix #55301 (pdo_odbc part) check if malloc succeded

13 years ago- Fix #55301 (com_dotnet part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:34:16 +0000 (10:34 +0000)]
- Fix #55301 (com_dotnet part) check if malloc succeded

13 years ago- Fix #55301 (curl part) check if malloc succeded
Pierre Joye [Thu, 28 Jul 2011 10:31:34 +0000 (10:31 +0000)]
- Fix #55301 (curl part) check if malloc succeded

13 years agoAllow zend_is_interned_string to be pluggable
Gopal Vijayaraghavan [Wed, 27 Jul 2011 23:34:49 +0000 (23:34 +0000)]
Allow zend_is_interned_string to be pluggable

13 years ago- do safemode/open basedir checks 1st, and use only expand not realpath (it is done...
Pierre Joye [Wed, 27 Jul 2011 14:58:30 +0000 (14:58 +0000)]
- do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already)

13 years ago- Fix #55295, check if malloc failed
Pierre Joye [Wed, 27 Jul 2011 14:23:06 +0000 (14:23 +0000)]
- Fix #55295, check if malloc failed

13 years agoCheck if given string is long enough in zend_*_strtod
David Soria Parra [Wed, 27 Jul 2011 14:17:45 +0000 (14:17 +0000)]
Check if given string is long enough in zend_*_strtod

13 years ago- do not resolve the link if all we want is to open that file
Pierre Joye [Wed, 27 Jul 2011 12:20:32 +0000 (12:20 +0000)]
- do not resolve the link if all we want is to open that file

13 years ago- WS
Pierre Joye [Wed, 27 Jul 2011 11:58:39 +0000 (11:58 +0000)]
- WS

13 years ago- do not resolve the link if all we want is to open that file
Pierre Joye [Wed, 27 Jul 2011 11:57:44 +0000 (11:57 +0000)]
- do not resolve the link if all we want is to open that file

13 years agolonger error messages, don't cut them
Andrey Hristov [Wed, 27 Jul 2011 10:26:59 +0000 (10:26 +0000)]
longer error messages, don't cut them

13 years agoadded (recursive)callbackfilteriterator to spl_classes() (bug #55287)
Peter Cowburn [Wed, 27 Jul 2011 08:48:08 +0000 (08:48 +0000)]
added (recursive)callbackfilteriterator to spl_classes() (bug #55287)

13 years ago- upgrading entry for binary number format
Pierre Joye [Wed, 27 Jul 2011 00:18:35 +0000 (00:18 +0000)]
- upgrading entry for binary number format

13 years ago- correct 1st name
Pierre Joye [Wed, 27 Jul 2011 00:16:53 +0000 (00:16 +0000)]
- correct 1st name

13 years ago- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotatio...
Pierre Joye [Wed, 27 Jul 2011 00:14:02 +0000 (00:14 +0000)]
- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris

13 years agoAdd explicit casts to remove some of Pierre's snapshot build warnings
Christopher Jones [Wed, 27 Jul 2011 00:04:47 +0000 (00:04 +0000)]
Add explicit casts to remove some of Pierre's snapshot build warnings

13 years ago- news for bug #55124
Pierre Joye [Tue, 26 Jul 2011 23:58:18 +0000 (23:58 +0000)]
- news for bug #55124

13 years agoFix #55269 (--enable-dtrace fail on FreeBSD)
David Soria Parra [Tue, 26 Jul 2011 23:49:37 +0000 (23:49 +0000)]
Fix #55269 (--enable-dtrace fail on FreeBSD)

13 years ago- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path
Pierre Joye [Tue, 26 Jul 2011 17:44:20 +0000 (17:44 +0000)]
- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path

13 years agoDouble check if line is sill usable and connected to last successfully selected db.
Ulf Wendel [Tue, 26 Jul 2011 16:14:59 +0000 (16:14 +0000)]
Double check if line is sill usable and connected to last successfully selected db.

13 years agoCheck what happens if switching DB via API fails. Expected: no change of current...
Ulf Wendel [Tue, 26 Jul 2011 15:37:59 +0000 (15:37 +0000)]
Check what happens if switching DB via API fails. Expected: no change of current DB/schema.

13 years agoWould be nice if tests get updated whenever a feature is added by the person adding...
Ulf Wendel [Tue, 26 Jul 2011 09:33:01 +0000 (09:33 +0000)]
Would be nice if tests get updated whenever a feature is added by the person adding the feature...

13 years agoFix mysqlnd detection
Ulf Wendel [Tue, 26 Jul 2011 09:30:49 +0000 (09:30 +0000)]
Fix mysqlnd detection

13 years ago- simplify
Pierre Joye [Tue, 26 Jul 2011 09:27:53 +0000 (09:27 +0000)]
- simplify

13 years ago- use cwd_expand now
Pierre Joye [Tue, 26 Jul 2011 07:30:41 +0000 (07:30 +0000)]
- use cwd_expand now

13 years agoFix cast warning seen on some platforms
Christopher Jones [Mon, 25 Jul 2011 23:40:57 +0000 (23:40 +0000)]
Fix cast warning seen on some platforms

13 years agoPatch r313663 and r313665 to allow PECL builds to work with earlier releases
Christopher Jones [Mon, 25 Jul 2011 17:30:09 +0000 (17:30 +0000)]
Patch r313663 and r313665 to allow PECL builds to work with earlier releases

13 years agoRemove old testname. This file now diverges from PHP_5_3
Christopher Jones [Mon, 25 Jul 2011 17:25:47 +0000 (17:25 +0000)]
Remove old testname. This file now diverges from PHP_5_3

13 years agoUpdate skipif
Christopher Jones [Mon, 25 Jul 2011 17:22:48 +0000 (17:22 +0000)]
Update skipif

13 years ago- add expand_filepath_with_mode (not used anywhere yet but will be used for file...
Pierre Joye [Mon, 25 Jul 2011 16:50:07 +0000 (16:50 +0000)]
- add expand_filepath_with_mode (not used anywhere yet but will be used for file ops (fopen&co) to avoid extra links resolution and other non required ops on open

13 years agoFix #55121 Segfault with multipart/form-data POST
Florian Anderiasch [Mon, 25 Jul 2011 16:45:39 +0000 (16:45 +0000)]
Fix #55121 Segfault with multipart/form-data POST

13 years agoTest update. 5.4+ is more verbose.
Ulf Wendel [Mon, 25 Jul 2011 15:07:54 +0000 (15:07 +0000)]
Test update. 5.4+ is more verbose.

13 years agoTest update. 5.4+ throws a catchable fatal error, 5.3 does not.
Ulf Wendel [Mon, 25 Jul 2011 14:53:01 +0000 (14:53 +0000)]
Test update. 5.4+ throws a catchable fatal error, 5.3 does not.

13 years ago- Fix compiler warning
Felipe Pena [Mon, 25 Jul 2011 11:51:43 +0000 (11:51 +0000)]
- Fix compiler warning

13 years ago- Use ZEND_FE_END macro here
Felipe Pena [Mon, 25 Jul 2011 11:50:10 +0000 (11:50 +0000)]
- Use ZEND_FE_END macro here

13 years ago- Make usage of new PHP_FE_END macro
Felipe Pena [Mon, 25 Jul 2011 11:35:02 +0000 (11:35 +0000)]
- Make usage of new PHP_FE_END macro

13 years ago- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
Felipe Pena [Mon, 25 Jul 2011 11:30:53 +0000 (11:30 +0000)]
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)

13 years agoWhen you add something that changes the phpinfo output, please
Rasmus Lerdorf [Mon, 25 Jul 2011 05:32:08 +0000 (05:32 +0000)]
When you add something that changes the phpinfo output, please
update this test.

13 years agoAdded forgotten tests cases for class_uses() from commit rev. 313640
Stefan Marr [Sun, 24 Jul 2011 10:20:08 +0000 (10:20 +0000)]
Added forgotten tests cases for class_uses() from commit rev. 313640

13 years agoNo E_STRICT in production
Stanislav Malyshev [Sun, 24 Jul 2011 05:42:29 +0000 (05:42 +0000)]
No E_STRICT in production

13 years agoChange E_ALL to include E_STRICT
Stanislav Malyshev [Sat, 23 Jul 2011 22:07:22 +0000 (22:07 +0000)]
Change E_ALL to include E_STRICT

13 years ago- MQ section
Pierre Joye [Sat, 23 Jul 2011 20:45:18 +0000 (20:45 +0000)]
- MQ section

13 years ago- add short array syntax, missing files and info
Pierre Joye [Sat, 23 Jul 2011 20:27:08 +0000 (20:27 +0000)]
- add short array syntax, missing files and info

13 years ago- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays...
Pierre Joye [Sat, 23 Jul 2011 20:23:21 +0000 (20:23 +0000)]
- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only

13 years agoAdded missing class_uses(..) function to SPL to mirror class_implements(..).
Stefan Marr [Sat, 23 Jul 2011 19:08:43 +0000 (19:08 +0000)]
Added missing class_uses(..) function to SPL to mirror class_implements(..).

# Was pointed out as missing in bug #55266.

13 years agoFixed incorrect initialization when copied op_array.vars was NULL (TRAITS)
Stefan Marr [Sat, 23 Jul 2011 18:12:31 +0000 (18:12 +0000)]
Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS)

13 years agoFixed bug in the handling of conflicting property initializers for traits.
Stefan Marr [Sat, 23 Jul 2011 13:48:07 +0000 (13:48 +0000)]
Fixed bug in the handling of conflicting property initializers for traits.
# Bug was uncovered by discussion in http://news.php.net/php.internals/54129
# Forgot to check the actual value of the initializer comparison, only checked
# whether comparison was successful which is not enough.

13 years agoAdded test case which was only added to trunk, bug seems to be fixed already.
Stefan Marr [Sat, 23 Jul 2011 13:42:58 +0000 (13:42 +0000)]
Added test case which was only added to trunk, bug seems to be fixed already.

13 years ago- Give index.php a precedence over index.html. Patch by davidc.
Moriyoshi Koizumi [Sat, 23 Jul 2011 11:29:26 +0000 (11:29 +0000)]
- Give index.php a precedence over index.html.  Patch by davidc.

13 years agoWhen we have a blocking SSL socket, respect the timeout option.
Scott MacVicar [Sat, 23 Jul 2011 01:29:44 +0000 (01:29 +0000)]
When we have a blocking SSL socket, respect the timeout option.

reading from SSL sockets could block indefinitely due to the lack
of timeout

13 years ago- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_a...
Felipe Pena [Sat, 23 Jul 2011 01:08:24 +0000 (01:08 +0000)]
- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets

13 years agoDelete empty test files (old MQ tests)
Pierrick Charron [Fri, 22 Jul 2011 12:12:05 +0000 (12:12 +0000)]
Delete empty test files (old MQ tests)

13 years ago- remove magic quotes support, functions are kept (see the NEWS entry for the details...
Pierre Joye [Fri, 22 Jul 2011 11:56:20 +0000 (11:56 +0000)]
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4

13 years ago- WS
Pierre Joye [Fri, 22 Jul 2011 11:26:23 +0000 (11:26 +0000)]
- WS

13 years ago- remove magic quotes support, functions are kept (see the NEWS entry for the details...
Pierre Joye [Fri, 22 Jul 2011 11:25:30 +0000 (11:25 +0000)]
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ

13 years agoFix spelling error.
Daniel Convissor [Thu, 21 Jul 2011 19:56:54 +0000 (19:56 +0000)]
Fix spelling error.

13 years agoHave test for add/sub/diff one second during ST/DST transition in spring.
Daniel Convissor [Thu, 21 Jul 2011 15:35:06 +0000 (15:35 +0000)]
Have test for add/sub/diff one second during ST/DST transition in spring.

13 years agos/noOIDIncreasingCheck/oid_increasing_check/
Boris Lytochkin [Thu, 21 Jul 2011 12:48:47 +0000 (12:48 +0000)]
s/noOIDIncreasingCheck/oid_increasing_check/

13 years ago- Show PHP_VERSION in the banner. Suggested by Chris and others.
Moriyoshi Koizumi [Thu, 21 Jul 2011 07:31:29 +0000 (07:31 +0000)]
- Show PHP_VERSION in the banner. Suggested by Chris and others.

13 years agoremoving openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage...
Ryan Biesemeyer [Wed, 20 Jul 2011 21:25:39 +0000 (21:25 +0000)]
removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt

13 years agoupdate test for bug #55169, fix skipif
Ryan Biesemeyer [Wed, 20 Jul 2011 21:13:03 +0000 (21:13 +0000)]
update test for bug #55169, fix skipif

13 years agoupdate test for bug #55169, don't require the extension in INI
Ryan Biesemeyer [Wed, 20 Jul 2011 20:57:17 +0000 (20:57 +0000)]
update test for bug #55169, don't require the extension in INI

13 years agotests for bug #55169 (mcrypt and openssl)
Ryan Biesemeyer [Wed, 20 Jul 2011 18:59:05 +0000 (18:59 +0000)]
tests for bug #55169 (mcrypt and openssl)

13 years agoRename and enhance test for bug 55253 now that bugs web is up.
Daniel Convissor [Wed, 20 Jul 2011 18:24:14 +0000 (18:24 +0000)]
Rename and enhance test for bug 55253 now that bugs web is up.

13 years agoFixed bug #55071. Maybe a bit overkill?
Moriyoshi Koizumi [Wed, 20 Jul 2011 09:00:20 +0000 (09:00 +0000)]
Fixed bug #55071.  Maybe a bit overkill?

13 years ago- Better error handling.
Moriyoshi Koizumi [Wed, 20 Jul 2011 08:43:12 +0000 (08:43 +0000)]
- Better error handling.

13 years ago- Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting...
Moriyoshi Koizumi [Wed, 20 Jul 2011 04:34:01 +0000 (04:34 +0000)]
- Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.

13 years ago- re apply the rng change specific to windows, long term it should be a std function...
Pierre Joye [Tue, 19 Jul 2011 23:01:41 +0000 (23:01 +0000)]
- re apply the rng change specific to windows, long term it should be a std function but as this function was badly introduced in the 1st place, we have to fix the bad things here instead, pls do not revert again, bad idea.

13 years ago- Dropped restriction of not setting the same value multiple times, the last one...
Jérôme Loyet [Tue, 19 Jul 2011 22:38:04 +0000 (22:38 +0000)]
- Dropped restriction of not setting the same value multiple times, the last one holds (giovanni at giacobbi dot net)

13 years agoRevert change to use a special Windows version of openssl_random_pseudo_bytes().
Scott MacVicar [Tue, 19 Jul 2011 22:29:55 +0000 (22:29 +0000)]
Revert change to use a special Windows version of openssl_random_pseudo_bytes().

Lets discuss this on internals first. We're advertising something from the OpenSSL library
and then subverting it with another Windows OS call.

What are the implications of this? Should we make this available in ext/standard/ instead?

13 years ago- enhanced log messages
Jérôme Loyet [Tue, 19 Jul 2011 22:18:08 +0000 (22:18 +0000)]
- enhanced log messages
- code cosmetic

13 years agoopenssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the defaul...
Scott MacVicar [Tue, 19 Jul 2011 22:15:56 +0000 (22:15 +0000)]
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.

The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.

Also fixed an error in the zend_parse_parameters() having an invalid character being used.

13 years ago- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
Felipe Pena [Tue, 19 Jul 2011 22:12:13 +0000 (22:12 +0000)]
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)

13 years agoFix for bug http://bugs.php.net/54426
Popa Adrian Marius [Tue, 19 Jul 2011 20:23:26 +0000 (20:23 +0000)]
Fix for bug http://bugs.php.net/54426

Checks for NULL are wrong as the values can be provided by the triggers

13 years ago- Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code...
Moriyoshi Koizumi [Tue, 19 Jul 2011 18:17:25 +0000 (18:17 +0000)]
- Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code disclosure)).

13 years ago- Buffers are local to the blocks where they belong.
Moriyoshi Koizumi [Tue, 19 Jul 2011 18:00:16 +0000 (18:00 +0000)]
- Buffers are local to the blocks where they belong.

13 years ago- Print HTTP method as well in the log.
Moriyoshi Koizumi [Tue, 19 Jul 2011 17:47:34 +0000 (17:47 +0000)]
- Print HTTP method as well in the log.
- Print response code also when the request is processed by a script.
- Those changes partly closes #55109.

13 years ago- cleanup
Pierre Joye [Tue, 19 Jul 2011 12:02:22 +0000 (12:02 +0000)]
- cleanup

13 years ago- update libpng to 1.2.46
Pierre Joye [Tue, 19 Jul 2011 10:22:42 +0000 (10:22 +0000)]
- update libpng to 1.2.46