August 11, 2010
This is probably the last FreeBSD 7 release for D1. The next will be for FreeBSD 8!

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

http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.048.zip
August 11, 2010
== Quote from Walter Bright (newshound2@digitalmars.com)'s article
> This is probably the last FreeBSD 7 release for D1. The next will
be for FreeBSD 8!
> http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.063.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.048.zip

I'm always especially happy when a new release has an emphasis on
bug fixes. I hope that this trend continues :)
I've seen the change log, and most of the annoyances I had
encountered with some std.math functions and arrays have been fixed.
Thank you so much and congratulations to all involved!
August 11, 2010
On 2010-08-11 09:15, Walter Bright wrote:
>
> This is probably the last FreeBSD 7 release for D1. The next will be for
> FreeBSD 8!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.063.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.048.zip

Very nice. One small thing, on the D1 change log this is mentioned:

"Bugzilla 4303: __traits(compiles) returns wrong result when used recursively"

This is a D2 only bug.

-- 
/Jacob Carlborg
August 11, 2010
On Wed, 11 Aug 2010 00:15:07 -0700, Walter Bright wrote:

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


Has std.concurrency been brought in line with TDPL for this release?  If so, that should be clearly stated in the change log.

-Lars
August 11, 2010
On 2010-08-11 09:15, Walter Bright wrote:
> 
> This is probably the last FreeBSD 7 release for D1. The next will be for FreeBSD 8!
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.063.zip
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.048.zip


Thanks very, very much!

One little thing (D2): it seems that in some cases int array literals are no longer implicitly converted to uint arrays, I'll try to prepare a minimal testcase.

Adrian
August 11, 2010
== Quote from Walter Bright (newshound2@digitalmars.com)'s article
> This is probably the last FreeBSD 7 release for D1. The next will be for FreeBSD 8! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.063.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.048.zip

Awesome release.  Despite having tested the beta, etc. I still couldn't believe how many bugs got fixed when I looked at the full changelog.
August 11, 2010
On 8/11/2010 3:15 AM, Walter Bright wrote:
>
> This is probably the last FreeBSD 7 release for D1. The next will be for
> FreeBSD 8!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.063.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.048.zip


static this() does not seem to be getting called, at least in D2.

August 11, 2010
dickl wrote:
> static this() does not seem to be getting called, at least in D2.

Works for me:
-------------------------------
H:\cbx>type test.d

import std.stdio;

void main()
{
    printf("hello\n");
}

static this()
{
    printf("betty\n");
}

H:\cbx>dmd test

H:\cbx>test
betty
hello

H:\cbx>
August 11, 2010
Lars T. Kyllingstad Wrote:

> On Wed, 11 Aug 2010 00:15:07 -0700, Walter Bright wrote:
> 
> > http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.048.zip
> 
> 
> Has std.concurrency been brought in line with TDPL for this release?  If so, that should be clearly stated in the change log.

Yes, and it's my fault for not adding it.  There wasn't a bugzilla entry for it but it wasn't really a new feature so I left it out.
August 11, 2010
Module constructor is not called when it is placed in imported module, and WinMain is used.


module hello;

import core.runtime;
import std.c.windows.windows;
import std.stdio;
import a;

extern (Windows)
int WinMain(HINSTANCE hInstance,
	HINSTANCE hPrevInstance,
	LPSTR lpCmdLine,
	int nCmdShow)
{
    int result;

    void exceptionHandler (Throwable ex) { throw ex; }

    Runtime.initialize(&exceptionHandler);

    result = myWinMain();

    Runtime.terminate(&exceptionHandler);

    return result;
}

int main ()
{
   writeln (i1); // <---------------- prints "1" wich is ok.
   writeln (i2); // <---------------- prints "0" wich is incorrect.
   return 1;
}


/------

module a;

int i1 = 1;
int i2;

static this () {

    i2 = 2;
}
« First   ‹ Prev
1 2 3 4 5
Top | Discussion index | About this forum | D home