Re: Release D 2.068.0

2015-08-11 Thread Daniel Kozak via Digitalmars-d-announce

On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:

Glad to announce D 2.068.0.

http://downloads.dlang.org/releases/2.x/2.068.0/

This release comes with many rangified phobos functions, 2 new 
GC profilers, a new AA implementation, and countless further 
improvements and fixes.


See the changelog for more details. 
http://dlang.org/changelog.html#2.068.0


-Martin


I am sorry, but this release is horrible. It is a first time when 
I am force to do nothing with my codebase. Everything works as 
expected. So there is definitely something wrong :).


Re: Release D 2.068.0

2015-08-11 Thread Ben Boeckel via Digitalmars-d-announce
On Tue, Aug 11, 2015 at 15:08:21 -0700, Bill Baxter via Digitalmars-d-announce 
wrote:
 New to brew... getting errors with this on Yosemite:
 Error: Permission denied - /usr/local/etc/dmd.conf
 and sudo brew install refuses to do so.

/usr/local is Apple's domain on Yosemite now. IIRC, even root can't
touch it in 10.11.

--Ben


Re: Release D 2.068.0

2015-08-11 Thread John Colvin via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 22:08:50 UTC, Bill Baxter wrote:
On Tue, Aug 11, 2015 at 12:52 AM, John Colvin via 
Digitalmars-d-announce  digitalmars-d-announce@puremagic.com 
wrote:



On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:


Glad to announce D 2.068.0.

http://downloads.dlang.org/releases/2.x/2.068.0/

This release comes with many rangified phobos functions, 2 
new GC profilers, a new AA implementation, and countless 
further improvements and fixes.


See the changelog for more details. 
http://dlang.org/changelog.html#2.068.0


-Martin



brew update  brew reinstall dmd

:)



New to brew... getting errors with this on Yosemite:
Error: Permission denied - /usr/local/etc/dmd.conf
and sudo brew install refuses to do so.

--bb


Did you by any chance have dmd installed from the installer 
before-hand?


What does `brew doctor` give you?


Re: Release D 2.068.0

2015-08-11 Thread John Colvin via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 22:30:04 UTC, Ben Boeckel wrote:
On Tue, Aug 11, 2015 at 15:08:21 -0700, Bill Baxter via 
Digitalmars-d-announce wrote:

New to brew... getting errors with this on Yosemite:
Error: Permission denied - /usr/local/etc/dmd.conf
and sudo brew install refuses to do so.


/usr/local is Apple's domain on Yosemite now. IIRC, even root 
can't touch it in 10.11.


--Ben


Not true. AFAIK /usr/local is the only bit of /usr that *is* 
available for third-parties.


Re: Release D 2.068.0

2015-08-11 Thread Bill Baxter via Digitalmars-d-announce
On Tue, Aug 11, 2015 at 3:28 PM, John Colvin via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com wrote:

 On Tuesday, 11 August 2015 at 22:08:50 UTC, Bill Baxter wrote:

 On Tue, Aug 11, 2015 at 12:52 AM, John Colvin via Digitalmars-d-announce
  digitalmars-d-announce@puremagic.com wrote:

 On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:

 Glad to announce D 2.068.0.

 http://downloads.dlang.org/releases/2.x/2.068.0/

 This release comes with many rangified phobos functions, 2 new GC
 profilers, a new AA implementation, and countless further improvements and
 fixes.

 See the changelog for more details.
 http://dlang.org/changelog.html#2.068.0

 -Martin


 brew update  brew reinstall dmd

 :)


 New to brew... getting errors with this on Yosemite:
 Error: Permission denied - /usr/local/etc/dmd.conf
 and sudo brew install refuses to do so.

 --bb


 Did you by any chance have dmd installed from the installer before-hand?


No, just installed brew last night.



 What does `brew doctor` give you?


Ah, that mentions that a bunch of paths aren't writeable and suggests I
chown them.

Warning: /usr/local/bin isn't writable.

Warning: /usr/local/etc isn't writable.

Warning: /usr/local/sbin isn't writable.

Warning: The /usr/local directory is not writable.

