Re: dmd 2.065.0

2014-04-02 Thread Théo.Bueno
On Tuesday, 1 April 2014 at 19:03:10 UTC, Brad Anderson wrote: On Saturday, 29 March 2014 at 13:25:19 UTC, Théo Bueno wrote: On Friday, 28 March 2014 at 22:50:32 UTC, Théo Bueno wrote: I am having an issue with the windows installer : Ok, so after investigations I partially fixed my problem

Re: dmd 2.065.0

2014-04-01 Thread Brad Anderson
On Saturday, 29 March 2014 at 13:25:19 UTC, Théo Bueno wrote: On Friday, 28 March 2014 at 22:50:32 UTC, Théo Bueno wrote: I am having an issue with the windows installer : Ok, so after investigations I partially fixed my problem : - I have no idea why the installer tried to download with the

Re: dmd 2.065.0

2014-03-29 Thread Théo.Bueno
On Friday, 28 March 2014 at 22:50:32 UTC, Théo Bueno wrote: I am having an issue with the windows installer : Ok, so after investigations I partially fixed my problem : - I have no idea why the installer tried to download with the wrong URL, this should not happen, and on my own compiled

Re: dmd 2.065.0

2014-03-28 Thread Théo.Bueno
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. I am having an issue with the windows installer : http://puu.sh/7NdXY.png The URL

Re: dmd 2.065.0

2014-02-26 Thread Jacob Carlborg
On 2014-02-25 22:51, Steven Schveighoffer wrote: If the compiler generates opEquals and opCmp, then it's guaranteed opEquals(x, y) is equivalent to opCmp(x, y) == 0. The compiler should NOT complain about this, which I should have more clearly stated (I thought I had). Filed as [1].

Re: dmd 2.065.0

2014-02-25 Thread Daniel Murphy
Steven Schveighoffer wrote in message news:op.xbs1naiueav7ka@stevens-macbook-pro.local... A wild wild guess is that there was code in the compiler that used to require it (after all, it was required a long time ago), and somehow it got reactivated by accident. But wild guesses don't help

Re: dmd 2.065.0

2014-02-25 Thread Dicebot
On Tuesday, 25 February 2014 at 10:28:41 UTC, Daniel Murphy wrote: Walter + Andrei did it, and it was completely intentional, and it was known that it would break code. https://github.com/D-Programming-Language/dmd/pull/3054 I find it so ironical that Walter warns that this may break the

Re: dmd 2.065.0

