]>
granicus.if.org Git - php/log
Nikita Popov [Thu, 16 Oct 2014 10:38:44 +0000 (12:38 +0200)]
Fix allocator for 64bit zend_long with 32bit long
Nikita Popov [Thu, 16 Oct 2014 10:17:20 +0000 (12:17 +0200)]
Use intptr_t for zend_intptr_t typedef
Current code doesn't work for 64bit zend_long with 32bit pointers.
If intptr_t isn't defined on some platform, we should add it to
our php_stdint.h header.
Nikita Popov [Thu, 16 Oct 2014 10:14:37 +0000 (12:14 +0200)]
Fix format strings in zend_alloc
Nikita Popov [Thu, 16 Oct 2014 10:10:24 +0000 (12:10 +0200)]
Drop zend_long64 in favor of int64_t
Also drop ZEND_HAVE_LONG64, because we already require the
presence of a int64_t type.
Dmitry Stogov [Thu, 16 Oct 2014 09:41:27 +0000 (13:41 +0400)]
Removed deprecated fields
Remi Collet [Wed, 15 Oct 2014 17:49:41 +0000 (19:49 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
NEWS
cleanup NEWS
Remi Collet [Wed, 15 Oct 2014 17:49:22 +0000 (19:49 +0200)]
NEWS
Remi Collet [Wed, 15 Oct 2014 17:48:25 +0000 (19:48 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
cleanup NEWS
Remi Collet [Wed, 15 Oct 2014 17:47:55 +0000 (19:47 +0200)]
cleanup NEWS
Ferenc Kovacs [Wed, 15 Oct 2014 17:43:30 +0000 (19:43 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
NEWS
Fixed Bug #65171 imagescale() fails
Revert "Bug #41631: Observe socket read timeouts in SSL streams"
Ferenc Kovacs [Wed, 15 Oct 2014 17:42:51 +0000 (19:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed Bug #65171 imagescale() fails
Revert "Bug #41631: Observe socket read timeouts in SSL streams"
Conflicts:
ext/openssl/xp_ssl.c
Ferenc Kovacs [Wed, 15 Oct 2014 17:41:27 +0000 (19:41 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
removing the NEWS entry as we had to revert this fix for now
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Revert "fix TS build"
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
Revert "Bug #41631: Fix regression from first attempt (
6569db8 )"
Ferenc Kovacs [Wed, 24 Sep 2014 08:27:42 +0000 (10:27 +0200)]
removing the NEWS entry as we had to revert this fix for now
Ferenc Kovacs [Wed, 15 Oct 2014 17:34:07 +0000 (19:34 +0200)]
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
This reverts commit
98e67add15a6b889efe152c23ed15a61f022a63a , reversing
changes made to
2cdc1a2b7473eff27c224c66dcb85118b553a147 .
Ferenc Kovacs [Wed, 15 Oct 2014 17:33:47 +0000 (19:33 +0200)]
Revert "fix TS build"
This reverts commit
84a4041ba47e92e7a0ba03938d0ebf88b5fcf6cf .
Ferenc Kovacs [Wed, 15 Oct 2014 17:33:31 +0000 (19:33 +0200)]
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
This reverts commit
30a73658c63a91c413305a4c4d49882fda4dab3e , reversing
changes made to
7fac56e0729385bbd2bb040f06a20a697d9de5fd .
Ferenc Kovacs [Wed, 15 Oct 2014 17:32:46 +0000 (19:32 +0200)]
Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
This reverts commit
f86b2193a483f56b0bd056570a0cdb57ebe66e2f .
Ferenc Kovacs [Wed, 15 Oct 2014 17:32:14 +0000 (19:32 +0200)]
Revert "Bug #41631: Fix regression from first attempt (
6569db8 )"
This reverts commit
372844918a318ad712e16f9ec636682424a65403 .
Remi Collet [Wed, 15 Oct 2014 17:16:45 +0000 (19:16 +0200)]
NEWS
Remi Collet [Wed, 15 Oct 2014 17:13:25 +0000 (19:13 +0200)]
Fixed Bug #65171 imagescale() fails
Third param (height) is set as optional,
but default value = -1 is incorrect
Compute correct height to preserve ratio.
Tjerk Meesters [Wed, 15 Oct 2014 13:13:13 +0000 (21:13 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68234
Tjerk Meesters [Wed, 15 Oct 2014 13:12:13 +0000 (21:12 +0800)]
Fixed bug #68234
Certificate will now expire in 2034
Dmitry Stogov [Wed, 15 Oct 2014 13:02:54 +0000 (17:02 +0400)]
Fixed bug #68215 (Behavior of foreach has changed)
Julien Pauli [Wed, 15 Oct 2014 12:38:12 +0000 (14:38 +0200)]
Revert "Bug #41631: Observe socket read timeouts in SSL streams"
This reverts commit
6569db88081562f68a4f79e52cba83482bdf05fc .
Conflicts:
ext/openssl/xp_ssl.c
Ferenc Kovacs [Wed, 15 Oct 2014 12:10:38 +0000 (14:10 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
PHP-5.6.3 is next
update NEWS, 5.6.2 will be a security-only release
Conflicts:
configure.in
main/php_version.h
Ferenc Kovacs [Wed, 15 Oct 2014 12:08:32 +0000 (14:08 +0200)]
PHP-5.6.3 is next
Ferenc Kovacs [Wed, 15 Oct 2014 12:07:40 +0000 (14:07 +0200)]
update NEWS, 5.6.2 will be a security-only release
Dmitry Stogov [Wed, 15 Oct 2014 08:38:04 +0000 (12:38 +0400)]
Fixed ext/standard/tests/strings/pack64_32.phpt failure (In PHP7, we must not free array of arguments recieved using "+")
Stanislav Malyshev [Tue, 14 Oct 2014 18:45:01 +0000 (11:45 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix return code (merges are hard :( )
Stanislav Malyshev [Tue, 14 Oct 2014 18:43:34 +0000 (11:43 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix return code (merges are hard :( )
Stanislav Malyshev [Tue, 14 Oct 2014 18:42:33 +0000 (11:42 -0700)]
Fix return code (merges are hard :( )
Stanislav Malyshev [Tue, 14 Oct 2014 18:17:48 +0000 (11:17 -0700)]
fix bad merge
Stanislav Malyshev [Tue, 14 Oct 2014 17:53:05 +0000 (10:53 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0
Conflicts:
ext/curl/interface.c
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Tue, 14 Oct 2014 17:45:47 +0000 (10:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0
Conflicts:
ext/curl/interface.c
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0
Conflicts:
ext/curl/interface.c
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib
Tjerk Meesters [Tue, 14 Oct 2014 15:00:17 +0000 (23:00 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68128
Conflicts:
ext/spl/spl_iterators.c
Tjerk Meesters [Tue, 14 Oct 2014 14:50:07 +0000 (22:50 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #68128
Tjerk Meesters [Mon, 6 Oct 2014 01:40:39 +0000 (09:40 +0800)]
Fixed bug #68128
Three issues are addressed:
- RecursiveRegexIterator::accept() should accept non-empty arrays without
applying any regular expression and RegexIterator::accept() should not accept
an array.
- RegexIterator::accept() should not accept an atom that fails to match
anything, even when PREG_PATTERN_ORDER is used (which would return an array
of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
to its child iterator instead of just the regular expression.
Dmitry Stogov [Tue, 14 Oct 2014 10:20:25 +0000 (14:20 +0400)]
Added API function to retrive current custom heap handlers
Stanislav Malyshev [Tue, 14 Oct 2014 07:43:15 +0000 (00:43 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
update NEWS and UPGRADING
Upated NEWS
Address issues raised by @nikic
Make sure min < max
Mersenne Twister was added in GMP 4.2
Add test files
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Change GMPs default PRNG to Mersenne Twister
Conflicts:
ext/gmp/gmp.c
Stanislav Malyshev [Tue, 14 Oct 2014 07:36:36 +0000 (00:36 -0700)]
update NEWS and UPGRADING
Stanislav Malyshev [Tue, 14 Oct 2014 07:33:16 +0000 (00:33 -0700)]
Merge branch 'pull-request/839' into PHP-5.6
* pull-request/839:
Upated NEWS
Address issues raised by @nikic
Make sure min < max
Mersenne Twister was added in GMP 4.2
Add test files
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Change GMPs default PRNG to Mersenne Twister
Dmitry Stogov [Tue, 14 Oct 2014 05:41:16 +0000 (09:41 +0400)]
Allow to substitute storage layer in memory manager.
Anatol Belski [Mon, 13 Oct 2014 16:42:30 +0000 (18:42 +0200)]
fix several datatype mismatch warnings
Anatol Belski [Mon, 13 Oct 2014 09:49:10 +0000 (11:49 +0200)]
fix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:40:22 +0000 (11:40 +0200)]
more signed/unsigned mismatch fix
Anatol Belski [Mon, 13 Oct 2014 09:37:03 +0000 (11:37 +0200)]
fix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:32:13 +0000 (11:32 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 07:12:15 +0000 (09:12 +0200)]
fix some signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 06:16:22 +0000 (08:16 +0200)]
missing include for strlen proto
Nikita Popov [Mon, 13 Oct 2014 13:19:23 +0000 (15:19 +0200)]
More fixes for array/object casts with temporary variables
Nikita Popov [Mon, 13 Oct 2014 12:51:53 +0000 (14:51 +0200)]
Fix array/object cast of refcounted tmp var
Nikita Popov [Sun, 12 Oct 2014 20:01:09 +0000 (22:01 +0200)]
Deref right value for compound assign ops
Currently we do not support IS_REFERENCE operands for most of our
*_function's (should we?), so we need to deref here.
Dmitry Stogov [Mon, 13 Oct 2014 10:10:44 +0000 (14:10 +0400)]
Merge branch 'PHP-5.6'
* PHP-5.6:
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Conflicts:
ext/opcache/Optimizer/pass1_5.c
Dmitry Stogov [Mon, 13 Oct 2014 10:07:37 +0000 (14:07 +0400)]
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Nikita Popov [Sun, 12 Oct 2014 18:54:45 +0000 (20:54 +0200)]
Ensure __LINE__ is always accurate
Nikita Popov [Sun, 12 Oct 2014 18:39:07 +0000 (20:39 +0200)]
Fix incdec of referenced properties
I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first,
because incdec op supports reference variables. However this
violates the constraint that IS_TMP_VAR variables may not be
references (which is an issue if you use the result of the incdec
op).
Still need to fix the cases where read_property/write_property is
used.
Nikita Popov [Sun, 12 Oct 2014 18:11:57 +0000 (20:11 +0200)]
Fix ::jsonSerialize() failure message
Nikita Popov [Sun, 12 Oct 2014 17:01:45 +0000 (19:01 +0200)]
Fix invalid zend_string_frees in reflection
zend_lookup_class can share the name
Nikita Popov [Fri, 10 Oct 2014 13:32:04 +0000 (15:32 +0200)]
Remove retval member in spl_dllist
Seems pretty useless, unless I'm missing something?
Anatol Belski [Sun, 12 Oct 2014 17:22:40 +0000 (19:22 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
DLL export several APIs needed for phpdbg
Anatol Belski [Sun, 12 Oct 2014 17:22:03 +0000 (19:22 +0200)]
DLL export several APIs needed for phpdbg
Tjerk Meesters [Sun, 12 Oct 2014 04:55:24 +0000 (12:55 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
- use zend_long for offset
Conflicts:
ext/dom/php_dom.c
Tjerk Meesters [Sun, 12 Oct 2014 04:47:58 +0000 (12:47 +0800)]
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
Anatol Belski [Thu, 9 Oct 2014 08:53:28 +0000 (10:53 +0200)]
int to size_t where the underlaying API supports it
Anatol Belski [Thu, 9 Oct 2014 08:35:47 +0000 (10:35 +0200)]
use php_socket_t instead of int
Anatol Belski [Thu, 9 Oct 2014 07:03:37 +0000 (09:03 +0200)]
fix signed/unsigned mismatch warning
Anatol Belski [Thu, 9 Oct 2014 06:49:55 +0000 (08:49 +0200)]
fix compilation warning
Dmitry Stogov [Fri, 10 Oct 2014 12:36:12 +0000 (16:36 +0400)]
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.
Nikita Popov [Fri, 10 Oct 2014 10:28:55 +0000 (12:28 +0200)]
Add notes about get_class_entry/get_class_name to UPGRADING
Nikita Popov [Fri, 10 Oct 2014 10:23:33 +0000 (12:23 +0200)]
Fix casts in GD
Using convert_to_* after ZVAL_COPY is unsafe.
Nikita Popov [Fri, 10 Oct 2014 10:14:26 +0000 (12:14 +0200)]
Drop redundant casting code from ext/filter
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:58 +0000 (11:45 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:46:18 +0000 (11:46 +0200)]
Merge branch 'PHP-5.6'
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:24 +0000 (11:45 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:52 +0000 (11:44 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:39 +0000 (11:44 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:41:10 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tjerk Meesters [Thu, 9 Oct 2014 23:33:06 +0000 (07:33 +0800)]
Added note to UPGRADING regarding 64-bit support in pack()/unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:20:10 +0000 (07:20 +0800)]
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Tjerk Meesters [Thu, 9 Oct 2014 23:05:36 +0000 (07:05 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add 64 bit formats to pack() and unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:00:38 +0000 (07:00 +0800)]
RFC: 64 bit format codes for pack() and unpack()
Leigh [Mon, 8 Sep 2014 20:59:32 +0000 (21:59 +0100)]
Add 64 bit formats to pack() and unpack()
Dmitry Stogov [Thu, 9 Oct 2014 19:58:41 +0000 (23:58 +0400)]
Help to CPU branch predictor
Dmitry Stogov [Thu, 9 Oct 2014 19:38:39 +0000 (23:38 +0400)]
Removed unused EG(orig_error_reporting)
Nikita Popov [Thu, 9 Oct 2014 17:15:07 +0000 (19:15 +0200)]
Update get_class_name semantics
* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get_class() etc.
* As it is no longer used in get_parent_class() the parent
argument is now gone. This also fixes incorrect parent classes
being reported in COM.
* get_class_name is now always required (previously some places
made it optional and some required it) and is also required
to return a non-NULL value.
* Remove zend_get_object_classname. This also fixes a number of
potential leaks due to incorrect usage of this function.
Nikita Popov [Thu, 9 Oct 2014 15:16:37 +0000 (17:16 +0200)]
Remove Z_OBJ_CLASS_NAME_P
Doesn't make much sense anymore, now that get_class_entry is
gone.
Dmitry Stogov [Thu, 9 Oct 2014 16:29:02 +0000 (20:29 +0400)]
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.