www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Beta 2.082.0

reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Glad to announce the first beta for the 2.082.0 release, ♥ to the 47
contributors for this release.

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

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

- ----

Highlights:

Additional functions for associative arrays -
https://dlang.org/changelog/2.082.0.html#require_update
Unsafe code can now be used in debug blocks -
https://dlang.org/changelog/2.082.0.html#debug-unsafe
UDAs on function arguments are now supported -
https://dlang.org/changelog/2.082.0.html#uda-function-arguments
Dependency resolution has been reimplemented using a recursive
algorithm -
https://dlang.org/changelog/2.082.0.html#recursive_dependecy_resolution
The regular upgrade check has been removed -
https://dlang.org/changelog/2.082.0.html#upgrade_check
Windows installer and binaries are now code-signed -
https://dlang.org/changelog/2.082.0.html#signed_windows_binaries

- -Martin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlt3KZYACgkQsnOBFhK7
GTlirg/+PU3JKNVNkfZSjKuNBbx1yak1R9XXlXih9gXLl2SZhbwl0V4X6tA9srGe
QkdmqcSTpXEcJkTl1NXddtDOgT3aGSyx4MXxEaKCD7xmlx3s4RhipyFxeZ713ULW
3hYSazpDaumK0AXB6A/BP7SXIAkLxBkfnK1qkJoEZABVpv0lKfBJRoW3MzDoXXU+
47LuHnJdNHZZKni96R7Lc81hyZcy+FzE1rdr2qPt6YMrDUc6AhKIJVCcMZqpcztb
QTQsuKUzWoAHNDUGaxuWqDZN/iDg/0/SmnrDQhqAURDluVaDHX/ASGHR/Zhhj637
thefBWKhc/qx37sZoJrUSaZ0GbL8I/2257r574OKZ/vxZ5+ED+0Qy/OPHNHlThd6
GGMPZ1MgjxYZ30DE1WX8nW2bXhPJ1UkMmhiOLMw5jjxVFoJwXqMMyCgXZUM/8Htm
MhRwM8SssRnlnfPkEbI8wNHMK/ZVzvNrUpmPhfkPs8w/nSyHN/uB6vjdo8ihsEi7
N8tpvDt+AXE1VN96z9DPP6CG08d3taDaitjC8p7ohCdgmw9+UMe7JENY+gtFWiqn
p4ePOEZSo6dXPdKelCEEEmzBWL9LjVK7SdYMmuSyOQtl0I1AC9nH1E09k8KgUzz7
ld5DilHGS+2EjcaowI9s/pAqxMtdxG5BaJnCuACmvXOMaUvmj+0=
=Fu0R
-----END PGP SIGNATURE-----
Aug 17
next sibling parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:

 Windows installer and binaries are now code-signed -
 https://dlang.org/changelog/2.082.0.html#signed_windows_binaries
Was this beta installer supposed to be signed? Because it doesn't seem to be. Mike
Aug 17
parent reply Martin Nowak <code dawg.eu> writes:
On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote:
 On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:

 Windows installer and binaries are now code-signed -
 https://dlang.org/changelog/2.082.0.html#signed_windows_binaries
Was this beta installer supposed to be signed? Because it doesn't seem to be.
Yes it is signed and I actually checked it on Windows 7. What makes it appear to be unsigned on your system.
Aug 17
parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Saturday, 18 August 2018 at 06:52:21 UTC, Martin Nowak wrote:
 On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote:
 On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:

 Windows installer and binaries are now code-signed -
 https://dlang.org/changelog/2.082.0.html#signed_windows_binaries
Was this beta installer supposed to be signed? Because it doesn't seem to be.
Yes it is signed and I actually checked it on Windows 7. What makes it appear to be unsigned on your system.
I just downloaded it again. To be specific, this is the file I'm downloading and executing: downloads.dlang.org/pre-releases/2.x/2.082.0/dmd-2.082.0-beta.1.exe I get the "Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk" message. In other words this: https://cdn1.tekrevue.com/wp-content/uploads/2017/09/windows-protected-your-pc.jpg It recognizes the publisher as "D Language Foundation" but I still don't think that message should be popping up. I'll research a little and see if I can find some more information. Mike
Aug 18
next sibling parent Mike Franklin <slavo5150 yahoo.com> writes:
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote:

 I get the "Windows Defender SmartScreen prevented an 
 unrecognized app from starting.  Running this app might put 
 your PC at risk" message.  In other words this:  
 https://cdn1.tekrevue.com/wp-content/uploads/2017/09/windows-protected-your-pc.jpg
I'm running Windows 10. Mike
Aug 18
prev sibling next sibling parent Mike Franklin <slavo5150 yahoo.com> writes:
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote:

 I'll research a little and see if I can find some more 
 information.
Ok, so it is indeed signed: https://imgur.com/a/jGdoXSc I found this which was disappointing: https://stackoverflow.com/questions/39833000/avoid-windows-protected-your-pc-message-for-a-authenticode-cert-signed-install Mike
Aug 18
prev sibling next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 18/08/2018 8:04 PM, Mike Franklin wrote:
 On Saturday, 18 August 2018 at 06:52:21 UTC, Martin Nowak wrote:
 On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote:
 On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:

 Windows installer and binaries are now code-signed -
 https://dlang.org/changelog/2.082.0.html#signed_windows_binaries
