www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Beta 2.072.0-b1

reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
First beta for the 2.072.0 release.

This release comes with many new phobos features, native TLS support on
OSX, the first bunch of  safety enhancements (try -transition=safe), and
a few smaller language and compiler additions.

This is also the first dmd release to include dub.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.072.0.html

Unfortunately we still need to resolve a regression that causes issues
with EncodingScheme.create
(https://issues.dlang.org/show_bug.cgi?id=16291), you might run into
problems when using std.net.curl.

In case you run into a yet unknown module cycle, this is
likely due to the fixed cycle detection.
We're still working on a -DRT-cyclecheck=printonly switch to allow
making those non-fatal.
https://github.com/dlang/druntime/pull/1602#issuecomment-248447332

Please report any bugs at https://issues.dlang.org

-Martin
Oct 01 2016
next sibling parent Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
On Saturday, 1 October 2016 at 20:57:17 UTC, Martin Nowak wrote:
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS 
 support on OSX, the first bunch of  safety enhancements (try 
 -transition=safe), and a few smaller language and compiler 
 additions.

 [...]
Many thanks!
Oct 01 2016
prev sibling next sibling parent reply Daniel Kozak via Digitalmars-d-announce writes:
Nice work. One small issue link to Unrestricted Unions 
<http://dlang.org/changelog/2.072.0.html#unrestricted_unions>

http://dlang.org/changelog/2.072.0.html#unrestricted_unions does not work


Dne 1.10.2016 v 22:57 Martin Nowak via Digitalmars-d-announce napsal(a):
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS support on
 OSX, the first bunch of  safety enhancements (try -transition=safe), and
 a few smaller language and compiler additions.

 This is also the first dmd release to include dub.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.072.0.html

 Unfortunately we still need to resolve a regression that causes issues
 with EncodingScheme.create
 (https://issues.dlang.org/show_bug.cgi?id=16291), you might run into
 problems when using std.net.curl.

 In case you run into a yet unknown module cycle, this is
 likely due to the fixed cycle detection.
 We're still working on a -DRT-cyclecheck=printonly switch to allow
 making those non-fatal.
 https://github.com/dlang/druntime/pull/1602#issuecomment-248447332

 Please report any bugs at https://issues.dlang.org

 -Martin
Oct 01 2016
parent Martin Nowak <code dawg.eu> writes:
On Saturday, 1 October 2016 at 23:27:57 UTC, Daniel Kozak wrote:
 Nice work. One small issue link to Unrestricted Unions 
 <http://dlang.org/changelog/2.072.0.html#unrestricted_unions>
It does work, there are simply no details. Needs a bit more explanation though https://github.com/dlang/dmd/commit/3725a663d8aeec3350e81728173d76f429481fef#commitcomment-19255521.
Oct 01 2016
prev sibling next sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Saturday, 1 October 2016 at 20:57:17 UTC, Martin Nowak wrote:
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS 
 support on OSX, the first bunch of  safety enhancements (try 
 -transition=safe), and a few smaller language and compiler 
 additions.

 This is also the first dmd release to include dub.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.072.0.html

 Unfortunately we still need to resolve a regression that causes 
 issues with EncodingScheme.create 
 (https://issues.dlang.org/show_bug.cgi?id=16291), you might run 
 into problems when using std.net.curl.

 In case you run into a yet unknown module cycle, this is
 likely due to the fixed cycle detection.
 We're still working on a -DRT-cyclecheck=printonly switch to 
 allow
 making those non-fatal.
 https://github.com/dlang/druntime/pull/1602#issuecomment-248447332

 Please report any bugs at https://issues.dlang.org

 -Martin
Thanks. After compiling something that worked fine I've started to get some strange errors message about some very simple OOP things ("stuff.x" does not override anything...repeated many times). When I've tried to execute only the module containing the classes related to the error message, I've received: "object.Error src/rt/minfo.d(356): Cyclic dependency between module ... and ..." + the list allowing to detect the cycle. It was compiling fine with 2.071.2. I cant say if this is a regression or not. If not it would mean that the previous management of the static ctor hided a problem ? Otherwise 2 other regressions found, one is not yet identified.
Oct 01 2016
parent reply Martin Nowak <code dawg.eu> writes:
On Sunday, 2 October 2016 at 00:18:23 UTC, Basile B. wrote:
 It was compiling fine with 2.071.2. I cant say if this is a 
 regression or not.
 If not it would mean that the previous management of the static 
 ctor hided a problem ?
Yes, previously cyclic dependencies through a third module without ctor were not detected correctly. Therefore it was possible to use a module before it was initialized.
Oct 02 2016
parent reply Basile B. <b2.temp gmx.com> writes:
On Sunday, 2 October 2016 at 12:43:00 UTC, Martin Nowak wrote:
 On Sunday, 2 October 2016 at 00:18:23 UTC, Basile B. wrote:
 It was compiling fine with 2.071.2. I cant say if this is a 
 regression or not.
 If not it would mean that the previous management of the 
 static ctor hided a problem ?
Yes, previously cyclic dependencies through a third module without ctor were not detected correctly. Therefore it was possible to use a module before it was initialized.
This problem is fortunately fixed by moving a static ctor from a module to another but I still get some very strange messages saying "stuff does not override any function". Some of them are related to member functions with void() for type, so it cannot be an error in the signature. The messages are not emitted when I unittest the module that contains the classes but only when I subclass in a simple script. Does any change related to protection attributes would be able to trigger them ? Such a breakage is really hardly believable (it's very basic OOP).
Oct 02 2016
parent reply Martin Nowak <code dawg.eu> writes:
On Sunday, 2 October 2016 at 13:33:58 UTC, Basile B. wrote:
 Does any change related to protection attributes would be able 
 to trigger them ?
 Such a breakage is really hardly believable (it's very basic 
 OOP).
Please file a bug report with a code example reproducing the problem. If you can't reduce the code, a big example is better than none.
Oct 02 2016
parent Basile B. <b2.temp gmx.com> writes:
On Sunday, 2 October 2016 at 15:04:06 UTC, Martin Nowak wrote:
 On Sunday, 2 October 2016 at 13:33:58 UTC, Basile B. wrote:
 Does any change related to protection attributes would be able 
 to trigger them ?
 Such a breakage is really hardly believable (it's very basic 
 OOP).
Please file a bug report with a code example reproducing the problem. If you can't reduce the code, a big example is better than none.
Ok done: 16570 and 16574. I just tried to see if the problem was from my side before.
Oct 02 2016
prev sibling next sibling parent reply Suliman <evermind live.ru> writes:
On Saturday, 1 October 2016 at 20:57:17 UTC, Martin Nowak wrote:
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS 
 support on OSX, the first bunch of  safety enhancements (try 
 -transition=safe), and a few smaller language and compiler 
 additions.

 This is also the first dmd release to include dub.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.072.0.html

 Unfortunately we still need to resolve a regression that causes 
 issues with EncodingScheme.create 
 (https://issues.dlang.org/show_bug.cgi?id=16291), you might run 
 into problems when using std.net.curl.

 In case you run into a yet unknown module cycle, this is
 likely due to the fixed cycle detection.
 We're still working on a -DRT-cyclecheck=printonly switch to 
 allow
 making those non-fatal.
 https://github.com/dlang/druntime/pull/1602#issuecomment-248447332

 Please report any bugs at https://issues.dlang.org

 -Martin
Sorry, but when new libs will be included? XML (from GSoC) https://github.com/lodo1995/experimental.xml std_data_json https://github.com/s-ludwig/std_data_json I think it's better to include them now to std.experimental to help people start adopt projects to them.
Oct 01 2016
next sibling parent Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
On Sunday, 2 October 2016 at 06:13:34 UTC, Suliman wrote:
 On Saturday, 1 October 2016 at 20:57:17 UTC, Martin Nowak wrote:
 [...]
Sorry, but when new libs will be included? XML (from GSoC) https://github.com/lodo1995/experimental.xml std_data_json https://github.com/s-ludwig/std_data_json I think it's better to include them now to std.experimental to help people start adopt projects to them.
They are not good enough to be included into Phobos. --Ilya
Oct 01 2016
prev sibling parent Martin Nowak <code dawg.eu> writes:
On Sunday, 2 October 2016 at 06:13:34 UTC, Suliman wrote:
 Sorry, but when new libs will be included?
We try to release regular and often (roughly every two month) to avoid such catch the train releases. Things should get released when they're ready, and only then.
Oct 02 2016
prev sibling next sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2016-10-01 22:57, Martin Nowak wrote:
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS support on
 OSX, the first bunch of  safety enhancements (try -transition=safe), and
 a few smaller language and compiler additions.

 This is also the first dmd release to include dub.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.072.0.html
It would be nice if the changelog, for the deprecated language constructs, contained information on what to use instead, if one is using them. -- /Jacob Carlborg
Oct 02 2016
next sibling parent Seb <seb wilzba.ch> writes:
On Sunday, 2 October 2016 at 11:12:41 UTC, Jacob Carlborg wrote:
 On 2016-10-01 22:57, Martin Nowak wrote:
 First beta for the 2.072.0 release.

 This release comes with many new phobos features, native TLS 
 support on
 OSX, the first bunch of  safety enhancements (try 
 -transition=safe), and
 a few smaller language and compiler additions.

 This is also the first dmd release to include dub.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.072.0.html
It would be nice if the changelog, for the deprecated language constructs, contained information on what to use instead, if one is using them.
In theory there is a special page: http://dlang.org/deprecate.html
Oct 02 2016
prev sibling parent reply Martin Nowak <code dawg.eu> writes:
On Sunday, 2 October 2016 at 11:12:41 UTC, Jacob Carlborg wrote:
 It would be nice if the changelog, for the deprecated language 
 constructs, contained information on what to use instead, if 
 one is using them.
Yes, that's how it should be, but don't both deprecations contain enough information to replace old code? Also here is the changelog if you want to improve it. https://github.com/dlang/dlang.org/blob/6c63ab22204e4363b2ea939a090c3f8bd3e5dbed/changelog/2.072.0_pre.dd
Oct 02 2016
parent reply Jacob Carlborg <doob me.com> writes:
On 2016-10-02 14:37, Martin Nowak wrote:

 Yes, that's how it should be, but don't both deprecations contain enough
 information to replace old code?
Yeah, I see that now. I didn't notice it at first. It's not as clear as I would like. I would like it to explicitly state "To this instead: ...". I think it could be more clear why it's deprecated and what to do instead: Language construct A is deprecated. A is bad because: ... Do this instead: ... -- /Jacob Carlborg
Oct 02 2016
parent Martin Nowak <code dawg.eu> writes:
On Sunday, 2 October 2016 at 15:36:58 UTC, Jacob Carlborg wrote:
 I think it could be more clear why it's deprecated and what to 
 do instead:

 Language construct A is deprecated.

 A is bad because: ...
 Do this instead: ...
Yes agreed, will try to establish a more formal format.
Oct 03 2016
prev sibling next sibling parent Martin Krejcirik <mk-junk i-line.cz> writes:
https://issues.dlang.org/show_bug.cgi?id=16578
Oct 02 2016
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2016-10-01 22:57, Martin Nowak wrote:

 Please report any bugs at https://issues.dlang.org
std.process is pretty broken on macOS: https://issues.dlang.org/show_bug.cgi?id=16580 -- /Jacob Carlborg
Oct 03 2016