digitalmars.D.announce - DMD 1.013 release
- Walter Bright (3/3) Apr 19 2007 Bug fixes, some of them rather nasty.
- Deewiant (4/5) Apr 19 2007 The file doesn't exist.
- Walter Bright (2/6) Apr 19 2007 Should be there now!
- Jarrett Billingsley (4/7) Apr 19 2007 Wee! 1121 fixed.
- Frank Benoit (keinfarbton) (2/7) Apr 19 2007 Thanks for all these bug fixes.
- Tom S (12/17) Apr 19 2007 Thank you thank you thank you thank you :D
- Pragma (5/23) Apr 20 2007 Tom, any way you could email me on that? I'm starting to re-kindle DDL ...
- Pragma (4/27) Apr 20 2007 Nevermind. I just checked my mailbox. :)
- Chris Nicholson-Sauls (3/8) Apr 19 2007 A VERY nice list of fixes, Walter! :) Thanks as always.
- Roberto Mariottini (9/15) Apr 20 2007 What about having some predefined suffix to represent common two's power...
- jcc7 (6/22) Apr 20 2007 Or how about just use CTFE with a power function? Let's put our new toys...
- renoX (7/31) Apr 20 2007 Why would 'k' be 1024 instead of the normal 1000?
- Tom (5/10) Apr 20 2007 Thanks!
- Chris Miller (2/2) Apr 20 2007 Great release, thanks! Now I no longer need to use older DMD versions.
- Christian Kamm (5/5) Apr 20 2007 I get a
- torhu (14/21) Apr 20 2007 Are you sure you are using dmd 1.013? Compiling std.format directly,
- Walter Bright (3/10) Apr 20 2007 It probably means you're trying to compile with a new phobos and an
- Christian Kamm (5/7) Apr 20 2007 Ah, I'm very sorry: I forgot to upgrade to the new rebuild!
- torhu (4/6) Apr 20 2007 There was some code added in 1.012, some in 1.013 (some of us are sick
- Walter Bright (2/9) Apr 20 2007 They're still incomplete.
- Deewiant (5/12) Apr 21 2007 I think it'd good to post about them anyway, though. .stringof was never
- Lionello Lunesu (7/12) Apr 22 2007 Hehe, me too. I add each new DMD to a local SVN, so I can check the chan...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (8/14) Apr 22 2007 It's also a good way to track changes needed for porting over to GDC...
- ricky (3/3) Apr 22 2007 I downloaded the 1.013 release but when i execute dmd.exe on a winxp
- Bill Baxter (5/7) Apr 22 2007 It should say 1.013.
- ricky (10/17) Apr 22 2007 I've downloaded the latest from the ftp site and extracted it on my c:\
- Frits van Bommel (4/25) Apr 23 2007 You should download the file with the explicit version number
- Walter Bright (3/5) Apr 23 2007 Use this download link:
- Bill Baxter (7/14) Apr 23 2007 This is Reason Number 1 why the handy dmd.zip link is a bad idea.
- BCS (3/24) Apr 23 2007 I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that...
- Bill Baxter (6/32) Apr 23 2007 I know it's deliberate. I'm just saying it's not such a great idea
- renoX (4/30) Apr 23 2007 Then it should be named as such dmd_stable.zip or something like that.
- Bill Baxter (9/40) Apr 23 2007 That's not so useful either. I've got a dmd_stable.zip sitting on my HD...
- BCS (3/10) Apr 23 2007 you can automate things that way.
- Bill Baxter (6/18) Apr 23 2007 I'm talking about a link on a web page. If you're looking at the web
- 0ffh (3/3) Apr 23 2007 Well, the link text could be something like "stable DMD version"
- Bill Baxter (8/13) Apr 23 2007 Exactly. The page now reads:
- =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= (8/14) Apr 23 2007 A compromise:
Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zip
Apr 19 2007
Walter Bright wrote:http://ftp.digitalmars.com/dmd.1.013.zipThe file doesn't exist. -- Remove ".doesnotlike.spam" from the mail address.
Apr 19 2007
Deewiant wrote:Walter Bright wrote:Should be there now!http://ftp.digitalmars.com/dmd.1.013.zipThe file doesn't exist.
Apr 19 2007
"Walter Bright" <newshound1 digitalmars.com> wrote in message news:f08epc$gkk$1 digitalmars.com...Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipWee! 1121 fixed. And I guess all those _other_ ones are OK too ;)
Apr 19 2007
Walter Bright schrieb:Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipThanks for all these bug fixes.
Apr 19 2007
Walter Bright wrote:Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipThank you thank you thank you thank you :D Our project finally compiles, links and runs! It turned out that my DDL port was just fine and we're finally able to make the switch to 1.013 :) The Optlink crash has disappeared as well :) Now I'll have to do a few tweaks to remove -d and -v1, but now that I know DMD generates valid code, it should be a breeze. Walter.cookies++; -- Tomasz Stachowiak http://h3.team0xf.com/ h3/h3r3tic on #D freenode
Apr 19 2007
Tom S wrote:Walter Bright wrote:Tom, any way you could email me on that? I'm starting to re-kindle DDL to get it finalized for post 1.0 compatibility and ELF support. -- - EricAnderton at yahooBug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipThank you thank you thank you thank you :D Our project finally compiles, links and runs! It turned out that my DDL port was just fine and we're finally able to make the switch to 1.013 :) The Optlink crash has disappeared as well :) Now I'll have to do a few tweaks to remove -d and -v1, but now that I know DMD generates valid code, it should be a breeze. Walter.cookies++;
Apr 20 2007
Pragma wrote:Tom S wrote:Nevermind. I just checked my mailbox. :) -- - EricAnderton at yahooWalter Bright wrote:Tom, any way you could email me on that? I'm starting to re-kindle DDL to get it finalized for post 1.0 compatibility and ELF support.Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipThank you thank you thank you thank you :D Our project finally compiles, links and runs! It turned out that my DDL port was just fine and we're finally able to make the switch to 1.013 :) The Optlink crash has disappeared as well :) Now I'll have to do a few tweaks to remove -d and -v1, but now that I know DMD generates valid code, it should be a breeze. Walter.cookies++;
Apr 20 2007
Walter Bright wrote:Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zipA VERY nice list of fixes, Walter! :) Thanks as always. -- Chris Nicholson-Sauls
Apr 19 2007
Walter Bright wrote:Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.htmlphobos/std/file.d line 1422: size_t BUFSIZ = 4069 * 16;What about having some predefined suffix to represent common two's powers? int x = 4_k; // == 4 * 1024 == 4_096 int y = 8_M; // == 8 * 1024_k == 8_388_608 int z = 2_G; // == 2 * 1024_M == 2_147_483_648 and obviously: size_t BUFSIZ = 16 * 4_k; This could prevent many typos. Ciao
Apr 20 2007
== Quote from Roberto Mariottini (rmariottini mail.com)'s articleWalter Bright wrote:Or how about just use CTFE with a power function? Let's put our new toys to use. I guess it'll take a little longer to compile, but I think the extra time would be worth it to gain code clarity (and I think that clear code is less likely to have typos). jcc7Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html> > phobos/std/file.d line 1422: > size_t BUFSIZ = 4069 * 16; What about having some predefined suffix to represent common two's powers? int x = 4_k; // == 4 * 1024 == 4_096 int y = 8_M; // == 8 * 1024_k == 8_388_608 int z = 2_G; // == 2 * 1024_M == 2_147_483_648 and obviously: size_t BUFSIZ = 16 * 4_k; This could prevent many typos. Ciao
Apr 20 2007
Roberto Mariottini a écrit :Walter Bright wrote:Why would 'k' be 1024 instead of the normal 1000? As an aside, I like the syntax <number>_<type> as a syntax sugar for <type>(<number>), this allow easy to read computation with units: nb_apple = 10_apple + 20_apple; regards, renoXBug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html> > phobos/std/file.d line 1422: > size_t BUFSIZ = 4069 * 16; What about having some predefined suffix to represent common two's powers? int x = 4_k; // == 4 * 1024 == 4_096 int y = 8_M; // == 8 * 1024_k == 8_388_608 int z = 2_G; // == 2 * 1024_M == 2_147_483_648and obviously: size_t BUFSIZ = 16 * 4_k; This could prevent many typos. Ciao
Apr 20 2007
Thanks! -- Tom; (Tomás Rossi) Walter Bright escribió:Bug fixes, some of them rather nasty. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.013.zip
Apr 20 2007
Great release, thanks! Now I no longer need to use older DMD versions. - Chris
Apr 20 2007
I get a /d/src/phobos/std/format.d(1459): found ':' when expecting ',' /d/src/phobos/std/format.d(1459): found ':' when expecting ',' when trying to compile with the new version. The offending lines are in a unittest and seem to try to use associative array literals?
Apr 20 2007
Christian Kamm wrote:I get a /d/src/phobos/std/format.d(1459): found ':' when expecting ',' /d/src/phobos/std/format.d(1459): found ':' when expecting ',' when trying to compile with the new version. The offending lines are in a unittest and seem to try to use associative array literals?Are you sure you are using dmd 1.013? Compiling std.format directly, with -unittest works just fine. This example contains the same line, using AA literals, and compiles for me: --- import std.stdio; void main() { char[5][int] aa = ([3:"hello", 4:"betty"]); writefln(aa); } --- Output: [3:[h,e,l,l,o],4:[b,e,t,t,y]]
Apr 20 2007
Christian Kamm wrote:I get a /d/src/phobos/std/format.d(1459): found ':' when expecting ',' /d/src/phobos/std/format.d(1459): found ':' when expecting ',' when trying to compile with the new version. The offending lines are in a unittest and seem to try to use associative array literals?It probably means you're trying to compile with a new phobos and an older dmd, i.e. your dmd hasn't been updated.
Apr 20 2007
It probably means you're trying to compile with a new phobos and an older dmd, i.e. your dmd hasn't been updated.Ah, I'm very sorry: I forgot to upgrade to the new rebuild! I didn't see anything about AA literals in the changelog though - when have they been added? Cheers, Christian
Apr 20 2007
Christian Kamm wrote:I didn't see anything about AA literals in the changelog though - when have they been added?There was some code added in 1.012, some in 1.013 (some of us are sick enough to actually diff the source). They're probably not announced yet because there are some basics missing, like allowing strings for keys.
Apr 20 2007
torhu wrote:Christian Kamm wrote:They're still incomplete.I didn't see anything about AA literals in the changelog though - when have they been added?There was some code added in 1.012, some in 1.013 (some of us are sick enough to actually diff the source). They're probably not announced yet because there are some basics missing, like allowing strings for keys.
Apr 20 2007
torhu wrote:Christian Kamm wrote:I think it'd good to post about them anyway, though. .stringof was never announced, yet it's been in the compilers for a while and even made it to the spec. -- Remove ".doesnotlike.spam" from the mail address.I didn't see anything about AA literals in the changelog though - when have they been added?There was some code added in 1.012, some in 1.013 (some of us are sick enough to actually diff the source). They're probably not announced yet because there are some basics missing, like allowing strings for keys.
Apr 21 2007
"torhu" <fake address.dude> wrote in message news:f0b8qq$2vjm$1 digitalmars.com...Christian Kamm wrote:Hehe, me too. I add each new DMD to a local SVN, so I can check the changes (with the changelog at hand, it's a very good way to learn compiler internals!) and it makes it easy to test code with older versions of DMD. Highly recommended! L.I didn't see anything about AA literals in the changelog though - when have they been added?There was some code added in 1.012, some in 1.013 (some of us are sick enough to actually diff the source).
Apr 22 2007
Lionello Lunesu wrote:It's also a good way to track changes needed for porting over to GDC... I have a set of diffs going at http://gdcmac.sourceforge.net/diffs/, that you can view if you don't feel like downloading/diffing yourself. (divided into changes to front-end source "src" and to spec/docs "html") Even better would be an official public DMD source code repository ? Like the one GDC has: http://dgcc.svn.sourceforge.net/viewvc/dgcc/ --andersThere was some code added in 1.012, some in 1.013 (some of us are sick enough to actually diff the source).Hehe, me too. I add each new DMD to a local SVN, so I can check the changes (with the changelog at hand, it's a very good way to learn compiler internals!) and it makes it easy to test code with older versions of DMD.
Apr 22 2007
I downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something? negerns
Apr 22 2007
ricky wrote:I downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?It should say 1.013. You either unzipped 1.013 to the wrong place or you have a different 1.010 installed somewhere else that comes first on your path. --bb
Apr 22 2007
Bill Baxter wrote:ricky wrote:something?I downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missingIt should say 1.013. You either unzipped 1.013 to the wrong place or you have a different 1.010 installed somewhere else that comes first on your path. --bbI've downloaded the latest from the ftp site and extracted it on my c:\ path and another path. It still says it's version 1.010. I also noticed that the dates of the files dmd and dmd.exe are dated 03/26/07 and 03/25/07 respectively. I also removed my path reference to c:\dmd\bin and checked. I've downloaded releases prior to 1.0 but this is the first time i've encountered this. What else could be wrong? negerns
Apr 22 2007
ricky wrote:Bill Baxter wrote: > ricky wrote: >> I downloaded the 1.013 release but when i execute dmd.exe on a winxp >> commandline shell, it says it's version 1.010. Or am I missing something? > > It should say 1.013. > > You either unzipped 1.013 to the wrong place or you have a different > 1.010 installed somewhere else that comes first on your path. > > --bb I've downloaded the latest from the ftp site and extracted it on my c:\ path and another path. It still says it's version 1.010. I also noticed that the dates of the files dmd and dmd.exe are dated 03/26/07 and 03/25/07 respectively. I also removed my path reference to c:\dmd\bin and checked. I've downloaded releases prior to 1.0 but this is the first time i've encountered this. What else could be wrong?You should download the file with the explicit version number (dmd.1.013.zip) not dmd.zip. The latter has been put back to 1.010 due to problems with 1.011 & 1.012 (IIRC they were fixed in 1.013 though).
Apr 23 2007
ricky wrote:I downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
Walter Bright wrote:ricky wrote:This is Reason Number 1 why the handy dmd.zip link is a bad idea. <quote voice="Forrest Gump"> My momma always said, "dmd.zip was like a box of chocolates. You never know what you're gonna get." </quote> --bbI downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
Reply to Bill,Walter Bright wrote:I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.ricky wrote:This is Reason Number 1 why the handy dmd.zip link is a bad idea. <quote voice="Forrest Gump"> My momma always said, "dmd.zip was like a box of chocolates. You never know what you're gonna get." </quote> --bbI downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
BCS wrote:Reply to Bill,I know it's deliberate. I'm just saying it's not such a great idea because you end up not being sure which version(s) of DMD you have. You have to unpack the zip and run dmd to actually see which you got. Hence, a lot like a box of chocolates. --bbWalter Bright wrote:I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.ricky wrote:This is Reason Number 1 why the handy dmd.zip link is a bad idea. <quote voice="Forrest Gump"> My momma always said, "dmd.zip was like a box of chocolates. You never know what you're gonna get." </quote> --bbI downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
BCS a écrit :Reply to Bill,Then it should be named as such dmd_stable.zip or something like that. I agree that the dmd.zip is not a good idea. renoXWalter Bright wrote:I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.ricky wrote:This is Reason Number 1 why the handy dmd.zip link is a bad idea. <quote voice="Forrest Gump"> My momma always said, "dmd.zip was like a box of chocolates. You never know what you're gonna get." </quote> --bbI downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
renoX wrote:BCS a écrit :That's not so useful either. I've got a dmd_stable.zip sitting on my HD or file server that I downloaded a while ago. I don't remember when. So is it the latest stable version or not? The only way to know is to unzip it to a temp location, see what's inside. Why not just make the link for dmd stable on the changelog directly point to dmd.1.010.zip, instead of a symlink to it? Why deliberately throw away useful information? --bbReply to Bill,Then it should be named as such dmd_stable.zip or something like that. I agree that the dmd.zip is not a good idea.Walter Bright wrote:I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.ricky wrote:This is Reason Number 1 why the handy dmd.zip link is a bad idea. <quote voice="Forrest Gump"> My momma always said, "dmd.zip was like a box of chocolates. You never know what you're gonna get." </quote> --bbI downloaded the 1.013 release but when i execute dmd.exe on a winxp commandline shell, it says it's version 1.010. Or am I missing something?Use this download link: http://ftp.digitalmars.com/dmd.1.013.zip
Apr 23 2007
Reply to Bill,Why not just make the link for dmd stable on the changelog directly point to dmd.1.010.zip, instead of a symlink to it? Why deliberately throw away useful information? --bbyou can automate things that way. wget http://ftp.digitalmars.com/dmd.zip
Apr 23 2007
BCS wrote:Reply to Bill,I'm talking about a link on a web page. If you're looking at the web page then presumably you are a human and not an automaton. :-) The existence of a symlink is fine and dandy. Just it shouldn't be main hyperlink for stable dmd on the web page. --bbWhy not just make the link for dmd stable on the changelog directly point to dmd.1.010.zip, instead of a symlink to it? Why deliberately throw away useful information? --bbyou can automate things that way. wget http://ftp.digitalmars.com/dmd.zip
Apr 23 2007
Well, the link text could be something like "stable DMD version" and still point to a file like, e.g., dmd-1.010.zip.... Rgeards, Frank
Apr 23 2007
0ffh wrote:Well, the link text could be something like "stable DMD version" and still point to a file like, e.g., dmd-1.010.zip.... Rgeards, FrankExactly. The page now reads: Download latest stable (1.010) <a href="dmd.zip">D compiler<A> for Win32 and x86 linux It should instead be: Download latest stable (1.010) <a href="dmd.1.010.zip">D compiler<A> for Win32 and x86 linux --bb
Apr 23 2007
0ffh wrote:Well, the link text could be something like "stable DMD version" and still point to a file like, e.g., dmd-1.010.zip.... Rgeards, FrankA compromise: dmd-stable.zip -> dmd.1.010.zip dmd-stable.1.010.zip -> dmd.1.010.zip dmd-unstable.zip or dmd.zip -> dmd.1.013.zip The versions with numbers for humans, the other two for the automata. Then the download/changelog web page could point to the latest file (with version number) of both "branches". Symlinking doesn't cost anything.
Apr 23 2007