www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dmd 1.059 and 2.044 release

reply Walter Bright <newshound1 digitalmars.com> writes:
Highlights are the improved gdb support, better error messages, better json 
support, unittest changes, and a number of nuisance compiler bugs fixed.

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


http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.044.zip

Thanks to the many people who contributed to this update!
May 02 2010
next sibling parent "Simen kjaeraas" <simen.kjaras gmail.com> writes:
Walter Bright <newshound1 digitalmars.com> wrote:

 Highlights are the improved gdb support, better error messages, better  
 json support, unittest changes, and a number of nuisance compiler bugs  
 fixed.

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


 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip

 Thanks to the many people who contributed to this update!
First! :p The future is ever Brighter. Thanks all! -- Simen
May 02 2010
prev sibling next sibling parent reply Bernard Helyer <b.helyer gmail.com> writes:
On 03/05/10 09:28, Walter Bright wrote:
 Highlights are the improved gdb support, better error messages, better
 json support, unittest changes, and a number of nuisance compiler bugs
 fixed.

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


 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip

 Thanks to the many people who contributed to this update!
Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.
May 02 2010
next sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Bernard Helyer wrote:
 Unfortunately, GDB still doesn't work with it over here. Robert is going 
 to try one of my test cases and see what he can see.
Good.
May 02 2010
next sibling parent reply Bernard Helyer <b.helyer gmail.com> writes:
On 03/05/10 11:40, Walter Bright wrote:
 Bernard Helyer wrote:
 Unfortunately, GDB still doesn't work with it over here. Robert is
 going to try one of my test cases and see what he can see.
Good.
I can't stop laughing. I assume you meant to trim that quote down some! *g*
May 02 2010
parent Walter Bright <newshound1 digitalmars.com> writes:
Bernard Helyer wrote:
 On 03/05/10 11:40, Walter Bright wrote:
 Bernard Helyer wrote:
 Unfortunately, GDB still doesn't work with it over here. Robert is
 going to try one of my test cases and see what he can see.
Good.
I can't stop laughing. I assume you meant to trim that quote down some! *g*
LOL, I meant good that Robert is working on it, not good that it doesn't work!
May 02 2010
prev sibling parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 03/05/10 00:40, Walter Bright wrote:
 Bernard Helyer wrote:
 Unfortunately, GDB still doesn't work with it over here. Robert is
 going to try one of my test cases and see what he can see.
Good.
It seems changeset 451, your version of the fix, doesn't work... Despite me testing that it worked when you committed it :/ Reverting the change fixes the issue.
May 02 2010
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Robert Clipsham wrote:
 It seems changeset 451, your version of the fix, doesn't work... Despite 
 me testing that it worked when you committed it :/ Reverting the change 
 fixes the issue.
Any ideas why?
May 02 2010
parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 03/05/10 00:59, Walter Bright wrote:
 Any ideas why?
dwarf.c:1525: infobuf->write32(*++pparamidx); // DW_AT_type *++pparamidx is 0 (and always seems to be). GDB doesn't like DW_AT_type being 0, if it has no type there shouldn't be a DW_AT_type at all. This said, that code looks wrong, as *++pparamidx is always 0 according to gdb, which it shouldn't be. Replacing it with the old code: unsigned x = dwarf_typidx(p->Ptype); infobuf->write32(x); // DW_AT_type Seems to work most of the time, but breaks when faced with: void function(void function(void function())) foobar; And other cases. Simplest solution seems to be to revert the change, but it's up to you what you do... As long as it's fixed I don't care how it's done :)
May 02 2010
parent Walter Bright <newshound1 digitalmars.com> writes:
Robert Clipsham wrote:
 And other cases. Simplest solution seems to be to revert the change, but 
 it's up to you what you do... As long as it's fixed I don't care how 
 it's done :)
