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 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 next sibling parent 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
prev 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:
 test(3): unittest failure
 core.exception.AssertError test(3): unittest failure

How about signing up for the beta mailing list?
May 02 2010
prev sibling next sibling parent Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
--0016e68def2712bcf30485a6a857
Content-Type: text/plain; charset=ISO-8859-1

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 --0016e68def2712bcf30485a6a857 Content-Type: text/html; charset=ISO-8859-1 D is getting better and better.<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 5:28 AM, Walter Bright <span dir="ltr">&lt;<a href="mailto:newshound1 digitalmars.com">newshound1 digitalmar .com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed.<br> <br> <a href="http://www.digitalmars.com/d/1.0/changelog.html" target="_blank">http://www.digitalmars.com/d/1.0/changelog.html</a><br> <a href="http://ftp.digitalmars.com/dmd.1.059.zip" target="_blank">http://ftp.digitalmars.com/dmd.1.059.zip</a><br> <br> <br> <a href="http://www.digitalmars.com/d/2.0/changelog.html" target="_blank">http://www.digitalmars.com/d/2.0/changelog.html</a><br> <a href="http://ftp.digitalmars.com/dmd.2.044.zip" target="_blank">http://ftp.digitalmars.com/dmd.2.044.zip</a><br> <br> Thanks to the many people who contributed to this update!<br> </blockquote></div><br><br clear="all"><br>-- <br>-Arth<br> --0016e68def2712bcf30485a6a857--
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 next 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
next sibling parent reply Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
--00c09f8de75d7e229c0485ae6594
Content-Type: text/plain; charset=ISO-8859-1

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 --00c09f8de75d7e229c0485ae6594 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Please check the download page again. I think they&#39;re fixing something = in the current release.<br><br><div class=3D"gmail_quote">On Mon, May 3, 20= 10 at 5:30 PM, Jacob Carlborg <span dir=3D"ltr">&lt;<a href=3D"mailto:doob = me.com">doob me.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><div><div></div><div class=3D"h5">On 5/2/10= 23:28, Walter Bright wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Highlights are the improved gdb support, better error messages, better<br> json support, unittest changes, and a number of nuisance compiler bugs<br> fixed.<br> <br> <a href=3D"http://www.digitalmars.com/d/1.0/changelog.html" target=3D"_blan= k">http://www.digitalmars.com/d/1.0/changelog.html</a><br> <a href=3D"http://ftp.digitalmars.com/dmd.1.059.zip" target=3D"_blank">http= ://ftp.digitalmars.com/dmd.1.059.zip</a><br> <br> <br> <a href=3D"http://www.digitalmars.com/d/2.0/changelog.html" target=3D"_blan= k">http://www.digitalmars.com/d/2.0/changelog.html</a><br> <a href=3D"http://ftp.digitalmars.com/dmd.2.044.zip" target=3D"_blank">http= ://ftp.digitalmars.com/dmd.2.044.zip</a><br> <br> Thanks to the many people who contributed to this update!<br> </blockquote> <br></div></div> If anyone cares, the release tags don&#39;t match, they are 1.058 and 2.043= .<br> </blockquote></div><br><br clear=3D"all"><br>-- <br>-Arth<br> --00c09f8de75d7e229c0485ae6594--
May 03 2010
parent 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
prev sibling parent Arth Lloyd Flores <floresarthlloyd gmail.com> writes:
--0016e68f9ebdda513f0485bd7b1f
Content-Type: text/plain; charset=ISO-8859-1

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 --0016e68f9ebdda513f0485bd7b1f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Oh I see I&#39;m sorry for misunderstanding.<br><br><div class=3D"gmail_quo= te">On Mon, May 3, 2010 at 8:39 PM, Jacob Carlborg <span dir=3D"ltr">&lt;<a= href=3D"mailto:doob me.com">doob me.com</a>&gt;</span> wrote:<br><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex;"> <div class=3D"im">On 5/3/10 12:53, Arth Lloyd Flores wrote:<br> </div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l= eft:1px #ccc solid;padding-left:1ex"><div class=3D"im"> Please check the download page again. I think they&#39;re fixing something<= br> in the current release.<br> <br> On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg &lt;<a href=3D"mailto:doob m= e.com" target=3D"_blank">doob me.com</a><br></div><div><div></div><div clas= s=3D"h5"> &lt;mailto:<a href=3D"mailto:doob me.com" target=3D"_blank">doob me.com</a>= &gt;&gt; wrote:<br> <br> =A0 =A0On 5/2/10 23:28, Walter Bright wrote:<br> <br> =A0 =A0 =A0 =A0Highlights are the improved gdb support, better error messa= ges,<br> =A0 =A0 =A0 =A0better<br> =A0 =A0 =A0 =A0json support, unittest changes, and a number of nuisance<br=

=A0 =A0 =A0 =A0fixed.<br> <br> =A0 =A0 =A0 =A0<a href=3D"http://www.digitalmars.com/d/1.0/changelog.html"= target=3D"_blank">http://www.digitalmars.com/d/1.0/changelog.html</a><br> =A0 =A0 =A0 =A0<a href=3D"http://ftp.digitalmars.com/dmd.1.059.zip" target= =3D"_blank">http://ftp.digitalmars.com/dmd.1.059.zip</a><br> <br> <br> =A0 =A0 =A0 =A0<a href=3D"http://www.digitalmars.com/d/2.0/changelog.html"= target=3D"_blank">http://www.digitalmars.com/d/2.0/changelog.html</a><br> =A0 =A0 =A0 =A0<a href=3D"http://ftp.digitalmars.com/dmd.2.044.zip" target= =3D"_blank">http://ftp.digitalmars.com/dmd.2.044.zip</a><br> <br> =A0 =A0 =A0 =A0Thanks to the many people who contributed to this update!<b= r> <br> <br> =A0 =A0If anyone cares, the release tags don&#39;t match, they are 1.058 a= nd 2.043.<br> <br> <br> <br> <br></div></div> --<br> -Arth<br> </blockquote> <br> I was referring to changeset 464 and 465 which say &quot;release 1.058&quot= ; and &quot;release 2.043&quot;. <a href=3D"http://www.dsource.org/projects= /dmd/changeset/464" target=3D"_blank">http://www.dsource.org/projects/dmd/c= hangeset/464</a><br> </blockquote></div><br><br clear=3D"all"><br>-- <br>-Arth<br> --0016e68f9ebdda513f0485bd7b1f--
May 03 2010
prev sibling 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