www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dmd 1.074 and 2.059 release

reply Walter Bright <newshound2 digitalmars.com> writes:
Another big pile of bug fixes. More contributors than ever!

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.074.zip

http://www.digitalmars.com/d/2.0/changelog.html
https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

Note that the changelogs on dlang.org haven't been updated yet. Hope to get
that 
done soon.
Apr 12 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-04-13 07:53, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
Another awesome release. Keep up the good work everyone :) -- /Jacob Carlborg
Apr 12 2012
prev sibling next sibling parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 04/12/2012 10:53 PM, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
And UFCS really works! :) FibonacciSerisi().take(5).cycle().take(20).writeln(); I have to update some chapters... ;) Ali
Apr 12 2012
parent reply Gour <gour atmarama.net> writes:
On Thu, 12 Apr 2012 23:35:40 -0700
Ali =C3=87ehreli <acehreli yahoo.com> wrote:

 I have to update some chapters... ;)
Oh noes...when we'll get new ones. :-) Sincerely, Gour --=20 Those who are on this path are resolute in purpose,=20 and their aim is one. O beloved child of the Kurus,=20 the intelligence of those who are irresolute is many-branched. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Apr 12 2012
parent reply "Bernard Helyer" <b.helyer gmail.com> writes:
2.059 is red
I'm drunk too
It's friday night
thank you too

...

Not sure if that means I should drink more or less. Gonna go with 
more, my spelling is way to good.
Apr 13 2012
next sibling parent "Bernard Helyer" <b.helyer gmail.com> writes:
On Friday, 13 April 2012 at 08:02:09 UTC, Bernard Helyer wrote:
 2.059 is red
 I'm drunk too
 It's friday night
 thank you too

 ...

 Not sure if that means I should drink more or less. Gonna go 
 with more, my spelling is way to good.
Well nopw I' m more drunk. 2.059 is workfing fine. :D GOOD JOIB WALTER! :D And evweryone else. Kenji especially.
Apr 13 2012
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-04-13 10:02, Bernard Helyer wrote:
 2.059 is red
 I'm drunk too
 It's friday night
 thank you too

 ...

 Not sure if that means I should drink more or less. Gonna go with more,
 my spelling is way to good.
The answer to that question is always more :) -- /Jacob Carlborg
Apr 13 2012
prev sibling next sibling parent "F i L" <witte2008 gmail.com> writes:
On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. 
 Hope to get that done soon.
Great news! Congrats to everyone involved! You should update the Downloads & Tools page so I can mark DMD as out-of-date on the Arch Linux repo.
Apr 13 2012
prev sibling next sibling parent =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
On 13-04-2012 07:53, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
Hooray! *Waits for .debs...* -- - Alex
Apr 13 2012
prev sibling next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
"Strive to make to­Hash, toString, opE­quals and opCmp 
func­tions pure, nothrow, const and  safe. Soon, this will 
be­come a re­quire­ment."

man, that's a lot of decorations.


This kind of thing makes me thing we should have opposites:
impure, maythrow, mutable, and  system. And virtual, while
I'm at it.

Then it might be a lil easier to just go

module lots.of.decorations;
pure:
const:
 safe:
nothrow:


and undecorate as needed. We seem to be moving in this
kind of direction.
Apr 13 2012
next sibling parent =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= <xtzgzorex gmail.com> writes:
On 13-04-2012 18:47, Adam D. Ruppe wrote:
 "Strive to make to­Hash, toString, opE­quals and opCmp func­tions pure,
 nothrow, const and  safe. Soon, this will be­come a re­quire­ment."

 man, that's a lot of decorations.


 This kind of thing makes me thing we should have opposites:
 impure, maythrow, mutable, and  system. And virtual, while
 I'm at it.

 Then it might be a lil easier to just go

 module lots.of.decorations;
 pure:
 const:
  safe:
 nothrow:


 and undecorate as needed. We seem to be moving in this
 kind of direction.
I agree wholeheartedly... -- - Alex
Apr 13 2012
prev sibling parent reply "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> writes:
"Adam D. Ruppe" <destructionator gmail.com> wrote in message 
news:oznqhjdcwecwmjmycide forum.dlang.org...
 "Strive to make to­Hash, toString, opE­quals and opCmp func­tions pure, 
 nothrow, const and  safe. Soon, this will be­come a re­quire­ment."

 man, that's a lot of decorations.
