January 11, 2016
On Monday, 11 January 2016 at 16:24:56 UTC, ponce wrote:
> On Sunday, 10 January 2016 at 23:58:38 UTC, Martin Nowak wrote:
>> In case you don't already use Travis-CI or something similar, you should start doing so. Testing the latest beta in Travis-CI is as simple as adding dmd-2.070.0-b1 to your .travis.yml [³] (and we'll soon make it even easier adding support for dmd-beta and dmd-nightly).
>
>
> I fear there are more regressions that people can test for.
>
> Currently we can't "dub test" release builds trough DUB.
>
> If you do:
>
>     dub test mypackage
>
> it builds with flags -g -unittest -w -debug. (like a -b debug build + the -unittest flag)
>
> But if you do:
>
>     dub test mypackage -b release
>
> it builds with flags -release -inline -O -w BUT NOT -unittest
>
> Currently we can only "dub test" debug builds without anything dangerous.
>
> Since a number of regressions are in the backend, that could be useful if DUB would let us test release builds in Travis-CI.

From my side, when I test a DMD release I just open 1 by 1 the things in metad (https://github.com/BBasile/metad/tree/master/repos) ,compile them, some of the projects have a unittest "config" and I run it as well. It's clear that there's a risk of compilation success because templates are not instantiated...

Latest two rlz i've found regressions like that but this time it's ok.
Regressions for 2.070 must be on very edgy things.
January 12, 2016
On Monday, 11 January 2016 at 16:24:56 UTC, ponce wrote:
> it builds with flags -release -inline -O -w BUT NOT -unittest

Makes sense https://github.com/D-Programming-Language/dub/issues/747. The compiler does check assertions in unittest blocks even in release builds, right?
It's really trivial to add so you might have a try yourself https://github.com/D-Programming-Language/dub/blob/3ab683b023bd58dd101e110cf2f6199911eb7477/source/dub/package_.d#L307.
In the meantime it's possible to define a custom build type http://code.dlang.org/package-format?lang=json#build-types.
January 12, 2016
On Sunday, 3 January 2016 at 19:24:57 UTC, Martin Nowak wrote:
> First beta for the 2.070.0 release.
>
> Still a few things missing from the changelog, there is a new package std.experimental.ndslice, and native (DWARF based) exception handling on linux.
>
> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.070.0.html
>
> Please report any bugs at https://issues.dlang.org
>
> -Martin

Very pleased to say that all of DlangScience worked with this beta, no regressions/breakage.
January 12, 2016
On Sunday, 3 January 2016 at 19:24:57 UTC, Martin Nowak wrote:
> First beta for the 2.070.0 release.
>
> Still a few things missing from the changelog, there is a new package std.experimental.ndslice, and native (DWARF based) exception handling on linux.
>
> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.070.0.html
>
> Please report any bugs at https://issues.dlang.org
>
> -Martin

Both my projects and EMSI's build and pass their tests with this beta.
January 12, 2016
On 2016-01-12 01:54, Martin Nowak wrote:

> Makes sense https://github.com/D-Programming-Language/dub/issues/747.
> The compiler does check assertions in unittest blocks even in release
> builds, right?

Yes, just verified. Actually, it doesn't matter where the assertion is placed, as long as -unittest is passed.

-- 
/Jacob Carlborg
January 12, 2016
On Tuesday, 12 January 2016 at 08:12:58 UTC, Jacob Carlborg wrote:
>
> Yes, just verified. Actually, it doesn't matter where the assertion is placed, as long as -unittest is passed.

Another surprise.
January 14, 2016
On Sunday, 3 January 2016 at 19:24:57 UTC, Martin Nowak wrote:
> http://dlang.org/changelog/2.070.0.html

I'm missing changelog entry for

- new algorithm `std.algorithm.comparison.either`
- update for return type of `findSplit*` enabling bool-conversion in for instance

if (const hit = haystack.findSplit(needle))
{
    // use hit
}
January 16, 2016
Has anyone built a Windows program with the beta? I tried and got undefined identifier HWND, but have been unable to minimize the test case and it might be just my install not being clean.
January 16, 2016

On 16.01.2016 05:09, Adam D. Ruppe wrote:
> Has anyone built a Windows program with the beta? I tried and got
> undefined identifier HWND, but have been unable to minimize the test
> case and it might be just my install not being clean.

Works for me to build Visual D, though it uses it's own windows headers most of the time. There are a few tools that use HWND from core.sys.windows that seem ok.

I noticed the installer downloads Visual D 0.3.42, this should be updated to the latest version: https://github.com/D-Programming-Language/installer/pull/164
January 17, 2016
On 01/14/2016 11:13 AM, Nordlöw wrote:
> I'm missing changelog entry for
> 
> - new algorithm `std.algorithm.comparison.either`
> - update for return type of `findSplit*` enabling bool-conversion in for
> instance
> 
> if (const hit = haystack.findSplit(needle))
> {
>     // use hit
> }

There is a changelog for each project, those entries should be part of PRs. https://github.com/D-Programming-Language/phobos/blob/7f24ccfeb503445dc56fee0c3e7ee41268ef80a5/changelog.dd