Re: 2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-04 Thread Norm via Digitalmars-d-announce

On Saturday, 4 May 2019 at 09:57:04 UTC, Martin Nowak wrote:

On Saturday, 4 May 2019 at 09:55:00 UTC, Martin Nowak wrote:


`dub build :pkg1 --non-interactively`.


`dub build :pkg1 --non-interactive` is the correct name of the 
flag


Thank you for the help.

Norm


Re: 2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-04 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 4 May 2019 at 09:55:00 UTC, Martin Nowak wrote:


`dub build :pkg1 --non-interactively`.


`dub build :pkg1 --non-interactive` is the correct name of the 
flag


Re: 2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-04 Thread Martin Nowak via Digitalmars-d-announce

On Thursday, 2 May 2019 at 01:34:16 UTC, Norm wrote:
Sorry I don't know if this is the right place to report this, 
if not please let me know where a good place would be. With 
this release I can no longer build a subpackage with dub.


https://github.com/dlang/dub/issues/1691

The new auto-fetch logic doesn't handle abbreviated sub-pkg names 
properly and thus fails.
Workaround for now is to use the full name `dub build test:pkg` 
or to disable the auto-fetch via `dub build :pkg1 
--non-interactively`.


Re: 2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-01 Thread Norm via Digitalmars-d-announce

On Thursday, 2 May 2019 at 00:10:46 UTC, Martin Nowak wrote:

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 51 contributors.


A second release candidate including a critical regression fix 
is live now.


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

-Martin


Sorry I don't know if this is the right place to report this, if 
not please let me know where a good place would be. With this 
release I can no longer build a subpackage with dub.


I had a look at the dub changelog but I can't see what I'm doing 
wrong.


2.085.1 builds OK

2.086.0-rc2 fails to build:

[2086.0-rc2] $ dub build :pkg1 --build=unittest
Package ':pkg1' was neither found locally nor online.

My dir structure are as follows:
---
$ tree
.
├── dub.sdl
├── pkg1
│   ├── dub.sdl
│   └── source
│   └── app.d
└── pkg2
├── dub.sdl
└── source
└── app.d

4 directories, 5 files


The app.d sources are empty dub generated app.d files
---
import std.stdio;

void main()
{
writeln("Edit source/app.d to start your project.");
}
---



The toplevel sdl file
---
name "testpkg"
description "Test subpackages"
copyright "Copyright (C) 2019, norm"
authors "norm"
targetType "none"
license "freeware"

dependency "test:pkg1" version="*"
dependency "test:pkg2" version="*"
subPackage "./pkg1/"
subPackage "./pkg2/"
---

The pkg1 and pkg2 SDL files are given below
---
name "pkg1"
description "A minimal D application."
authors "norm"
copyright "Copyright © 2019, norm"
license "freeware"
---
name "pkg2"
description "A minimal D application."
authors "norm"
copyright "Copyright © 2019, norm"
license "freeware"
---

Thanks,
Norm



2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-01 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 51 contributors.


A second release candidate including a critical regression fix is 
live now.


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

-Martin



2nd Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-05-01 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 51 contributors.


A second release candidate including a critical regression fix is 
live now.


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

-Martin




Re: Beta 2.086.0

2019-05-01 Thread Bastiaan Veelo via Digitalmars-d-announce

On Wednesday, 1 May 2019 at 19:33:17 UTC, Martin Nowak wrote:

On Sunday, 21 April 2019 at 08:47:12 UTC, Bastiaan Veelo wrote:
The $(CONSOLE) macro seems to not be able to handle `---` in 
its argument, which wrongly starts an example.


https://github.com/dlang/dub/blob/28a0c1ee3ef7c34cf586fc32be88cf75c2912043/changelog/dub-run.dd


Clever, replacing with ‐

Bastiaan.


Re: Beta 2.086.0

2019-05-01 Thread Martin Nowak via Digitalmars-d-announce

On Sunday, 21 April 2019 at 08:47:12 UTC, Bastiaan Veelo wrote:
The $(CONSOLE) macro seems to not be able to handle `---` in 
its argument, which wrongly starts an example.


There is another formatting issue in the Copy Constructor 
section, where the nested $(OL) does not handle examples well, 
by which successive $(LI) appear in the top level list instead.


