digitalmars.D.announce - dmd 1.074 and 2.059 release
- Walter Bright (7/7) Apr 12 2012 Another big pile of bug fixes. More contributors than ever!
- Jacob Carlborg (4/11) Apr 12 2012 Another awesome release. Keep up the good work everyone :)
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (5/12) Apr 12 2012 And UFCS really works! :)
- Gour (10/11) Apr 12 2012 Oh noes...when we'll get new ones. :-)
- Bernard Helyer (7/7) Apr 13 2012 2.059 is red
- Bernard Helyer (4/11) Apr 13 2012 Well nopw I' m more drunk. 2.059 is workfing fine. :D
- Jacob Carlborg (4/11) Apr 13 2012 The answer to that question is always more :)
- F i L (4/11) Apr 13 2012 Great news! Congrats to everyone involved!
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (5/12) Apr 13 2012 Hooray!
- Adam D. Ruppe (15/15) Apr 13 2012 "Strive to make toÂHash, toString, opEÂquals and opCmp
- =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= (4/18) Apr 13 2012 I agree wholeheartedly...
- Nick Sabalausky (8/22) Apr 13 2012 Must be time for a party!
- Robert Clipsham (5/6) Apr 13 2012 nonothrow. May as well drop nothrow and use !throw if we're doing that!
- Andrej Mitrovic (4/7) Apr 13 2012 Might as well rename it to something else. It's called "nothrow", but
- Robert Clipsham (9/17) Apr 13 2012 It can't throw a Throwable, just an error! Maybe we should introduce a
- Andrej Mitrovic (12/13) Apr 13 2012 Well now I'm confused. According to TDPL p307:
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (5/18) Apr 13 2012 That sounds like an error in TDPL. AFAIK nothrow means "may only throw
- Andrej Mitrovic (2/4) Apr 13 2012 But Error is a subclass of Throwable.
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (4/8) Apr 13 2012 Which is why I said it's probably an error in TDPL. :P
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (5/12) Apr 13 2012 I.e. nothrow specifically lets you throw anything deriving from Error,
- Jonathan M Davis (16/21) Apr 13 2012 A nothrow function cannot throw anything derived from Exception. It _can...
- Sven-Hendrik Haase (3/10) Apr 13 2012 Please also make a tag on the Github tools repo so I can update
- Andrej Mitrovic (4/6) Apr 13 2012 Damn. One could spend a good hour or so reading the bug fixes.
- Walter Bright (4/11) Apr 13 2012 Changelogs, deb files, and
- Tyro[17] (4/11) Apr 13 2012 Not Found
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (4/18) Apr 13 2012 The 64-bit .deb file worked fine on my Ubuntu system:
- Tyro[17] (8/30) Apr 13 2012 However I cannot download the .dmg file on my MAC OS X system.
- Walter Bright (2/3) Apr 13 2012 Hmm, I overlooked that one.
- Tyro[17] (5/8) Apr 13 2012 Any idea of when it will be available? And by the way, thank you
- Jacob Carlborg (5/13) Apr 14 2012 Just use DVM, very easy to install new compilers:
- Tyro[17] (3/19) Apr 14 2012 -bash: wget: command not found
- David Nadlinger (4/7) Apr 14 2012 Are you on OS X? DVM could use »curl -O« there, I guess, or you
- Tyro[17] (3/11) Apr 14 2012 unless someone in China sells their own version of the MacBook Pro
- Nick Sabalausky (4/11) Apr 14 2012 OSX doesn't have wget? Seriously?!?
- David Nadlinger (3/5) Apr 14 2012 Yes and yes.
- Jacob Carlborg (10/27) Apr 14 2012 Then download it manually.
- Tyro[17] (5/13) Apr 14 2012 Thanks for the link.... I've resolved the issue but will this
- Walter Bright (3/3) Apr 14 2012 On 4/14/2012 11:45 AM, Jacob Carlborg wrote:
- Walter Bright (2/5) Apr 15 2012 It's up now.
- Nick Sabalausky (3/17) Apr 13 2012 You can still use the zip, that includes all platforms.
- Tyro[17] (28/48) Apr 14 2012 Truth be told, I'm too experienced on the MAC. Only had it
- Tyro[17] (8/16) Apr 14 2012 This is not an attribute problem. I've figured out how to use
- Adam D. Ruppe (2/3) Apr 14 2012 Perhaps running the 32 bit bin on a 64 bit system?
- David Nadlinger (5/8) Apr 14 2012 This is not a problem on OS X. I'm building DMD from source, so I
- Tyro[17] (2/11) Apr 14 2012 /usr/bin/dmd: data
- Tyro[17] (3/18) Apr 14 2012 still learning...
- Tyro[17] (13/28) Apr 14 2012 Cause found resolution still out of reach. The problem is that
- Nick Sabalausky (8/31) Apr 14 2012 That's because you were changing the directory structure. You can delete...
- Tyro[17] (9/52) Apr 14 2012 Thanks... That does the trick. I was trying to mirror the
- Tyro[17] (4/7) Apr 14 2012 That could be the case but I've only used the contents of the osx
- Jacob Carlborg (4/7) Apr 14 2012 Mac OS X can run both 32 and 64bit applications out of the box.
- Walter Bright (3/4) Apr 15 2012 Just FYI, the dmd binaries for OSX are all 64 bit. There seems little pu...
- Tyro[17] (5/19) Apr 14 2012 Thanks to everyone's assistance, I was able to resolve this
- Adam D. Ruppe (21/21) Apr 13 2012 Gah, I just ruined by night by actually
- Walter Bright (5/7) Apr 13 2012 Sorry about that, but the beta has been out for a week and a half, and w...
- Adam D. Ruppe (8/10) Apr 14 2012 I'm sure I'm not the only one who doesn't use the betas though!
- Jonathan M Davis (16/21) Apr 14 2012 Sure, regressions can happen, but they only get found if there are alrea...
- Steven Schveighoffer (5/9) Apr 16 2012 Think for a minute about what you are saying. Then do yourself a favor ...
- Vladimir Panteleev (4/8) Apr 13 2012 I think I've finally narrowed down the cause of "seas of errors"
- Caligo (5/12) Apr 13 2012 Awesome. Thanks for all the hard work guys.
- Piotr Szturmaj (4/11) Apr 14 2012 Thanks for the whole D team for your great work!
- Nick Sabalausky (4/18) Apr 14 2012 Aren't they tagged *in* git? If not, they should be. Git hashes aren't
- Piotr Szturmaj (2/9) Apr 14 2012 Gah... I forgot about tags... it must be a temporary brain malfunction.
- Rene Zwanenburg (2/9) Apr 14 2012 Awesome, thanks to everyone involved.
- kraybourne (3/10) Apr 14 2012 Fantastic!
- Andrej Mitrovic (4/5) Apr 14 2012 So is UFCS now fully implemented or is the implementation missing any
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
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
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
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
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
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
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
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
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
"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
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
"Adam D. Ruppe" <destructionator gmail.com> wrote in message news:oznqhjdcwecwmjmycide forum.dlang.org..."Strive to make toHash, toString, opEquals and opCmp functions pure, nothrow, const and safe. Soon, this will become a requirement." 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 !constThen 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
On 13/04/2012 22:10, Nick Sabalausky wrote:!nothrownonothrow. May as well drop nothrow and use !throw if we're doing that! -- Robert http://octarineparrot.com/
Apr 13 2012
On 4/14/12, Robert Clipsham <robert octarineparrot.com> wrote:On 13/04/2012 22:10, Nick Sabalausky wrote: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.!nothrownonothrow. May as well drop nothrow and use !throw if we're doing that!
Apr 13 2012
On 13/04/2012 23:30, Andrej Mitrovic wrote:On 4/14/12, Robert Clipsham<robert octarineparrot.com> wrote: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/On 13/04/2012 22:10, Nick Sabalausky wrote: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.!nothrownonothrow. May as well drop nothrow and use !throw if we're doing that!
Apr 13 2012
On 4/14/12, Robert Clipsham <robert octarineparrot.com> wrote:It can't throw a ThrowableWell 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
On 14-04-2012 01:49, Andrej Mitrovic wrote:On 4/14/12, Robert Clipsham<robert octarineparrot.com> wrote:That sounds like an error in TDPL. AFAIK nothrow means "may only throw Error". -- - AlexIt can't throw a ThrowableWell 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
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
On 14-04-2012 02:13, Andrej Mitrovic wrote:On 4/14/12, Alex Rønne Petersen<xtzgzorex gmail.com> wrote:Which is why I said it's probably an error in TDPL. :P -- - AlexThat sounds like an error in TDPL. AFAIK nothrow means "may only throw Error".But Error is a subclass of Throwable.
Apr 13 2012
On 14-04-2012 03:45, Alex Rønne Petersen wrote:On 14-04-2012 02:13, Andrej Mitrovic wrote:I.e. nothrow specifically lets you throw anything deriving from Error, nothing else. Anywhere else, you can throw whatever derives from Throwable. -- - AlexOn 4/14/12, Alex Rønne Petersen<xtzgzorex gmail.com> wrote:Which is why I said it's probably an error in TDPL. :PThat sounds like an error in TDPL. AFAIK nothrow means "may only throw Error".But Error is a subclass of Throwable.
Apr 13 2012
On Saturday, April 14, 2012 02:13:45 Andrej Mitrovic wrote:On 4/14/12, Alex Rønne Petersen <xtzgzorex gmail.com> wrote: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 DavisThat sounds like an error in TDPL. AFAIK nothrow means "may only throw Error".But Error is a subclass of Throwable.
Apr 13 2012
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
Never mind, I installed wrong, I was still was using 58's lib files. -joelcnz
Apr 13 2012
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
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.htmlDamn. 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
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
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
On 04/13/2012 05:47 PM, Tyro[17] wrote:On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:The 64-bit .deb file worked fine on my Ubuntu system: http://dlang.org/download.html AliAnother 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
On Saturday, 14 April 2012 at 01:23:14 UTC, Ali Çehreli wrote:On 04/13/2012 05:47 PM, Tyro[17] wrote: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 AndrewOn Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:The 64-bit .deb file worked fine on my Ubuntu system: http://dlang.org/download.html AliAnother 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
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
On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:On 4/13/2012 5:47 PM, Tyro[17] wrote:Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. AndrewThe requested URL /dmd.2.059.dmg was not found on this server.Hmm, I overlooked that one.
Apr 13 2012
On 2012-04-14 05:47, Tyro[17] wrote:On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvm -- /Jacob CarlborgOn 4/13/2012 5:47 PM, Tyro[17] wrote:Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. AndrewThe requested URL /dmd.2.059.dmg was not found on this server.Hmm, I overlooked that one.
Apr 14 2012
On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg wrote:On 2012-04-14 05:47, Tyro[17] wrote:-bash: wget: command not found ThanksOn Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvmOn 4/13/2012 5:47 PM, Tyro[17] wrote:Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. AndrewThe requested URL /dmd.2.059.dmg was not found on this server.Hmm, I overlooked that one.
Apr 14 2012
On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob CarlborgAre you on OS X? DVM could use »curl -O« there, I guess, or you could do a »port/brew install wget«. Davidhttps://bitbucket.org/doob/dvm-bash: wget: command not found
Apr 14 2012
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:unless someone in China sells their own version of the MacBook Pro with a home-brewed version of OS X Lion, I am positive.On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob CarlborgAre you on OS X? DVM could use »curl -O« there, I guess, or you could do a »port/brew install wget«. Davidhttps://bitbucket.org/doob/dvm-bash: wget: command not found
Apr 14 2012
"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:OSX doesn't have wget? Seriously?!?On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborghttps://bitbucket.org/doob/dvm-bash: wget: command not foundAre 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
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
On 2012-04-14 15:04, Tyro[17] wrote:On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg 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 -- /Jacob CarlborgOn 2012-04-14 05:47, Tyro[17] wrote:-bash: wget: command not foundOn Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:Just use DVM, very easy to install new compilers: https://bitbucket.org/doob/dvmOn 4/13/2012 5:47 PM, Tyro[17] wrote:Any idea of when it will be available? And by the way, thank you and everyone else for all your hard work. AndrewThe requested URL /dmd.2.059.dmg was not found on this server.Hmm, I overlooked that one.
Apr 14 2012
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#!usageThanks for the link.... I've resolved the issue but will this nugget for future use. Andrew
Apr 14 2012
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
On 4/13/2012 6:34 PM, Walter Bright wrote:On 4/13/2012 5:47 PM, Tyro[17] wrote:It's up now.The requested URL /dmd.2.059.dmg was not found on this server.Hmm, I overlooked that one.
Apr 15 2012
"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:You can still use the zip, that includes all platforms.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
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...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!?! AndrewOn Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:You can still use the zip, that includes all platforms.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 14 2012
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!?! AndrewThis 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
On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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:/usr/bin/dmd: dataOn Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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:still learning... /usr/share/dmd/bin/dmd: Mach-O 64-bit executable x86_64On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:/usr/bin/dmd: dataOn Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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: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/importOn Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:/usr/bin/dmd: dataOn Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
"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: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.On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote: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/importOn Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:/usr/bin/dmd: dataOn Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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...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. AndrewOn Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote: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.On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote: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/importOn Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:/usr/bin/dmd: dataOn Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote: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-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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: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.-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
On 2012-04-14 15:57, Adam D. Ruppe wrote:On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:Mac OS X can run both 32 and 64bit applications out of the box. -- /Jacob Carlborg-bash: /usr/bin/dmd: cannot execute binary filePerhaps running the 32 bit bin on a 64 bit system?
Apr 14 2012
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
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:Thanks to everyone's assistance, I was able to resolve this issue. Your assistance was truly appreciated. AndrewAnother 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 14 2012
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
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
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
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: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 DavisSorry 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!
Apr 14 2012
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: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 -SteveSorry 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!
Apr 16 2012
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
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
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
"Piotr Szturmaj" <bncrbme jadamspam.pl> wrote in message news:jmbung$1tp5$1 digitalmars.com...Walter Bright wrote:Aren't they tagged *in* git? If not, they should be. Git hashes aren't realistically human-usable anyway.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
Nick Sabalausky wrote:"Piotr Szturmaj"<bncrbme jadamspam.pl> wrote in message news:jmbung$1tp5$1 digitalmars.com...Gah... I forgot about tags... it must be a temporary brain malfunction.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
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
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
On 4/13/12, Walter Bright <newshound2 digitalmars.com> wrote:http://www.digitalmars.com/d/2.0/changelog.htmlSo 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