Must be time for a party!
 This kind of thing makes me thing we should have opposites:
 impure, maythrow, mutable, and  system. And virtual, while
 I'm at it.
My bikeshed is painted: !pure !nothrow !const
 Then it might be a lil easier to just go

 module lots.of.decorations;
 pure:
 const:
  safe:
 nothrow:


 and undecorate as needed. We seem to be moving in this
 kind of direction.
I like it.
Apr 13 2012
parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 13/04/2012 22:10, Nick Sabalausky wrote:
 !nothrow
nonothrow. May as well drop nothrow and use !throw if we're doing that! -- Robert http://octarineparrot.com/
Apr 13 2012
parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/14/12, Robert Clipsham <robert octarineparrot.com> wrote:
 On 13/04/2012 22:10, Nick Sabalausky wrote:
 !nothrow
nonothrow. May as well drop nothrow and use !throw if we're doing that!
Might as well rename it to something else. It's called "nothrow", but it can actually throw a Throwable, but not an Exception. Quite an odd naming if you ask me.
Apr 13 2012
parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 13/04/2012 23:30, Andrej Mitrovic wrote:
 On 4/14/12, Robert Clipsham<robert octarineparrot.com>  wrote:
 On 13/04/2012 22:10, Nick Sabalausky wrote:
 !nothrow
nonothrow. May as well drop nothrow and use !throw if we're doing that!
Might as well rename it to something else. It's called "nothrow", but it can actually throw a Throwable, but not an Exception. Quite an odd naming if you ask me.
It can't throw a Throwable, just an error! Maybe we should introduce a maybe keyword! void myFunc() pure maybe !throw maybe !const; Maybe maybe needs to be negateable too... void myFunc() ! maybe pure maybe !throw maybe !const; -- Robert http://octarineparrot.com/
Apr 13 2012
parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/14/12, Robert Clipsham <robert octarineparrot.com> wrote:
 It can't throw a Throwable
Well now I'm confused. According to TDPL p307: "nothrow promises that the function won't throw an Exception. The function is still allowed to throw the graver Throwable class." And yet this is an error: nothrow void foo() { throw new Throwable(""); } void main() { } test.d(6): Error: object.Throwable is thrown but not caught test.d(4): Error: function test.foo 'foo' is nothrow yet may throw So who is the outlier here?
Apr 13 2012
parent reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
On 14-04-2012 01:49, Andrej Mitrovic wrote:
 On 4/14/12, Robert Clipsham<robert octarineparrot.com>  wrote:
 It can't throw a Throwable
Well now I'm confused. According to TDPL p307: "nothrow promises that the function won't throw an Exception. The function is still allowed to throw the graver Throwable class." And yet this is an error: nothrow void foo() { throw new Throwable(""); } void main() { } test.d(6): Error: object.Throwable is thrown but not caught test.d(4): Error: function test.foo 'foo' is nothrow yet may throw So who is the outlier here?
That sounds like an error in TDPL. AFAIK nothrow means "may only throw Error". -- - Alex
Apr 13 2012
next sibling parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/14/12, Alex R=F8nne Petersen <xtzgzorex gmail.com> wrote:
 That sounds like an error in TDPL. AFAIK nothrow means "may only throw
 Error".
But Error is a subclass of Throwable.
Apr 13 2012
parent reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
On 14-04-2012 02:13, Andrej Mitrovic wrote:
 On 4/14/12, Alex Rønne Petersen<xtzgzorex gmail.com>  wrote:
 That sounds like an error in TDPL. AFAIK nothrow means "may only throw
 Error".
But Error is a subclass of Throwable.
Which is why I said it's probably an error in TDPL. :P -- - Alex
Apr 13 2012
parent =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
On 14-04-2012 03:45, Alex Rønne Petersen wrote:
 On 14-04-2012 02:13, Andrej Mitrovic wrote:
 On 4/14/12, Alex Rønne Petersen<xtzgzorex gmail.com> wrote:
 That sounds like an error in TDPL. AFAIK nothrow means "may only throw
 Error".