Was this beta installer supposed to be signed?  Because it doesn't seem to be.
Yes it is signed and I actually checked it on Windows 7. What makes it appear to be unsigned on your system.
I just downloaded it again.  To be specific, this is the file I'm downloading and executing: downloads.dlang.org/pre-releases/2.x/2.082.0/dmd-2.082.0-beta.1.exe I get the "Windows Defender SmartScreen prevented an unrecognized app from starting.  Running this app might put your PC at risk" message.  In other words this: https://cdn1.tekrevue.com/wp-content/uploads/2017/09/windows-p otected-your-pc.jpg It recognizes the publisher as "D Language Foundation" but I still don't think that message should be popping up.  I'll research a little and see if I can find some more information. Mike
It's definitely signed. We may need to have Walter or somebody with contacts with Microsoft to chat to see what else we can do (or them).
Aug 18
prev sibling parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote:

 I'll research a little and see if I can find some more 
 information.
This thread was also quite informative: https://stackoverflow.com/questions/12311203/how-to-pass-the-smart-screen-on-win8-when-install-a-signed-application It's a little old, but from what I'm reading we need "reputation" with Microsoft or an EV certificate, or publish on the Windows Store. Mike
Aug 18
parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin wrote:

 It's a little old, but from what I'm reading we need 
 "reputation" with Microsoft or an EV certificate, or publish on 
 the Windows Store.
I'm also reading that once the executable has been downloaded a number of times from different IP addresses, it will be registered as safe in Microsoft's database. Maybe we just need to wait for more people to download it and run it. Mike
Aug 18
parent reply Radu <rad.racariu gmail.com> writes:
On Saturday, 18 August 2018 at 08:30:31 UTC, Mike Franklin wrote:
 On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin 
 wrote:

 It's a little old, but from what I'm reading we need 
 "reputation" with Microsoft or an EV certificate, or publish 
 on the Windows Store.
I'm also reading that once the executable has been downloaded a number of times from different IP addresses, it will be registered as safe in Microsoft's database. Maybe we just need to wait for more people to download it and run it. Mike
Yes, it needs to build up reputation trough multiple downloads and installations. This can take up to a week.
Aug 18
parent reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 08/18/2018 10:39 AM, Radu wrote:
 On Saturday, 18 August 2018 at 08:30:31 UTC, Mike Franklin wrote:
 On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin wrote:

 It's a little old, but from what I'm reading we need "reputation"
 with Microsoft or an EV certificate, or publish on the Windows Store.
Let's please try to avoid getting into more of this nonsense. I understand that common Windows users have a very different thread model than linux developers, hence the crappy Anti-Virus rootkits. I'd expect the Windows dev audience we're targeting with D to be a bit more capable than common Windows users though. OTOH company policies for Windows devs might require UAC and disallow installing untrusted stuff.
 I'm also reading that once the executable has been downloaded a number
 of times from different IP addresses, it will be registered as safe in
 Microsoft's database.  Maybe we just need to wait for more people to
 download it and run it.

 Mike
Yes, it needs to build up reputation trough multiple downloads and installations. This can take up to a week.
Beta is 2 weeks sounds fine then. So please download and install the beta, sth. you should always do ;). Fortunately Microsoft has finally bumped their max filesize on the Binary submit form from 20 to 200 MiB (https://www.microsoft.com/en-us/wdsi/filesubmission). I just submitted the beta installer using my private Microsoft account (https://www.microsoft.com/en-us/wdsi/submission/9180949d-7efd-403f-b7e2-66e334e3e37e). Would be good to know exactly the recognized "Detection name" Windows Defender found (see https://go.microsoft.com/fwlink/?linkid=849601#detection-history). In case this helps we can look at automating this using a dlang.org specific account. -Martin
Aug 18
next sibling parent Kagamin <spam here.lot> writes:
On Saturday, 18 August 2018 at 16:51:18 UTC, Martin Nowak wrote:
 I understand that common Windows users have a very different 
 thread
 model than linux developers, hence the crappy Anti-Virus 
 rootkits.
 I'd expect the Windows dev audience we're targeting with D to 
 be a bit
 more capable than common Windows users though.
Since introduction of UAC in Vista viruses became a non-issue and the theme lost buzz, that can foster ignorance.
Aug 21
prev sibling parent Kagamin <spam here.lot> writes:
On Saturday, 18 August 2018 at 16:51:18 UTC, Martin Nowak wrote:
 Beta is 2 weeks sounds fine then. So please download and 
 install the beta, sth. you should always do ;).