Bastiaan.


https://github.com/dlang/dub/blob/28a0c1ee3ef7c34cf586fc32be88cf75c2912043/changelog/dub-run.dd
and
https://github.com/dlang/dlang.org/commit/4f18d13daa819ccf8e1e557ca2fc40c8fc1e1ac5


Re: Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-04-29 Thread kinke via Digitalmars-d-announce

On Monday, 29 April 2019 at 09:43:04 UTC, Martin Nowak wrote:

The release candidate is live now.


FWIW, I consider https://issues.dlang.org/show_bug.cgi?id=19822 a 
release blocker.


Re: Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-04-29 Thread Bastiaan Veelo via Digitalmars-d-announce
The list in 
https://dlang.org/changelog/2.086.0.html#copy_constructor is 
still broken by the examples inside it. Do we have a DDOC expert 
that knows how to solve that?


Bastiaan.


Release Candidate 2.086.0 [was: Re: Beta 2.086.0]

2019-04-29 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 52 contributors.


The release candidate is live now.

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

-Martin


Re: Beta 2.086.0

2019-04-28 Thread Martin Nowak via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:52:53 UTC, ag0aep6g wrote:

https://issues.dlang.org/show_bug.cgi?id=19777


https://github.com/dlang/phobos/pull/6984


Re: Beta 2.086.0

2019-04-28 Thread Martin Nowak via Digitalmars-d-announce

On Sunday, 21 April 2019 at 09:29:45 UTC, Bastiaan Veelo wrote:
Presumably, contributors Boris Carvajal and BorisCarvajal are 
the same Boris :-)


Our git mailmap¹ file lives in the tools repo, see 
https://github.com/dlang/tools/pull/367.


¹: https://www.git-scm.com/docs/git-check-mailmap#_mapping_authors


Re: Beta 2.086.0

2019-04-26 Thread bitwise via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:

[...]


__traits for private symbols AND copy constructors?!?!
Awesome!


Re: Beta 2.086.0

2019-04-22 Thread Jacob Carlborg via Digitalmars-d-announce

On 2019-04-21 19:59, Jacob Carlborg wrote:

On 2019-04-20 16:16, Martin Nowak wrote:

Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.


I just noticed I got a test failure [1] in one of my projects using this 
version. I haven't investigated yet. Strangely the nightly build passes.


[1] https://travis-ci.org/jacob-carlborg/dstep/jobs/522548540


Managed to find a reduced test case: 
https://github.com/dlang/dub/issues/1681.


--
/Jacob Carlborg


Re: Beta 2.086.0

2019-04-21 Thread Jacob Carlborg via Digitalmars-d-announce

On 2019-04-20 16:16, Martin Nowak wrote:

Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.


I just noticed I got a test failure [1] in one of my projects using this 
version. I haven't investigated yet. Strangely the nightly build passes.


[1] https://travis-ci.org/jacob-carlborg/dstep/jobs/522548540

--
/Jacob Carlborg


Re: Beta 2.086.0

2019-04-21 Thread Guillaume Piolat via Digitalmars-d-announce

On Saturday, 20 April 2019 at 22:18:29 UTC, Andre Pany wrote:


Any dub package can now define a sub package init-exec which 
will be used to create an app skeleton. Just use the package 
name as argument -t in dub init command.



Kind regards
Andre


Thanks! Very useful.


Re: Beta 2.086.0

2019-04-21 Thread Bastiaan Veelo via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 52 contributors.


Many thanks, Martin!

Presumably, contributors Boris Carvajal and BorisCarvajal are the 
same Boris :-)


Bastiaan.


Re: Beta 2.086.0

2019-04-21 Thread Bastiaan Veelo via Digitalmars-d-announce
On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
The changelog has some formatting errors in the section "dub 
run will now automatically fetch a package if it's not found 
locally".


The $(CONSOLE) macro seems to not be able to handle `---` in its 
argument, which wrongly starts an example.


There is another formatting issue in the Copy Constructor 
section, where the nested $(OL) does not handle examples well, by 
which successive $(LI) appear in the top level list instead.


Bastiaan.


Re: Beta 2.086.0

2019-04-20 Thread Walter Bright via Digitalmars-d-announce