But Error is a subclass of Throwable.
Which is why I said it's probably an error in TDPL. :P
I.e. nothrow specifically lets you throw anything deriving from Error, nothing else. Anywhere else, you can throw whatever derives from Throwable. -- - Alex
Apr 13 2012
prev sibling parent reply "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Saturday, April 14, 2012 02:13:45 Andrej Mitrovic wrote:
 On 4/14/12, Alex Rønne Petersen <xtzgzorex gmail.com> wrote:
 That sounds like an error in TDPL. AFAIK nothrow means "may only throw
 Error".
But Error is a subclass of Throwable.
A nothrow function cannot throw anything derived from Exception. It _can_ throw types derived from Error. Normally, no one should be using exception types which aren't derived from Exception or Error. So, this should be a complete non-issue. It looks like TDPL lists Throwable as throwable in nothrow functions (so, basically any Throwable which is _not_ derived from Exception), whereas the compiler specifically makes Error throwable but disallows throwing Throwable. Honestly, it probably doesn't really matter which it is. Certainly, it won't matter in good code, since I'm pretty sure there's no valid reason for throwing anything which is not derived from Exception or Error. But clearly TDPL and the compiler need to be brought in line with one another (either by changing TDPL or changing the compiler). I'd be inclined to go with TDPL on this one, but I don't see how it matters all that much, since it shouldn't impact any real world code either way. - Jonathan M Davis
Apr 13 2012
parent reply "Joel" <joelcnz gmail.com> writes:
This program doesn't work.

import std.stdio;

void main() {
     writeln(1);
}

I get this:
C:\jpro\dpro2\small>dmd dmd59.d
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dmd59.obj(dmd59)
  Error 42: Symbol Undefined _D3std3utf6toUTF8FNaNbNfJG4awZAa
--- errorlevel 1

C:\jpro\dpro2\small>_

Is it to do with qualifiers?

Thanks for any help.

-joelcnz
Apr 13 2012
parent "Joel" <joelcnz gmail.com> writes:
Never mind, I installed wrong, I was still was using 58's lib 
files.

-joelcnz
Apr 13 2012
prev sibling next sibling parent "Sven-Hendrik Haase" <sh lutzhaase.com> writes:
On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. 
 Hope to get that done soon.
Please also make a tag on the Github tools repo so I can update the Arch package.
Apr 13 2012
prev sibling next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/13/12, Walter Bright <newshound2 digitalmars.com> wrote:
 Another big pile of bug fixes. More contributors than ever!
 http://www.digitalmars.com/d/2.0/changelog.html
Damn. One could spend a good hour or so reading the bug fixes. Awesome. Does anyone have a comparison to the previous release? E.g. how many bugs were fixed vs newly opened.
Apr 13 2012
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/12/2012 10:53 PM, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to get
that
 done soon.
Changelogs, deb files, and http://dlang.org/download.html are all updated now.
Apr 13 2012
prev sibling next sibling parent reply "Tyro[17]" <nospam home.com> writes:
On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. 
 Hope to get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
Apr 13 2012
next sibling parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 04/13/2012 05:47 PM, Tyro[17] wrote:
 On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope
 to get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
The 64-bit .deb file worked fine on my Ubuntu system: http://dlang.org/download.html Ali
Apr 13 2012
parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 01:23:14 UTC, Ali Çehreli wrote:
 On 04/13/2012 05:47 PM, Tyro[17] wrote:
 On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated 
 yet. Hope
 to get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
The 64-bit .deb file worked fine on my Ubuntu system: http://dlang.org/download.html Ali
However I cannot download the .dmg file on my MAC OS X system. The link: http://dlang.org/dmd.2.059.dmg does not work. and the file in question is not available on the ftp site http://ftp.digitalmars.com/dmd.2.059.dmg Andrew
Apr 13 2012
prev sibling next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this server.
Hmm, I overlooked that one.
Apr 13 2012
next sibling parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:
 On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this server.
Hmm, I overlooked that one.
Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. Andrew
Apr 13 2012
parent reply Jacob Carlborg <doob me.com> writes:
On 2012-04-14 05:47, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:
 On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this server.
Hmm, I overlooked that one.
Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. Andrew
Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvm -- /Jacob Carlborg
Apr 14 2012
parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg wrote:
 On 2012-04-14 05:47, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright 
 wrote:
 On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this 
 server.
