Re: Release D 2.076.0
On 09/07/2017 02:53 AM, Ali Çehreli wrote: > This is the first time I'm trying to install with the install script as > shown on the download page but it fails. > > $ curl -fsS https://dlang.org/install.sh | bash -s dmd > Downloading and unpacking > http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz > > 100.0% > Invalid signature > http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz.sig The script downloads https://dlang.org/d-keyring.gpg and verifies the GPG signature of the download against that keyring. So either there was a download error on the file (or signature), or there is some bug in the way we use your local gpg/gpg2. Could you check again please?
Re: Release D 2.076.0
On 07.09.2017 09:48, Rainer Schuetze wrote: I've added two more: https://issues.dlang.org/show_bug.cgi?id=17812 https://github.com/dlang/dmd/pull/7127 https://issues.dlang.org/show_bug.cgi?id=17814 https://github.com/dlang/dmd/pull/7126
Re: Release D 2.076.0
On 04.09.2017 11:00, Timon Gehr wrote: On 02.09.2017 08:51, Ilya Yaroshenko wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800 Thanks, but actually it is the second one. ;) https://issues.dlang.org/show_bug.cgi?id=17688 I'll get to work. I've added two more: https://issues.dlang.org/show_bug.cgi?id=17812 https://issues.dlang.org/show_bug.cgi?id=17814
Re: Release D 2.076.0
On Thursday, 7 September 2017 at 00:53:29 UTC, Ali Çehreli wrote: This is the first time I'm trying to install with the install script as shown on the download page but it fails. $ curl -fsS https://dlang.org/install.sh | bash -s dmd Downloading and unpacking http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz 100.0% Invalid signature http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz.sig Am I using it correctly? I think so, it works for me. A. Corbi
Re: Release D 2.076.0
This is the first time I'm trying to install with the install script as shown on the download page but it fails. $ curl -fsS https://dlang.org/install.sh | bash -s dmd Downloading and unpacking http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz 100.0% Invalid signature http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz.sig Am I using it correctly? Ali
Re: Release D 2.076.0
On 2017-09-04 16:34, Mario Kröplin wrote: What's the problem with `TypeInfo_Typedef`? https://github.com/dlang/undeaD shows "build:failing". https://travis-ci.org/dlang/undeaD/jobs/270947584 shows: src/undead/doformat.d(934,23): Error: undefined identifier TypeInfo_Typedef typedef has been removed from the language since a couple (?) of release ago. -- /Jacob Carlborg
Re: Release D 2.076.0
On Monday, 4 September 2017 at 19:49:23 UTC, Timon Gehr wrote: On 04.09.2017 12:46, Petar Kirov [ZombineDev] wrote: Would you be able to also address https://issues.dlang.org/show_bug.cgi?id=17798? https://github.com/dlang/dlang.org/pull/1884 (Any help with getting it to build appreciated -- even the base 'stable' branch does not compile on my machine.) Building spec part of the website should be as easy as: git clone https://github.com/dlang/dmd git clone https://github.com/dlang/dlang.org cd dlang.org make -f posix.mak html On a Linux system. If that doesn't work can you post the error you got? Probably better to keep the discussion on the pull request.
Re: Release D 2.076.0
On 04.09.2017 21:55, Timon Gehr wrote: On 04.09.2017 16:05, nkm1 wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: This release comes with static foreach Great! I noticed one small issue, though. When compiled with warnings, it warns about unreachable code when static foreach in a switch, ... It works, though, so I guess it's not a bug per se. This is actually a bug. Thanks! https://issues.dlang.org/show_bug.cgi?id=17807 https://github.com/dlang/dmd/pull/7120 (This bug was actually not within the static foreach implementation.)
Re: Release D 2.076.0
On 04.09.2017 16:05, nkm1 wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: This release comes with static foreach Great! I noticed one small issue, though. When compiled with warnings, it warns about unreachable code when static foreach in a switch, ... It works, though, so I guess it's not a bug per se. This is actually a bug. Thanks! https://issues.dlang.org/show_bug.cgi?id=17807
Re: Release D 2.076.0
On 04.09.2017 12:46, Petar Kirov [ZombineDev] wrote: Would you be able to also address https://issues.dlang.org/show_bug.cgi?id=17798? https://github.com/dlang/dlang.org/pull/1884 (Any help with getting it to build appreciated -- even the base 'stable' branch does not compile on my machine.)
Re: Release D 2.076.0
What's the problem with `TypeInfo_Typedef`? https://github.com/dlang/undeaD shows "build:failing". https://travis-ci.org/dlang/undeaD/jobs/270947584 shows: src/undead/doformat.d(934,23): Error: undefined identifier TypeInfo_Typedef
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: This release comes with static foreach Great! I noticed one small issue, though. When compiled with warnings, it warns about unreachable code when static foreach in a switch, for example: void trySwitch(int x) { import std.stdio : writeln; SWITCH: final switch (x) { static foreach (y; [ 1, 2, 3 ]) { case y: writeln("found"); break SWITCH; } } } void main(string[] args) { import std.conv : to; trySwitch(args.length > 1 ? to!int(args[1]) : 1); } Compilation: $ dmd -wi ./main.d ./main.d(5): Warning: statement is not reachable ./main.d(5): Warning: statement is not reachable ./main.d(5): Warning: statement is not reachable ./main.d(5): Warning: statement is not reachable It works, though, so I guess it's not a bug per se.
Re: Release D 2.076.0
On Monday, 4 September 2017 at 10:06:33 UTC, Timon Gehr wrote: On 04.09.2017 11:00, Timon Gehr wrote: On 02.09.2017 08:51, Ilya Yaroshenko wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800 Thanks, but actually it is the second one. ;) https://issues.dlang.org/show_bug.cgi?id=17688 I'll get to work. https://github.com/dlang/dmd/pull/7118 Thanks for the great work on implementing this feature and addressing problems so quickly! Would you be able to also address https://issues.dlang.org/show_bug.cgi?id=17798?
Re: Release D 2.076.0
On 04.09.2017 11:00, Timon Gehr wrote: On 02.09.2017 08:51, Ilya Yaroshenko wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800 Thanks, but actually it is the second one. ;) https://issues.dlang.org/show_bug.cgi?id=17688 I'll get to work. https://github.com/dlang/dmd/pull/7118
Re: Release D 2.076.0
On 02.09.2017 08:51, Ilya Yaroshenko wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800 Thanks, but actually it is the second one. ;) https://issues.dlang.org/show_bug.cgi?id=17688 I'll get to work.
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin Just downloaded it, the linux version reports as v2.076.0-dirty, probably want to get rid of the "dirty" tag for an official release.
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin " -betterC enhancements " is listed twice in the changelog
Re: Release D 2.076.0
On Friday, 1 September 2017 at 17:49:59 UTC, Ali Çehreli wrote: On 09/01/2017 09:42 AM, Ali Çehreli wrote: > One more correction: It says "to the conv function template" but the > code uses to!uint. Mike doesn't make it easy: How about changing "comv" to "conv" in the "correction". :o) Ali Double thanks, Ali!
Re: Release D 2.076.0
On Friday, 1 September 2017 at 21:29:08 UTC, Ali wrote: to be clear - Implement DIP 1010 - Static foreach is mentioned twice in the changelog, as points 1 and 6 BetterC is also on there twice.
Re: Release D 2.076.0
On Friday, 1 September 2017 at 17:33:26 UTC, Ali wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: http://dlang.org/changelog/2.076.0.html - -Martin static foreach is so nice, it is implemented twice :) to be clear - Implement DIP 1010 - Static foreach is mentioned twice in the changelog, as points 1 and 6
Re: Release D 2.076.0
On 09/01/2017 09:42 AM, Ali Çehreli wrote: > One more correction: It says "to the conv function template" but the > code uses to!uint. Mike doesn't make it easy: How about changing "comv" to "conv" in the "correction". :o) Ali
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin static foreach is so nice, it is implemented twice :)
Re: Release D 2.076.0
On 09/01/2017 09:34 AM, Mike Parker wrote: Good catch. Thanks! Great piece Mike! One more correction: It says "to the conv function template" but the code uses to!uint. Ali
Re: Release D 2.076.0
On Friday, 1 September 2017 at 16:16:03 UTC, Joakim wrote: Nice writeup of the major features of this release, think it really helps. Typo in blog post - dramtically Good catch. Thanks! Also, changelog still lists this as a beta, to be released. There was an issue with rebuilding the site, but a fix is imminent.
Re: Release D 2.076.0
On Friday, 1 September 2017 at 15:24:57 UTC, Mike Parker wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. Blogged and reddited: https://dlang.org/blog/2017/09/01/dmd-2-076-0-released/ https://www.reddit.com/r/programming/comments/6xf77f/version_20760_of_dmd_the_d_reference_compiler/ Nice writeup of the major features of this release, think it really helps. Typo in blog post - dramtically Also, changelog still lists this as a beta, to be released.
Re: Release D 2.076.0
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. Blogged and reddited: https://dlang.org/blog/2017/09/01/dmd-2-076-0-released/ https://www.reddit.com/r/programming/comments/6xf77f/version_20760_of_dmd_the_d_reference_compiler/
Release D 2.076.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this 👏. http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html - -Martin -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlmpaK4ACgkQsnOBFhK7 GTlxPg//YaOkpg2uMiUWAav5cpfoiRA1cyZpsK5IaW1dKIoe7kMSk6QBINSucvCS 7wylRCkgA5PjMqwt3D+SM/+WYR5AVXfhaaGtl2vBDqyCJmP5emYkeTmj5MmYFRWZ /2UIslPtuAE3lTZhG2U/bQtUeiyCKbnz44HTNU00At+Ak39HBZx3MgTrkM7nDAAS ZJusWgR4x/omOnF4+bcmBX76seUJOhoe1PZaqIhx6n8lumRxE89zQS9Z5Cmzkv4R 8+Q1OF4q2Aks3lUWxMtOR3klAsOnClgNpSYkmW2KYhZ/2O90KDASmjYny9dlTYSE 5B3yHwjNNK8zEa48VlIluckNokr4BjOfCU9hBfCgAvFisggj3Pn0K+X+yfTFn4Sk KDMWpzD5gPbTScHW88FbTKoYQF0fFWQ07GnYxWSpRl35xBV9hy3PO1vxtOU4qCiG YklJZxr0twJzGLa7SXEDjY8Y38OBwYoUPFL+4GTx9zWNOGvJXEUpl2OTHywFD6da C+nOtSln5c0xMbhGC+rahrGgVVaFOIq8oRyJL6XzFgXzvlttGvAgkrd/B5ZZricG ii507ZZVWB7Lpgktxb+4hBG0nt745SHgd4WRCe2JA6QVQuAPdScLKaFJaejLkrx1 A7kGL3n3DN9HHGqD8AByaR+pmRVt3qxpc19TzAJt/JI/gNnVTA8= =RRqA -END PGP SIGNATURE-