]>
granicus.if.org Git - php/log
Julien Pauli [Fri, 12 Dec 2014 17:24:29 +0000 (18:24 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Julien Pauli [Fri, 12 Dec 2014 17:24:16 +0000 (18:24 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Jille Timmermans [Wed, 11 Jun 2014 15:34:34 +0000 (17:34 +0200)]
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Julien Pauli [Fri, 5 Dec 2014 04:15:23 +0000 (04:15 +0000)]
Merged PR #911.
Guilherme Blanco [Sat, 22 Nov 2014 04:57:55 +0000 (04:57 +0000)]
Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.
Julien Pauli [Fri, 12 Dec 2014 16:02:20 +0000 (17:02 +0100)]
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:51:50 +0000 (16:51 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Updated NEWS
Fix bug #68532: convert.base64-encode omits padding bytes
Julien Pauli [Fri, 12 Dec 2014 15:51:37 +0000 (16:51 +0100)]
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:50:42 +0000 (16:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Fix bug #68532: convert.base64-encode omits padding bytes
Julien Pauli [Fri, 12 Dec 2014 15:50:32 +0000 (16:50 +0100)]
Updated NEWS
mcq8 [Thu, 4 Dec 2014 16:36:44 +0000 (17:36 +0100)]
Fix bug #68532: convert.base64-encode omits padding bytes
Julien Pauli [Fri, 12 Dec 2014 15:14:52 +0000 (16:14 +0100)]
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 15:14:24 +0000 (16:14 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Updated NEWS
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Conflicts:
Zend/zend_compile.c
Julien Pauli [Fri, 12 Dec 2014 15:12:52 +0000 (16:12 +0100)]
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 14:07:33 +0000 (15:07 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Conflicts:
Zend/zend_compile.c
Julien Pauli [Fri, 12 Dec 2014 14:06:04 +0000 (15:06 +0100)]
Updated NEWS
Kévin Dunglas [Mon, 8 Dec 2014 14:24:44 +0000 (15:24 +0100)]
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Julien Pauli [Fri, 12 Dec 2014 13:20:58 +0000 (14:20 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 13:20:41 +0000 (14:20 +0100)]
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 13:18:43 +0000 (14:18 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Julien Pauli [Fri, 12 Dec 2014 13:18:27 +0000 (14:18 +0100)]
Updated NEWS
Anatol Belski [Fri, 12 Dec 2014 12:26:17 +0000 (13:26 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fixed bug #68583 Crash in timeout thread
Conflicts:
Zend/zend_execute.h
Zend/zend_execute_API.c
Anatol Belski [Fri, 12 Dec 2014 11:17:42 +0000 (12:17 +0100)]
updated NEWS
Anatol Belski [Fri, 12 Dec 2014 11:05:47 +0000 (12:05 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #68583 Crash in timeout thread
Conflicts:
Zend/zend_execute.h
Gustavo Frederico Temple Pedrosa [Thu, 11 Dec 2014 18:14:51 +0000 (18:14 +0000)]
PowerPC64 support for add and sub with overflow check
This adds fast architecture-specific implementations of the
following functions for the ppc64:
* fast_add_function
* fast_sub_function
Gustavo Frederico Temple Pedrosa [Thu, 11 Dec 2014 17:48:41 +0000 (17:48 +0000)]
PowerPC64 support for operators with overflow check
This adds fast architecture-specific implementations of
the following functions for the ppc64:
* fast_increment_function
* fast_decrement_function
Anatol Belski [Fri, 12 Dec 2014 09:43:31 +0000 (10:43 +0100)]
Fixed bug #68583 Crash in timeout thread
This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thread pool. A timer queue timer is a lightweight object handled
but that thread pool and the timer thread spends most of the time
sleeping and waiting for an alert.
Please note also that this introduces neither binary nor source
breach. The custom timeout thread functions are deleted, however
they was not exported throug DLL, so couldn't be used by any
external code. As well they couldn't be used anywhere in the core
except in executor api, because those custom timeout thread
functions they used to operate on static variables which would
be overwritten (and that would blow).
So instead a relatively modern technique is used for the timeout
handling. It's still not perfect because the executor still has to
check EX(timed_out). This can be a topic for an improvement in
master. But brobably can be tricky as currently it seems to be not
possible to signal an individual thread. Also note another issue
that static variables aren't thread safe, but the current timer
implementation is.
Dmitry Stogov [Fri, 12 Dec 2014 07:19:41 +0000 (10:19 +0300)]
Reduced size of zend_op on 64-bit systems.
the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.
The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.
In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv
Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr
The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.
Dmitry Stogov [Fri, 12 Dec 2014 06:01:42 +0000 (09:01 +0300)]
Make ZEND_INIT_FCALL keep predcalculted size of necessary stack space in opline->op1.num to avoid its recalculation on each execution.
Dmitry Stogov [Fri, 12 Dec 2014 05:09:42 +0000 (08:09 +0300)]
Removed unused variables
Dmitry Stogov [Thu, 11 Dec 2014 16:18:31 +0000 (19:18 +0300)]
Improved array_merge() and array_replace() (1-st array may be added using simple procedure).
Dmitry Stogov [Thu, 11 Dec 2014 12:01:06 +0000 (15:01 +0300)]
Replaced zendi_convert_to_long() with _zval_get_long_func()
Dmitry Stogov [Thu, 11 Dec 2014 10:18:40 +0000 (13:18 +0300)]
Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c.
Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true().
Replaced zendi_convert_to_long() with cals to zend_is_true().
Xinchen Hui [Thu, 11 Dec 2014 08:19:33 +0000 (03:19 -0500)]
Revert "Save one xor instr"
This reverts commit
bd5c5d372916375981f76ed7800b2f4600acae05 .
Xinchen Hui [Thu, 11 Dec 2014 05:03:45 +0000 (00:03 -0500)]
Merge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Thu, 11 Dec 2014 05:03:31 +0000 (00:03 -0500)]
Save one xor instr
Anatol Belski [Wed, 10 Dec 2014 12:23:15 +0000 (13:23 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
move the test to the right place
Anatol Belski [Wed, 10 Dec 2014 12:22:52 +0000 (13:22 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
move the test to the right place
Anatol Belski [Wed, 10 Dec 2014 12:19:51 +0000 (13:19 +0100)]
move the test to the right place
Anatol Belski [Wed, 10 Dec 2014 11:23:46 +0000 (12:23 +0100)]
fix TS build and C89 compat
Anatol Belski [Wed, 10 Dec 2014 10:54:31 +0000 (11:54 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fixed bug #68545 NULL pointer dereference in unserialize.c
Updated NEWS
Updated NEWS
Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
Anatol Belski [Wed, 10 Dec 2014 10:49:13 +0000 (11:49 +0100)]
updated NEWS
Anatol Belski [Wed, 10 Dec 2014 10:47:34 +0000 (11:47 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #68545 NULL pointer dereference in unserialize.c
Conflicts:
ext/standard/var_unserializer.c
Anatol Belski [Wed, 10 Dec 2014 10:43:33 +0000 (11:43 +0100)]
Fixed bug #68545 NULL pointer dereference in unserialize.c
Julien Pauli [Wed, 10 Dec 2014 10:24:43 +0000 (11:24 +0100)]
Updated NEWS
Julien Pauli [Wed, 10 Dec 2014 10:23:40 +0000 (11:23 +0100)]
Updated NEWS
Julien Pauli [Wed, 10 Dec 2014 10:22:46 +0000 (11:22 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Julien Pauli [Wed, 10 Dec 2014 10:22:28 +0000 (11:22 +0100)]
Updated NEWS
Remi Collet [Wed, 10 Dec 2014 07:19:29 +0000 (08:19 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
NEWS
Fix bug #68526 Implement POSIX Access Control List for UDS
Remi Collet [Wed, 10 Dec 2014 07:19:04 +0000 (08:19 +0100)]
NEWS
Remi Collet [Wed, 10 Dec 2014 07:15:21 +0000 (08:15 +0100)]
Fix bug #68526 Implement POSIX Access Control List for UDS
- add --with-fpm-acl build option which allow to manage ACL
on Unix Domain Socket
- add listen.acl_users pool option
- add listen.acl_groups pool option
Keep old behavior (chmod) if option not used or not supported.
Dmitry Stogov [Tue, 9 Dec 2014 15:07:39 +0000 (18:07 +0300)]
Improved basic zval copying primitives: ZVAL_COPY_VALUE(), ZVAL_COPY(), ZVAL_DUP()
Dmitry Stogov [Tue, 9 Dec 2014 14:07:12 +0000 (17:07 +0300)]
Wrap RETURN_VALUE_USED() with EXPECTED() or UNEXPECTED() macros according to more frequent usage patterns.
Dmitry Stogov [Tue, 9 Dec 2014 12:15:24 +0000 (15:15 +0300)]
Improved ASSIGN_<OP>, ASSIGN_DIM and UNSET_DIM
Remi Collet [Tue, 9 Dec 2014 10:25:53 +0000 (11:25 +0100)]
drop dead/unused code
Dmitry Stogov [Tue, 9 Dec 2014 09:17:55 +0000 (12:17 +0300)]
simplified code
Dmitry Stogov [Tue, 9 Dec 2014 00:05:06 +0000 (03:05 +0300)]
Move ZVAL_DEREF() and make_real_object() into slow paths.
Dmitry Stogov [Tue, 9 Dec 2014 00:03:38 +0000 (03:03 +0300)]
Pass znode_op structure by value (it fits into one word) instead of pointer to structure.
Dmitry Stogov [Mon, 8 Dec 2014 22:09:44 +0000 (01:09 +0300)]
Move checks for references into slow paths.
Dmitry Stogov [Mon, 8 Dec 2014 21:10:23 +0000 (00:10 +0300)]
Improved ASSIGN_DIM and ASSIGN_OBJ
Dmitry Stogov [Mon, 8 Dec 2014 15:40:37 +0000 (18:40 +0300)]
Fixed typo
Dmitry Stogov [Mon, 8 Dec 2014 15:11:14 +0000 (18:11 +0300)]
Move checks for references into slow paths of handlers or helpers. Remove duplicate opcode handlers.
Derick Rethans [Mon, 8 Dec 2014 11:07:00 +0000 (11:07 +0000)]
Merge branch 'PHP-5.6'
Derick Rethans [Mon, 8 Dec 2014 11:06:50 +0000 (11:06 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Mon, 8 Dec 2014 11:06:41 +0000 (11:06 +0000)]
Merge branch 'day-of-week-issues' into PHP-5.5
Derick Rethans [Mon, 8 Dec 2014 11:06:12 +0000 (11:06 +0000)]
Fixed day_of_week function as it could sometimes return negative values internally.
Dmitry Stogov [Mon, 8 Dec 2014 09:25:52 +0000 (12:25 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed possible read after end of buffer and use after free.
Dmitry Stogov [Mon, 8 Dec 2014 09:24:16 +0000 (12:24 +0300)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed possible read after end of buffer and use after free.
Dmitry Stogov [Mon, 8 Dec 2014 09:20:01 +0000 (12:20 +0300)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed possible read after end of buffer and use after free.
Dmitry Stogov [Mon, 8 Dec 2014 09:18:27 +0000 (12:18 +0300)]
Fixed possible read after end of buffer and use after free.
Nikita Popov [Sun, 7 Dec 2014 21:58:14 +0000 (22:58 +0100)]
Fix arrow operator precedence
I accidentially added => as the highest-precedence operator...
Anatol Belski [Sat, 6 Dec 2014 19:51:41 +0000 (20:51 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68398 msooxml matches too many archives
Anatol Belski [Sat, 6 Dec 2014 19:51:00 +0000 (20:51 +0100)]
Fixed bug #68398 msooxml matches too many archives
Nikita Popov [Sat, 6 Dec 2014 11:37:14 +0000 (12:37 +0100)]
Fix zpp call in apache_getenv()
Nikita Popov [Wed, 22 Oct 2014 18:13:22 +0000 (20:13 +0200)]
Drop unnecessary zval containers
Anatol Belski [Sat, 6 Dec 2014 11:32:16 +0000 (12:32 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fixed test
Anatol Belski [Sat, 6 Dec 2014 11:31:55 +0000 (12:31 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fixed test
Anatol Belski [Sat, 6 Dec 2014 11:31:27 +0000 (12:31 +0100)]
fixed test
Anatol Belski [Sat, 6 Dec 2014 11:18:36 +0000 (12:18 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
C89 compat
add include for missing localeconv_r proto
Anatol Belski [Sat, 6 Dec 2014 11:18:05 +0000 (12:18 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
C89 compat
add include for missing localeconv_r proto
Anatol Belski [Sat, 6 Dec 2014 11:14:17 +0000 (12:14 +0100)]
C89 compat
Anatol Belski [Sat, 6 Dec 2014 11:09:35 +0000 (12:09 +0100)]
add include for missing localeconv_r proto
Anatol Belski [Sat, 6 Dec 2014 11:01:09 +0000 (12:01 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fixed bug #65230 setting locale randomly broken
Anatol Belski [Sat, 6 Dec 2014 11:00:39 +0000 (12:00 +0100)]
updated NEWS
Anatol Belski [Sat, 6 Dec 2014 11:00:17 +0000 (12:00 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #65230 setting locale randomly broken
Anatol Belski [Sat, 6 Dec 2014 10:59:43 +0000 (11:59 +0100)]
Fixed bug #65230 setting locale randomly broken
Matteo Beccati [Sat, 6 Dec 2014 09:24:56 +0000 (10:24 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix compilation error (ref #68424)
Matteo Beccati [Sat, 6 Dec 2014 09:24:27 +0000 (10:24 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix compilation error (ref #68424)
Matteo Beccati [Sat, 6 Dec 2014 09:23:56 +0000 (10:23 +0100)]
Fix compilation error (ref #68424)
Dmitry Stogov [Sat, 6 Dec 2014 00:03:48 +0000 (03:03 +0300)]
Removed useless handlers
Dmitry Stogov [Fri, 5 Dec 2014 23:14:45 +0000 (02:14 +0300)]
Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers.
Adam Harvey [Fri, 5 Dec 2014 21:58:48 +0000 (13:58 -0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Revert unintentional docblock change
Adam Harvey [Fri, 5 Dec 2014 21:58:19 +0000 (13:58 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Revert unintentional docblock change
Adam Harvey [Fri, 5 Dec 2014 21:57:46 +0000 (13:57 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Revert unintentional docblock change
Chris Christoff [Fri, 5 Dec 2014 20:59:46 +0000 (15:59 -0500)]
Revert unintentional docblock change
Revert unintentional docblock change
It looks like commit
dd8e59da8f5aafd9d77a0f1f17e5e272d09f643f
introduced an unintended docbloc change. I have reverted this
change in this commit.
Andrea Faulds [Fri, 5 Dec 2014 19:47:27 +0000 (19:47 +0000)]
Merge branch 'ZendEngine3'
* ZendEngine3:
Restored zip/oci8 PHP 4 code, add PHP 7 checks
Note macro removal in UPGRADING.INTERNALS
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
Zend Engine 3
Andrea Faulds [Fri, 5 Dec 2014 13:41:38 +0000 (13:41 +0000)]
Restored zip/oci8 PHP 4 code, add PHP 7 checks
Andrea Faulds [Fri, 5 Dec 2014 13:32:01 +0000 (13:32 +0000)]
Note macro removal in UPGRADING.INTERNALS
Andrea Faulds [Thu, 4 Dec 2014 00:55:11 +0000 (00:55 +0000)]
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
Andrea Faulds [Fri, 19 Sep 2014 23:24:03 +0000 (00:24 +0100)]
Zend Engine 3