]>
granicus.if.org Git - php/log
Stanislav Malyshev [Tue, 2 Sep 2014 21:19:16 +0000 (14:19 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
Stanislav Malyshev [Tue, 2 Sep 2014 21:18:15 +0000 (14:18 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
Stanislav Malyshev [Tue, 2 Sep 2014 21:16:17 +0000 (14:16 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
Stanislav Malyshev [Tue, 2 Sep 2014 21:15:39 +0000 (14:15 -0700)]
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
This reverts commit
53fa6c5b6b5b09059ba54c8912d0c0aef57aa4ff .
The change breaks tests, so not putting it into 5.4.
Stanislav Malyshev [Tue, 2 Sep 2014 19:33:02 +0000 (12:33 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix bug #67644 - Memory corruption & crash during ob_start function callback
Stanislav Malyshev [Tue, 2 Sep 2014 19:32:18 +0000 (12:32 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #67644 - Memory corruption & crash during ob_start function callback
Stanislav Malyshev [Tue, 2 Sep 2014 19:31:29 +0000 (12:31 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #67644 - Memory corruption & crash during ob_start function callback
Stanislav Malyshev [Sun, 31 Aug 2014 01:32:12 +0000 (18:32 -0700)]
Fix bug #67644 - Memory corruption & crash during ob_start function callback
Dmitry Stogov [Tue, 2 Sep 2014 18:13:24 +0000 (22:13 +0400)]
Avoid memory allocation/deallocation in BEGIN_SILENCE/END_SILENCE opcode handlers.
Nikita Popov [Tue, 2 Sep 2014 17:07:54 +0000 (19:07 +0200)]
Merge branch 'PHP-5.6'
Conflicts:
ext/gmp/gmp.c
Nikita Popov [Tue, 2 Sep 2014 17:04:55 +0000 (19:04 +0200)]
Fixed bug #50175
0x and 0b prefix is now only handled if either no base is given
or if the base is 16 (0x) or 2 (0b). Always handling it is incorrect
because 0x and 0b are perfectly valid numbers in other bases.
Nikita Popov [Tue, 2 Sep 2014 16:52:13 +0000 (18:52 +0200)]
Fix C89 build and small cleanup
Nikita Popov [Tue, 2 Sep 2014 16:42:39 +0000 (18:42 +0200)]
Skip 64bit test on 32bit
Also minor type improvements
Anatol Belski [Tue, 2 Sep 2014 16:19:51 +0000 (18:19 +0200)]
fix datatypes for gmp to be compatible with GMP/MPIR on different platforms
Anatol Belski [Tue, 2 Sep 2014 16:16:19 +0000 (18:16 +0200)]
add a test with gmp and PHP_INT_MAX
Anatol Belski [Tue, 2 Sep 2014 14:40:41 +0000 (16:40 +0200)]
one semicolon too much
Anatol Belski [Tue, 2 Sep 2014 13:54:51 +0000 (15:54 +0200)]
use portable strtol
Anatol Belski [Tue, 2 Sep 2014 13:54:16 +0000 (15:54 +0200)]
fix type
Nikita Popov [Tue, 2 Sep 2014 12:37:15 +0000 (14:37 +0200)]
mpz functions don't work on zend_ulongs...
If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and use mpz_import in convert_to_gmp for number > LONG_MAX.
Nikita Popov [Tue, 2 Sep 2014 12:28:07 +0000 (14:28 +0200)]
Merge branch 'PHP-5.6'
Conflicts:
ext/gmp/gmp.c
Leigh [Wed, 27 Aug 2014 20:45:05 +0000 (21:45 +0100)]
Implement gmp_import() and gmp_export()
Dmitry Stogov [Tue, 2 Sep 2014 10:11:22 +0000 (14:11 +0400)]
Fixed memory leaks
Dmitry Stogov [Tue, 2 Sep 2014 07:24:52 +0000 (11:24 +0400)]
fixed reference counting
Dmitry Stogov [Tue, 2 Sep 2014 05:52:23 +0000 (09:52 +0400)]
Avoid string duplication
Dmitry Stogov [Tue, 2 Sep 2014 05:46:27 +0000 (09:46 +0400)]
Fixed destruction on error
Tjerk Meesters [Mon, 1 Sep 2014 23:58:51 +0000 (07:58 +0800)]
Revert "Updated UPGRADING"
This reverts commit
300c0cf1c463efd48ebe9adf83286a5c949e0c1f .
Tjerk Meesters [Mon, 1 Sep 2014 22:48:31 +0000 (06:48 +0800)]
Updated UPGRADING
Tjerk Meesters [Mon, 1 Sep 2014 22:47:49 +0000 (06:47 +0800)]
Updated NEWS
Tjerk Meesters [Mon, 1 Sep 2014 22:54:52 +0000 (06:54 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Make DOMNode::textContent writeable
Updated UPGRADING
Updated NEWS
Conflicts:
ext/dom/attr.c
ext/dom/characterdata.c
ext/dom/document.c
ext/dom/node.c
Stanislav Malyshev [Mon, 1 Sep 2014 22:08:02 +0000 (15:08 -0700)]
Reintroduce fix from pull #770 in a PHP 7 way
Stanislav Malyshev [Mon, 1 Sep 2014 22:17:05 +0000 (15:17 -0700)]
Fix ZTS build
Tjerk Meesters [Mon, 1 Sep 2014 22:34:18 +0000 (06:34 +0800)]
Make DOMNode::textContent writeable
Tjerk Meesters [Mon, 1 Sep 2014 22:07:34 +0000 (06:07 +0800)]
Updated UPGRADING
Tjerk Meesters [Mon, 1 Sep 2014 22:07:23 +0000 (06:07 +0800)]
Updated NEWS
Stanislav Malyshev [Mon, 1 Sep 2014 21:49:52 +0000 (14:49 -0700)]
fix apache handler build
Stanislav Malyshev [Mon, 1 Sep 2014 21:35:04 +0000 (14:35 -0700)]
Revert "Merge branch 'PHP-5.6'"
This reverts commit
aaf5689f4d6e523fd78e0291dbbcd78f3ea988dc , reversing
changes made to
481bf25b6ad70fcdc9c10f02b49c86a0bd4a3d0d .
Stanislav Malyshev [Mon, 1 Sep 2014 19:22:41 +0000 (12:22 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
update NEWS
Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
Fix typo from commit
32314f6b6
Fix destruction order in zend_shutdown (bug #65463, #66036)
Conflicts:
Zend/zend_compile.h
Zend/zend_execute_API.c
Stanislav Malyshev [Mon, 1 Sep 2014 19:19:31 +0000 (12:19 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update NEWS
Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
Fix typo from commit
32314f6b6
Fix destruction order in zend_shutdown (bug #65463, #66036)
Stanislav Malyshev [Mon, 1 Sep 2014 19:14:57 +0000 (12:14 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
update NEWS
Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
Fix typo from commit
32314f6b6
Fix destruction order in zend_shutdown (bug #65463, #66036)
Stanislav Malyshev [Mon, 1 Sep 2014 19:13:43 +0000 (12:13 -0700)]
update NEWS
Stanislav Malyshev [Mon, 1 Sep 2014 19:11:42 +0000 (12:11 -0700)]
Merge branch 'pull-request/770' into PHP-5.4
* pull-request/770:
Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
Fix typo from commit
32314f6b6
Fix destruction order in zend_shutdown (bug #65463, #66036)
Anatol Belski [Mon, 1 Sep 2014 18:34:33 +0000 (20:34 +0200)]
restore the length var and fix the com_dotnet ini
Dmitry Stogov [Mon, 1 Sep 2014 16:57:33 +0000 (20:57 +0400)]
Refactored INI subsystem to use zend_string* instead of char*
Derick Rethans [Mon, 1 Sep 2014 15:40:57 +0000 (16:40 +0100)]
Merge branch 'PHP-5.6'
Derick Rethans [Mon, 1 Sep 2014 15:40:54 +0000 (16:40 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Mon, 1 Sep 2014 15:40:50 +0000 (16:40 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Mon, 1 Sep 2014 15:40:49 +0000 (16:40 +0100)]
- Updated to version 2014.7 (2014g)
Tjerk Meesters [Mon, 1 Sep 2014 14:49:12 +0000 (22:49 +0800)]
Fixed 'long' -> 'zend_long' for call to 'is_numeric_string_ex()'
Tjerk Meesters [Mon, 1 Sep 2014 14:30:09 +0000 (22:30 +0800)]
Updated UPGRADING for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:28:45 +0000 (22:28 +0800)]
Updated NEWS for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:43:17 +0000 (22:43 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated UPGRADING for #38409
Updated NEWS for #38409
Added test case
Making ini parser typed - Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file() - Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE - Added zend_ini_copy_typed_value() function for zval initialisation - Updated RETURN_TOKEN() to observe scanner_mode
Conflicts:
Zend/zend_ini_parser.y
Zend/zend_ini_scanner.c
Tjerk Meesters [Mon, 1 Sep 2014 14:15:53 +0000 (22:15 +0800)]
Updated UPGRADING for #38409
Tjerk Meesters [Mon, 1 Sep 2014 14:13:38 +0000 (22:13 +0800)]
Updated NEWS for #38409
Tjerk Meesters [Sat, 30 Aug 2014 10:18:42 +0000 (18:18 +0800)]
Added test case
Tjerk Meesters [Mon, 1 Sep 2014 13:22:28 +0000 (21:22 +0800)]
Making ini parser typed
- Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file()
- Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE
- Added zend_ini_copy_typed_value() function for zval initialisation
- Updated RETURN_TOKEN() to observe scanner_mode
Anatol Belski [Mon, 1 Sep 2014 13:45:55 +0000 (15:45 +0200)]
switch to built-in atanh() on vs2013 and up
Anatol Belski [Mon, 1 Sep 2014 13:33:40 +0000 (15:33 +0200)]
fix acosh for vs2012 and earlier
Anatol Belski [Mon, 1 Sep 2014 11:51:58 +0000 (13:51 +0200)]
fix asinh() on win64 for big negative values
Anatol Belski [Mon, 1 Sep 2014 12:21:53 +0000 (14:21 +0200)]
fix acosh and asinh on win64 with vs2013+
Anatol Belski [Sun, 31 Aug 2014 19:50:00 +0000 (21:50 +0200)]
fix C89 compat
Nuno Lopes [Sun, 31 Aug 2014 15:45:11 +0000 (11:45 -0400)]
remove a few gcc format attributes from some printf-like functions
Since now PHP's printf-like functions have many custom specifiers, the amount of false-positives wasnt worth it
Nuno Lopes [Sun, 31 Aug 2014 14:19:14 +0000 (15:19 +0100)]
add a few more patterns to .gitignore
Anatol Belski [Fri, 29 Aug 2014 22:33:33 +0000 (00:33 +0200)]
fix expected warning in test
Anatol Belski [Fri, 29 Aug 2014 22:28:10 +0000 (00:28 +0200)]
fix dir separators in test
Anatol Belski [Fri, 29 Aug 2014 22:24:41 +0000 (00:24 +0200)]
fix iptcembed()
Nikita Popov [Sat, 30 Aug 2014 18:45:10 +0000 (20:45 +0200)]
Merge branch 'PHP-5.6'
Conflicts:
Zend/zend_compile.c
Nikita Popov [Sat, 30 Aug 2014 18:41:36 +0000 (20:41 +0200)]
Fix bug #67938: Segfault when extending interface method with variadic
We only want to check extra optional args if the proto function is
variadic, not when we're adding extra variadic args.
Anatol Belski [Sat, 30 Aug 2014 02:06:25 +0000 (04:06 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Anatol Belski [Sat, 30 Aug 2014 02:06:00 +0000 (04:06 +0200)]
updated NEWS
Anatol Belski [Sat, 30 Aug 2014 02:05:42 +0000 (04:05 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #67731 finfo::file() returns invalid mime type for binary files
Anatol Belski [Sat, 30 Aug 2014 02:04:42 +0000 (04:04 +0200)]
Fixed bug #67731 finfo::file() returns invalid mime type for binary files
Johannes Schlüter [Fri, 29 Aug 2014 22:02:31 +0000 (00:02 +0200)]
Use global symbol table for completion after $ in readline.
Nikita Popov [Fri, 29 Aug 2014 20:06:48 +0000 (22:06 +0200)]
Don't depend on exact parse error messages in assert tests
Nikita Popov [Fri, 29 Aug 2014 19:47:10 +0000 (21:47 +0200)]
Combine foreach copy / switch cond stacks
Now one common stack to handle both, which stores znodes instead of
full oplines (foreach copy stack) or switch entries (switch cond
stack).
Also removed EG(start_op) while at it.
Nikita Popov [Fri, 29 Aug 2014 18:52:26 +0000 (20:52 +0200)]
Don't distinguish between ast/list in parser
This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.
Keeping the distinction in the parser doesn't really give us any
benefit and only makes changing the grammar harder.
Nikita Popov [Fri, 29 Aug 2014 16:51:58 +0000 (18:51 +0200)]
Introduce optional_expr
Nikita Popov [Fri, 29 Aug 2014 16:46:46 +0000 (18:46 +0200)]
Remove parenthesis_expr
This was necessary previously to handle yields, now it only clutters
up the grammar.
Nikita Popov [Fri, 29 Aug 2014 16:42:05 +0000 (18:42 +0200)]
Simplify `argument` production
Christopher Jones [Fri, 29 Aug 2014 15:48:56 +0000 (08:48 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Remove 550+ compile warnings on OS X
Christopher Jones [Fri, 29 Aug 2014 15:48:43 +0000 (08:48 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Remove 550+ compile warnings on OS X
Christopher Jones [Fri, 29 Aug 2014 15:48:10 +0000 (08:48 -0700)]
Remove 550+ compile warnings on OS X
The warnings had the signature:
php-src/ext/mysqlnd/mysqlnd_debug.h:127:25: note: expanded from macro 'DBG_ENTER_EX2'
if (dbg_skip_trace); /* shut compiler's mouth */\
^
php-src/ext/mysqlnd/mysqlnd.c:114:2: note: put the semicolon on a separate line to silence this warning
Christopher Jones [Fri, 29 Aug 2014 15:47:10 +0000 (08:47 -0700)]
Allow PHP 7 to install in Apache 2 on OS X
This fixes the fundamental part of #67910. The complete change from
php5 -> php7 in sapi/* still needs to be done.
Anatol Belski [Fri, 29 Aug 2014 15:28:53 +0000 (17:28 +0200)]
restore the old behavior for the assignment to string offset
Anatol Belski [Fri, 29 Aug 2014 15:21:02 +0000 (17:21 +0200)]
revert the lstat part
Anatol Belski [Fri, 29 Aug 2014 11:43:40 +0000 (13:43 +0200)]
fix stat vs zend_stat
Anatol Belski [Fri, 29 Aug 2014 11:30:53 +0000 (13:30 +0200)]
fix implicit st_rdev element handling when negative value was passed
Anatol Belski [Fri, 29 Aug 2014 10:53:37 +0000 (12:53 +0200)]
data type fixes
Anatol Belski [Fri, 29 Aug 2014 09:21:07 +0000 (11:21 +0200)]
avoid usage of 'type' before the null pointer check
Anatol Belski [Fri, 29 Aug 2014 08:54:28 +0000 (10:54 +0200)]
exclude log2 usage which requires C99 support
Lior Kaplan [Fri, 29 Aug 2014 08:44:45 +0000 (11:44 +0300)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add missing CVE IDs for 5.6.0
Align entiries format to "Fixed bug #..."
Use #66356 instead of #66714, as the latter is only a regression fix from the former.
Add an entry for bug#66060 (fixed in 5.5.8)
Lior Kaplan [Fri, 29 Aug 2014 08:31:07 +0000 (11:31 +0300)]
Add missing CVE IDs for 5.6.0
Lior Kaplan [Fri, 29 Aug 2014 08:28:22 +0000 (11:28 +0300)]
Align entiries format to "Fixed bug #..."
Lior Kaplan [Fri, 29 Aug 2014 08:26:27 +0000 (11:26 +0300)]
Use #66356 instead of #66714, as the latter is only a regression fix from the former.
Lior Kaplan [Fri, 29 Aug 2014 06:55:07 +0000 (09:55 +0300)]
Add an entry for bug#66060 (fixed in 5.5.8)
Anatol Belski [Fri, 29 Aug 2014 06:40:47 +0000 (08:40 +0200)]
fixed path in test
Stanislav Malyshev [Fri, 29 Aug 2014 06:13:24 +0000 (23:13 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
fix NEWS for fcgi fix merge
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
Stanislav Malyshev [Fri, 29 Aug 2014 06:12:41 +0000 (23:12 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix NEWS for fcgi fix merge
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
Stanislav Malyshev [Fri, 29 Aug 2014 06:11:08 +0000 (23:11 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix NEWS for fcgi fix merge
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
Stanislav Malyshev [Fri, 29 Aug 2014 06:10:32 +0000 (23:10 -0700)]
fix NEWS for fcgi fix merge
David Zuelke [Sat, 9 Aug 2014 06:26:33 +0000 (08:26 +0200)]
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606