February 20, 2015
On 02/18/2015 06:01 AM, Martin Nowak via dmd-beta wrote:
> Once the beta is mirrored to ftp.digitalmars.com, it will also be
> possible to test on Travis-CI using this line in you .travis.yml.
>
> d: dmd-2.067.0-b2
>
> http://docs.travis-ci.com/user/languages/d/

It's now possible to use the beta on Travis-CI.
https://travis-ci.org/MartinNowak/bloom/jobs/51518602

_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 22, 2015
> On 18 feb 2015, at 13:35, Martin Nowak via dmd-beta <dmd-beta@puremagic.com> wrote:
> 
> The other problem is an unfortunately inevitable backwards incompatibility introduced by making synchronized nothrow.
> Vibe.d is one of the few programs that inherit from core.sync.*
> classes which now have nothrow lock/unlock methods.


I hit the same breaking change in DWT. The implementation is a bit different there compared to Tango [1]. The implementation actually catches the SyncException and is supposed to interrupt the current thread. But “Compatibility.interrupt” is not implemented because the original author never figured out how to port that from Java [2].

[1] https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/widgets/Synchronizer.d#L187-L202 <https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/widgets/Synchronizer.d#L187-L202>

[2] https://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86/blob/master/src/org/eclipse/swt/internal/Compatibility.d#L402-L405

-- 
/Jacob Carlborg

February 22, 2015
> 
> On 19 feb 2015, at 00:45, Martin Nowak <code@dawg.eu> wrote:
> 
> We can't deprecate throwing IMonitor lock/unlock methods, because you can't overload/inherit a function that only differs by nothrow.

If we really care about backward compatibility  we should add new methods that are nothrow and put the existing ones thought the deprecation path.

-- 
/Jacob Carlborg
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 22, 2015
> If we really care about backward compatibility  we should add new methods that are nothrow and put the existing ones thought the deprecation path.


I see that this has already done [1] but existing methods were never deprecated [2].

[1] https://github.com/D-Programming-Language/druntime/commit/640f0f46dc0be06a413da3d1f090bd0275c7bb96 <https://github.com/D-Programming-Language/druntime/commit/640f0f46dc0be06a413da3d1f090bd0275c7bb96>

[2] https://github.com/D-Programming-Language/druntime/commit/05b15ab05279a70b30f4a580c705526e70e09155

-- 
/Jacob Carlborg

February 22, 2015
On 2/22/15 5:25 AM, Jacob Carlborg via dmd-beta wrote:
> If we really care about backward compatibility  we should add new methods that are nothrow and put the existing ones thought the deprecation path.

Agreed. Martin, is there any impediment in doing this? -- Andrei
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 22, 2015
> On 22 feb 2015, at 16:24, Andrei Alexandrescu <andrei@erdani.com> wrote:
> 
> Agreed. Martin, is there any impediment in doing this? -- Andrei


I don’t there is since it’s already been done, see one of my previous replies [1].

[1] http://forum.dlang.org/post/B77383C6-8BB2-421E-A23C-C398ED323247@me.com

-- 
/Jacob Carlborg
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 23, 2015
Hi,

I've tried the beta on Visual D, and it produces one error that reduces to

void main()
{
    auto sz = cast(long)null;
}

test.d(5): Error: e2ir: cannot cast null of type typeof(null) to type long

Any cast of null to an integer type seems to fail, but works in 2.066.

Is this a deliberate change?


On 18.02.2015 06:01, Martin Nowak via dmd-beta wrote:
> Files are uploaded to https://dlang.dawg.eu/downloads/dmd.2.067.0-b2/
> and will soon be mirrored to http://ftp.digitalmars.com.
>
> We had some troubles with the documentation generation.
> In order to not delay the beta even further the zip files don't contain
> documentation, the dman tool is missing and there are no installers.
> We'll try to deliver those subsequently or with the next beta.
>
> Please try out the beta with any code you can compile and report issues
> at https://issues.dlang.org/.
>
> Once the beta is mirrored to ftp.digitalmars.com, it will also be
> possible to test on Travis-CI using this line in you .travis.yml.
>
> d: dmd-2.067.0-b2
>
> http://docs.travis-ci.com/user/languages/d/
>
>
> A yet incomplete changelog can be found here.
> http://dlang.org/changelog.html#new2_067
>
> I'd be particularly interested in getting any feedback for the various
> GC improvements.
>
> Happy Testing,
> Martin
> _______________________________________________
> dmd-beta mailing list
> dmd-beta@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta

_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 23, 2015
On 18.02.2015 06:01, Martin Nowak via dmd-beta wrote:
> I'd be particularly interested in getting any feedback for the various
> GC improvements.

Would it make sense to also push for inclusion of https://github.com/D-Programming-Language/phobos/pull/2794 ? It is a memory corruption bug that could have more effect on GC allocated memory now that type info might also be stored in the allocation.

_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 23, 2015
> On 23 feb 2015, at 16:33, Rainer Schuetze via dmd-beta <dmd-beta@puremagic.com> wrote:
> 
> Hi,
> 
> I've tried the beta on Visual D, and it produces one error that reduces to
> 
> void main()
> {
>    auto sz = cast(long)null;
> }
> 
> test.d(5): Error: e2ir: cannot cast null of type typeof(null) to type long
> 
> Any cast of null to an integer type seems to fail, but works in 2.066.
> 
> Is this a deliberate change?

I’m not sure if this is deliberate but I’m pretty sure that any error message that mentions a source file from the compiler (in this case “e2ir”) is a bug.

-- 
/Jacob Carlborg
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
February 24, 2015
As far as I know, it's not intended change.
Please file it in bugzilla.

Kenji Hara.
2015/02/24 0:46 "Rainer Schuetze via dmd-beta" <dmd-beta@puremagic.com>:

> Hi,
>
> I've tried the beta on Visual D, and it produces one error that reduces to
>
> void main()
> {
>     auto sz = cast(long)null;
> }
>
> test.d(5): Error: e2ir: cannot cast null of type typeof(null) to type long
>
> Any cast of null to an integer type seems to fail, but works in 2.066.
>
> Is this a deliberate change?
>
>
> On 18.02.2015 06:01, Martin Nowak via dmd-beta wrote:
>
>> Files are uploaded to https://dlang.dawg.eu/downloads/dmd.2.067.0-b2/ and will soon be mirrored to http://ftp.digitalmars.com.
>>
>> We had some troubles with the documentation generation.
>> In order to not delay the beta even further the zip files don't contain
>> documentation, the dman tool is missing and there are no installers.
>> We'll try to deliver those subsequently or with the next beta.
>>
>> Please try out the beta with any code you can compile and report issues at https://issues.dlang.org/.
>>
>> Once the beta is mirrored to ftp.digitalmars.com, it will also be possible to test on Travis-CI using this line in you .travis.yml.
>>
>> d: dmd-2.067.0-b2
>>
>> http://docs.travis-ci.com/user/languages/d/
>>
>>
>> A yet incomplete changelog can be found here. http://dlang.org/changelog.html#new2_067
>>
>> I'd be particularly interested in getting any feedback for the various GC improvements.
>>
>> Happy Testing,
>> Martin
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta@puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


1 2 3