Hmm, I overlooked that one.
Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. Andrew
Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvm
-bash: wget: command not found Thanks
Apr 14 2012
next sibling parent reply "David Nadlinger" <see klickverbot.at> writes:
On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
 https://bitbucket.org/doob/dvm
-bash: wget: command not found
Are you on OS X? DVM could use »curl -O« there, I guess, or you could do a »port/brew install wget«. David
Apr 14 2012
next sibling parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 13:59:59 UTC, David Nadlinger wrote:
 On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
 https://bitbucket.org/doob/dvm
-bash: wget: command not found
Are you on OS X? DVM could use »curl -O« there, I guess, or you could do a »port/brew install wget«. David
unless someone in China sells their own version of the MacBook Pro with a home-brewed version of OS X Lion, I am positive.
Apr 14 2012
prev sibling parent reply "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> writes:
"David Nadlinger" <see klickverbot.at> wrote in message 
news:eajzvxfstwabooettxqd forum.dlang.org...
 On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
 https://bitbucket.org/doob/dvm
-bash: wget: command not found
OSX doesn't have wget? Seriously?!?
 Are you on OS X? DVM could use »curl -O« there, I guess, or you could do 
 a »port/brew install wget«.
Is curl installed by default on OSX?
Apr 14 2012
parent "David Nadlinger" <see klickverbot.at> writes:
On Saturday, 14 April 2012 at 17:38:54 UTC, Nick Sabalausky wrote:
 OSX doesn't have wget? Seriously?!?
 Is curl installed by default on OSX?
Yes and yes. David
Apr 14 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-04-14 15:04, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg wrote:
 On 2012-04-14 05:47, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:
 On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this server.
Hmm, I overlooked that one.
Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. Andrew
Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvm
-bash: wget: command not found
Then download it manually. 1. https://bitbucket.org/doob/dvm/downloads/dvm-0.4.0-osx 2. chmod +x dvm-0.4.0-osx 3. ./dvm-0.4.0-osx install dvm 4. Open a new terminal 5. Follow these instructions: https://bitbucket.org/doob/dvm/wiki/Home#!usage -- /Jacob Carlborg
Apr 14 2012
next sibling parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 18:45:11 UTC, Jacob Carlborg wrote:
 On 2012-04-14 15:04, Tyro[17] wrote:

 Then download it manually.

 1. https://bitbucket.org/doob/dvm/downloads/dvm-0.4.0-osx
 2. chmod +x dvm-0.4.0-osx
 3. ./dvm-0.4.0-osx install dvm
 4. Open a new terminal
 5. Follow these instructions: 
 https://bitbucket.org/doob/dvm/wiki/Home#!usage
Thanks for the link.... I've resolved the issue but will this nugget for future use. Andrew
Apr 14 2012
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/14/2012 11:45 AM, Jacob Carlborg wrote:

Hi Jacob, I'm having problems building the .dmg file. Can you please email me, 
as I don't have your email address?
Apr 14 2012
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/13/2012 6:34 PM, Walter Bright wrote:
 On 4/13/2012 5:47 PM, Tyro[17] wrote:
 The requested URL /dmd.2.059.dmg was not found on this server.
Hmm, I overlooked that one.
It's up now.
Apr 15 2012
prev sibling next sibling parent reply "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> writes:
"Tyro[17]" <nospam home.com> wrote in message 
news:rjhmnaxxiglqftwxhhzj forum.dlang.org...
 On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to 
 get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
You can still use the zip, that includes all platforms.
Apr 13 2012
parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 04:54:49 UTC, Nick Sabalausky wrote:
 "Tyro[17]" <nospam home.com> wrote in message
 news:rjhmnaxxiglqftwxhhzj forum.dlang.org...
 On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated 
 yet. Hope to get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