Dang, I found the problem. Working on a fix.
May 02 2010
prev sibling parent dennis luehring <dl.soluz gmx.net> writes:
Am 03.05.2010 01:29, schrieb Bernard Helyer:
 On 03/05/10 09:28, Walter Bright wrote:
  Highlights are the improved gdb support, better error messages, better
  json support, unittest changes, and a number of nuisance compiler bugs
  fixed.

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


  http://www.digitalmars.com/d/2.0/changelog.html
  http://ftp.digitalmars.com/dmd.2.044.zip

  Thanks to the many people who contributed to this update!
Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.
some got an D able GDB version for windows around?
May 02 2010
prev sibling next sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
2.044 seems to work after some tests of mine.

Many small improvements to error diagnostics and recovery<
I'd like to see few examples of the difference.
Now all unittests are run, even if some fail<
I have tried to compile this with -unittest : int sqr(int x) { return x * 2; } unittest { assert(sqr(10) == 100); } unittest { assert(sqr(5) == 25); } void main() {} It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something: test(3): unittest failure core.exception.AssertError test(3): unittest failure Bye, bearophile
May 02 2010
next sibling parent Walter Bright <newshound1 digitalmars.com> writes:
bearophile wrote:
 It contains two wrong unit tests, but dmd prints just about the first one,
maybe I am missing something:
Looks like I broke it with a last minute change. Sigh.
May 02 2010
prev sibling next sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
bearophile wrote:
 It contains two wrong unit tests, but dmd prints just about the first one,
 maybe I am missing something:
 test(3): unittest failure 
 core.exception.AssertError test(3): unittest failure
changeset 289 fixes it
May 02 2010
parent reply Adam Ruppe <destructionator gmail.com> writes:
Any idea why the new dmd2 would print
2:
to the console when compiling? My big website project for a client
does that for most of the executables created, and when I made a typo
in one of the functions, dmd went into an endless loop :S

I haven't narrowed it down to something I can post yet. It might be
related to the fact that I'm passing about a dozen files to the dmd
command line all at once; I don't know. And I've gotta get back to
work finishing this site, so I don't know when I'll have the time to
track it down. I'll just stick to the last version for now.
May 02 2010
parent reply Bernard Helyer <b.helyer gmail.com> writes:
On 03/05/10 14:40, Adam Ruppe wrote:
 Any idea why the new dmd2 would print
 2:
 to the console when compiling? My big website project for a client
 does that for most of the executables created, and when I made a typo
 in one of the functions, dmd went into an endless loop :S

 I haven't narrowed it down to something I can post yet. It might be
 related to the fact that I'm passing about a dozen files to the dmd
 command line all at once; I don't know. And I've gotta get back to
 work finishing this site, so I don't know when I'll have the time to
 track it down. I'll just stick to the last version for now.
I've had the infinite loop thing, too. As well as the '2:' to ouput.
May 02 2010
parent Walter Bright <newshound1 digitalmars.com> writes:
Bernard Helyer wrote:
 I've had the infinite loop thing, too. As well as the '2:' to ouput.
My fault, grr.
May 02 2010
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
bearophile wrote:
 It contains two wrong unit tests, but dmd prints just about the first one,
maybe I am missing something:
 test(3): unittest failure
 core.exception.AssertError test(3): unittest failure
How about signing up for the beta mailing list?
May 02 2010
parent Leandro Lucarella <llucax gmail.com> writes:
Walter Bright, el  2 de mayo a las 23:27 me escribiste:
 bearophile wrote:
It contains two wrong unit tests, but dmd prints just about the first one,
maybe I am missing something:
test(3): unittest failure
core.exception.AssertError test(3): unittest failure
How about signing up for the beta mailing list?
This is getting interesting, after all these years denying the need for a (public) beta release, you are now asking people to join the beta ML =D Don't get me wrong, I'm very happy that you are. I just hope your barrier to embrace a good idea is a little lower so it doesn't take that many years to convince you =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Si pudiera acercarme un poco más, hacia vos Te diría que me tiemblan los dos pies, cuando me mirás Si supieras todo lo que me costó, llegar Hoy sabrías que me cuesta respirar, cuando me mirás
May 03 2010
prev sibling next sibling parent Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
D is getting better and better.

