Release Candidate [was: Re: Beta 2.099.0]

2022-03-02 Thread Martin Nowak via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.


Release Candidate is live now.


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

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

-Martin





Re: Beta 2.099.0

2022-02-17 Thread Iain Buclaw via Digitalmars-d-announce

On Wednesday, 16 February 2022 at 09:05:39 UTC, Basile B. wrote:

On Tuesday, 15 February 2022 at 16:12:25 UTC, Iain Buclaw wrote:
Maybe an issue could be raised against the 
[dlang-bot](https://github.com/dlang/dlang-bot) to request 
better handling of ambiguous commit messages?


Yes but in the meantime I find strange that you have just 
approved a PR that will have the same effect [with issue 2].


[with issue 2]: https://github.com/dlang/dmd/pull/13663


I probably reviewed it on my phone - the github app is very good 
at hiding lots of information I would have otherwise spotted on 
desktop. :-)


Re: Beta 2.099.0

2022-02-17 Thread Nick Treleaven via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:

http://dlang.org/changelog/2.099.0.html


Thanks. Regarding:
https://dlang.org/changelog/2.099.0.html#allow_casting_from_typetuple_to_typetuple

I don't understand why this is allowed:

```d
alias Tuple(T...) = T;

void foo()
{
Tuple!(int, int) tup;

auto foo = cast(long) tup;
pragma(msg, typeof(foo)); // (int, int)
}
```
Casting 2 values to one type is weird, and why does it not affect 
the result type?


https://github.com/dlang/dmd/pull/13501#discussion_r808203393


Re: Beta 2.099.0

2022-02-17 Thread rikki cattermole via Digitalmars-d-announce
There are a few goodies hiding in the nightlies that didn't make it into 
the beta.


Stuff like https://issues.dlang.org/show_bug.cgi?id=18362

And https://dlang.org/changelog/pending.html#actual-dynamiclibrary
(which I did :3)

This is gonna be a good release I think!


Re: Beta 2.099.0

2022-02-17 Thread Martin Tschierschke via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.

[...]

http://dlang.org/changelog/2.099.0.html

[...]

Thank you! It is amazing: ♥ to 99 contributors!
(Should I say the language is extremely alive!)

Regards MT



Re: Beta 2.099.0

2022-02-17 Thread 9il via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:

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


The compiler has some mangling or attributes deduction bug when 
compiling or linking tagged self-referencing algebraic.


The GitHub job:

https://github.com/libmir/mir-ion/runs/5229969072?check_suite_focus=true


I report the bug here because issues.dlang.org doesn't like my 
email:


The e-mail address you entered (@@@my GMAIL@@@) didn't pass our 
syntax checking for a legal email address. A legal address must 
contain exactly one '@', and at least one '.' after the @. 
Currently, registering using Gmail addresses is not allowed due 
to spam. It also must not contain any illegal characters.




Re: Beta 2.099.0

2022-02-16 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 16:12:25 UTC, Iain Buclaw wrote:

On Tuesday, 15 February 2022 at 13:27:18 UTC, Basile B. wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.


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

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

-Martin


Issue 3 is wrongly [referenced]. I will not create a bugzilla 
entry because I think this is not fixable


[referenced]: 
https://dlang.org/changelog/2.099.0.html#bugfix-list