You can still use the zip, that includes all platforms.
Truth be told, I'm too experienced on the MAC. Only had it for about a month so I haven't learned to much about it yet. I was relying on the package. Thanks to your suggestion though, I took the opportunity to try and learn. Got everything installed. 1) removed /usr/share/dmd 2) unzipped dmd.2.059.dmg to /usr/share/ 3) removed /usr/share/dmd/freebsd, /usr/share/dmd/linux, and /usr/share/dmd/windows 4) moved contents of /usr/share/dmd/osx to /usr/share/dmd 5) removed empty folder /usr/share/dmd/osx 6) created new aliases for dmd, dmd.conf, dumpobj, and obj2asm in /usr/bin 7) tried compiling but received error message: -bash: /usr/bin/dmd: cannot execute binary file 8) compares attributes of new executables with newly inserted files with other executables in /usr/bin and noticed a few differences. 9) Spent the last two hours trying to figure out how to resolve but cannot. Files in /usr/bin have no extended attribute ( ), all belong to root, and are in the wheel group. So I tried to follow suit. With the exception of being able to get rid of the extended attribute, everything else is the same. To get rid of the I tried sudo xattr -d /usr/share/dmd/bin/dmd and sudo xattr -d /usr/bin/dmd but neither worked. Help? Please!?! Andrew
Apr 14 2012
parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 13:02:07 UTC, Tyro[17] wrote:

 Files in /usr/bin have no extended attribute ( ), all belong to
 root, and are in the wheel group. So I tried to follow suit.
 With the exception of being able to get rid of the extended
 attribute, everything else is the same. To get rid of the  
 I tried sudo xattr -d /usr/share/dmd/bin/dmd and
 sudo xattr -d /usr/bin/dmd but neither worked.

 Help? Please!?!
 Andrew
This is not an attribute problem. I've figured out how to use xattr properly and removed all extended properties from all dmd files and folders. After which I tried to launch dmd but still run into the same problem: -bash: /usr/bin/dmd: cannot execute binary file Thanks, Andrew
Apr 14 2012
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
next sibling parent reply "David Nadlinger" <see klickverbot.at> writes:
On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
Apr 14 2012
parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote:
 On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
/usr/bin/dmd: data
Apr 14 2012
next sibling parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger 
 wrote:
 On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe 
 wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
/usr/bin/dmd: data
still learning... /usr/share/dmd/bin/dmd: Mach-O 64-bit executable x86_64
Apr 14 2012
prev sibling parent reply "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger 
 wrote:
 On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe 
 wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
/usr/bin/dmd: data
Cause found resolution still out of reach. The problem is that Apple changed the way they created aliases for executables in the Lion. I thought I found the resolution to the problem (put an alias into .bash_profile for dmd) but I just ran into this: $ dmd pe9 object.d: Error: module object is in file 'object.d' which cannot be read import path[0] = /usr/share/dmd/bin/../../src/phobos import path[1] = /usr/share/dmd/bin/../../src/druntime/import
Apr 14 2012
parent reply "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> writes:
"Tyro[17]" <nospam home.com> wrote in message 
news:lnfohbryykmdlrqrixir forum.dlang.org...
 On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote:
 On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
/usr/bin/dmd: data
Cause found resolution still out of reach. The problem is that Apple changed the way they created aliases for executables in the Lion. I thought I found the resolution to the problem (put an alias into .bash_profile for dmd) but I just ran into this: $ dmd pe9 object.d: Error: module object is in file 'object.d' which cannot be read import path[0] = /usr/share/dmd/bin/../../src/phobos import path[1] = /usr/share/dmd/bin/../../src/druntime/import
That's because you were changing the directory structure. You can delete "linux", "windows", etc if you want (but you don't have to). But just leave the "osx" directory as it is. There's no need to move/rename it. You *can* fix your problem by adjusting the paths in dmd.conf (in the same dir as the exectable file), but there's really no point in bothering to do it that way.
Apr 14 2012
parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 17:46:12 UTC, Nick Sabalausky wrote:
 "Tyro[17]" <nospam home.com> wrote in message
 news:lnfohbryykmdlrqrixir forum.dlang.org...
 On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
 On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger 
 wrote:
 On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe 
 wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print? David
