Permalink
Browse files

Go with 2.6.0alpha1

  • Loading branch information...
derickr committed Dec 2, 2017
1 parent d2caa12 commit 647ea53ce5df078b55c8200b11c42482fa6fd5a2
@@ -16,7 +16,7 @@
function add_keywords( $text )
{
$text = str_replace( '[KW:last_release_version]', '2.5.5', $text );
$text = str_replace( '[KW:last_dev_version]', '2.5.5', $text );
$text = str_replace( '[KW:last_dev_version]', '2.6.0alpha1', $text );
return $text;
}
Binary file not shown.
View
@@ -15,12 +15,18 @@
<div id="support" style="float: right; text-align: center; width: 200px; border: 1px solid rgba( 0, 68, 17, 0.6); margin-right: 20px; margin-left: 20px; padding: 5px;">
<p class="buy-support">
If you like Xdebug, please consider giving a<br/><a href="/donate.php">donation</a>.
</p>
<br/>
<br/>
<p class="buy-support">
I am also on Patreon:<br/>
<a href="https://www.patreon.com/bePatron?u=7864328" data-patreon-widget-type="become-patron-button">Become a Patron!</a><script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
</p>
<br/>
<!--
<p class="buy-support">
Or <a href='https://flattr.com/about'>Flattr</a> this website:
<a href="https://flattr.com/thing/565889" target="_blank"><img src="https://button.flattr.com/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
</p>
-->
</div>
@@ -1,8 +1,8 @@
<?php
class xdebugVersion
{
static public $latestVersion = '2.5.4';
static public $latestWindowsVersion = '2.5.4';
static public $latestVersion = '2.6.0alpha1';
static public $latestWindowsVersion = '2.5.5';
function __construct()
{
@@ -146,6 +146,7 @@ function analyse( $data )
case 'VC9': $this->winCompiler = 9; $this->windows = true; break;
case 'VC11': $this->winCompiler = 11; $this->windows = true; break;
case 'VC14': $this->winCompiler = 14; $this->windows = true; break;
case 'VC15': $this->winCompiler = 15; $this->windows = true; break;
}
}
}
@@ -239,7 +240,7 @@ function determineSupported()
}
if ( $this->windows && $this->winCompiler == 6 )
{
return "The compiler (MS VC6) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or VC14.";
return "The compiler (MS VC6) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or MS VC14.";
}
if ( $this->windows && $this->winCompiler == 8 )
{
@@ -249,7 +250,7 @@ function determineSupported()
{
return "The compiler (MS VC9) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or MS VC14.";
}
if ( version_compare( $this->version, '5.5.0', '<' ) )
if ( version_compare( $this->version, '7.0.0', '<' ) )
{
return "PHP versions below 5.5 are not supported.";
}
@@ -292,6 +293,12 @@ function determineFile()
return false;
}
break;
case '7.2':
if ( $this->winCompiler != 15 )
{
return false;
}
break;
default:
return false;
}
View
@@ -7,6 +7,3 @@ href="/updates.php#x_2_5_5">updates</a> page. The source code can be found
on the <a href="/download.php">downloads</a> page, and as usual, Xdebug is
installable through PECL.</p>
<p>If you find Xdebug a valuable tool, you might want to look at my Amazon <a
href='http://www.amazon.co.uk/registry/wishlist/SLCB276UZU8B'>wishlist</a>.</p>
View
@@ -0,0 +1,35 @@
Xdebug 2.6.0alpha is out!
<p>This is the first release with support for PHP 7.2, which came out last
week. This is not a <b>final</b/> release, and it does have known issues,
including a crash bug.</p>
<p>With this release, PHP 5 is no longer supported. In order to benefit from
bug fixes and new features in Xdebug, you will also have to upgrade to PHP 7,
preferably PHP 7.2.</p>
<p>Besides support for PHP 7.2, it also adds a significant set of new
features, as you can see on the <a href="/updates.php#x_2_6_0alpha1">updates</a>
page. A few highlights are: <b>support for profiling memory usage</b>,
<b>configurable formatting of filenames</b>, and for the "remote" debugger:
"Notice" and "Warning" notifications are sent to the IDE, support for
low-ASCII characters in property names and array keys, and configurable
connection timeouts. You can follow the progress on the <a
href="https://bugs.xdebug.org/roadmap_page.php?version_id=51">roadmap</a>
page.</p>
<p>This release does come with several unresolved issues, and not all features
have been implemented yet. Xdebug 2.6.0 will be released in due course, with
additional features such as <a href="https://bugs.xdebug.org/view.php?id=1059">filters for tracing, stack traces, and code
coverage. </a>
<p>Windows DLLs are not yet available, but will be added once <a
href="https://ci.appveyor.com/project/derickr/xdebug>AppVeyor</a> starts
working again.</p>
<p>The source code can be found on the
<a href="/download.php">downloads</a> page, and as usual, Xdebug is
installable through PECL.</p>
<p>If you find Xdebug a valuable tool, you might want to look at my Amazon <a
href='http://www.amazon.co.uk/registry/wishlist/SLCB276UZU8B'>wishlist</a>.</p>
View
@@ -26,6 +26,59 @@ function bug($nr) {
<span class='quote'>
<dl>
<dt><a name='x_2_6_0alpha1'></a>[2017-12-02] &mdash; Xdebug 2.6.0alpha1</dt>
<dd><h3>Added features</h3></dd>
<dd>Implemented <?php bug(474); ?>: Added "memory" output to profiling files, to find out where memory is allocated.</dd>
<dd>Implemented <?php bug(575); ?>: Dump super globals contents to error log upon errors, just like when this would happen for stack traces.</dd>
<dd>Implemented <?php bug(964); ?>: Parse X-Forwarded-For for the first IP address when selecting the remote_connect_back host (Steve Easley).</dd>
<dd>Implemented <?php bug(990); ?>: Add DBGp: notifications for notices and warnings to be shown in IDEs.</dd>
<dd>Implemented <?php bug(1312); ?>: Implement extended_properties feature to remote debugging to support names and values with low ASCII values.</dd>
<dd>Implemented <?php bug(1323); ?>: Added xdebug.filename_format setting to configure the formatting of filenames when tracing.</dd>
<dd>Implemented <?php bug(1379); ?>: Added support for Unix domain sockets to xdebug.remote_host (Sara Golemon).</dd>
<dd>Implemented <?php bug(1380); ?>: Added xdebug_is_debugger_active() that returns true when debugger is connected.</dd>
<dd>Implemented <?php bug(1391); ?>: Added support for earlier stack frames through new argument for xdebug_call_* functions.</dd>
<dd>Implemented <?php bug(1420); ?>: Handle PHP 7.2's new methods for switch/case</dd>
<dd>Implemented <?php bug(1470); ?>: Added xdebug.remote_timeout to make connect timeout configurable.</dd>
<dd>Implemented <?php bug(1495); ?>: Make var_dump() also use the new xdebug.filename_format when formatting filenames.</dd>
<dd><h3>Improvements</h3></dd>
<dd>Implemented <?php bug(847); ?>: Added support for "%s" specifier for xdebug.trace_output_name.</dd>
<dd>Implemented <?php bug(1384); ?>: Compile warning on Ubuntu 16.04 with GCC 5.4.x.</dd>
<dd>Implemented <?php bug(1401); ?>: Improved error message in case the connection breaks.</dd>
<dd>Implemented <?php bug(1430); ?>: Change DBGp tests to use TEST_PHP_EXECUTABLE instead of hard coded 'php'</dd>
<dd>Implemented <?php bug(1484); ?>: Use FD_CLOEXEC with debugging sockets to prevent FDs from leaking to forked processes (Chris Wright).</dd>
<dd>Improve the foldexpr in xt.vim to fold lines correctly (Donie Leigh).</dd>
<dd><h3>Fixed bugs</h3></dd>
<dd>Fixed <?php bug(1272); ?>: property_get doesn't return @attributes for SimpleXMLElement.</dd>
<dd>Fixed <?php bug(1305); ?>: Property names with quotes can not be fetch while debugging.</dd>
<dd>Fixed <?php bug(1431); ?>: Fix "use after free" with in add_name_attribute_or_element.</dd>
<dd>Fixed <?php bug(1432); ?>: Fixed memory leak with xdebug_path_info_dtor.</dd>
<dd>Fixed <?php bug(1449); ?>: Debugging breaks with array element keys containing low-ASCII variables.</dd>
<dd>Fixed <?php bug(1471); ?>: Tracing crashes with return_assignments and ternairy operator.</dd>
<dd>Fixed <?php bug(1474); ?>: Crashes due to variable resolving/reading mechanism not taking care of temporary hash tables correctly (Nikita Popov, Derick).</dd>
<dd>Fixed <?php bug(1481); ?>: Fixed s390x and ppc64 builds (Remi Collet).</dd>
<dd>Fixed <?php bug(1486); ?>: Crash on ZEND_SWITCH_LONG / ZEND_SWITCH_STRING with more than 32 cases.</dd>
<dd>Fixed <?php bug(1496); ?>: Rewrite README.rst to be more clear on how to install and build Xdebug.</dd>
<dd><h3>Changes</h3></dd>
Fixed <?php bug(1411); ?>: Use Error (Throwable) instead of fatal error when maximum nesting level is reached.
<dd><h3>Removed features</h3></dd>
<dd>Implemented <?php bug(1377); ?>: Drop support for PHP 5.5 and 5.6, only PHP 7 is now supported</dd>
<dd><h3>Fixed bugs</h3></dd>
<dd>Fixed <?php bug(1439); ?>: TYPE_CHECK needs overloading due to smart branches</dd>
<dd>Fixed <?php bug(1444); ?>: Code Coverage misses a variable in a multi-line function call</dd>
<dd>Fixed <?php bug(1446); ?>: Code Coverage misses elseif if it uses an isset with a property</dd>
<dt><a name='x_2_5_5'></a>[2017-06-21] &mdash; Xdebug 2.5.5</dt>
<dd><h3>Fixed bugs</h3></dd>

0 comments on commit 647ea53

Please sign in to comment.