]>
granicus.if.org Git - php/log
Kalle Sommer Nielsen [Mon, 23 Jul 2018 15:38:26 +0000 (17:38 +0200)]
Removed the generated-tests library, this is a left Zöe's phpruntests repository it seems and never fully implemented. The only times this part of the code has been touched throughout the years has been minor PRs and entire php-src grep commits.
If anything this belongs to the phpruntests.git repository.
Kalle Sommer Nielsen [Mon, 23 Jul 2018 13:37:02 +0000 (15:37 +0200)]
Fix HKEY registry path (not that it should matter, dead code, Anatol?)
Kalle Sommer Nielsen [Mon, 23 Jul 2018 13:26:39 +0000 (15:26 +0200)]
Remove some dead code
sapi/*: Remove Windows code from FPM and LiteSpeed, as we don't support these SAPIs on Windows anyway
ext/com_dotnet: Remove non Windows code, as ext/com_dotnet is only supported on Windows
Dmitry Stogov [Mon, 23 Jul 2018 12:57:06 +0000 (15:57 +0300)]
Use better destructor (key may be only IS_STRING or IS_LONG).
Dmitry Stogov [Mon, 23 Jul 2018 12:24:07 +0000 (15:24 +0300)]
API cleanup.
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).
Dmitry Stogov [Mon, 23 Jul 2018 07:52:00 +0000 (10:52 +0300)]
Micro-optimization
Xinchen Hui [Mon, 23 Jul 2018 07:49:04 +0000 (15:49 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Xinchen Hui [Mon, 23 Jul 2018 07:48:52 +0000 (15:48 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Xinchen Hui [Mon, 23 Jul 2018 07:48:14 +0000 (15:48 +0800)]
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Gabriel Caruso [Sun, 22 Jul 2018 19:41:41 +0000 (16:41 -0300)]
Give a reason why the test was skipped
This will help us debug why a test was skipped in GCOV
(http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip), and maybe
put them to run again
Gabriel Caruso [Sun, 22 Jul 2018 18:54:00 +0000 (15:54 -0300)]
Use variables that already received ZEND_NUM_ARGS()
Jakub Zelenka [Sun, 22 Jul 2018 16:40:38 +0000 (17:40 +0100)]
Return bool from zlog_stream_set_msg_{prefix,suffix}
Christoph M. Becker [Sun, 22 Jul 2018 16:04:12 +0000 (18:04 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #52974: jewish.c: compile error under Windows with GBK charset
Christoph M. Becker [Sun, 22 Jul 2018 15:44:37 +0000 (17:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #52974: jewish.c: compile error under Windows with GBK charset
Christoph M. Becker [Sun, 22 Jul 2018 15:42:10 +0000 (17:42 +0200)]
Fix #52974: jewish.c: compile error under Windows with GBK charset
jewish.c includes ISO-8859-8 encoded Hebrew Hebrew month names, which
may cause compile errors, and is generally confusing. We replace the
literal month names with appropriate escape sequences.
Jakub Zelenka [Sun, 22 Jul 2018 15:36:36 +0000 (16:36 +0100)]
Update NEWS and UPGRADING with info about syslog.filter
Jakub Zelenka [Sun, 22 Jul 2018 15:29:35 +0000 (16:29 +0100)]
Rename none syslog.filter to all and update ini description
Philip Prindeville [Fri, 11 Aug 2017 18:30:50 +0000 (12:30 -0600)]
Add syslog.filter INI for filtering syslog messages
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Nikita Popov [Sat, 21 Jul 2018 20:48:42 +0000 (22:48 +0200)]
Add UPGRADING notes for deprecations
Nikita Popov [Sat, 21 Jul 2018 20:37:37 +0000 (22:37 +0200)]
Deprecate pdo_odbc.db2_instance_name
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Thu, 5 Jul 2018 19:27:17 +0000 (21:27 +0200)]
Deprecate string.strip_tags filter
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Thu, 5 Jul 2018 16:43:42 +0000 (18:43 +0200)]
Deprecate fgetss() and gzgetss()
SplFileObject::fgetss() will also generate a deprecation notice
through an internal call to fgetss().
Part of RFC https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 21:20:29 +0000 (23:20 +0200)]
Deprecate defining a free-standing assert() function
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 21:16:05 +0000 (23:16 +0200)]
Deprecate non-string needles in string search functions
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 20:48:16 +0000 (22:48 +0200)]
Deprecate undocumented mbereg_* aliases
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Peter Kokot [Thu, 19 Jul 2018 21:05:34 +0000 (23:05 +0200)]
Move GMP bug 74670 test file to tests dir
Nikita Popov [Fri, 20 Jul 2018 15:52:56 +0000 (17:52 +0200)]
Fix off-by-one allocation
The return value of this function is pretty meaningless, but
leaving it alone for now.
Nikita Popov [Fri, 20 Jul 2018 15:47:53 +0000 (17:47 +0200)]
Fix incorrect length calculation
sizeof char pointer != sizeof string literal.
Trevor Rowbotham [Thu, 19 Jul 2018 19:14:39 +0000 (15:14 -0400)]
[ci skip] Add new global MBString constants to UPGRADING
The constants are mentioned further up in the New Features section,
but weren't explicitly listed under the New Global Constants section.
Gabriel Caruso [Mon, 16 Jul 2018 03:19:02 +0000 (00:19 -0300)]
Removed and fixed unused variables
Anatol Belski [Thu, 19 Jul 2018 16:38:19 +0000 (18:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update binary SDK version for AppVeyor
Anatol Belski [Thu, 19 Jul 2018 16:37:38 +0000 (18:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update binary SDK version for AppVeyor
Anatol Belski [Thu, 19 Jul 2018 16:35:54 +0000 (18:35 +0200)]
Update binary SDK version for AppVeyor
Ferenc Kovacs [Thu, 19 Jul 2018 14:59:00 +0000 (16:59 +0200)]
Merge branch 'PHP-7.2'
Ferenc Kovacs [Thu, 19 Jul 2018 14:57:50 +0000 (16:57 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Thu, 19 Jul 2018 14:57:18 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Thu, 19 Jul 2018 14:56:32 +0000 (16:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 19 Jul 2018 14:32:50 +0000 (16:32 +0200)]
5.6.38 will be next
Dmitry Stogov [Thu, 19 Jul 2018 12:47:15 +0000 (15:47 +0300)]
Removed redundand code
Dmitry Stogov [Thu, 19 Jul 2018 12:28:31 +0000 (15:28 +0300)]
Matching loops optimization
Dmitry Stogov [Thu, 19 Jul 2018 08:19:28 +0000 (11:19 +0300)]
Micro optimizations
Dmitry Stogov [Thu, 19 Jul 2018 06:41:15 +0000 (09:41 +0300)]
Fixed typo
Hongbo [Wed, 18 Jul 2018 17:30:44 +0000 (01:30 +0800)]
fix ext_skel continue
"continue" inside switch is ambiguous, should be "continue 2".
Dmitry Stogov [Wed, 18 Jul 2018 14:46:48 +0000 (17:46 +0300)]
Reorder conditions
Dmitry Stogov [Wed, 18 Jul 2018 13:35:17 +0000 (16:35 +0300)]
Move "/e" modifier check into regex compiler
Dmitry Stogov [Wed, 18 Jul 2018 13:10:41 +0000 (16:10 +0300)]
Merge "no_utf_check" and "g_notempty" into single "options".
Dmitry Stogov [Wed, 18 Jul 2018 11:49:52 +0000 (14:49 +0300)]
Allocate array of proper size
Dmitry Stogov [Wed, 18 Jul 2018 11:49:00 +0000 (14:49 +0300)]
Perform checks for propertis started with '\\0' only for dynamic properties
Christoph M. Becker [Wed, 18 Jul 2018 09:29:05 +0000 (11:29 +0200)]
[ci skip] Fix typo in comment
Remi Collet [Wed, 18 Jul 2018 09:17:53 +0000 (11:17 +0200)]
add info about zend_class_entry.iterator_funcs
Dmitry Stogov [Tue, 17 Jul 2018 14:31:04 +0000 (17:31 +0300)]
Improved "Fast Shutdown".
Christoph M. Becker [Tue, 17 Jul 2018 14:02:50 +0000 (16:02 +0200)]
Update NEWS for 7.3.0beta1
Anatol Belski [Tue, 17 Jul 2018 10:38:21 +0000 (12:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:37:51 +0000 (12:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:37:02 +0000 (12:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:36:13 +0000 (12:36 +0200)]
7.0.32 next
Dmitry Stogov [Tue, 17 Jul 2018 10:30:55 +0000 (13:30 +0300)]
Inline FETCH_CONST and DEFINED handlers into "hybrid" executor.
Anatol Belski [Tue, 17 Jul 2018 10:01:14 +0000 (12:01 +0200)]
Merge branch 'master' of git.php.net:php-src
Anatol Belski [Tue, 17 Jul 2018 10:00:11 +0000 (12:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Update NEWS
Anatol Belski [Tue, 17 Jul 2018 09:59:17 +0000 (11:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Dmitry Stogov [Tue, 17 Jul 2018 09:58:58 +0000 (12:58 +0300)]
Reduce overhead of case-insensitive constants deprecation for "fast path"
Anatol Belski [Tue, 17 Jul 2018 09:58:43 +0000 (11:58 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Update NEWS
Anatol Belski [Tue, 17 Jul 2018 08:21:21 +0000 (10:21 +0200)]
[ci skip] Update NEWS
Christoph M. Becker [Tue, 17 Jul 2018 09:53:06 +0000 (11:53 +0200)]
Improve implementation of array_key_first() and array_key_last()
Firstly, we must not separate the $stack argument for performance
reasons. Secondly, we prefer `Z_ARRVAL_P` over `HASH_OF` to clarify
our intention.
Thanks to Nikita, for catching these issues!
Enno Woortmann [Tue, 17 Jul 2018 08:29:55 +0000 (10:29 +0200)]
Add implementation and tests for new methods - array_key_first(array $a) Returns the key of the first element or null - array_key_last(array $a) Returns the key of the last element or null
Christoph M. Becker [Tue, 17 Jul 2018 09:01:44 +0000 (11:01 +0200)]
FILTER_FLAG_(SCHEME|HOST)_REQUIRED are now deprecated
Christoph M. Becker [Mon, 16 Jul 2018 20:53:24 +0000 (22:53 +0200)]
Deprecate explicit use of FILTER_FLAG_SCHEME|HOST_REQUIRED
As of PHP 5.2.1 FILTER_VALIDATE_URL implies FILTER_FLAG_SCHEME_REQUIRED
| FILTER_FLAG_HOST_REQUIRED, which makes these constants useless at
best, if not even misleading. Therefore we deprecate the explicit use
of these constants for FILTER_VALIDATE_URL, to pave the way for their
eventual removal.
See <https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required>.
Remi Collet [Tue, 17 Jul 2018 04:07:43 +0000 (06:07 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
NEWS
Remi Collet [Tue, 17 Jul 2018 04:07:28 +0000 (06:07 +0200)]
NEWS
Stanislav Malyshev [Tue, 17 Jul 2018 01:52:14 +0000 (18:52 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix test
Stanislav Malyshev [Tue, 17 Jul 2018 01:52:01 +0000 (18:52 -0700)]
Fix test
Stanislav Malyshev [Mon, 16 Jul 2018 23:54:31 +0000 (16:54 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #76459 windows linkinfo lacks openbasedir check
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Stanislav Malyshev [Mon, 16 Jul 2018 23:53:57 +0000 (16:53 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76459 windows linkinfo lacks openbasedir check
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Stanislav Malyshev [Mon, 16 Jul 2018 23:52:36 +0000 (16:52 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #76459 windows linkinfo lacks openbasedir check
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Stanislav Malyshev [Mon, 16 Jul 2018 22:13:13 +0000 (15:13 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Anatol Belski [Tue, 3 Jul 2018 12:04:22 +0000 (14:04 +0200)]
Fixed bug #76459 windows linkinfo lacks openbasedir check
Stanislav Malyshev [Mon, 16 Jul 2018 21:26:31 +0000 (14:26 -0700)]
Add NEWS
Anatol Belski [Tue, 3 Jul 2018 11:51:31 +0000 (13:51 +0200)]
Fixed bug #76459 windows linkinfo lacks openbasedir check
Stanislav Malyshev [Mon, 2 Jul 2018 05:20:19 +0000 (22:20 -0700)]
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Use MAKERNOTE length as data size.
Stanislav Malyshev [Tue, 19 Jun 2018 23:26:36 +0000 (16:26 -0700)]
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Nikita Popov [Sat, 23 Jun 2018 18:51:49 +0000 (20:51 +0200)]
Deprecate case-insensitive constants
RFC: https://wiki.php.net/rfc/case_insensitive_constant_deprecation
Nikita Popov [Sat, 23 Jun 2018 18:54:49 +0000 (20:54 +0200)]
Remove use of case-insensitive constants in tests
Dmitry Stogov [Mon, 16 Jul 2018 14:08:11 +0000 (17:08 +0300)]
Fixed error messages.
Dmitry Stogov [Mon, 16 Jul 2018 10:22:17 +0000 (13:22 +0300)]
Flatten strip_tags state machine (GCC overoptimized this function, producing enormpous amount of code).
Gabriel Caruso [Mon, 16 Jul 2018 03:01:46 +0000 (00:01 -0300)]
Make more tests run and fix SKIPIF sections
Gabriel Caruso [Mon, 16 Jul 2018 02:51:16 +0000 (23:51 -0300)]
Test http_response_code function
Gabriel Caruso [Mon, 16 Jul 2018 02:40:00 +0000 (23:40 -0300)]
Fix failing test upstream
There was a trailing tab when a error message was generated. Removing
it, test is passing now.
Christoph M. Becker [Sun, 15 Jul 2018 21:24:02 +0000 (23:24 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #73817: Incorrect entries in get_html_translation_table
Christoph M. Becker [Sun, 15 Jul 2018 21:09:15 +0000 (23:09 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #73817: Incorrect entries in get_html_translation_table
Christoph M. Becker [Sun, 15 Jul 2018 21:06:38 +0000 (23:06 +0200)]
Fix #73817: Incorrect entries in get_html_translation_table
Due to incorrect string termination and length handling, several HTML
entities missed the trailing semicolon.
We also fix the obviously wrong expectations in two already existing
tests.
Gabriel Caruso [Sat, 14 Jul 2018 22:37:12 +0000 (19:37 -0300)]
Small tweaks to php scripts
Gabriel Caruso [Mon, 9 Jul 2018 03:56:45 +0000 (00:56 -0300)]
Small tweaks to php scripts
Gemorroj [Fri, 13 Jul 2018 21:22:45 +0000 (00:22 +0300)]
[ci skip] Update php.ini-production
remove duplicated strings
Anatol Belski [Sat, 14 Jul 2018 10:51:37 +0000 (12:51 +0200)]
Regroup the ifdef'd occurrences
Anatol Belski [Sat, 14 Jul 2018 09:43:46 +0000 (11:43 +0200)]
Trail long path support also for deletion
Anatol Belski [Fri, 13 Jul 2018 18:15:17 +0000 (20:15 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Improve test
Anatol Belski [Fri, 13 Jul 2018 18:14:44 +0000 (20:14 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Improve test
Anatol Belski [Fri, 13 Jul 2018 18:13:51 +0000 (20:13 +0200)]
Improve test
Ensure the filename is non existent indeed.
Anatol Belski [Fri, 13 Jul 2018 17:01:43 +0000 (19:01 +0200)]
Distinguish two error messages
Anatol Belski [Fri, 13 Jul 2018 05:35:33 +0000 (07:35 +0200)]
Avoid early allocation