Re: Release D 2.076.0

2017-10-01 Thread Martin Nowak via Digitalmars-d-announce
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

2017-09-07 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-07 Thread Rainer Schuetze via Digitalmars-d-announce



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

2017-09-07 Thread Antonio Corbi via Digitalmars-d-announce

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

2017-09-06 Thread Ali Çehreli via Digitalmars-d-announce
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

2017-09-05 Thread Jacob Carlborg via Digitalmars-d-announce

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

2017-09-05 Thread via Digitalmars-d-announce

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

2017-09-04 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-04 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-04 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-04 Thread Mario Kröplin via Digitalmars-d-announce

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

2017-09-04 Thread nkm1 via Digitalmars-d-announce

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

2017-09-04 Thread via Digitalmars-d-announce

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

2017-09-04 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-04 Thread Timon Gehr via Digitalmars-d-announce

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

2017-09-03 Thread Joakim via Digitalmars-d-announce

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

2017-09-01 Thread Yuxuan Shui via Digitalmars-d-announce

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

2017-09-01 Thread Mike Parker via Digitalmars-d-announce

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

2017-09-01 Thread jmh530 via Digitalmars-d-announce

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

2017-09-01 Thread Ali via Digitalmars-d-announce

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

2017-09-01 Thread Ali Çehreli via Digitalmars-d-announce

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

2017-09-01 Thread Ali via Digitalmars-d-announce

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

2017-09-01 Thread Ali Çehreli via Digitalmars-d-announce

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

2017-09-01 Thread Mike Parker via Digitalmars-d-announce

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

2017-09-01 Thread Joakim via Digitalmars-d-announce

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

2017-09-01 Thread Mike Parker via Digitalmars-d-announce

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/