2014-02-25 Thread Steven Schveighoffer
On Tue, 25 Feb 2014 05:28:42 -0500, Daniel Murphy yebbliesnos...@gmail.com wrote: Steven Schveighoffer wrote in message news:op.xbs1naiueav7ka@stevens-macbook-pro.local... A wild wild guess is that there was code in the compiler that used to require it (after all, it was required a long

Re: dmd 2.065.0

2014-02-25 Thread Jacob Carlborg
On 2014-02-24 21:29, Walter Bright wrote: Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the changelog. Or possibly remove that change. I've been compiling

Re: dmd 2.065.0

2014-02-25 Thread Joakim
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. Nice job wrangling the new release schedule and shepherding your first release out the

Re: dmd 2.065.0

2014-02-25 Thread Jacob Carlborg
On 2014-02-24 21:29, Walter Bright wrote: Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the changelog. Or possibly remove that change. Answering some of your

Re: dmd 2.065.0

2014-02-25 Thread Steven Schveighoffer
On Tue, 25 Feb 2014 12:11:46 -0500, Steven Schveighoffer schvei...@yahoo.com wrote: I would suggest a proper interim fix is to only reject key types that define opEquals, but not opCmp. Then switch to using equals in druntime. Sorry, I meant define opCmp but not opEquals. Some types can be

Re: dmd 2.065.0

2014-02-25 Thread Brad Anderson
On Monday, 24 February 2014 at 20:24:04 UTC, Walter Bright wrote: On 2/24/2014 9:48 AM, Brad Anderson wrote: On Monday, 24 February 2014 at 17:42:07 UTC, Manu wrote: First thing I noticed though, the Windows installer seemed to forget where my existing D installation is, and tried to install

Re: dmd 2.065.0

2014-02-25 Thread Walter Bright
On 2/25/2014 2:28 AM, Daniel Murphy wrote: Walter + Andrei did it, and it was completely intentional, and it was known that it would break code. https://github.com/D-Programming-Language/dmd/pull/3054 It was intended to only break code that was already broken (would fail at runtime). It

Re: dmd 2.065.0

2014-02-25 Thread Walter Bright
On 2/25/2014 11:03 AM, Brad Anderson wrote: On Monday, 24 February 2014 at 20:24:04 UTC, Walter Bright wrote: On 2/24/2014 9:48 AM, Brad Anderson wrote: On Monday, 24 February 2014 at 17:42:07 UTC, Manu wrote: First thing I noticed though, the Windows installer seemed to forget where my

Re: dmd 2.065.0

2014-02-25 Thread Iain Buclaw
On 25 February 2014 17:30, Jacob Carlborg d...@me.com wrote: On 2014-02-24 21:29, Walter Bright wrote: Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the

Re: dmd 2.065.0

2014-02-25 Thread Walter Bright
On 2/24/2014 12:29 PM, Walter Bright wrote: Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the changelog. Or possibly remove that change.

Re: dmd 2.065.0

2014-02-25 Thread Dmitry Olshansky
24-Feb-2014 12:45, Andrew Edwards пишет: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. Available binaries can be accessed at [2]. Since the website will lag slightly behind, links are provided below

Re: dmd 2.065.0

2014-02-25 Thread Steven Schveighoffer
On Tue, 25 Feb 2014 14:33:05 -0500, Walter Bright newshou...@digitalmars.com wrote: On 2/25/2014 2:28 AM, Daniel Murphy wrote: Walter + Andrei did it, and it was completely intentional, and it was known that it would break code. https://github.com/D-Programming-Language/dmd/pull/3054 It

Re: dmd 2.065.0

2014-02-25 Thread Jacob Carlborg
On 2014-02-25 20:49, Steven Schveighoffer wrote: I just wrote this and compiled on 2.064: import std.stdio; struct S { int x; int y; bool opEquals(ref const(S) other) const { return other.x == x;} } void main() { int[S] aa; aa[S(1, 2)] = 5; aa[S(1, 3)] = 6;

Re: dmd 2.065.0

2014-02-25 Thread Steven Schveighoffer
On Tue, 25 Feb 2014 15:12:41 -0500, Jacob Carlborg d...@me.com wrote: The thing is that the compiler complains about a deceleration looking like this: struct TagIndex { uint tag, index; } If the compiler generates opEquals and opCmp, then it's guaranteed opEquals(x, y) is

Re: dmd 2.065.0

2014-02-24 Thread simendsjo
On 02/24/2014 09:45 AM, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. (...) [1] http://dlang.org/chagelog.html Great news! Your changelog link has a typo, and it's not updated

Re: dmd 2.065.0

2014-02-24 Thread Kelet
\o/ Congrats! I'm excited for this release, it fixes a good amount of bugs that have been plaguing me.

Re: dmd 2.065.0

2014-02-24 Thread extrawurst
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. Awesome release! Available binaries can be accessed at [2]. Since the website

Re: dmd 2.065.0

2014-02-24 Thread Szymon Gatner
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. Available binaries can be accessed at [2]. Since the website will lag slightly

Re: dmd 2.065.0

2014-02-24 Thread Andrew Edwards
On 2/24/14, 3:45 AM, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. [1] http://dlang.org/chagelog.html Correction: http://dlang.org/changelog.html Note that this page is still

Re: dmd 2.065.0

2014-02-24 Thread Francesco Cattoglio
On Monday, 24 February 2014 at 10:33:27 UTC, Szymon Gatner wrote: All Systems: http://ftp.digitalmars.com/dmd.2.065.0.zip FreeBSD: http://ftp.digitalmars.com/dmd.2.065.0.freebsd-64.zip http://ftp.digitalmars.com/dmd.2.065.0.freebsd-32.zip Linux:

Re: dmd 2.065.0

2014-02-24 Thread Szymon Gatner
On Monday, 24 February 2014 at 10:43:32 UTC, Francesco Cattoglio wrote: On Monday, 24 February 2014 at 10:33:27 UTC, Szymon Gatner wrote: All Systems: http://ftp.digitalmars.com/dmd.2.065.0.zip FreeBSD: http://ftp.digitalmars.com/dmd.2.065.0.freebsd-64.zip

Re: dmd 2.065.0

2014-02-24 Thread Kapps
On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is https://github.com/D-Programming-Language/dmd/pull/2895

Re: dmd 2.065.0

2014-02-24 Thread Szymon Gatner
On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is https://github.com/D-Programming-Language/dmd/pull/2895 Clear,

Re: dmd 2.065.0

2014-02-24 Thread Szymon Gatner
On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is https://github.com/D-Programming-Language/dmd/pull/2895 Clear,

Re: dmd 2.065.0

2014-02-24 Thread Namespace
On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is https://github.com/D-Programming-Language/dmd/pull/2895 Not really.

Re: dmd 2.065.0

2014-02-24 Thread Szymon Gatner
On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is

Re: dmd 2.065.0

2014-02-24 Thread Namespace
On Monday, 24 February 2014 at 11:44:30 UTC, Szymon Gatner wrote: On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class methods final by default? Correct. The pull for it is

Re: dmd 2.065.0

2014-02-24 Thread Francesco Cattoglio
On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: Not really. This pull introduce the virtual keyword. The next step will afaik force you to write on every method if it is virtual or final. The step afterwards will probably introduce final by default. Wait, does this mean we

Re: dmd 2.065.0

2014-02-24 Thread Tourist
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: Windows: http://ftp.digitalmars.com/dmd-2.065.0.exe http://ftp.digitalmars.com/dmd.2.065.0.windows.zip The .zip file for Windows isn't listed on the download page. http://dlang.org/download.html

Re: dmd 2.065.0

2014-02-24 Thread Dominikus Dittes Scherkl
On Monday, 24 February 2014 at 08:45:31 UTC, Andrew Edwards wrote: The final release of DMD 2.065 is now available. Cool. I found two bugs in the comments to library changes point 2. The 2nd comment says all values are not true but what the check does is not all values are true. Same for the

Re: dmd 2.065.0

2014-02-24 Thread Jordi Sayol
El 24/02/14 09:45, Andrew Edwards ha escrit: The final release of DMD 2.065 is now available. Congratulations for this new dmd release! New deb packages and dlangspec in several formats available at http://d-apt.sourceforge.net/ -- Jordi Sayol

Re: dmd 2.065.0

2014-02-24 Thread Andrei Alexandrescu
On 2/24/14, 4:24 AM, Francesco Cattoglio wrote: On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: Not really. This pull introduce the virtual keyword. The next step will afaik force you to write on every method if it is virtual or final. The step afterwards will probably introduce

Re: dmd 2.065.0

2014-02-24 Thread Mike
On Monday, 24 February 2014 at 17:37:08 UTC, Dicebot wrote: Arch packages have just been updated. Thank You! Mike

Re: dmd 2.065.0

2014-02-24 Thread Walter Bright
On 2/24/2014 9:48 AM, Brad Anderson wrote: On Monday, 24 February 2014 at 17:42:07 UTC, Manu wrote: First thing I noticed though, the Windows installer seemed to forget where my existing D installation is, and tried to install it somewhere else. I thought this got fixed months ago? Regression

Re: dmd 2.065.0

2014-02-24 Thread Walter Bright
Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the changelog. Or possibly remove that change.

Re: dmd 2.065.0

2014-02-24 Thread Rory McGuire
BTW it seems the copyright notice is outdated: DMD64 D Compiler v2.065 Copyright (c) *1999-2013* by Digital Mars written by Walter Bright Documentation: http://dlang.org/ On Mon, Feb 24, 2014 at 10:45 AM, Andrew Edwards rid...@yahoo.com wrote: The final release of DMD 2.065 is now available.

Re: dmd 2.065.0

2014-02-24 Thread Jonathan Dunlap
Great work! It warms my heart to see D improving at a steady rate. I'm starting to use it on my next major project as it also seems the IDE support (Mono-D) has improved too.

Re: dmd 2.065.0

2014-02-24 Thread Steven Schveighoffer
On Mon, 24 Feb 2014 15:29:51 -0500, Walter Bright newshou...@digitalmars.com wrote: Looks like we need to do something about this: http://www.reddit.com/r/programming/comments/1ytfc5/d_2065_released_with_396_fixes_and_improvements/cfnmkih At a minimum, add it to the changelog. Or possibly

Re: dmd 2.065.0

2014-02-24 Thread Meta
On Monday, 24 February 2014 at 21:00:53 UTC, Steven Schveighoffer wrote: I think the change should go (if it was intentional). IIRC, opCmp was required in D1 and older versions of D2, because hash collisions were stored in a tree instead of a LL. The documentation should be updated too.

Re: dmd 2.065.0

2014-02-24 Thread Walter Bright
On 2/24/2014 12:45 AM, Andrew Edwards wrote: The final release of DMD 2.065 is now available. [1] contains complete descriptions of all changes, enhancements and fixes for this release. Thank you, everyone, for this release! And a special thanks to Andrew who stepped up to organize and manage

Re: dmd 2.065.0

2014-02-24 Thread Meta
On Monday, 24 February 2014 at 21:22:12 UTC, Steven Schveighoffer wrote: A wild wild guess is that there was code in the compiler that used to require it (after all, it was required a long time ago), and somehow it got reactivated by accident. But wild guesses don't help fix bugs :) In doing

Re: dmd 2.065.0

2014-02-24 Thread Steven Schveighoffer
On Mon, 24 Feb 2014 16:09:39 -0500, Meta jared...@gmail.com wrote: On Monday, 24 February 2014 at 21:00:53 UTC, Steven Schveighoffer wrote: I think the change should go (if it was intentional). IIRC, opCmp was required in D1 and older versions of D2, because hash collisions were stored in a

Re: dmd 2.065.0

2014-02-24 Thread Steven Schveighoffer
On Mon, 24 Feb 2014 16:23:45 -0500, Meta jared...@gmail.com wrote: Ah, I see. I got the impression that he thought it was a deliberate change, which is why he was so irate. Maybe someone should mention this in the thread. I did, but I have a feeling it won't help :) -Steve

Re: dmd 2.065.0

2014-02-24 Thread Joseph Cassman
On Monday, 24 February 2014 at 18:58:50 UTC, Andrei Alexandrescu wrote: On 2/24/14, 4:24 AM, Francesco Cattoglio wrote: On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: Not really. This pull introduce the virtual keyword. The next step will afaik force you to write on every

Re: dmd 2.065.0

2014-02-24 Thread Leandro Lucarella
Szymon Gatner, el 24 de February a las 11:48 me escribiste: On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC, Szymon Gatner wrote: So 2.065 is not the one that will make class

Re: dmd 2.065.0

2014-02-24 Thread Namespace
On Tuesday, 25 February 2014 at 00:09:45 UTC, Leandro Lucarella wrote: Szymon Gatner, el 24 de February a las 11:48 me escribiste: On Monday, 24 February 2014 at 11:45:20 UTC, Namespace wrote: On Monday, 24 February 2014 at 11:21:32 UTC, Kapps wrote: On Monday, 24 February 2014 at 11:04:14 UTC,