Might be something to do with corp setup.  brew install went fine but said
it was changing all those dirs to be group-writeable and group 'admin'.
But they don't appear to be so now:

$ ls -ld /usr/local/bin
drwxr-xr-x  77 root  wheel  2618 Aug 10 18:06 /usr/local/bin
Running the chmod and chgrp commands from the brew install over again does
allow the 'brew install dmd' command to complete without error.

--bb


Re: Release D 2.068.0

2015-08-11 Thread John Colvin via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 08:27:00 UTC, Marc Schütz wrote:
Packages for openSUSE 13.1, 13.2, Factory and Tumbleweed are 
now available in devel:languages:D.


http://download.opensuse.org/repositories/devel:/languages:/D/


Please could you update/correct the entry here to reflect that: 
http://wiki.dlang.org/Compilers#Package_and.2For_binary_availability.2C_by_platform_and_compiler


thanks :)


Re: Release D 2.068.0

2015-08-11 Thread via Digitalmars-d-announce
Packages for openSUSE 13.1, 13.2, Factory and Tumbleweed are now 
available in devel:languages:D.


http://download.opensuse.org/repositories/devel:/languages:/D/


Re: Release D 2.068.0

2015-08-11 Thread via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 09:04:42 UTC, John Colvin wrote:

On Tuesday, 11 August 2015 at 08:27:00 UTC, Marc Schütz wrote:
Packages for openSUSE 13.1, 13.2, Factory and Tumbleweed are 
now available in devel:languages:D.


http://download.opensuse.org/repositories/devel:/languages:/D/


Please could you update/correct the entry here to reflect that: 
http://wiki.dlang.org/Compilers#Package_and.2For_binary_availability.2C_by_platform_and_compiler


thanks :)


Done.


Re: Release D 2.068.0

2015-08-11 Thread John Colvin via Digitalmars-d-announce

On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:

Glad to announce D 2.068.0.

http://downloads.dlang.org/releases/2.x/2.068.0/

This release comes with many rangified phobos functions, 2 new 
GC profilers, a new AA implementation, and countless further 
improvements and fixes.


See the changelog for more details. 
http://dlang.org/changelog.html#2.068.0


-Martin


brew update  brew reinstall dmd

:)


Re: vibe.d 0.7.24 released

2015-08-11 Thread Misu via Digitalmars-d-announce

On Monday, 10 August 2015 at 17:27:56 UTC, Sönke Ludwig wrote:
A new vibe.d release is out. Apart from support for the 2.068 D 
frontend, some of the major changes are:


 - The vibe.web.web module adds support for convenient 
WebSocket routes
 - Renamed SSL to TLS (with compatibility aliases, of 
course)
 - Json.opDispatch and Bson.opDispatch are scheduled for 
deprecation


There are a lots of additional changes and bug fixes listed in 
the change log:

http://vibed.org/blog/posts/vibe-release-0.7.24

Homepage: http://vibed.org/
DUB package: http://code.dlang.org/packages/vibe-d
GitHub: https://github.com/rejectedsoftware/vibe.d


Thanks for the work. vibe.d is awesome


Re: Release D 2.068.0

2015-08-11 Thread BBasile via Digitalmars-d-announce

On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:
See the changelog for more details. 
http://dlang.org/changelog.html#2.068.0


Something that's not obvious about phobos `hexString` CT 
template, it's not reflected in the DDOC, but it works with the 
`import` expression, and i think it was the primary goal, for 
example if you have an hex dump that's likely to represent some 
ASCII chars, in a file named file.txt:


---
import std.conv;
writeln( hexString!(import(file.txt)));
---

Coedit users can use this easily because the folder of a runnable 
module is always added to the string import path (-J). For 
example they just have to put the dump files into the folder 
where stand the script...et voilà compile file  run works 
directly without error about the import() folder.


Re: vibe.d 0.7.24 released

2015-08-11 Thread Suliman via Digitalmars-d-announce

I can't understand why I can't build vibed with 2.068

C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(631):
 Error: '_d_monitorenter' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(631):
 Error: '_d_monitorexit' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(622):
 Error: function 'vibe.core.drivers.libevent2.Libevent 2ManualEvent.emit' is 
nothrow yet may throw


I wrote in dub.json:

