]>
granicus.if.org Git - php/log
Dmitry Stogov [Thu, 23 Nov 2017 10:18:52 +0000 (13:18 +0300)]
Delayed unlikely checks for uninitialized variables
Remi Collet [Thu, 23 Nov 2017 10:09:06 +0000 (11:09 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
add 7.1 NEW entries
Remi Collet [Thu, 23 Nov 2017 10:08:53 +0000 (11:08 +0100)]
add 7.1 NEW entries
Nikita Popov [Wed, 22 Nov 2017 22:47:18 +0000 (23:47 +0100)]
Fix cp950 pua check
One set of parenthesis was missing, causing a legitimate compiler
warnings. In the end it doesn't actually matter, because it just
ends up doing an unnecessary check in the w > 0 case.
This fixes the logic and moves it out into a separate functions,
to be a bit more readable.
Anton Artamonov [Sat, 4 Nov 2017 12:51:33 +0000 (19:51 +0700)]
Fixed bug #70469
Don't generate an E_ERROR if we've already thrown an exception.
This interacts badly with error_get_last() checks.
Colin O'Dell [Fri, 17 Nov 2017 03:32:45 +0000 (22:32 -0500)]
Add test for negative lengths in mb_strcut()
Colin O'Dell [Fri, 17 Nov 2017 03:18:17 +0000 (22:18 -0500)]
Add tests for mb_language()
Dmitry Stogov [Wed, 22 Nov 2017 13:31:23 +0000 (16:31 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
typo
Dmitry Stogov [Wed, 22 Nov 2017 13:30:57 +0000 (16:30 +0300)]
typo
Dmitry Stogov [Wed, 22 Nov 2017 12:36:09 +0000 (15:36 +0300)]
Allowed modification of VM stack page size. Exported few functions. Green light for Fibers/Coroutines.
Anatol Belski [Wed, 22 Nov 2017 11:50:50 +0000 (12:50 +0100)]
Eliminate cast
Morva Kristóf [Sat, 14 Oct 2017 13:18:44 +0000 (15:18 +0200)]
Enable JSON1 for bundled libsqlite
Pedro Magalhães [Sat, 30 Sep 2017 20:24:38 +0000 (21:24 +0100)]
63911: Compare opcodes of the op_array to determine different functions
krakjoe [Wed, 22 Nov 2017 04:49:52 +0000 (04:49 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Check for binary_location allocation failure
krakjoe [Wed, 22 Nov 2017 04:49:43 +0000 (04:49 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Check for binary_location allocation failure
krakjoe [Wed, 22 Nov 2017 04:49:34 +0000 (04:49 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Check for binary_location allocation failure
Sebastian Ramadan [Wed, 15 Nov 2017 02:24:28 +0000 (13:24 +1100)]
Check for binary_location allocation failure
krakjoe [Wed, 22 Nov 2017 04:32:57 +0000 (04:32 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix bug #75409
krakjoe [Wed, 22 Nov 2017 04:32:24 +0000 (04:32 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix bug #75409
krakjoe [Wed, 22 Nov 2017 04:30:59 +0000 (04:30 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix bug #75409
Scott [Wed, 22 Nov 2017 03:02:07 +0000 (22:02 -0500)]
Fix bug #75409
Sebastian Ramadan [Tue, 21 Nov 2017 21:50:27 +0000 (22:50 +0100)]
Fix some printf() specifier usages
Use PRIu32 when printing uint32_t.
Fix some %u/%d confusions.
Add some casts where types are not standardized.
Anatol Belski [Tue, 21 Nov 2017 21:25:50 +0000 (22:25 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 21:24:54 +0000 (22:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 21:24:32 +0000 (22:24 +0100)]
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 21:23:31 +0000 (22:23 +0100)]
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 21:22:59 +0000 (22:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 21:22:21 +0000 (22:22 +0100)]
[ci skip] update NEWS
Anatol Belski [Tue, 21 Nov 2017 20:44:09 +0000 (21:44 +0100)]
Fix test
Anatol Belski [Tue, 21 Nov 2017 19:27:17 +0000 (20:27 +0100)]
Fix macro name
Anatol Belski [Tue, 21 Nov 2017 19:15:30 +0000 (20:15 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed #75539 and #74183 - preg_last_error not returning error code after error
Anatol Belski [Tue, 21 Nov 2017 19:11:21 +0000 (20:11 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed #75539 and #74183 - preg_last_error not returning error code after error
Anatol Belski [Tue, 21 Nov 2017 19:10:49 +0000 (20:10 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed #75539 and #74183 - preg_last_error not returning error code after error
Nester [Tue, 21 Nov 2017 11:42:22 +0000 (11:42 +0000)]
Fixed #75539 and #74183 - preg_last_error not returning error code after error
Anatol Belski [Tue, 21 Nov 2017 18:38:53 +0000 (19:38 +0100)]
Switch to ZMM routines, closes #2917
Anatol Belski [Tue, 21 Nov 2017 17:48:37 +0000 (18:48 +0100)]
Ensure shift doesn't overflow, closes #2916
David Carlier [Mon, 20 Nov 2017 21:09:28 +0000 (21:09 +0000)]
seemingly a tiny typo error in pcre module.
Dmitry Stogov [Mon, 20 Nov 2017 09:38:31 +0000 (12:38 +0300)]
Optimized zend_is_true() for objects (in most cases, it doesn't need to call the conversion handler).
Remi Collet [Mon, 20 Nov 2017 08:43:06 +0000 (09:43 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
Remi Collet [Mon, 20 Nov 2017 08:42:58 +0000 (09:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
Remi Collet [Mon, 20 Nov 2017 08:42:47 +0000 (09:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
Remi Collet [Mon, 20 Nov 2017 08:42:20 +0000 (09:42 +0100)]
Better fix bug #75540 Segfault with libzip 1.3.1
- only 1.3.1 is affected
- fix use after free
Remi Collet [Mon, 20 Nov 2017 07:51:55 +0000 (08:51 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
NEWS
NEWS
NEWS
fix bug #75540 Segfault with libzip 1.3.1
Remi Collet [Mon, 20 Nov 2017 07:51:42 +0000 (08:51 +0100)]
NEWS
Remi Collet [Mon, 20 Nov 2017 07:51:29 +0000 (08:51 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
NEWS
NEWS
fix bug #75540 Segfault with libzip 1.3.1
Remi Collet [Mon, 20 Nov 2017 07:51:13 +0000 (08:51 +0100)]
NEWS
Remi Collet [Mon, 20 Nov 2017 07:50:51 +0000 (08:50 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
NEWS
fix bug #75540 Segfault with libzip 1.3.1
Remi Collet [Mon, 20 Nov 2017 07:50:33 +0000 (08:50 +0100)]
NEWS
Remi Collet [Mon, 20 Nov 2017 07:49:46 +0000 (08:49 +0100)]
fix bug #75540 Segfault with libzip 1.3.1
Alessandro Chitolina [Sat, 18 Nov 2017 19:47:31 +0000 (20:47 +0100)]
Fix segfault in token_get_all_variation19.phpt
Anatol Belski [Fri, 17 Nov 2017 21:52:38 +0000 (22:52 +0100)]
Use appropriate macro
Anatol Belski [Fri, 17 Nov 2017 21:51:10 +0000 (22:51 +0100)]
Remove useless condition
Nikita Popov [Fri, 17 Nov 2017 22:22:12 +0000 (23:22 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Fri, 17 Nov 2017 22:21:54 +0000 (23:21 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 17 Nov 2017 22:20:46 +0000 (23:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 17 Nov 2017 22:11:15 +0000 (23:11 +0100)]
Fixed bug #75535
The sizeof()s for Content-Length and Transfer-Encoding were missing
the trailing ":". Apart from being generally wrong, this no longer
verified that the header actually contains a colon, leading to the
null http_header_value being used.
Additionally, in the interest of being defensive, also make sure
that http_header_value is non-null by setting it to the end of
the header line (effectively an empty string) if there is no colon.
If the following conditions are correct, this value is not going
to be used though.
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