Maybe an issue could be raised against the 
[dlang-bot](https://github.com/dlang/dlang-bot) to request 
better handling of ambiguous commit messages?


Yes but in the meantime I find strange that you have just 
approved a PR that will have the same effect [with issue 2].


[with issue 2]: https://github.com/dlang/dmd/pull/13663


Re: Beta 2.099.0

2022-02-16 Thread max haughton via Digitalmars-d-announce

On Wednesday, 16 February 2022 at 05:53:25 UTC, forkit wrote:
On Wednesday, 16 February 2022 at 04:14:01 UTC, max haughton 
wrote:

On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:




I was so hoping I could now begin using -betterC on Windows...

but no .. :-(

i.e. stdout, stdin, stderr ...still cannot link...


Can you not define them yourself in the meantime?


err.. howdy doody dat?


You have the source code to druntime, can't you just copy the 
definitions you want


Re: Beta 2.099.0

2022-02-16 Thread Walter Bright via Digitalmars-d-announce
Now that the beta is released (Thank you, Martin!) could we get the 
documentation for __import pulled?


https://github.com/dlang/dlang.org/pull/3182


Re: Beta 2.099.0

2022-02-16 Thread Walter Bright via Digitalmars-d-announce

On 2/15/2022 10:55 PM, Rainer Schuetze wrote:
The PR was too late for the beta, but this is the basic change: 
https://github.com/dlang/druntime/pull/3740/files#diff-5cbe9748431681a766784b1bd997444d58d436a26a345b32397daae478f85c5dR907 


Sweet!


Re: Beta 2.099.0

2022-02-15 Thread forkit via Digitalmars-d-announce
On Wednesday, 16 February 2022 at 06:55:57 UTC, Rainer Schuetze 
wrote:




yep. working just fine now :-)


// --- compile with -betterC

import core.stdc.stdio;

extern(C):

FILE* __acrt_iob_func(int hnd);
FILE* stdin()() { return __acrt_iob_func(0); }
FILE* stdout()() { return __acrt_iob_func(1); }
FILE* stderr()() { return __acrt_iob_func(2); }

int main()
{
fprintf(stdout, "Enter a character: ");

int ch;
ch = getc(stdin);

if (ch == '\n')
{
fprintf(stderr, "You didn't enter a character.\n");
}
else
{
printf("You entered %c \n", ch);
}

return 0;
}

// ---


Re: Beta 2.099.0

2022-02-15 Thread Rainer Schuetze via Digitalmars-d-announce




On 16/02/2022 06:53, forkit wrote:

On Wednesday, 16 February 2022 at 04:14:01 UTC, max haughton wrote:

On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:




I was so hoping I could now begin using -betterC on Windows...

but no .. :-(

i.e. stdout, stdin, stderr ...still cannot link...


Can you not define them yourself in the meantime?


err.. howdy doody dat?



The PR was too late for the beta, but this is the basic change: 
https://github.com/dlang/druntime/pull/3740/files#diff-5cbe9748431681a766784b1bd997444d58d436a26a345b32397daae478f85c5dR907


Please note that this only supports the C runtimes for VS 2015 or later. 
If you are using the mingw import libraries, you'll have to switch to 
the corresponding version, too. Without a VS environment, 
-mscrtlib=vcruntime140 should do, but the tests had to add


-Lvcruntime140.lib -Llegacy_stdio_definitions.lib 
-L/NODEFAULTLIB:msvcrt120.lib


on the command line to do that.


Re: Beta 2.099.0

2022-02-15 Thread forkit via Digitalmars-d-announce
On Wednesday, 16 February 2022 at 04:14:01 UTC, max haughton 
wrote:

On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:




I was so hoping I could now begin using -betterC on Windows...

but no .. :-(

i.e. stdout, stdin, stderr ...still cannot link...


Can you not define them yourself in the meantime?


err.. howdy doody dat?



Re: Beta 2.099.0

2022-02-15 Thread max haughton via Digitalmars-d-announce

On Wednesday, 16 February 2022 at 01:38:08 UTC, forkit wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:




I was so hoping I could now begin using -betterC on Windows...

but no .. :-(

i.e. stdout, stdin, stderr ...still cannot link...


Can you not define them yourself in the meantime?


Re: Beta 2.099.0

2022-02-15 Thread forkit via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:




I was so hoping I could now begin using -betterC on Windows...

but no .. :-(

i.e. stdout, stdin, stderr ...still cannot link...



Re: Beta 2.099.0

2022-02-15 Thread Iain Buclaw via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:27:18 UTC, Basile B. wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.


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

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

-Martin


Issue 3 is wrongly [referenced]. I will not create a bugzilla 
entry because I think this is not fixable


[referenced]: 
https://dlang.org/changelog/2.099.0.html#bugfix-list


Maybe an issue could be raised against the 
[dlang-bot](https://github.com/dlang/dlang-bot) to request better 
handling of ambiguous commit messages?


Re: Beta 2.099.0

2022-02-15 Thread steven kladitis via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:27:18 UTC, Basile B. wrote:
On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak 
wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.


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

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

-Martin


Issue 3 is wrongly [referenced]. I will not create a bugzilla 
entry because I think this is not fixable


[referenced]: 
https://dlang.org/changelog/2.099.0.html#bugfix-list


You are not allowed to download file. It says invalid html ..


Re: Beta 2.099.0

2022-02-15 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.099.0 release, ♥ to 
the 99 contributors.


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

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

-Martin


Issue 3 is wrongly [referenced]. I will not create a bugzilla 
entry because I think this is not fixable


[referenced]: https://dlang.org/changelog/2.099.0.html#bugfix-list


Beta 2.099.0

2022-02-15 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce the first beta for the 2.099.0 release, ♥ to the 
99 contributors.


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

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

-Martin