vibe-d: 0.7.24

but it's downloading 0.7.23 version.

After command dub upgrade I am getting:

D:\code\httpAppdub upgrade
Upgrading project in D:\code\httpApp
Error executing command upgrade:
Root package httpapp contains reference to invalid package vibe-d




Re: vibe.d 0.7.24 released

2015-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce

On Monday, 10 August 2015 at 18:23:25 UTC, Sönke Ludwig wrote:
The main technical reason was CT reflections issues (the 
particular case was that they had always been erroneously 
recognized as input ranges) and the fact that any API change 
involving the Json struct would potentially be a silently 
breaking change. Another thing that I personally always felt 
was that the syntax had the effect of unconsciously hiding 
bugs, because it *looks* like static field access, so your 
brain thinks that the compiler checks for things like spelling 
mistakes.


Aye, good points.


Ideally, I'd love to see statically defined structs for 
everything with easy to/from serialization. The serialization 
part is easy - the trickier part is getting the right struct 
definition.


I started working on an analyzer thing that takes a real world 
data sample and creates a struct from it. Actually, my main 
reason for doing that was reverse engineering a third party API - 
reading a struct definition is easier than reading json IMO - but 
it'd have nice benefits for these too.


Most dynamic types really are static, you just don't always 
know the layout at compile time. But with a bit of ahead-of-time 
analyzers of the data, we can basically bridge that without 
needing a whole lot of extra work.




Re: vibe.d 0.7.24 released

2015-08-11 Thread Sönke Ludwig via Digitalmars-d-announce

Am 11.08.2015 um 15:28 schrieb Suliman:

I can't understand why I can't build vibed with 2.068

C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(631):
Error: '_d_monitorenter' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(631):
Error: '_d_monitorexit' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core\drivers\libevent2.d(622):
Error: function 'vibe.core.drivers.libevent2.Libevent 2ManualEvent.emit'
is nothrow yet may throw


I wrote in dub.json:

vibe-d: 0.7.24

but it's downloading 0.7.23 version.

After command dub upgrade I am getting:

D:\code\httpAppdub upgrade
Upgrading project in D:\code\httpApp
Error executing command upgrade:
Root package httpapp contains reference to invalid package vibe-d




That's probably due to an annoying side effect of the metadata cache. 
Try to rerun after doing dub clean-caches.


Re: vibe.d 0.7.24 released

2015-08-11 Thread wobbles via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 14:14:10 UTC, Suliman wrote:

I still can't get 0.7.24. My config is:

dependencies: {
vibe-d: 0.7.24
},

[...]


Try going to your packages directory and actually deleting the 
0.7.23 folder?

(Remember, backup!)


Re: vibe.d 0.7.24 released

2015-08-11 Thread Suliman via Digitalmars-d-announce

I still can't get 0.7.24. My config is:

dependencies: {
vibe-d: 0.7.24
},

D:\code\httpAppdub clean-caches

D:\code\httpAppdub build
Fetching vibe-d 0.7.23 (getting selected version)...
Placing vibe-d 0.7.23 to 
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\...
Selected package vibe-d 0.7.23 does not match the dependency 
specification 0.7.2

4 in package httpapp. Need to dub upgrade?
Selected package libasync 0.7.5 does not match the dependency 
specification 0.7.

1 in package vibe-d. Need to dub upgrade?
Building vibe-d 0.7.23 configuration libevent, build type debug.
Running dmd...
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core
\drivers\libevent2.d(631): Error: '_d_monitorenter' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core
\drivers\libevent2.d(631): Error: '_d_monitorexit' is not nothrow
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\core
\drivers\libevent2.d(622): Error: function 
'vibe.core.drivers.libevent2.Libevent

2ManualEvent.emit' is nothrow yet may throw


Re: vibe.d 0.7.24 released

2015-08-11 Thread Sönke Ludwig via Digitalmars-d-announce

Am 11.08.2015 um 16:14 schrieb Suliman:

I still can't get 0.7.24. My config is:

dependencies: {
vibe-d: 0.7.24
},

D:\code\httpAppdub clean-caches

