]>
granicus.if.org Git - php/log
Anatol Belski [Sun, 10 May 2015 19:56:41 +0000 (21:56 +0200)]
catch more places for libxml headers search
Anatol Belski [Sun, 10 May 2015 19:28:20 +0000 (21:28 +0200)]
improve searchability for libxml2 headers
and bring the configs inline with the current libxml2 build
Anatol Belski [Sun, 10 May 2015 19:27:20 +0000 (21:27 +0200)]
fix snprintf redefinition in libxmlrpc under vc14
Anatol Belski [Sun, 10 May 2015 19:16:56 +0000 (21:16 +0200)]
fix timezone usage in soap for vc14
Jakub Zelenka [Sun, 10 May 2015 17:08:16 +0000 (18:08 +0100)]
Tidy up and regenerate json parser with latest bison version
Anatol Belski [Sat, 9 May 2015 20:57:56 +0000 (22:57 +0200)]
fix _timezone usage for vc14
Lauri Kenttä [Sun, 10 May 2015 10:40:29 +0000 (13:40 +0300)]
random_int: Fix power of two check.
(x & ~x) is always 0.
((x & (~x + 1)) != x) works.
((x & (x - 1)) != 0) works too.
Stanislav Malyshev [Sun, 10 May 2015 02:00:40 +0000 (19:00 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #48147 - implement manual handling of //IGNORE for broken libc
Conflicts:
ext/iconv/iconv.c
Stanislav Malyshev [Sun, 10 May 2015 01:59:10 +0000 (18:59 -0700)]
Merge branch 'fix48147'
* fix48147:
Fix #48147 - implement manual handling of //IGNORE for broken libc
Stanislav Malyshev [Sun, 10 May 2015 01:56:25 +0000 (18:56 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix #48147 - implement manual handling of //IGNORE for broken libc
Stanislav Malyshev [Fri, 8 May 2015 07:03:54 +0000 (00:03 -0700)]
Fix #48147 - implement manual handling of //IGNORE for broken libc
Conflicts:
ext/iconv/iconv.c
SammyK [Sat, 9 May 2015 19:45:22 +0000 (21:45 +0200)]
Add tests for CSPRNG, fix C99 comments
Also replace one return; with RETURN_FALSE; for consistency.
Leigh [Sat, 21 Feb 2015 15:30:43 +0000 (15:30 +0000)]
Improve CSPRNG implementation
SammyK [Fri, 13 Feb 2015 02:53:55 +0000 (20:53 -0600)]
Initial implementation for CSPRNG API
Stanislav Malyshev [Fri, 8 May 2015 07:03:54 +0000 (00:03 -0700)]
Fix #48147 - implement manual handling of //IGNORE for broken libc
Nikita Popov [Fri, 8 May 2015 13:05:59 +0000 (15:05 +0200)]
Fix static closure error in call_user_func opcode
I'm assuming this is the only error that is_callable() can generate
with retval=1.
This problem manifested after making closures in static methods
not implicitly static, but would also occur when binding any non-static
closure to a scope without a $this.
Xinchen Hui [Fri, 8 May 2015 06:02:50 +0000 (14:02 +0800)]
Sorry, missed here should be checked
Xinchen Hui [Fri, 8 May 2015 05:54:28 +0000 (13:54 +0800)]
Remove not necessary checks
Xinchen Hui [Fri, 8 May 2015 05:32:22 +0000 (13:32 +0800)]
Reorder fields of curl
Xinchen Hui [Fri, 8 May 2015 02:33:19 +0000 (10:33 +0800)]
revert previously change to this
Daniel Lowrey [Thu, 7 May 2015 14:26:56 +0000 (10:26 -0400)]
Improve ZBLOCK handling with zlib < 1.2.4
The original commit for this issue (
62b1293 ) assumed Z_BLOCK was
only defined in < 1.2.4. However, this flush type *is* defined but
is only unavailable for use with deflate().
This new commit correctly checks the ZLIB_VERNUM constant to
determine if Z_BLOCK flush is available for the current deflate()
operation and triggers an appropriate error as needed.
New ZLIB_VERSION and ZLIB_VERNUM constants are also exposed in
userland to allow testing this behavior in environments running
zlib < 1.2.4 (ZLIB_VERNUM check is needed).
Dmitry Stogov [Thu, 7 May 2015 14:27:29 +0000 (17:27 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Add some NEWS entries
Allow self etc in eval / file scope
fix typo in php.ini
Dmitry Stogov [Thu, 7 May 2015 14:26:35 +0000 (17:26 +0300)]
Improved fast path locality
Dmitry Stogov [Thu, 7 May 2015 14:26:01 +0000 (17:26 +0300)]
Fixed $this release
Xinchen Hui [Thu, 7 May 2015 14:24:21 +0000 (22:24 +0800)]
Merge branch 'php-ini-typo' of https://github.com/lazysoundsystem/php-src
Nikita Popov [Thu, 7 May 2015 13:37:46 +0000 (15:37 +0200)]
Add some NEWS entries
Nikita Popov [Thu, 7 May 2015 13:17:37 +0000 (15:17 +0200)]
Allow self etc in eval / file scope
This fixes a regression from
16a9bc1ec20533c76ba992bfc64dd69e7b7d9001 .
Together with the recent closure related changes this should allow
all usages of self etc, while previously (in PHP 5) some things like
self::class did not work.
Dmitry Stogov [Thu, 7 May 2015 13:28:23 +0000 (16:28 +0300)]
Avoid unnecessary reference counter incrementation on $this when call methods
Daniel Lowrey [Thu, 7 May 2015 13:02:30 +0000 (09:02 -0400)]
Fix Z_BLOCK breakage when built against zlib < 1.2.4
Xinchen Hui [Thu, 7 May 2015 11:25:41 +0000 (19:25 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 7 May 2015 11:25:04 +0000 (19:25 +0800)]
Fixed test in some cases(for more children, needs more time)
Dmitry Stogov [Thu, 7 May 2015 09:19:33 +0000 (12:19 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
set ext/zip version to 1.13 (as we have new methods... semver...)
Dmitry Stogov [Thu, 7 May 2015 09:17:55 +0000 (12:17 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)
Dmitry Stogov [Thu, 7 May 2015 09:16:40 +0000 (12:16 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)
Conflicts:
NEWS
Dmitry Stogov [Thu, 7 May 2015 09:14:14 +0000 (12:14 +0300)]
Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)
Remi Collet [Thu, 7 May 2015 08:41:48 +0000 (10:41 +0200)]
set ext/zip version to 1.13 (as we have new methods... semver...)
Dmitry Stogov [Thu, 7 May 2015 08:36:01 +0000 (11:36 +0300)]
Strings and other pointers should be handled differently
Dmitry Stogov [Thu, 7 May 2015 07:38:47 +0000 (10:38 +0300)]
Fixed redundand internal constructor behavior (they shouldn't return NULL anymore)
Rasmus Lerdorf [Thu, 7 May 2015 05:46:56 +0000 (22:46 -0700)]
Fix build
Xinchen Hui [Thu, 7 May 2015 03:25:04 +0000 (11:25 +0800)]
Temporary fix for SIGFPE
Dmitry Stogov [Wed, 6 May 2015 20:46:49 +0000 (23:46 +0300)]
Added experimental (disabled by default) file based opcode cache.
Dmitry Stogov [Wed, 6 May 2015 19:53:48 +0000 (22:53 +0300)]
Fixed return without value
Dmitry Stogov [Wed, 6 May 2015 18:33:49 +0000 (21:33 +0300)]
Fixed bug #69534 (Cycle leaks through declared properties on internal classes)
Nikita Popov [Tue, 5 May 2015 17:52:03 +0000 (19:52 +0200)]
Fix compiler assumptions about self/etc wrt closures
* Don't throw an error if self/parent/static are used in a closure
(outside a class).
* Don't propagate self:: constants into closures
* Use runtime fetch for self::class in closures
Fixes bug #66811.
Nikita Popov [Wed, 6 May 2015 15:29:05 +0000 (17:29 +0200)]
Don't implicitly make closures in static methods static
It makes no sense that you can't write a closure using $this in a
static method, even though you can write one outside a class.
Now only closures that have been marked as static will be considered
to be static.
Fixes bug #65598.
Remi Collet [Wed, 6 May 2015 14:59:50 +0000 (16:59 +0200)]
better fix (also fix i386 build)
Remi Collet [Wed, 6 May 2015 14:24:21 +0000 (16:24 +0200)]
try to fix build when LONG_MAX not defined
Remi Collet [Wed, 6 May 2015 13:24:41 +0000 (15:24 +0200)]
NEWS
Remi Collet [Wed, 6 May 2015 13:11:00 +0000 (15:11 +0200)]
add ZipArchive::setCompressionName and ZipArchive::setCompressionIndex methods
Remi Collet [Wed, 6 May 2015 12:43:47 +0000 (14:43 +0200)]
don't use deprecated libzip call
Remi Collet [Wed, 6 May 2015 12:36:18 +0000 (14:36 +0200)]
update libzip to version 1.0.1
Xinchen Hui [Wed, 6 May 2015 06:29:19 +0000 (14:29 +0800)]
Use fast zpp for frequently used gettext(_)
Xinchen Hui [Wed, 6 May 2015 03:37:30 +0000 (11:37 +0800)]
Optimized json_parser
1. use zend_string in key
2. use faster APIs
3. use ZVAL_COPY_VALUE instead of assignment (save u2 copy)
Xinchen Hui [Wed, 6 May 2015 03:10:33 +0000 (11:10 +0800)]
Use Z_ARRVAL_P since we already know it's an array
Xinchen Hui [Wed, 6 May 2015 03:03:44 +0000 (11:03 +0800)]
Fixed comment
Xinchen Hui [Wed, 6 May 2015 02:58:01 +0000 (10:58 +0800)]
use zval_get_long
Xinchen Hui [Wed, 6 May 2015 02:51:52 +0000 (10:51 +0800)]
Merge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 5 May 2015 20:50:50 +0000 (23:50 +0300)]
Fixed returning void instead of NULL
Nikita Popov [Tue, 5 May 2015 19:40:28 +0000 (21:40 +0200)]
Fix build
Nikita Popov [Tue, 5 May 2015 19:06:34 +0000 (21:06 +0200)]
Fix LSB handling for closures
Closures will now use the called_scope from their instantiation
site. If they are rebound either the class of $this is used or if
no $this is provided the bound scope is used.
With this change the scope for static closures can be changed back
to use EG(scope) rather than EX(called_scope), thus fixing
bug #69568.
Nikita Popov [Tue, 5 May 2015 16:36:06 +0000 (18:36 +0200)]
Throw exception from FETCH_CLASS_NAME
Instead of empty strings.
This does not affect the existing case of __CLASS__ in traits as
a scope will always exists in that case.
Nikita Popov [Tue, 5 May 2015 16:22:20 +0000 (18:22 +0200)]
Use ZEND_FETCH_CLASS_NAME for dynamic self::class etc
Extend the opcode to support getting the parent and static name and
then use it for dynamic ::class resolution.
Dmitry Stogov [Tue, 5 May 2015 18:38:52 +0000 (21:38 +0300)]
Use Fast ZPP
Dmitry Stogov [Tue, 5 May 2015 15:51:08 +0000 (18:51 +0300)]
Loop splitting and specialization
Dmitry Stogov [Tue, 5 May 2015 15:50:47 +0000 (18:50 +0300)]
Micro optimization
Dmitry Stogov [Tue, 5 May 2015 13:28:54 +0000 (16:28 +0300)]
Fixed compilation warning
Dmitry Stogov [Tue, 5 May 2015 13:20:29 +0000 (16:20 +0300)]
e more efficient zend_hash_*() functions
Dmitry Stogov [Tue, 5 May 2015 13:19:51 +0000 (16:19 +0300)]
Use zend_string to represent pdo_column_data.name and avoid duplication.
Dmitry Stogov [Tue, 5 May 2015 13:06:10 +0000 (16:06 +0300)]
Use zend heap instead of system
Xinchen Hui [Tue, 5 May 2015 10:22:38 +0000 (18:22 +0800)]
micro optimizations
Dmitry Stogov [Tue, 5 May 2015 09:58:11 +0000 (12:58 +0300)]
Use better zend_hash_*() functions.
Dmitry Stogov [Tue, 5 May 2015 09:57:30 +0000 (12:57 +0300)]
Removed check for count() in SXE class
Xinchen Hui [Tue, 5 May 2015 09:37:42 +0000 (17:37 +0800)]
fixed comment
Remi Collet [Tue, 5 May 2015 09:37:03 +0000 (11:37 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Relax tests failing on i386 with new zic
Conflicts:
ext/date/tests/getdate_variation7.phpt
ext/date/tests/localtime_variation3.phpt
Xinchen Hui [Tue, 5 May 2015 09:25:25 +0000 (17:25 +0800)]
Unused macros
Xinchen Hui [Tue, 5 May 2015 09:24:17 +0000 (17:24 +0800)]
Merge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 5 May 2015 09:23:54 +0000 (17:23 +0800)]
Optimize cast simplexml to IS_BOOL
Remi Collet [Tue, 5 May 2015 09:23:13 +0000 (11:23 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Relax tests failing on i386 with new zic
Remi Collet [Tue, 5 May 2015 09:22:29 +0000 (11:22 +0200)]
Relax tests failing on i386 with new zic
Xinchen Hui [Tue, 5 May 2015 09:02:54 +0000 (17:02 +0800)]
Unused var
Remi Collet [Tue, 5 May 2015 08:41:47 +0000 (10:41 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Remove SSLv3 test dependencies SSLv3 is going away. Debian8 already ships with an openssl with no SSLv3 support which was causing these tests to fail.
Rasmus Lerdorf [Wed, 8 Apr 2015 16:55:55 +0000 (09:55 -0700)]
Remove SSLv3 test dependencies
SSLv3 is going away. Debian8 already ships with an openssl
with no SSLv3 support which was causing these tests to fail.
Conflicts:
ext/openssl/tests/session_meta_capture.phpt
Dmitry Stogov [Tue, 5 May 2015 08:10:21 +0000 (11:10 +0300)]
Avoid repeatable lookups for count() method in the same class entry.
Dmitry Stogov [Tue, 5 May 2015 08:09:18 +0000 (11:09 +0300)]
Inline IS_LONG value calculation and avoid strtol() call.
Xinchen Hui [Tue, 5 May 2015 03:07:02 +0000 (11:07 +0800)]
Merge branch 'PHP-5.6'
Conflicts:
ext/opcache/ZendAccelerator.h
Xinchen Hui [Tue, 5 May 2015 03:06:23 +0000 (11:06 +0800)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Xinchen Hui [Tue, 5 May 2015 03:06:14 +0000 (11:06 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Tue, 5 May 2015 03:06:04 +0000 (11:06 +0800)]
Update version
Anatol Belski [Mon, 4 May 2015 14:07:27 +0000 (16:07 +0200)]
add config vars for phpize where conf opts aren't enabled
Anatol Belski [Mon, 4 May 2015 14:06:23 +0000 (16:06 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add config vars for phpize
Anatol Belski [Mon, 4 May 2015 13:59:14 +0000 (15:59 +0200)]
add config vars for phpize
Anatol Belski [Mon, 4 May 2015 13:13:27 +0000 (15:13 +0200)]
fix compiler check for phpize
Xinchen Hui [Mon, 4 May 2015 11:23:21 +0000 (19:23 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Mon, 4 May 2015 11:22:22 +0000 (19:22 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Mon, 4 May 2015 11:21:54 +0000 (19:21 +0800)]
Saving the latter checking in most cases
Xinchen Hui [Mon, 4 May 2015 02:35:55 +0000 (10:35 +0800)]
Fixed #69566 in master
Xinchen Hui [Mon, 4 May 2015 02:34:57 +0000 (10:34 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Mon, 4 May 2015 02:34:48 +0000 (10:34 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Mon, 4 May 2015 02:34:39 +0000 (10:34 +0800)]
Update NEWS
John Boehr [Sun, 3 May 2015 21:29:19 +0000 (14:29 -0700)]
Fix uninitialized value with extension traits