/usr/bin/dmd: data
Cause found resolution still out of reach. The problem is that Apple changed the way they created aliases for executables in the Lion. I thought I found the resolution to the problem (put an alias into .bash_profile for dmd) but I just ran into this: $ dmd pe9 object.d: Error: module object is in file 'object.d' which cannot be read import path[0] = /usr/share/dmd/bin/../../src/phobos import path[1] = /usr/share/dmd/bin/../../src/druntime/import
That's because you were changing the directory structure. You can delete "linux", "windows", etc if you want (but you don't have to). But just leave the "osx" directory as it is. There's no need to move/rename it. You *can* fix your problem by adjusting the paths in dmd.conf (in the same dir as the exectable file), but there's really no point in bothering to do it that way.
Thanks... That does the trick. I was trying to mirror the structure of the previous instillation (left by the 2.058.dmg package). Probably should have read the .conf file prior to touching anything but I wasn't yet aware of it's purpose. Again, thank you much. Andrew
Apr 14 2012
prev sibling next sibling parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
That could be the case but I've only used the contents of the osx folder to install dmd. Maybe I'm missing something but I did not think that the osx version was released in a 32 bit version.
Apr 14 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-04-14 15:57, Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
 -bash: /usr/bin/dmd: cannot execute binary file
Perhaps running the 32 bit bin on a 64 bit system?
Mac OS X can run both 32 and 64bit applications out of the box. -- /Jacob Carlborg
Apr 14 2012
parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/14/2012 11:45 AM, Jacob Carlborg wrote:
 Mac OS X can run both 32 and 64bit applications out of the box.
Just FYI, the dmd binaries for OSX are all 64 bit. There seems little purpose to shipping 32 bit builds anymore.
Apr 15 2012
prev sibling parent "Tyro[17]" <nospam home.com> writes:
On Saturday, 14 April 2012 at 00:47:33 UTC, Tyro[17] wrote:
 On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated 
 yet. Hope to get that done soon.
Not Found The requested URL /dmd.2.059.dmg was not found on this server. Can I play too please.
Thanks to everyone's assistance, I was able to resolve this issue. Your assistance was truly appreciated. Andrew
Apr 14 2012
prev sibling next sibling parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
Gah, I just ruined by night by actually
trying to use this release.