The download should probably happen through Edge too: it runs SmartScreen on the downloaded file. OT: more news: https://medium.com/ airflow.matt/globalsign-will-revoke-your-codesign-certificate-no-questions-asked-f6ac2bca02c5
Aug 27
prev sibling next sibling parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release
According to https://issues.dlang.org/show_bug.cgi?id=18786 VirusTotal used to report a virus for the installer. This beta is now reporting clean: https://www.virustotal.com/#/file/dabf7c3b10ecb70025789c775756bee39bb401d7ef31f5a9131ff8760450fcab/detection Windows Defender also reports it as clean. Mike
Aug 17
parent reply Martin Nowak <code dawg.eu> writes:
On Friday, 17 August 2018 at 22:08:16 UTC, Mike Franklin wrote:
 On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release
According to https://issues.dlang.org/show_bug.cgi?id=18786 VirusTotal used to report a virus for the installer. This beta is now reporting clean: https://www.virustotal.com/#/file/dabf7c3b10ecb70025789c775756bee39bb401d7ef31f5a9131ff8760450fcab/detection Windows Defender also reports it as clean.
Good to hear that paying the certificate ransom helped making peace with the blackmailers ;).
Aug 18
parent Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
On Saturday, August 18, 2018 1:01:18 AM MDT Martin Nowak via Digitalmars-d-
announce wrote:
 On Friday, 17 August 2018 at 22:08:16 UTC, Mike Franklin wrote:
 On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release
According to https://issues.dlang.org/show_bug.cgi?id=18786 VirusTotal used to report a virus for the installer. This beta is now reporting clean: https://www.virustotal.com/#/file/dabf7c3b10ecb70025789c775756bee39bb401 d7ef31f5a9131ff8760450fcab/detection Windows Defender also reports it as clean.
Good to hear that paying the certificate ransom helped making peace with the blackmailers ;).
Technically, I think that they're extortionists rather than blackmailers. ;) - Jonathan M Davis
Aug 18
prev sibling next sibling parent jmh530 <john.michael.hall gmail.com> writes:
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release, ♥ to 
 the 47 contributors for this release.

 [snip]
On the "UDAs on function arguments are now supported" part of the change log, just to be clear, (22) is added to "a" for the purposes of the test function. The variable need not have 22 outside of the function, correct?
Aug 20
prev sibling next sibling parent Atila Neves <atila.neves gmail.com> writes:
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release, ♥ to 
 the 47 contributors for this release.

 [...]
Could I pretty please get this absolutely non-controversial regression fix in before the release? https://github.com/dlang/dmd/pull/8542
Aug 21
prev sibling next sibling parent Martin Nowak <code+news.digitalmars dawg.eu> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 08/17/2018 10:01 PM, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release, ♥ to the 
 47 contributors for this release.
 
 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.082.0.html
 
 As usual please report any bugs at https://issues.dlang.org
Second Beta live now. -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAluAW24ACgkQsnOBFhK7 GTn/Dg/8Daattu9zLZL8C7KdEjuMZnJoJk+SeXsFdbDHa3Y1mndRuu+Fq/m1xSCp gbBcnVedD64N4iLfSP2rvJusbcVR9s7F+Q2YqcYPsa7AKNTjTUMgrqCD71DbFx1l Zq+HEnOmdS5ZabcHVl9zt29w91Y4uGQXWhKKmxq9l1YCmR4Y7dIW2xYNmNfjuNFQ c5yQk/+UrLyxQmpiR1g+E/NChUJYwG8fhYFtUDHChSksvCxqZkgUUyONM+oV9g5J fJ04S0xUSVhf2m++q8TaHBw3NexG0oI/Rs78yLY31l/9BRU6bvgZEd0QBBSyUWRK c8vx+SvxsGnzgK1N+xOupug1IWHg1fN/nUMmNYm5F2dyHAp0oeW8G/OqAT8DtHYp xD/Tam+vHaPPq/jl1POPECz2hMtT+yd2wRsL/+2WrO6FiE5l7LayVCmAsLtqqHjn UplpjhObmt/VstvgaFzobI5+C0EzbJJUwe+S+ErhVFcazud6fjb3SOnwA3cSuJXt rHi9Jzbwrk+T15JjKF1LZf/+r99Awi9igSRAA3Qa+Qx/CXCu845vyTG0Uodqx65E 2QTS4IItdrR6sNL44w38JJdhfle8O6xFgSX6wLSbJ7GTGVNclTaIMuHi+lW/6ai2 XdmJg/eHoXWzWW0WGq5peb5MeT4OkqGWKe1JhICU+DU5WP7Wmt8= =BLdX -----END PGP SIGNATURE-----
Aug 24
prev sibling parent reply Martin Nowak <code dawg.eu> writes:
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.082.0 release, ♥ to 
 the 47 contributors for this release.

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

 As usual please report any bugs at https://issues.dlang.org
Release candidate available for download now. Website will be updated soon, seems like Digger hasn't yet picked up https://github.com/dlang/dlang.org/pull/2458.
Aug 29
parent Martin Nowak <code dawg.eu> writes:
On Wednesday, 29 August 2018 at 23:31:37 UTC, Martin Nowak wrote:
 Website will be updated soon, seems like Digger hasn't yet 
 picked up https://github.com/dlang/dlang.org/pull/2458.
You can download binaries directly from http://downloads.dlang.org/pre-releases/2.x/2.082.0/ until that is fixed.
Aug 29