]>
granicus.if.org Git - php/log
Anatol Belski [Wed, 27 Jul 2016 18:42:05 +0000 (20:42 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
Anatol Belski [Wed, 27 Jul 2016 18:41:27 +0000 (20:41 +0200)]
update NEWS
Christoph M. Becker [Wed, 27 Jul 2016 17:05:43 +0000 (19:05 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 27 Jul 2016 16:59:40 +0000 (18:59 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/pcre/php_pcre.c
Christoph M. Becker [Wed, 27 Jul 2016 16:50:52 +0000 (18:50 +0200)]
Fix #72688: preg_match missing group names in matches
We have to multiply with 0x100 to properly scale the high byte.
Bob Weinand [Wed, 27 Jul 2016 16:18:47 +0000 (18:18 +0200)]
Merge remote-tracking branch 'origin/PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 27 Jul 2016 16:08:43 +0000 (18:08 +0200)]
Fixed a potential segfault in zend_objects_store_free_object_storage()
Under the special circumstance where a garbage collected objects bucket slot was not reused until the end of the script, we get access into freed memory...
No test added as it usually is valgrind-only, and only sometimes when the memory happens to have changed (i.e. (GC_FLAGS(obj) & IS_OBJ_FREE_CALLED) == 0), it actually *may* segfault
Christoph M. Becker [Wed, 27 Jul 2016 14:53:29 +0000 (16:53 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 27 Jul 2016 14:47:09 +0000 (16:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/sqlite3/sqlite3.c
Christoph M. Becker [Wed, 27 Jul 2016 14:37:49 +0000 (16:37 +0200)]
Implement #72653: SQLite should allow opening with empty filename
From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html) docs:
| If the filename is an empty string, then a private, temporary on-disk
| database will be created. This private database will be automatically
| deleted as soon as the database connection is closed.
We make that facility available to userland.
While we're at it, we also do some minor optimizations, remove the
unnecessary check for NUL characters in filename, which is already catered
to by ZPP(p), and add a missing `return` in case db_obj isn't initialized.
Nikita Popov [Wed, 27 Jul 2016 13:58:22 +0000 (15:58 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 27 Jul 2016 13:56:52 +0000 (15:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/standard/ftp_fopen_wrapper.c
Ville Hukkamäki [Mon, 25 Jul 2016 18:50:38 +0000 (18:50 +0000)]
Fix bug #72667
Open data stream after receiving PASV reply, before sending the
main request.
Included test cases for opendir() with ftp:// and ftps:// wrappers.
Test cases re-use ext/ftp/tests/server.inc
Conflicts:
ext/standard/ftp_fopen_wrapper.c
Pierrick Charron [Wed, 27 Jul 2016 04:39:47 +0000 (00:39 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
Pierrick Charron [Wed, 27 Jul 2016 04:38:54 +0000 (00:38 -0400)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
main/streams/streams.c
Pierrick Charron [Wed, 27 Jul 2016 04:33:13 +0000 (00:33 -0400)]
Fixed bug #72686 (zlib: url support is broken).
zlib: support is broken since a really long time.
It never worked on versions >= PHP5.6 so we can just remove
this dead code.
Bug was introduced 2006-05-14 (Before 5.2.0)
Pierrick Charron [Wed, 27 Jul 2016 00:37:04 +0000 (20:37 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
Pierrick Charron [Wed, 27 Jul 2016 00:36:34 +0000 (20:36 -0400)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/spl/spl_iterators.c
Pierrick Charron [Wed, 27 Jul 2016 00:34:16 +0000 (20:34 -0400)]
Fixed bug #72684 (AppendIterator segfault with closed generator)
Pierrick Charron [Tue, 26 Jul 2016 23:23:08 +0000 (19:23 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
Pierrick Charron [Tue, 26 Jul 2016 23:20:12 +0000 (19:20 -0400)]
Merge branch 'PHP-5.6' into PHP-7.0
Pierrick Charron [Tue, 26 Jul 2016 22:50:15 +0000 (18:50 -0400)]
Fixed bug #71709
When curl_setopt is called with an empty slist as value, we should
not add the empty slist to the list of slist to free.
Anatol Belski [Tue, 26 Jul 2016 14:28:56 +0000 (16:28 +0200)]
fix broken proto doc
Anatol Belski [Tue, 26 Jul 2016 13:12:03 +0000 (15:12 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
upgraded to PCRE 8.39
Anatol Belski [Sun, 19 Jun 2016 18:38:31 +0000 (20:38 +0200)]
upgraded to PCRE 8.39
(cherry picked from commit
9d4fe9672a1c32d1349f267d24d079e3ebdc83e8 )
Anatol Belski [Tue, 26 Jul 2016 12:00:24 +0000 (14:00 +0200)]
fix missing header and conflicting symbol
Anatol Belski [Mon, 25 Jul 2016 21:02:09 +0000 (23:02 +0200)]
fix compiler warning
Anatol Belski [Mon, 25 Jul 2016 20:49:00 +0000 (22:49 +0200)]
fix data type
Nikita Popov [Mon, 25 Jul 2016 21:04:14 +0000 (23:04 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 25 Jul 2016 21:02:54 +0000 (23:02 +0200)]
Fix GMP unserialization with self-reference
Andrey Hristov [Fri, 22 Jul 2016 21:26:26 +0000 (00:26 +0300)]
Fix for bug #71863 Segfault when EXPLAIN with "Unknown column" error
The reason was that after the big refactoring of mysqlnd at the end of
last year code that is initializing the error_info structure in the
result set was not added. It existed already for connections and PS.
The code that segfaults is hit only with MariaDB because MariaDB sends
full metadata about the EXPLAIN query + EOF packet and only then it sends
an error packet. MySQL doesn't do that but sends directly an error which
is caught (by different code path). As errors during execution (which means
after sending meta) are pretty rare there was no test case of MySQL to
catch it.
Christoph M. Becker [Mon, 25 Jul 2016 15:15:10 +0000 (17:15 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Mon, 25 Jul 2016 15:07:41 +0000 (17:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/sqlite3/sqlite3.c
# ext/sqlite3/tests/bug72668.phpt
Christoph M. Becker [Mon, 25 Jul 2016 15:03:10 +0000 (17:03 +0200)]
Further fixes wrt. bug #72668
Not only SQLite3::querySingle(), but also SQLite3::query() and
SQLite3Stmt::execute() were affected.
Anatol Belski [Mon, 25 Jul 2016 12:45:10 +0000 (14:45 +0200)]
use more suitable types here, too
and simplify the loop
Anatol Belski [Mon, 25 Jul 2016 12:19:33 +0000 (14:19 +0200)]
change to more suitable datatypes
Xinchen Hui [Mon, 25 Jul 2016 12:29:26 +0000 (20:29 +0800)]
Update NEWs
Xinchen Hui [Mon, 25 Jul 2016 12:28:57 +0000 (20:28 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #72668 (Spurious warning when exception is thrown in user defined function)
Xinchen Hui [Mon, 25 Jul 2016 12:28:39 +0000 (20:28 +0800)]
Fixed bug #72668 (Spurious warning when exception is thrown in user defined function)
Anatol Belski [Mon, 25 Jul 2016 10:50:21 +0000 (12:50 +0200)]
update NEWS
Anatol Belski [Mon, 25 Jul 2016 10:47:48 +0000 (12:47 +0200)]
Fixed bug #72658 Locale::lookup() / locale_lookup() hangs if no match found
Christoph M. Becker [Mon, 25 Jul 2016 08:27:21 +0000 (10:27 +0200)]
Fix SQLite3 header files
While sqlite3.c had already been updated to 3.13.0, the header files had
been forgotten.
Anatol Belski [Mon, 25 Jul 2016 08:18:10 +0000 (10:18 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
Make phpize use PHP_PREFIX as the default location (windows)
Enable 'nmake test' on building extensions
Anatol Belski [Mon, 25 Jul 2016 08:17:41 +0000 (10:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Make phpize use PHP_PREFIX as the default location (windows)
Enable 'nmake test' on building extensions
Anatol Belski [Mon, 25 Jul 2016 08:14:18 +0000 (10:14 +0200)]
update NEWS
y-uti [Sat, 26 Mar 2016 09:56:25 +0000 (18:56 +0900)]
Make phpize use PHP_PREFIX as the default location (windows)
The default path to where an extension is installed should be
PHP_PREFIX/ext on windows.
y-uti [Mon, 28 Mar 2016 10:50:31 +0000 (19:50 +0900)]
Enable 'nmake test' on building extensions
On Windows, Makefile generated by phpize doesn't have the 'test'
target rule. This commit fixes that and enables 'nmake test' on
Windows.
Anatol Belski [Mon, 25 Jul 2016 07:52:38 +0000 (09:52 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
Enable 'nmake test' on building extensions
Make phpize use PHP_PREFIX as the default location (windows)
Anatol Belski [Mon, 25 Jul 2016 07:52:21 +0000 (09:52 +0200)]
update NeWS
Anatol Belski [Mon, 25 Jul 2016 07:51:13 +0000 (09:51 +0200)]
update NEWS
y-uti [Mon, 28 Mar 2016 10:50:31 +0000 (19:50 +0900)]
Enable 'nmake test' on building extensions
On Windows, Makefile generated by phpize doesn't have the 'test'
target rule. This commit fixes that and enables 'nmake test' on
Windows.
y-uti [Sat, 26 Mar 2016 09:56:25 +0000 (18:56 +0900)]
Make phpize use PHP_PREFIX as the default location (windows)
The default path to where an extension is installed should be
PHP_PREFIX/ext on windows.
Christoph M. Becker [Mon, 25 Jul 2016 00:03:54 +0000 (02:03 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Mon, 25 Jul 2016 00:02:54 +0000 (02:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/gd/tests/gd_info_variation1.phpt
Christoph M. Becker [Mon, 25 Jul 2016 00:00:37 +0000 (02:00 +0200)]
Fix broken test case
d28f1da introduced a test regression, due to potentially additional output
regarding FreeType support. We fix that by making the test more resilient.
Christoph M. Becker [Sun, 24 Jul 2016 22:25:11 +0000 (00:25 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sun, 24 Jul 2016 22:16:21 +0000 (00:16 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts:
# ext/gd/tests/gd_info_variation1.phpt
Christoph M. Becker [Sun, 24 Jul 2016 22:13:44 +0000 (00:13 +0200)]
Fix broken test case
The test claims that it would be "checking all the values in returned array",
but due to the use of %a it actually skipped elements. We fix that by using
%s instead.
Xinchen Hui [Sun, 24 Jul 2016 15:59:05 +0000 (23:59 +0800)]
Update NEWS
Xinchen Hui [Sun, 24 Jul 2016 15:58:50 +0000 (23:58 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #72660 (NULL Pointer dereference in zend_virtual_cwd)
Xinchen Hui [Sun, 24 Jul 2016 15:58:22 +0000 (23:58 +0800)]
Fixed bug #72660 (NULL Pointer dereference in zend_virtual_cwd)
Anatol Belski [Sun, 24 Jul 2016 12:55:15 +0000 (14:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
regenerate date parser with re2c 0.15.3
regenerate date parser with re2c 0.15.3
Anatol Belski [Sun, 24 Jul 2016 12:53:53 +0000 (14:53 +0200)]
regenerate date parser with re2c 0.15.3
Anatol Belski [Sun, 24 Jul 2016 12:51:59 +0000 (14:51 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
regenerate date parser with re2c 0.15.3
Anatol Belski [Sun, 24 Jul 2016 12:50:10 +0000 (14:50 +0200)]
regenerate date parser with re2c 0.15.3
Xinchen Hui [Sun, 24 Jul 2016 03:03:49 +0000 (11:03 +0800)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src: (32 commits)
fix compiler warning
rework long path normalization stuf
More tolerance in another IntlCalendar test
Ensure session GC is not run during variation6.phpt
add folds
improve typedef and fix the fake function
add missing cast
Fix typos, previous version used reserver/reserverd/reserved
Fixed bug #72625 realpath() fails on non canonical long path
correct comment
don't return long path prefix to script
fix test
fix test
Fix #68712: suspicious if-else statements
Fix copy&paste errors in gd_interpolation.c
Fix #66555: Always false condition in ext/gd/libgd/gdkanji.c
Fix ClosedGeneratorException possibly thrown into wrong scope
Fix for bug #54431
Fix build
Make sure TOKEN_PARSE mode is thread safe
...
Xinchen Hui [Sun, 24 Jul 2016 03:01:19 +0000 (11:01 +0800)]
Fixed bug #72661 (ReflectionType::__toString crashes with iterable)
Anatol Belski [Sun, 24 Jul 2016 01:49:47 +0000 (03:49 +0200)]
fix compiler warning
Anatol Belski [Sun, 24 Jul 2016 01:43:17 +0000 (03:43 +0200)]
rework long path normalization stuf
Simplify, set error codes, ensure 32-bit is ok as well. The
canonicalization part is still an issue on win7 as the API
is missing there. However a partial improvement is reached
there as well thanks to the slash conversion.
Nikita Popov [Sat, 23 Jul 2016 22:18:51 +0000 (00:18 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 23 Jul 2016 22:18:47 +0000 (00:18 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 23 Jul 2016 22:13:42 +0000 (00:13 +0200)]
More tolerance in another IntlCalendar test
Again, off-by-1000 is expected if we're late in the second. Add an
extra 1000 to account for actual delta in call times.
Nikita Popov [Sat, 23 Jul 2016 22:08:18 +0000 (00:08 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 23 Jul 2016 22:06:55 +0000 (00:06 +0200)]
Ensure session GC is not run during variation6.phpt
The implemented gc() handler simply deletes all sessions, including
the current one. This may cause a subsequent unlink() warning.
Avoid this by preventing GC from running.
Anatol Belski [Sat, 23 Jul 2016 21:22:08 +0000 (23:22 +0200)]
add folds
Anatol Belski [Sat, 23 Jul 2016 21:21:17 +0000 (23:21 +0200)]
improve typedef and fix the fake function
Anatol Belski [Sat, 23 Jul 2016 20:13:58 +0000 (22:13 +0200)]
add missing cast
Sjon Hortensius [Sat, 23 Jul 2016 14:15:48 +0000 (16:15 +0200)]
Fix typos, previous version used reserver/reserverd/reserved
Anatol Belski [Sat, 23 Jul 2016 16:07:03 +0000 (18:07 +0200)]
Fixed bug #72625 realpath() fails on non canonical long path
Anatol Belski [Fri, 22 Jul 2016 21:51:46 +0000 (23:51 +0200)]
correct comment
Anatol Belski [Fri, 22 Jul 2016 15:04:33 +0000 (17:04 +0200)]
don't return long path prefix to script
Anatol Belski [Sat, 23 Jul 2016 19:06:11 +0000 (21:06 +0200)]
fix test
Anatol Belski [Sat, 23 Jul 2016 19:04:52 +0000 (21:04 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix test
Anatol Belski [Sat, 23 Jul 2016 19:03:45 +0000 (21:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test
Anatol Belski [Sat, 23 Jul 2016 18:55:39 +0000 (20:55 +0200)]
fix test
Christoph M. Becker [Sat, 23 Jul 2016 17:37:58 +0000 (19:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 23 Jul 2016 17:31:50 +0000 (19:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 23 Jul 2016 17:29:43 +0000 (19:29 +0200)]
Fix #68712: suspicious if-else statements
Christoph M. Becker [Sat, 23 Jul 2016 16:13:29 +0000 (18:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 23 Jul 2016 16:12:14 +0000 (18:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 23 Jul 2016 16:09:18 +0000 (18:09 +0200)]
Fix copy&paste errors in gd_interpolation.c
According to <https://github.com/libgd/libgd/commit/
f101380 >.
Christoph M. Becker [Sat, 23 Jul 2016 14:56:11 +0000 (16:56 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 23 Jul 2016 14:50:16 +0000 (16:50 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 23 Jul 2016 14:48:07 +0000 (16:48 +0200)]
Fix #66555: Always false condition in ext/gd/libgd/gdkanji.c
This issue has already been fixed in libgd[1], so we fix PHP's bundled
libgd accordingly.
[1] <https://github.com/libgd/libgd/commit/
aa1d71c >
Bob Weinand [Sat, 23 Jul 2016 14:40:02 +0000 (16:40 +0200)]
Merge remote-tracking branch 'origin/PHP-7.0' into PHP-7.1
Bob Weinand [Sat, 23 Jul 2016 14:39:21 +0000 (16:39 +0200)]
Fix ClosedGeneratorException possibly thrown into wrong scope
Nikita Popov [Sat, 23 Jul 2016 11:30:16 +0000 (13:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 23 Jul 2016 11:29:57 +0000 (13:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/standard/ftp_fopen_wrapper.c
vhuk [Thu, 21 Jul 2016 09:20:06 +0000 (12:20 +0300)]
Fix for bug #54431
Nikita Popov [Fri, 22 Jul 2016 22:12:11 +0000 (00:12 +0200)]
Fix build
Missed this occurrence...