78 lines of template instantiation error spam
on code that worked perfectly on 2.058 :(

Including such gems as:

.../phobos/std/conv.d(244): Error: template std.conv.toImpl does 
not match any function template declaration

and

.../phobos/std/conv.d(244): Error: template std.conv.toImpl 
matches more than one template declaration, 
/home/me/d/dmd2/linux/bin32/../../src/phobos/std/conv.d(1034):toImpl(T,S) 
if (!isImplicitlyConvertible!(S,T) && is(S == enum) && 
isSomeString!(T)) and 
/home/me/d/dmd2/linux/bin32/../../src/phobos/std/conv.d(1155):toImpl(T,S) 
if (isIntegral!(S) && isSigned!(S) && isSomeString!(T))

and

.../phobos/std/conv.d(244): Error: template std.conv.toImpl does 
not match any function template declaration


They all seem to be enum <-> string related.

std.conv rox, but it is one very fragile baby :(

It breaks often, and is always a pain to figure out why.
Apr 13 2012
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 4/13/2012 7:24 PM, Adam D. Ruppe wrote:
 Gah, I just ruined by night by actually
 trying to use this release.
Sorry about that, but the beta has been out for a week and a half, and we fixed every reported regression since 2.058. The best I can suggest is to file a bug report and we'll try to figure out what went wrong.
Apr 13 2012
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Saturday, 14 April 2012 at 02:52:59 UTC, Walter Bright wrote:
 Sorry about that, but the beta has been out for a week and a 
 half, and we fixed every reported regression since 2.058.
I'm sure I'm not the only one who doesn't use the betas though! Oh well: http://d.puremagic.com/issues/show_bug.cgi?id=7909 wasn't too hard to fix in Phobos. Looks like it might have been caused by a change of overload resolution or something, but I think that's a change for the better. We can just add another unittest now.
Apr 14 2012
next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday, April 14, 2012 17:01:56 Adam D. Ruppe wrote:
 On Saturday, 14 April 2012 at 02:52:59 UTC, Walter Bright wrote:
 Sorry about that, but the beta has been out for a week and a
 half, and we fixed every reported regression since 2.058.
I'm sure I'm not the only one who doesn't use the betas though!
Sure, regressions can happen, but they only get found if there are already tests which catch them (in which case, they generally don't get checked in) or if people compile their code with the latest head or with the betas and then report them. The primary purpose of the betas is to get the newest compiler and library implementations tested on 3rd party projects in order to catch regressions. If not enough people pay attention to the betas, then they won't be tested on much code, and we won't catch the regressions. The only way that a regression that your code is going to be hit by is going to be caught in beta if you don't participate is if someone else who _does_ participate happens to hit it in their code. If you want to ensure that all of your code always compiles with each new release, then participate in the betas. We try and catch all of the regressions, but even with solid test suites and what beta participation we do get, we can't always catch everything. - Jonathan M Davis
Apr 14 2012
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Sat, 14 Apr 2012 11:01:56 -0400, Adam D. Ruppe  
<destructionator gmail.com> wrote:

 On Saturday, 14 April 2012 at 02:52:59 UTC, Walter Bright wrote:
 Sorry about that, but the beta has been out for a week and a half, and  
 we fixed every reported regression since 2.058.
I'm sure I'm not the only one who doesn't use the betas though!
Think for a minute about what you are saying. Then do yourself a favor and go subscribe here: http://lists.puremagic.com/mailman/listinfo/dmd-beta -Steve
Apr 16 2012
prev sibling parent "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
On Saturday, 14 April 2012 at 02:24:29 UTC, Adam D. Ruppe wrote:
 Gah, I just ruined by night by actually
 trying to use this release.

 78 lines of template instantiation error spam
 on code that worked perfectly on 2.058 :(
I think I've finally narrowed down the cause of "seas of errors" appearing in unrelated code: http://d.puremagic.com/issues/show_bug.cgi?id=7904
Apr 13 2012
prev sibling next sibling parent Caligo <iteronvexor gmail.com> writes:
On Fri, Apr 13, 2012 at 12:53 AM, Walter Bright
<newshound2 digitalmars.com> wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to get
 that done soon.
Awesome. Thanks for all the hard work guys. P.S. I just noticed the 'Fork D on Github' on the download page; The red looks sexy.
Apr 13 2012
prev sibling next sibling parent reply Piotr Szturmaj <bncrbme jadamspam.pl> writes:
Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
Thanks for the whole D team for your great work! Btw. Is it possible to tag new releases with respective git commit hashes? This is for those who compile DMD, druntime and Phobos manually.
Apr 14 2012
parent reply "Nick Sabalausky" <SeeWebsiteToContactMe semitwist.com> writes:
"Piotr Szturmaj" <bncrbme jadamspam.pl> wrote in message 
news:jmbung$1tp5$1 digitalmars.com...
 Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
Thanks for the whole D team for your great work! Btw. Is it possible to tag new releases with respective git commit hashes? This is for those who compile DMD, druntime and Phobos manually.
Aren't they tagged *in* git? If not, they should be. Git hashes aren't realistically human-usable anyway.
Apr 14 2012
parent Piotr Szturmaj <bncrbme jadamspam.pl> writes:
Nick Sabalausky wrote:
 "Piotr Szturmaj"<bncrbme jadamspam.pl>  wrote in message
 news:jmbung$1tp5$1 digitalmars.com...
 Btw. Is it possible to tag new releases with respective git commit hashes?
 This is for those who compile DMD, druntime and Phobos manually.
Aren't they tagged *in* git? If not, they should be. Git hashes aren't realistically human-usable anyway.
Gah... I forgot about tags... it must be a temporary brain malfunction.
Apr 14 2012
prev sibling next sibling parent "Rene Zwanenburg" <renezwanenburg gmail.com> writes:
On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. 
 Hope to get that done soon.
Awesome, thanks to everyone involved.
Apr 14 2012
prev sibling next sibling parent kraybourne <stdin kraybourne.com> writes:
On 4/13/12 07:53 , Walter Bright wrote:
 Another big pile of bug fixes. More contributors than ever!

 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.074.zip

 http://www.digitalmars.com/d/2.0/changelog.html
 https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip

 Note that the changelogs on dlang.org haven't been updated yet. Hope to
 get that done soon.
Fantastic! Thanks everyone!
Apr 14 2012
prev sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/13/12, Walter Bright <newshound2 digitalmars.com> wrote:
 http://www.digitalmars.com/d/2.0/changelog.html
So is UFCS now fully implemented or is the implementation missing any features? I have to say using it on ranges in 2.059 is already kicking some serious ass.
Apr 14 2012