]>
granicus.if.org Git - php/log
Anatol Belski [Fri, 17 Nov 2017 20:35:22 +0000 (21:35 +0100)]
Fix unsigned comparisons and remove dead code
Fix unsigned comparison
Cleanup never executed block
Fix unsigned comparison
Fix unsigned comparison, diff can't be < 0
Fix unsigned comparison
Fix unsigned comparison
Remove dead code
Nikita Popov [Fri, 17 Nov 2017 21:26:04 +0000 (22:26 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Fri, 17 Nov 2017 21:23:17 +0000 (22:23 +0100)]
Fix printf format issues on i386
Anatol Belski [Fri, 17 Nov 2017 20:22:51 +0000 (21:22 +0100)]
Use log1p from the CRT
Anatol Belski [Fri, 17 Nov 2017 17:54:42 +0000 (18:54 +0100)]
Fix unsigned comparison
Anatol Belski [Fri, 17 Nov 2017 17:53:37 +0000 (18:53 +0100)]
Fix unsigned comparison
Anatol Belski [Fri, 17 Nov 2017 17:46:57 +0000 (18:46 +0100)]
Keep the compile time condition for the label use
Anatol Belski [Fri, 17 Nov 2017 17:20:52 +0000 (18:20 +0100)]
Remove unused assignment
Anatol Belski [Fri, 17 Nov 2017 17:19:32 +0000 (18:19 +0100)]
Fix condition
Anatol Belski [Fri, 17 Nov 2017 15:38:53 +0000 (16:38 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update SDK version for AppVeyor
Anatol Belski [Fri, 17 Nov 2017 15:38:32 +0000 (16:38 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update SDK version for AppVeyor
Anatol Belski [Fri, 17 Nov 2017 15:37:40 +0000 (16:37 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update SDK version for AppVeyor
Anatol Belski [Fri, 17 Nov 2017 15:37:00 +0000 (16:37 +0100)]
Update SDK version for AppVeyor
Dmitry Stogov [Fri, 17 Nov 2017 10:23:22 +0000 (13:23 +0300)]
Use cheaper checks
Nikita Popov [Thu, 16 Nov 2017 21:28:29 +0000 (22:28 +0100)]
Move adjust_for_fetch_type directly after emission
And drop the distinction between compile_X and compile_X_common.
This avoids WTF moments like compile_simple_var_no_cv completely
ignoring the BP_VAR type passed to it...
Nikita Popov [Thu, 16 Nov 2017 21:12:45 +0000 (22:12 +0100)]
Minor fetch type adjustment cleanup
No need to call adjust_fetch_type on FETCH_THIS, just to special
case it in adjust_fetch_type...
Nikita Popov [Thu, 16 Nov 2017 20:27:34 +0000 (21:27 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Thu, 16 Nov 2017 20:26:33 +0000 (21:26 +0100)]
Backport some printf() fixes to 7.2
Nikita Popov [Thu, 16 Nov 2017 11:29:27 +0000 (12:29 +0100)]
Enable and fix printf() format warnings
Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
Dmitry Stogov [Thu, 16 Nov 2017 15:10:28 +0000 (18:10 +0300)]
Reverted incorrect changes to setlocale()
Dmitry Stogov [Thu, 16 Nov 2017 15:10:15 +0000 (18:10 +0300)]
Missed change
Dmitry Stogov [Thu, 16 Nov 2017 14:10:04 +0000 (17:10 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Fix (*NO_JIT) usage when JIT is enabled
Refactor ASCII to wide conversion
Dmitry Stogov [Thu, 16 Nov 2017 14:09:32 +0000 (17:09 +0300)]
Avoid unnecessary reference-counting on strings.
Dmitry Stogov [Thu, 16 Nov 2017 14:09:01 +0000 (17:09 +0300)]
Removed "_" from API functions.
Anatol Belski [Thu, 16 Nov 2017 13:12:05 +0000 (14:12 +0100)]
Fix (*NO_JIT) usage when JIT is enabled
If (*NO_JIT) is put into the pattern, the JIT compilation will still
succeed but produce no code. The pattern will still have to be
interpreted and is not suitable for the JIT fast path. This means,
we still need to check the pattern info after JIT compilation and only
set the flags when the JIT code was produced.
Anatol Belski [Thu, 16 Nov 2017 11:49:12 +0000 (12:49 +0100)]
Refactor ASCII to wide conversion
- add SSE2 based ASCII check in 16 byte blocks
- use early return on fail
Nikita Popov [Wed, 15 Nov 2017 23:19:49 +0000 (00:19 +0100)]
Merge branch 'PHP-7.2'
[ci skip]
Tyson Andre [Sun, 5 Nov 2017 17:38:22 +0000 (09:38 -0800)]
Fix typo in UPGRADING, should be oci_unregister_taf_callback
See
de65a2243f5e52ccafc69889ab0b64f4481c5358 which exposes
the unregister functionality.
[ci skip]
zimuyang [Wed, 15 Nov 2017 10:43:18 +0000 (18:43 +0800)]
Remove duplicate check for already loaded extension
Nikita Popov [Wed, 15 Nov 2017 22:01:52 +0000 (23:01 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Wed, 15 Nov 2017 22:01:11 +0000 (23:01 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
DanielCiochiu [Tue, 7 Nov 2017 05:30:34 +0000 (07:30 +0200)]
Fixed #74862: Unable to clone instance when private __clone defined
Even though __clone was implemented as private and called only from
parent class, child extending class instance could not be cloned.
Anatol Belski [Wed, 15 Nov 2017 19:42:37 +0000 (20:42 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
Anatol Belski [Wed, 15 Nov 2017 19:41:15 +0000 (20:41 +0100)]
[ci skip] update NEWS
Anatol Belski [Wed, 15 Nov 2017 19:21:40 +0000 (20:21 +0100)]
Add missing ifdef
Anatol Belski [Wed, 15 Nov 2017 17:03:51 +0000 (18:03 +0100)]
Remove padding
Anatol Belski [Wed, 15 Nov 2017 17:03:20 +0000 (18:03 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Refine allocation
NEWS
Anatol Belski [Wed, 15 Nov 2017 17:02:01 +0000 (18:02 +0100)]
Refine allocation
None of currently supported codepages would claim more than 5
bytes per a multibyte glyph, that's (255*5+1)kb, not 2kb anymore.
Anatol Belski [Wed, 15 Nov 2017 15:00:15 +0000 (16:00 +0100)]
Unroll loop for ASCII check
Remi Collet [Wed, 15 Nov 2017 14:35:21 +0000 (15:35 +0100)]
NEWS
Anatol Belski [Wed, 15 Nov 2017 11:45:21 +0000 (12:45 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix C++ compatibility for TSRM_TLS
Anatol Belski [Wed, 15 Nov 2017 11:33:35 +0000 (12:33 +0100)]
Fix C++ compatibility for TSRM_TLS
If a C++11 source is compiled, thread_local is preferred. Furthermore,
at least GCC treats __thread vs. thread_local a different way and under
certain circumstances would refuse to compile __thread is a C++11 source.
This change is far behind in time, any up-to-date compiler supports C++11
and otherwise it won't take effect on lower versions.
Dmitry Stogov [Wed, 15 Nov 2017 11:07:09 +0000 (14:07 +0300)]
Use single memory pool for result metadata and result set.
Anatol Belski [Wed, 15 Nov 2017 11:02:09 +0000 (12:02 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Add missing var declarations for phpize mode
Anatol Belski [Wed, 15 Nov 2017 11:00:58 +0000 (12:00 +0100)]
Add missing var declarations for phpize mode
Anatol Belski [Wed, 15 Nov 2017 10:24:56 +0000 (11:24 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Regenerate cp map
Anatol Belski [Wed, 15 Nov 2017 10:24:12 +0000 (11:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Regenerate cp map
Anatol Belski [Wed, 15 Nov 2017 10:11:16 +0000 (11:11 +0100)]
Regenerate cp map
Add missing encoding name and don't put nameless cp
Anatol Belski [Wed, 15 Nov 2017 09:14:51 +0000 (10:14 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #75525 Access Violation in vcruntime140.dll
Anatol Belski [Wed, 15 Nov 2017 08:55:29 +0000 (09:55 +0100)]
Fixed bug #75525 Access Violation in vcruntime140.dll
It was a mistake to make d_name a pointer. d_name has to be allocated
in the body of struct dirent as per POSIX.1-2008. The binary
compatibility is kept through the extra padding, which will be removed
in 7.3.
Dmitry Stogov [Wed, 15 Nov 2017 08:33:32 +0000 (11:33 +0300)]
Cleanup. Make difference between MYSQLND_ROW_BUFFER and MYSQLND_MEMORY_POOL_CHUNK (the last one is completely removed).
Dmitry Stogov [Tue, 14 Nov 2017 23:44:34 +0000 (02:44 +0300)]
Use better buffer reallocation strategy
Dmitry Stogov [Tue, 14 Nov 2017 23:13:16 +0000 (02:13 +0300)]
Merged allocations
Dmitry Stogov [Tue, 14 Nov 2017 21:54:35 +0000 (00:54 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Try to fix AppVeyor build
Reduce sleep intervals in basic sleep tests
Initialize jit global
Fix wrong return
Clarify bin_to_readable code
Dmitry Stogov [Tue, 14 Nov 2017 21:53:51 +0000 (00:53 +0300)]
Embeded zend_list into st_mysqlnd_error_info, to avoid extra allocation/deallocation.
Nikita Popov [Tue, 14 Nov 2017 21:31:34 +0000 (22:31 +0100)]
Try to fix AppVeyor build
Performing arithmetic on void pointers is a GCC extension.
Nikita Popov [Tue, 14 Nov 2017 21:18:56 +0000 (22:18 +0100)]
Reduce sleep intervals in basic sleep tests
No reason to wait this long...
Anatol Belski [Tue, 14 Nov 2017 20:47:56 +0000 (21:47 +0100)]
Initialize jit global
Anatol Belski [Tue, 14 Nov 2017 20:44:46 +0000 (21:44 +0100)]
Fix wrong return
Nikita Popov [Tue, 14 Nov 2017 20:18:40 +0000 (21:18 +0100)]
Clarify bin_to_readable code
I got a bit of a scare when I first saw this code. Turns out that
the way it's used inlen==outlen and that's why it works.
Dmitry Stogov [Tue, 14 Nov 2017 20:34:06 +0000 (23:34 +0300)]
Use mnd_emalloc/mnd_efree
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