]> granicus.if.org Git - php/log
php
10 years agoFinish PHP 4 constructor deprecation
Nikita Popov [Tue, 31 Mar 2015 14:10:06 +0000 (16:10 +0200)]
Finish PHP 4 constructor deprecation

10 years agoDeprecate PHP 4 constructors
Andrea Faulds [Tue, 31 Mar 2015 14:10:22 +0000 (16:10 +0200)]
Deprecate PHP 4 constructors

10 years agoMerge branch 'PHP-5.6'
Derick Rethans [Tue, 31 Mar 2015 15:36:51 +0000 (16:36 +0100)]
Merge branch 'PHP-5.6'

Conflicts:
ext/date/lib/parse_date.c
ext/date/php_date.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Tue, 31 Mar 2015 15:35:10 +0000 (16:35 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoFixed bug #69336 (Issues with "last day of <monthname>").
Derick Rethans [Tue, 31 Mar 2015 15:35:03 +0000 (16:35 +0100)]
Fixed bug #69336 (Issues with "last day of <monthname>").

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Tue, 31 Mar 2015 14:00:17 +0000 (16:00 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  5.5.25 now

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Tue, 31 Mar 2015 13:57:44 +0000 (15:57 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  5.5.25 now

10 years ago5.5.25 now
Julien Pauli [Tue, 31 Mar 2015 13:51:47 +0000 (15:51 +0200)]
5.5.25 now

10 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 31 Mar 2015 13:36:26 +0000 (16:36 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  force ext/odbc to be shared in snapshot build

10 years agoConvert fatal errors on improper access to static properties into EngineExceptions
Dmitry Stogov [Tue, 31 Mar 2015 13:35:27 +0000 (16:35 +0300)]
Convert fatal errors on improper access to static properties into EngineExceptions

10 years agoforce ext/odbc to be shared in snapshot build
Anatol Belski [Tue, 31 Mar 2015 09:25:12 +0000 (11:25 +0200)]
force ext/odbc to be shared in snapshot build

10 years agoConvert "Unsupported operands" fatal error into EngineException (exceptions can't...
Dmitry Stogov [Tue, 31 Mar 2015 10:25:26 +0000 (13:25 +0300)]
Convert "Unsupported operands" fatal error into EngineException (exceptions can't be thrown at compile-time yet, so unsuported operands in constant expressions are still lead to fatal error).

10 years agoMerge branch 'PHP-5.6'
Derick Rethans [Tue, 31 Mar 2015 10:09:31 +0000 (11:09 +0100)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Tue, 31 Mar 2015 10:09:23 +0000 (11:09 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoExport date_get_immutable_ce() so that extensions can make use of it too.
Derick Rethans [Tue, 31 Mar 2015 10:08:56 +0000 (11:08 +0100)]
Export date_get_immutable_ce() so that extensions can make use of it too.

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Tue, 31 Mar 2015 08:52:43 +0000 (16:52 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoRevert "Better to taverse reversely"
Xinchen Hui [Tue, 31 Mar 2015 08:52:30 +0000 (16:52 +0800)]
Revert "Better to taverse reversely"

This reverts commit 51451ab84ad24430c0e3e3cf67eac297be9cf917.

10 years agoMerge branch 'PHP-5.6'
Lior Kaplan [Tue, 31 Mar 2015 06:28:22 +0000 (09:28 +0300)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Align entries format
  Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
  Add CVE for bug #69207
  Align NEWS entries with 5.6.7
  Align entries format
  Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
  Add CVE for bug #69207

10 years agoAlign entries format
Lior Kaplan [Tue, 31 Mar 2015 06:26:34 +0000 (09:26 +0300)]
Align entries format

10 years agoUpdate CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
Lior Kaplan [Tue, 31 Mar 2015 06:24:56 +0000 (09:24 +0300)]
Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710

10 years agoAdd CVE for bug #69207
Lior Kaplan [Tue, 31 Mar 2015 06:23:34 +0000 (09:23 +0300)]
Add CVE for bug #69207

10 years agoAlign NEWS entries with 5.6.7
Lior Kaplan [Tue, 31 Mar 2015 06:20:29 +0000 (09:20 +0300)]
Align NEWS entries with 5.6.7

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Lior Kaplan [Tue, 31 Mar 2015 06:17:13 +0000 (09:17 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Align entries format
  Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
  Add CVE for bug #69207

10 years agoAlign entries format
Lior Kaplan [Tue, 31 Mar 2015 06:14:06 +0000 (09:14 +0300)]
Align entries format

10 years agoUpdate CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
Lior Kaplan [Tue, 31 Mar 2015 06:12:05 +0000 (09:12 +0300)]
Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710

10 years agoAdd CVE for bug #69207
Lior Kaplan [Tue, 31 Mar 2015 06:11:21 +0000 (09:11 +0300)]
Add CVE for bug #69207

10 years agoUsing int32_t opposite of uint32_t
Xinchen Hui [Tue, 31 Mar 2015 04:40:29 +0000 (12:40 +0800)]
Using int32_t opposite of uint32_t

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Tue, 31 Mar 2015 03:54:08 +0000 (11:54 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoAdd XFAIL test
Xinchen Hui [Tue, 31 Mar 2015 03:53:52 +0000 (11:53 +0800)]
Add XFAIL test

10 years agoImplement additional type reservations
Nikita Popov [Mon, 30 Mar 2015 20:05:26 +0000 (22:05 +0200)]
Implement additional type reservations

 * The class names false, true and null are now reserved.
 * The code dealing with reserved class names is now decoupled
   from scalar type hint handling. It also includes self, parent,
   and static, which are class names which were already reserved
   previously.
 * Reuse existing messages for reserved class names.

Fallout: class_alias() can no longer alias self, parent and static.
However this never really worked in the first place, as the test
which was testing this shows.

10 years agoAdded missing zend_parse_parameters_none() to restore_error_handler() and restore_exc...
Kalle Sommer Nielsen [Mon, 30 Mar 2015 15:57:32 +0000 (17:57 +0200)]
Added missing zend_parse_parameters_none() to restore_error_handler() and restore_exception_handler() (Ferenc)

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Mon, 30 Mar 2015 14:29:18 +0000 (16:29 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  BFN
  Fixed bug #64931

10 years agoBFN
Michael Wallner [Mon, 30 Mar 2015 14:27:08 +0000 (16:27 +0200)]
BFN

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Mon, 30 Mar 2015 14:25:47 +0000 (16:25 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #64931

10 years agoFixed bug #64931
Michael Wallner [Mon, 30 Mar 2015 14:19:17 +0000 (16:19 +0200)]
Fixed bug #64931

phar_add_file is too restrive on filename

Check for any of '/', '\\', '\0' after ".phar".

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Mon, 30 Mar 2015 13:41:53 +0000 (15:41 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  BFN
  Fixed Bug #65467

10 years agoBFN
Michael Wallner [Mon, 30 Mar 2015 13:41:36 +0000 (15:41 +0200)]
BFN

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Mon, 30 Mar 2015 13:41:03 +0000 (15:41 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed Bug #65467

10 years agoFixed Bug #65467
Michael Wallner [Mon, 30 Mar 2015 13:39:30 +0000 (15:39 +0200)]
Fixed Bug #65467

Call to undefined method cli_arg_typ_string

Use cli_arg_typ_filecontent instead.

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Mon, 30 Mar 2015 12:45:38 +0000 (14:45 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  BFN
  fix bug #67761

10 years agoBFN
Michael Wallner [Mon, 30 Mar 2015 12:43:02 +0000 (14:43 +0200)]
BFN

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Mon, 30 Mar 2015 12:42:37 +0000 (14:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix bug #67761

10 years agofix bug #67761
Michael Wallner [Mon, 30 Mar 2015 12:41:30 +0000 (14:41 +0200)]
fix bug #67761

Phar::mapPhar fails for Phars inside a path containing ".tar".

Strengthen the silly .tar file extension check.

10 years agoIt's lowercase now
Xinchen Hui [Mon, 30 Mar 2015 12:32:02 +0000 (20:32 +0800)]
It's lowercase now

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Mon, 30 Mar 2015 12:20:55 +0000 (20:20 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
NEWS
ext/opcache/Optimizer/pass1_5.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Mon, 30 Mar 2015 11:48:57 +0000 (13:48 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug 64343

; Lesson learned: do not rebase on a merge commit

10 years agoFixed bug 64343
Michael Wallner [Mon, 30 Mar 2015 11:09:32 +0000 (13:09 +0200)]
Fixed bug 64343

PharData::extractTo fails for tarball created by BSD tar

Phar did not know about PAX style global/file headers.
Skip them, to be able to read the contents of those archives.

10 years agoFixed bug 64343
Michael Wallner [Mon, 30 Mar 2015 11:09:32 +0000 (13:09 +0200)]
Fixed bug 64343

PharData::extractTo fails for tarball created by BSD tar

Phar did not know about PAX style global/file headers.
Skip them, to be able to read the contents of those archives.

10 years agoFixed typos
Xinchen Hui [Mon, 30 Mar 2015 08:56:12 +0000 (16:56 +0800)]
Fixed typos

10 years agoFixed tests
Xinchen Hui [Mon, 30 Mar 2015 08:25:41 +0000 (16:25 +0800)]
Fixed tests

10 years agoBetter to taverse reversely
Xinchen Hui [Mon, 30 Mar 2015 07:26:59 +0000 (15:26 +0800)]
Better to taverse reversely

10 years agoFixed test
Xinchen Hui [Mon, 30 Mar 2015 06:18:23 +0000 (14:18 +0800)]
Fixed test

10 years agoThis check here is not needed anymore for Windows (Unsupported Windows version check)
Kalle Sommer Nielsen [Mon, 30 Mar 2015 02:13:43 +0000 (04:13 +0200)]
This check here is not needed anymore for Windows (Unsupported Windows version check)

10 years agoFix additional NULL byte added to string keys in get_header(), spotted by Ferenc
Kalle Sommer Nielsen [Sun, 29 Mar 2015 22:52:28 +0000 (00:52 +0200)]
Fix additional NULL byte added to string keys in get_header(), spotted by Ferenc

10 years agoupdated libmagic.patch
Anatol Belski [Sun, 29 Mar 2015 16:22:42 +0000 (18:22 +0200)]
updated libmagic.patch

10 years agofurther sync with libmagic.orig
Anatol Belski [Sun, 29 Mar 2015 16:17:02 +0000 (18:17 +0200)]
further sync with libmagic.orig

10 years agocatch up with libmagic.orig
Anatol Belski [Sun, 29 Mar 2015 16:11:11 +0000 (18:11 +0200)]
catch up with libmagic.orig

that'll simplify future merges

10 years agofix typo
Anatol Belski [Sun, 29 Mar 2015 15:59:28 +0000 (17:59 +0200)]
fix typo

10 years agocatch up with libmagic.orig
Anatol Belski [Sun, 29 Mar 2015 15:57:22 +0000 (17:57 +0200)]
catch up with libmagic.orig

10 years agoadded test for bug #69320
Anatol Belski [Sun, 29 Mar 2015 15:52:38 +0000 (17:52 +0200)]
added test for bug #69320

10 years agoFixed bug #69320 libmagic crash when running laravel tests
Anatol Belski [Sun, 29 Mar 2015 15:42:59 +0000 (17:42 +0200)]
Fixed bug #69320 libmagic crash when running laravel tests

Basically reverted the part of the new patch to what we have in 5.6
as the current change seems to have bad side effects. Hovere the
in buffer used for PCRE is still doubled (1 << 14), this might or
might not be optimal, so lets observe.

10 years agoifdef win only api
Anatol Belski [Sun, 29 Mar 2015 11:18:25 +0000 (13:18 +0200)]
ifdef win only api

10 years agoUpdate credits
Kalle Sommer Nielsen [Sun, 29 Mar 2015 08:15:43 +0000 (10:15 +0200)]
Update credits

10 years agoWe can re-use the already existing EG(windows_version_info) here and save a little...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 07:47:14 +0000 (09:47 +0200)]
We can re-use the already existing EG(windows_version_info) here and save a little bit of memory too!

10 years agoRemove the special disabled functions on Windows, since we don't even support those...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 07:41:47 +0000 (09:41 +0200)]
Remove the special disabled functions on Windows, since we don't even support those versions of Windows anymore hence it makes no sense to even check for it

10 years agoAnother minor cleanup, drop ENFORCE_SAFE_MODE (all except pdo_pgsql have #if's for...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 07:34:05 +0000 (09:34 +0200)]
Another minor cleanup, drop ENFORCE_SAFE_MODE (all except pdo_pgsql have #if's for checking already)

10 years agoShameless self credit for the Windows support for contributions in the almost past...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 06:11:08 +0000 (08:11 +0200)]
Shameless self credit for the Windows support for contributions in the almost past decade (How time flies when you are having fun)

10 years agoThis should be the last of the old VC stuff in the Windows build system, also up...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 06:05:42 +0000 (08:05 +0200)]
This should be the last of the old VC stuff in the Windows build system, also up the check to require VC11 now

10 years agoForgot this one in the last commit, removes old VC support from ext/fileinfo
Kalle Sommer Nielsen [Sun, 29 Mar 2015 05:54:18 +0000 (07:54 +0200)]
Forgot this one in the last commit, removes old VC support from ext/fileinfo

10 years agoDrop the VC6 portable version of strtoi64, as it is no longer needed
Kalle Sommer Nielsen [Sun, 29 Mar 2015 05:49:35 +0000 (07:49 +0200)]
Drop the VC6 portable version of strtoi64, as it is no longer needed

10 years agoDrop old VC support for ext/fileinfo.
Kalle Sommer Nielsen [Sun, 29 Mar 2015 05:48:48 +0000 (07:48 +0200)]
Drop old VC support for ext/fileinfo.

@Anatol, I generated the updated patch file against file 5.22, since you are the one that usually updates it, can you please confirm it works?

10 years agoDrop this redundant check, since the minimum version of VC we support is VC11 (_MSC_V...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 05:14:54 +0000 (07:14 +0200)]
Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_VER == 1700) in ext/date

10 years agoDrop old VC support in Zend Engine, this also kills the remaining MessageBox fix...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 05:10:39 +0000 (07:10 +0200)]
Drop old VC support in Zend Engine, this also kills the remaining MessageBox fix for Windows 9x that Anatol changed a while back

10 years agoDrop old VC support (VC <= 9), for dns.c, this means that DNS_TYPE_NAPTR always is...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:57:11 +0000 (06:57 +0200)]
Drop old VC support (VC <= 9), for dns.c, this means that DNS_TYPE_NAPTR always is available

10 years agoRemove this VC8 check as our minimum target version of VC is higher
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:50:09 +0000 (06:50 +0200)]
Remove this VC8 check as our minimum target version of VC is higher

10 years agoDrop this VC8+ check, since our bare minimum of required VC version is higher anyway...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:45:40 +0000 (06:45 +0200)]
Drop this VC8+ check, since our bare minimum of required VC version is higher anyway, meaning that CRT warnings are always supported.

10 years agoDrop VC6 support in sapi/apache2handler
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:37:07 +0000 (06:37 +0200)]
Drop VC6 support in sapi/apache2handler

10 years agoDrop VC6 support in ext/calendar
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:35:23 +0000 (06:35 +0200)]
Drop VC6 support in ext/calendar

10 years agoDrop this struct (it was only used for VC6 which we don't support anyway)
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:20:30 +0000 (06:20 +0200)]
Drop this struct (it was only used for VC6 which we don't support anyway)

10 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:09:02 +0000 (06:09 +0200)]
Merge branch 'master' of https://git.php.net/push/php-src

10 years agoEnable all compiler warnings and linker warnings for debug builds on Windows. This...
Kalle Sommer Nielsen [Sun, 29 Mar 2015 04:06:24 +0000 (06:06 +0200)]
Enable all compiler warnings and linker warnings for debug builds on Windows. This is a slightly modified version of the patch in #55709

10 years agoFixed typo
Xinchen Hui [Sat, 28 Mar 2015 10:51:57 +0000 (18:51 +0800)]
Fixed typo

10 years agoFixed is_callable/function_exists with disable_functions
Xinchen Hui [Sat, 28 Mar 2015 09:07:11 +0000 (17:07 +0800)]
Fixed is_callable/function_exists with disable_functions

10 years agoFixed memleak
Xinchen Hui [Sat, 28 Mar 2015 06:35:14 +0000 (14:35 +0800)]
Fixed memleak

ext/standard/tests/serialize/bug69210.phpt

10 years agoMerge branch 'bug69315' of https://github.com/laruence/php-src
Xinchen Hui [Sat, 28 Mar 2015 06:09:54 +0000 (14:09 +0800)]
Merge branch 'bug69315' of https://github.com/laruence/php-src

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Sat, 28 Mar 2015 03:02:23 +0000 (11:02 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoDrop zend_indent() as it was never used, complete or working
Kalle Sommer Nielsen [Fri, 27 Mar 2015 19:04:46 +0000 (20:04 +0100)]
Drop zend_indent() as it was never used, complete or working

10 years agoDisallow direct incdec of function return value
Nikita Popov [Fri, 27 Mar 2015 15:40:04 +0000 (16:40 +0100)]
Disallow direct incdec of function return value

Matching PHP 5 behavior.

We may want to support this for by-reference returns, but that
requires implementing further checks.

10 years agoMerge branch 'master' of https://git.php.net/push/php-src
Kalle Sommer Nielsen [Fri, 27 Mar 2015 14:21:52 +0000 (15:21 +0100)]
Merge branch 'master' of https://git.php.net/push/php-src

10 years agoRemove these CFLAGS for ereg in opcache, we don't use them anymore (as opcache uses...
Kalle Sommer Nielsen [Fri, 27 Mar 2015 14:01:31 +0000 (15:01 +0100)]
Remove these CFLAGS for ereg in opcache, we don't use them anymore (as opcache uses PCRE) together with ereg being gone

10 years agoAdd RAND_egd check for compiling against LibreSSL
Leigh [Fri, 27 Mar 2015 12:24:36 +0000 (13:24 +0100)]
Add RAND_egd check for compiling against LibreSSL

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Leigh [Fri, 27 Mar 2015 12:26:48 +0000 (13:26 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add RAND_egd check for compiling against LibreSSL

10 years agoAdd RAND_egd check for compiling against LibreSSL
Leigh [Fri, 27 Mar 2015 12:24:36 +0000 (13:24 +0100)]
Add RAND_egd check for compiling against LibreSSL

10 years agoFixed bug #69315
Xinchen Hui [Fri, 27 Mar 2015 09:50:36 +0000 (17:50 +0800)]
Fixed bug #69315

10 years agoUseless comment
Xinchen Hui [Thu, 26 Mar 2015 05:50:43 +0000 (13:50 +0800)]
Useless comment

10 years agoFix test on Windows
Kalle Sommer Nielsen [Thu, 26 Mar 2015 02:29:18 +0000 (03:29 +0100)]
Fix test on Windows

10 years agoFix test on Windows
Kalle Sommer Nielsen [Thu, 26 Mar 2015 02:22:57 +0000 (03:22 +0100)]
Fix test on Windows

10 years agoAnother CRLF test fix
Kalle Sommer Nielsen [Thu, 26 Mar 2015 02:18:42 +0000 (03:18 +0100)]
Another CRLF test fix

10 years agoFix tests on Windows
Kalle Sommer Nielsen [Thu, 26 Mar 2015 02:13:50 +0000 (03:13 +0100)]
Fix tests on Windows

CRLF takes +2 bytes when running the tests, making it yield 13 instead of 11

10 years agoMinor cosmetics for our test functions in the debug build
Kalle Sommer Nielsen [Thu, 26 Mar 2015 01:03:55 +0000 (02:03 +0100)]
Minor cosmetics for our test functions in the debug build