D:\code\httpAppdub build
(...)
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\...
Selected package vibe-d 0.7.23 does not match the dependency
specification 0.7.24 in package httpapp. Need to dub upgrade?


Did you try to run dub upgrade again after the clean-caches? This is 
necessary, because dub.selections.json is supposed to be able to 
manually override dependency specifications in dub.json.


DDT 0.13.0 released - DUB configurations support.

2015-08-11 Thread Bruno Medeiros via Digitalmars-d-announce
A new DDT release (nicknamed Candy Kingdom ) is out, please read the 
changelog:


https://github.com/bruno-medeiros/DDT/releases/tag/Release_0.13.0

This is Release Candidate quality, there might be a few undiscovered 
bugs with the recently introduced functionality.


--
Bruno Medeiros
https://twitter.com/brunodomedeiros


Re: DDT 0.13.0 released - DUB configurations support.

2015-08-11 Thread Colin via Digitalmars-d-announce

On Tuesday, 11 August 2015 at 17:03:35 UTC, Bruno Medeiros wrote:
A new DDT release (nicknamed Candy Kingdom ) is out, please 
read the changelog:


https://github.com/bruno-medeiros/DDT/releases/tag/Release_0.13.0

This is Release Candidate quality, there might be a few 
undiscovered bugs with the recently introduced functionality.


Great work! Thanks.

Is the next one going to be Ice Kingdom?




Re: Release D 2.068.0

2015-08-11 Thread Bill Baxter via Digitalmars-d-announce
On Tue, Aug 11, 2015 at 12:52 AM, John Colvin via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com wrote:

 On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:

 Glad to announce D 2.068.0.

 http://downloads.dlang.org/releases/2.x/2.068.0/

 This release comes with many rangified phobos functions, 2 new GC
 profilers, a new AA implementation, and countless further improvements and
 fixes.

 See the changelog for more details.
 http://dlang.org/changelog.html#2.068.0

 -Martin


 brew update  brew reinstall dmd

 :)


New to brew... getting errors with this on Yosemite:
Error: Permission denied - /usr/local/etc/dmd.conf
and sudo brew install refuses to do so.

--bb


Re: Release D 2.068.0

2015-08-11 Thread ketmar via Digitalmars-d-announce
On Tue, 11 Aug 2015 20:54:15 +, Daniel Kozak wrote:

 On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:
 Glad to announce D 2.068.0.

 http://downloads.dlang.org/releases/2.x/2.068.0/

 This release comes with many rangified phobos functions, 2 new GC
 profilers, a new AA implementation, and countless further improvements
 and fixes.

 See the changelog for more details.
 http://dlang.org/changelog.html#2.068.0

 -Martin
 
 I am sorry, but this release is horrible. It is a first time when I am
 force to do nothing with my codebase. Everything works as expected. So
 there is definitely something wrong :).

you should fill a regression bug, i think.

signature.asc
Description: PGP signature


Re: Release D 2.068.0

2015-08-11 Thread Ben Boeckel via Digitalmars-d-announce
On Tue, Aug 11, 2015 at 22:36:47 +, John Colvin via Digitalmars-d-announce 
wrote:
 Not true. AFAIK /usr/local is the only bit of /usr that *is* 
 available for third-parties.

Ah, mixed it up with this tidbit:

The /usr/local folder remains accessible, however; it's a
long-running convention in Unix and variants as a place to stash
material and software that individual users rely on. El Capitan will
also remove files from those directories that don't belong to Apple.

So it isn't safe over an upgrade, but is accessible.

--Ben


Re: Release D 2.068.0

2015-08-11 Thread Rikki Cattermole via Digitalmars-d-announce

On 12/08/2015 8:54 a.m., Daniel Kozak wrote:

On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote:

Glad to announce D 2.068.0.

http://downloads.dlang.org/releases/2.x/2.068.0/

This release comes with many rangified phobos functions, 2 new GC
profilers, a new AA implementation, and countless further improvements
and fixes.

See the changelog for more details.
http://dlang.org/changelog.html#2.068.0

-Martin


I am sorry, but this release is horrible. It is a first time when I am
force to do nothing with my codebase. Everything works as expected. So
there is definitely something wrong :).


Hahahaha thats funny!