]>
granicus.if.org Git - php/log
Dmitry Stogov [Tue, 14 Nov 2017 20:08:29 +0000 (23:08 +0300)]
Reimplemented MYSQLND_MEMORY_POOL to avoid allocations ouside of pool. Store all data related to result set in the pool.
Anatol Belski [Tue, 14 Nov 2017 19:06:59 +0000 (20:06 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
update NEWS
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
Anatol Belski [Tue, 14 Nov 2017 19:05:28 +0000 (20:05 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
update NEWS
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
Anatol Belski [Tue, 14 Nov 2017 19:04:42 +0000 (20:04 +0100)]
update NEWS
Anatol Belski [Tue, 14 Nov 2017 19:03:02 +0000 (20:03 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
Sammy Kaye Powers [Fri, 1 Sep 2017 14:36:04 +0000 (09:36 -0500)]
Update NEWS
Sammy Kaye Powers [Wed, 29 Mar 2017 14:27:18 +0000 (09:27 -0500)]
Fix bug 60471 by correctly identifying unused speculative preconnections
* Correctly identify unused speculative preconnections from browsers
like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
displayed even when debug mode was enabled
Anatol Belski [Tue, 14 Nov 2017 16:07:09 +0000 (17:07 +0100)]
Fix remaining signedness warnings
Anatol Belski [Tue, 14 Nov 2017 15:36:33 +0000 (16:36 +0100)]
Use already available pattern length, fix signedness warnings
Anatol Belski [Tue, 14 Nov 2017 14:53:06 +0000 (15:53 +0100)]
Add skipif as this test became only valid with JIT compiled in
Without JIT, the depth limit is respected, but for JIT it's irrelevant.
Dmitry Stogov [Tue, 14 Nov 2017 14:32:41 +0000 (17:32 +0300)]
Run mysqlmd commands in one step (without separate create/run/free).
Dmitry Stogov [Tue, 14 Nov 2017 13:19:44 +0000 (16:19 +0300)]
Use mnd_erealloc()
Dmitry Stogov [Tue, 14 Nov 2017 13:14:13 +0000 (16:14 +0300)]
Merge mysqlnd_field_hash_key structure into st_mysqlnd_field.
Anatol Belski [Tue, 14 Nov 2017 12:56:25 +0000 (13:56 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix UTF check in pcre_grep
Anatol Belski [Tue, 14 Nov 2017 12:49:06 +0000 (13:49 +0100)]
Fix UTF check in pcre_grep
In this case it loops through different subjects without looking for sub
matches and matches are done against the same pattern. Thus, don't reset
the UTF check flag but use it to check whether JIT should be used and
otherwise let PCRE to do the job according to what was saved into the
pattern.
Dmitry Stogov [Tue, 14 Nov 2017 12:10:27 +0000 (15:10 +0300)]
Use stack-allocated packets.
Anatol Belski [Tue, 14 Nov 2017 09:14:09 +0000 (10:14 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix uninitialized flag when JIT is disabled
Anatol Belski [Tue, 14 Nov 2017 09:12:33 +0000 (10:12 +0100)]
Fix uninitialized flag when JIT is disabled
Anatol Belski [Tue, 14 Nov 2017 08:14:17 +0000 (09:14 +0100)]
Remove unused file
Xinchen Hui [Tue, 14 Nov 2017 07:00:02 +0000 (15:00 +0800)]
Skip test if no PCRE_JIT_SUPPORT
Xinchen Hui [Tue, 14 Nov 2017 02:50:41 +0000 (10:50 +0800)]
Added PCRE_JIT_SUPPORT flag
Anatol Belski [Mon, 13 Nov 2017 23:03:16 +0000 (00:03 +0100)]
[ci skip] update NEWS
Anatol Belski [Mon, 13 Nov 2017 22:01:43 +0000 (23:01 +0100)]
Fix calculation as sync with
48cee6d1
Dmitry Stogov [Mon, 13 Nov 2017 22:43:54 +0000 (01:43 +0300)]
Eliminated redundand code
Dmitry Stogov [Mon, 13 Nov 2017 21:49:03 +0000 (00:49 +0300)]
We don't need to calculate size of offset array, because pcre2_match_data_create() already takes size in pairs.
Anatol Belski [Mon, 13 Nov 2017 20:33:13 +0000 (21:33 +0100)]
Put hardcoded value into macro
Anatol Belski [Thu, 12 Oct 2017 10:48:36 +0000 (12:48 +0200)]
Patch core for PCRE2 support
RFC https://wiki.php.net/rfc/pcre2-migration
Sara Golemon [Mon, 13 Nov 2017 18:35:46 +0000 (13:35 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Bugfix#75515 php://streams behaving greedily
Dmitry Stogov [Mon, 13 Nov 2017 15:24:43 +0000 (18:24 +0300)]
Allow creating $_SERVER from $_ENV, but not $_ENV from $_SERVER.
Sara Golemon [Mon, 13 Nov 2017 11:11:59 +0000 (06:11 -0500)]
Bugfix#75515 php://streams behaving greedily
5060fc23 attempted to fix #68948 by treating all non-uri streams
as non-blocking, however php://fd/* streams (which includes stdin)
may block if the other end of the IPC isn't finished.
This represents a partial revert to the pre RC6 state,
but includes an escape hatch for php://memory and php://temp
streams which are local to the current process.
This also restores stream_set_chunk_size test to previous state.
Remi Collet [Mon, 13 Nov 2017 11:47:11 +0000 (12:47 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
next version is 7.2.1
Remi Collet [Mon, 13 Nov 2017 11:46:30 +0000 (12:46 +0100)]
next version is 7.2.1
Remi Collet [Mon, 13 Nov 2017 09:23:46 +0000 (10:23 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
NEWS
NEWS
Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
Remi Collet [Mon, 13 Nov 2017 09:23:07 +0000 (10:23 +0100)]
NEWS
Remi Collet [Mon, 13 Nov 2017 09:22:51 +0000 (10:22 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
NEWS
Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
Remi Collet [Mon, 13 Nov 2017 09:22:32 +0000 (10:22 +0100)]
NEWS
Remi Collet [Mon, 13 Nov 2017 08:55:10 +0000 (09:55 +0100)]
Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
Xinchen Hui [Mon, 13 Nov 2017 03:19:46 +0000 (11:19 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Avoid overflow
Xinchen Hui [Mon, 13 Nov 2017 03:19:42 +0000 (11:19 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Avoid overflow
Xinchen Hui [Mon, 13 Nov 2017 03:18:56 +0000 (11:18 +0800)]
Avoid overflow
Xinchen Hui [Mon, 13 Nov 2017 03:14:10 +0000 (11:14 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update NEWS
Fixed bug #75511 (fread not free unused buffer)
Xinchen Hui [Mon, 13 Nov 2017 03:13:58 +0000 (11:13 +0800)]
Update NEWS
Xinchen Hui [Mon, 13 Nov 2017 03:13:42 +0000 (11:13 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #75511 (fread not free unused buffer)
Xinchen Hui [Mon, 13 Nov 2017 03:05:05 +0000 (11:05 +0800)]
Fixed bug #75511 (fread not free unused buffer)
fandrieu [Fri, 10 Nov 2017 22:18:59 +0000 (17:18 -0500)]
Treat DATETIME2 columns like DATETIME
Adam Baratz [Fri, 10 Nov 2017 19:26:25 +0000 (14:26 -0500)]
Use TDS version attribute to determine whether to skip tests
fandrieu [Fri, 10 Nov 2017 19:20:42 +0000 (14:20 -0500)]
Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO instance
Adam Baratz [Fri, 10 Nov 2017 18:31:59 +0000 (13:31 -0500)]
Fix comment style
Adam Baratz [Fri, 10 Nov 2017 18:29:14 +0000 (13:29 -0500)]
More robust handling of stringified column data
- Use at least the FreeTDS maximum when converting datetime data
- Pass buffer length to dbconvert()
- Use dbconvert() return value to set string lengths or handle errors
- Move shared code into shared function
Anatol Belski [Fri, 10 Nov 2017 10:43:38 +0000 (11:43 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Fri, 10 Nov 2017 10:43:02 +0000 (11:43 +0100)]
[ci skip] update NEWS
Anatol Belski [Fri, 10 Nov 2017 10:41:52 +0000 (11:41 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Fri, 10 Nov 2017 10:41:16 +0000 (11:41 +0100)]
[ci skip] update NEWS
Anatol Belski [Fri, 10 Nov 2017 10:40:47 +0000 (11:40 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Fri, 10 Nov 2017 10:40:16 +0000 (11:40 +0100)]
[ci skip] update NEWS
Bernd [Fri, 10 Nov 2017 03:57:27 +0000 (04:57 +0100)]
Update README.EXT_SKEL
Dmitry Stogov [Thu, 9 Nov 2017 11:20:09 +0000 (14:20 +0300)]
Optimized parse_iv2()
Adam Baratz [Wed, 8 Nov 2017 22:12:33 +0000 (17:12 -0500)]
Output column data for easier debugging
Anatol Belski [Wed, 8 Nov 2017 11:01:39 +0000 (12:01 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed #75384 PHP seems incompatible with OneDrive files on demand
bump versions
Fixed ext/date tests due to changes in Olson database
Anatol Belski [Wed, 8 Nov 2017 11:00:30 +0000 (12:00 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed #75384 PHP seems incompatible with OneDrive files on demand
bump versions
Fixed ext/date tests due to changes in Olson database
Anatol Belski [Wed, 8 Nov 2017 10:54:18 +0000 (11:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed #75384 PHP seems incompatible with OneDrive files on demand
Fixed ext/date tests due to changes in Olson database
Anatol Belski [Wed, 8 Nov 2017 10:52:42 +0000 (11:52 +0100)]
Fixed #75384 PHP seems incompatible with OneDrive files on demand
Dmitry Stogov [Wed, 8 Nov 2017 09:52:46 +0000 (12:52 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed assertion on phpMyAdmin-4.7.5 home page
Dmitry Stogov [Wed, 8 Nov 2017 09:51:53 +0000 (12:51 +0300)]
Fixed assertion on phpMyAdmin-4.7.5 home page
Dmitry Stogov [Wed, 8 Nov 2017 09:01:59 +0000 (12:01 +0300)]
Use Zend MM heap for non-persistent ini entry values.
Christoph M. Becker [Tue, 7 Nov 2017 15:37:31 +0000 (16:37 +0100)]
Don't reintroduce split_bc_num()
This function has been removed in
870ed5106d6274905b5aa4341429deef12c92e55 ,
because it is not necessary to manipulate the `bc_num` itself; instead
we simply omit extraneous decimals when converting the number to
string.
This resolves the issue introduced by
24fd49fbabc7c5ad941095f33d05fe2e41ff667d
in a cleaner way than
121d193514cbf59450a7dee0ad2e883101cbe9dd .
Joe Watkins [Tue, 7 Nov 2017 15:35:14 +0000 (15:35 +0000)]
bump versions
Christoph M. Becker [Tue, 7 Nov 2017 15:21:07 +0000 (16:21 +0100)]
Updated bundled libsqlite to 3.21.0
Derick Rethans [Tue, 7 Nov 2017 14:52:26 +0000 (14:52 +0000)]
Merge branch 'PHP-7.2'
Derick Rethans [Tue, 7 Nov 2017 14:52:12 +0000 (14:52 +0000)]
Revert "date module, replacing abs call with the llabs's like one due to bigger type"
This reverts commit
c189845951ad40dcb85105320829aeb4cbd82d58 .
Derick Rethans [Tue, 7 Nov 2017 11:35:09 +0000 (11:35 +0000)]
Merge branch 'PHP-7.2'
Derick Rethans [Tue, 7 Nov 2017 11:35:03 +0000 (11:35 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
Derick Rethans [Tue, 7 Nov 2017 11:34:55 +0000 (11:34 +0000)]
Fixed ext/date tests due to changes in Olson database
Derick Rethans [Tue, 7 Nov 2017 11:25:28 +0000 (11:25 +0000)]
Fixed ext/date tests due to changes in Olson database
Anatol Belski [Tue, 7 Nov 2017 09:11:00 +0000 (10:11 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
7.0.27 next
Anatol Belski [Tue, 7 Nov 2017 09:10:41 +0000 (10:10 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
7.0.27 next
Anatol Belski [Tue, 7 Nov 2017 09:09:52 +0000 (10:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
7.0.27 next
Anatol Belski [Tue, 7 Nov 2017 09:07:52 +0000 (10:07 +0100)]
7.0.27 next
Dmitry Stogov [Tue, 7 Nov 2017 07:29:17 +0000 (10:29 +0300)]
Fixed inaccurate condition
Dmitry Stogov [Tue, 7 Nov 2017 06:25:04 +0000 (09:25 +0300)]
Fixed build (missing function borrowed from PHP-7.2)
Joe Watkins [Tue, 7 Nov 2017 05:27:38 +0000 (05:27 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
date module, replacing abs call with the llabs's like one due to bigger type
David Carlier [Sat, 4 Nov 2017 22:08:10 +0000 (22:08 +0000)]
date module, replacing abs call with the llabs's like one due to bigger type
Sara Golemon [Mon, 6 Nov 2017 22:52:35 +0000 (17:52 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Revert BC break caused by fixing bug #74035
Michael Moravec [Thu, 2 Nov 2017 18:22:37 +0000 (19:22 +0100)]
Revert BC break caused by fixing bug #74035
This reverts commit
9ffc6ca62f53431a4b32b30cdda8180142f47cdb .
Sara Golemon [Mon, 6 Nov 2017 22:41:09 +0000 (17:41 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixes #68948 related to a BC break introduced by #68532 fix.
Simon JAILLET [Sat, 6 May 2017 14:29:34 +0000 (16:29 +0200)]
Fixes #68948 related to a BC break introduced by #68532 fix.
Sara Golemon [Mon, 6 Nov 2017 22:27:22 +0000 (17:27 -0500)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Scale support for bcmod()
Christoph M. Becker [Sat, 9 Sep 2017 13:43:02 +0000 (15:43 +0200)]
Scale support for bcmod()
As of commit
90dcbbe (PHP-7.2+) bcmod() supports non-integral
parameters as well. Since formerly only integer modulus has been
supported, it did not make much sense to cater to the scale with regard
to the result. However, now it does for consistency with other BCMath
operations.
Therefore, we add support for an optional `scale` parameter and fall
back to the default scale (`bcmath.scale`) as usual.
Anatol Belski [Mon, 6 Nov 2017 13:18:51 +0000 (14:18 +0100)]
[ci skip] Update UPGRADING.INTERNALS
Anatol Belski [Mon, 6 Nov 2017 13:12:02 +0000 (14:12 +0100)]
[ci skip] Fix UPGRADING.INTERNALS, seems it was not reset after 7.2
branch off
Anatol Belski [Mon, 6 Nov 2017 12:52:02 +0000 (13:52 +0100)]
Don't touch inline if C++ is compiled
Starting with C++11 marco keywords are forbidden by the standard. Things
like inline namespaces would be broken by this part. As any of supported
compilers is at least C++11 complaint, tricks with inline are simply
disabled if C++ is compiled. Though, zend_always_inline is still usable,
anything else about inlining for C++ is up to the compiler.
Joe Watkins [Mon, 6 Nov 2017 07:24:51 +0000 (07:24 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix proto documents for new global functions
Tyson Andre [Sun, 5 Nov 2017 18:01:44 +0000 (10:01 -0800)]
Fix proto documents for new global functions
See NEWS and UPGRADING (or arginfo/implementation) for details.
Joe Watkins [Mon, 6 Nov 2017 07:19:00 +0000 (07:19 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Mention spl_object_id in UPGRADING notes
Tyson Andre [Sun, 5 Nov 2017 17:33:34 +0000 (09:33 -0800)]
Mention spl_object_id in UPGRADING notes
This was implemented in PR #2611
Sammy Kaye Powers [Sat, 7 Oct 2017 17:57:07 +0000 (12:57 -0500)]
Allow trailing commas in function and method calls
Xinchen Hui [Mon, 6 Nov 2017 06:10:27 +0000 (14:10 +0800)]
Unused var
Dmitry Stogov [Fri, 3 Nov 2017 18:02:55 +0000 (21:02 +0300)]
Removed workaraouns for inconsistent zvals (REFCOUNTED+INTERNED). They should be fixed now.
Dmitry Stogov [Fri, 3 Nov 2017 18:02:27 +0000 (21:02 +0300)]
Fixed memory leak (Zend/tests/list_003.phpt)
Dmitry Stogov [Fri, 3 Nov 2017 18:00:07 +0000 (21:00 +0300)]
Don't intern strings in-place if their refcoung greater than 1