On 4/20/2019 7:16 AM, Martin Nowak wrote:

Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.


Martin, thank you for the invaluable but thankless job of managing the releases!


Re: Beta 2.086.0

2019-04-20 Thread Andre Pany via Digitalmars-d-announce
On Saturday, 20 April 2019 at 19:41:09 UTC, Guillaume Piolat 
wrote:
On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
Wow! A whole bunch of great, long-awaited stuff! There's 
--lowmem, reflection of privates, less optlink, import std, 
copy ctors...


The changelog has some formatting errors in the section "dub 
run will now automatically fetch a package if it's not found 
locally".


Yes, very curious about this release!

Thanks a lot for -lowmem, copy ctor and DUB single request!

I don't understand full the new `dub init -t 
custom-dub-init-dubpackage` capabilities, the 
`custom-dub-init-dubpackage` has to be a package name on the 
DUB registry?


Any dub package can now define a sub package init-exec which will 
be used to create an app skeleton. Just use the package name as 
argument -t in dub init command.



Kind regards
Andre




Re: Beta 2.086.0

2019-04-20 Thread Guillaume Piolat via Digitalmars-d-announce
On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
Wow! A whole bunch of great, long-awaited stuff! There's 
--lowmem, reflection of privates, less optlink, import std, 
copy ctors...


The changelog has some formatting errors in the section "dub 
run will now automatically fetch a package if it's not found 
locally".


Yes, very curious about this release!

Thanks a lot for -lowmem, copy ctor and DUB single request!

I don't understand full the new `dub init -t 
custom-dub-init-dubpackage` capabilities, the 
`custom-dub-init-dubpackage` has to be a package name on the DUB 
registry?


Re: Beta 2.086.0

2019-04-20 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Wow! A whole bunch of great, long-awaited stuff! There's --lowmem, 
reflection of privates, less optlink, import std, copy ctors...


The changelog has some formatting errors in the section "dub run will 
now automatically fetch a package if it's not found locally".


Re: Beta 2.086.0

2019-04-20 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Apr 20, 2019 at 03:47:08PM +, Andre Pany via Digitalmars-d-announce 
wrote:
[...]
> Thank you so much. The -lowmem switch finally enables usage of D in
> CloudFoundry (your application is usually compiled on CloudFoundry and
> you very likely have a limit of 1024 MB).
[...]

Oh goodie!  Finally dmd will no longer be a laughing stock on low-memory
machines. Very glad to hear of -lowmem.


T

-- 
Winners never quit, quitters never win. But those who never quit AND never win 
are idiots.


Re: Beta 2.086.0

2019-04-20 Thread JN via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 52 contributors.


"DUB will no longer use OPTLINK as default on Windows" - finally! 
Best change.


Re: Beta 2.086.0

2019-04-20 Thread Andre Pany via Digitalmars-d-announce

On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.086.0 release, ♥ to 
the 52 contributors.


This beta started a little later than planned because we had to 
solve a FreeBSD build issue 
(https://github.com/dlang/dmd/pull/9569#issuecomment-484017911). I'd still try to ship the release on May 1st unless we figure out that more time is needed to fix regressions.


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


As usual please report any bugs at
https://issues.dlang.org

-Martin


Thank you so much. The -lowmem switch finally enables usage of D 
in CloudFoundry (your application is usually compiled on 
CloudFoundry and you very likely have a limit of 1024 MB).


Also I currently try to convince the people from Codeingame to 
support D. They have a limit of 768 MB.


The import std; will also become quite handy for the Codeingame 
use case.


Kind regards
Andre


Re: Beta 2.086.0

2019-04-20 Thread ag0aep6g via Digitalmars-d-announce

On 20.04.19 16:16, Martin Nowak wrote:

As usual please report any bugs at
https://issues.dlang.org


I'll point out that there's already a known regression:

https://issues.dlang.org/show_bug.cgi?id=19777


Beta 2.086.0

2019-04-20 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.

This beta started a little later than planned because we had to solve a
FreeBSD build issue
(https://github.com/dlang/dmd/pull/9569#issuecomment-484017911). I'd
still try to ship the release on May 1st unless we figure out that more
time is needed to fix regressions.

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

As usual please report any bugs at
https://issues.dlang.org

-Martin