On Mon, May 3, 2010 at 5:28 AM, Walter Bright <newshound1 digitalmars.com>wrote:

 Highlights are the improved gdb support, better error messages, better json
 support, unittest changes, and a number of nuisance compiler bugs fixed.

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


 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip

 Thanks to the many people who contributed to this update!
-- -Arth
May 02 2010
prev sibling next sibling parent "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
On Sun, 02 May 2010 14:28:25 -0700, Walter Bright wrote:

 Highlights are the improved gdb support, better error messages, better
 json support, unittest changes, and a number of nuisance compiler bugs
 fixed.
 
 http://www.digitalmars.com/d/1.0/changelog.html
 http://ftp.digitalmars.com/dmd.1.059.zip
 
 
 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip
 
 Thanks to the many people who contributed to this update!
Great release. :) The unittest feature is my favourite this time. I see that the new std.complex has been included in this release, but also that mention of it was removed from the changelog. It's a breaking change, so it should be listed. Also, std.gregorian made it into this release, but is not mentioned in the changelog. -Lars
May 03 2010
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 5/2/10 23:28, Walter Bright wrote:
 Highlights are the improved gdb support, better error messages, better
 json support, unittest changes, and a number of nuisance compiler bugs
 fixed.

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


 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip

 Thanks to the many people who contributed to this update!
If anyone cares, the release tags don't match, they are 1.058 and 2.043.
May 03 2010
parent reply Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
Please check the download page again. I think they're fixing something in
the current release.

On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com> wrote:

 On 5/2/10 23:28, Walter Bright wrote:

 Highlights are the improved gdb support, better error messages, better
 json support, unittest changes, and a number of nuisance compiler bugs
 fixed.

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


 http://www.digitalmars.com/d/2.0/changelog.html
 http://ftp.digitalmars.com/dmd.2.044.zip

 Thanks to the many people who contributed to this update!
If anyone cares, the release tags don't match, they are 1.058 and 2.043.
-- -Arth
May 03 2010
parent reply Jacob Carlborg <doob me.com> writes:
On 5/3/10 12:53, Arth Lloyd Flores wrote:
 Please check the download page again. I think they're fixing something
 in the current release.

 On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com
 <mailto:doob me.com>> wrote:

     On 5/2/10 23:28, Walter Bright wrote:

         Highlights are the improved gdb support, better error messages,
         better
         json support, unittest changes, and a number of nuisance
         compiler bugs
         fixed.

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


         http://www.digitalmars.com/d/2.0/changelog.html
         http://ftp.digitalmars.com/dmd.2.044.zip

         Thanks to the many people who contributed to this update!


     If anyone cares, the release tags don't match, they are 1.058 and 2.043.




 --
 -Arth
I was referring to changeset 464 and 465 which say "release 1.058" and "release 2.043". http://www.dsource.org/projects/dmd/changeset/464
May 03 2010
parent Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
Oh I see I'm sorry for misunderstanding.

On Mon, May 3, 2010 at 8:39 PM, Jacob Carlborg <doob me.com> wrote:

 On 5/3/10 12:53, Arth Lloyd Flores wrote:

 Please check the download page again. I think they're fixing something
 in the current release.

 On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com
 <mailto:doob me.com>> wrote:

    On 5/2/10 23:28, Walter Bright wrote:

        Highlights are the improved gdb support, better error messages,
        better
        json support, unittest changes, and a number of nuisance
        compiler bugs
        fixed.

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


        http://www.digitalmars.com/d/2.0/changelog.html
        http://ftp.digitalmars.com/dmd.2.044.zip

        Thanks to the many people who contributed to this update!


    If anyone cares, the release tags don't match, they are 1.058 and
 2.043.




 --
 -Arth
I was referring to changeset 464 and 465 which say "release 1.058" and "release 2.043". http://www.dsource.org/projects/dmd/changeset/464
-- -Arth
May 03 2010