DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Sönke Ludwig

Major changes since 0.9.16:

 - The registry is now officially located at http://code.dlang.org

   See also the current discussion thread in the D forum:
   http://forum.dlang.org/thread/l0o0jq$gvp$1...@digitalmars.com

 - Build types (debug, release, unittest etc.) can now be customized

 - Added support for multiple package repositories

 - Build flags are now handled in an abstract way to facilitate better
   compatibility of packages with different compilers (using a
   buildOptions field instead of dflags in most cases)

 - Configuration resolution on complex dependency graphs is much more
   robust now (i.e. configurations and subConfigurations fields of
   all used packages affect the finally chosen configurations as
   appropriate)

 - Robustness improvements for the VisualD project generator (avoids
   redundant flags and link dependencies)


There are currently two active contributors, but a lot of work has piled 
up, mostly in the form of enhancement requests, so any additional help 
is valuable.



GitHub projects:

  https://github.com/rejectedsoftware/dub
  https://github.com/rejectedsoftware/dub-registry


Full change log:

  https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md


Download:

  http://code.dlang.org/download


Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Brad Anderson
On Thursday, 12 September 2013 at 10:34:56 UTC, Sönke Ludwig 
wrote:

Major changes since 0.9.16:

 - The registry is now officially located at 
http://code.dlang.org


   See also the current discussion thread in the D forum:
   http://forum.dlang.org/thread/l0o0jq$gvp$1...@digitalmars.com

 - Build types (debug, release, unittest etc.) can now be 
customized


 - Added support for multiple package repositories

 - Build flags are now handled in an abstract way to facilitate 
better

   compatibility of packages with different compilers (using a
   buildOptions field instead of dflags in most cases)

 - Configuration resolution on complex dependency graphs is 
much more
   robust now (i.e. configurations and subConfigurations 
fields of

   all used packages affect the finally chosen configurations as
   appropriate)

 - Robustness improvements for the VisualD project generator 
(avoids

   redundant flags and link dependencies)


There are currently two active contributors, but a lot of work 
has piled up, mostly in the form of enhancement requests, so 
any additional help is valuable.



GitHub projects:

  https://github.com/rejectedsoftware/dub
  https://github.com/rejectedsoftware/dub-registry


Full change log:

  
https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md



Download:

  http://code.dlang.org/download


Something is wrong with dub-0.9.18-setup.exe.  CRC check fails.


Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Craig Dillabaugh

On Thursday, 12 September 2013 at 10:34:56 UTC, Sönke Ludwig
wrote:

Major changes since 0.9.16:

 - The registry is now officially located at 
http://code.dlang.org


   See also the current discussion thread in the D forum:
   http://forum.dlang.org/thread/l0o0jq$gvp$1...@digitalmars.com

 - Build types (debug, release, unittest etc.) can now be 
customized


 - Added support for multiple package repositories

 - Build flags are now handled in an abstract way to facilitate 
better

   compatibility of packages with different compilers (using a
   buildOptions field instead of dflags in most cases)

 - Configuration resolution on complex dependency graphs is 
much more
   robust now (i.e. configurations and subConfigurations 
fields of

   all used packages affect the finally chosen configurations as
   appropriate)

 - Robustness improvements for the VisualD project generator 
(avoids

   redundant flags and link dependencies)


There are currently two active contributors, but a lot of work 
has piled up, mostly in the form of enhancement requests, so 
any additional help is valuable.



GitHub projects:

  https://github.com/rejectedsoftware/dub
  https://github.com/rejectedsoftware/dub-registry


Full change log:

  
https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md



Download:

  http://code.dlang.org/download


Currently any attempt to access the precompiled binaries, eg:

http://code.dlang.org/files/dub-0.9.18-linux-x86_64.tar.gz

returns

500 - Internal Server Error.

Internal error information:
object.Exception@../../../opt/vibe/source/vibe/inet/message.d(352):
Enforcement failed

./dub-registry(pure @safe bool
std.exception.enforce!(bool).enforce(bool, lazy const(char)[],
immutable(char)[], ulong)+0x6b) [0x5e31ab]
./dub-registry(void
vibe.inet.message.InetHeaderMap.remove(immutable(char)[])+0x182)
[0x744dfa]
./dub-registry(void
vibe.http.fileserver.sendFile(vibe.http.server.HTTPServerRequest,
vibe.http.server.HTTPServerResponse, vibe.inet.path.Path,
vibe.http.fileserver.HTTPFileServerSettings)+0x47c) [0x664844]
./dub-registry(void delegate(vibe.http.server.HTTPServerRequest,
vibe.http.server.HTTPServerResponse)
vibe.http.fileserver.serveStaticFiles(vibe.inet.path.Path,
vibe.http.fileserver.HTTPFileServerSettings).void
callback(vibe.http.server.HTTPServerRequest,
vibe.http.server.HTTPServerResponse)+0x2ce) [0x66416e]
./dub-registry(void
vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest,
vibe.http.server.HTTPServerResponse)+0x179) [0x6637d1]
./dub-registry(bool
vibe.http.server.handleRequest(vibe.core.stream.Stream,
immutable(char)[], vibe.http.server.HTTPServerListener, ref
vibe.http.server.HTTPServerSettings, ref bool)+0x1545) [0x6592a5]
./dub-registry(void
vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection,
vibe.http.server.HTTPServerListener)+0x143) [0x657c9b]
./dub-registry(void
vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings,
void delegate(vibe.http.server.HTTPServerRequest,
vibe.http.server.HTTPServerResponse)).void
doListen(vibe.http.server.HTTPServerSettings,
vibe.http.server.HTTPServerListener, immutable(char)[]).void
__lambda45(vibe.core.net.TCPConnection)+0x2c) [0x65424c]
./dub-registry(extern (C) nothrow void
vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void
ClientTask.execute()+0x2d6) [0x67119e]
./dub-registry(void vibe.core.core.CoreTask.run()+0xf2) [0x67ef82]
./dub-registry(void core.thread.Fiber.run()+0x2a) [0x788fd2]
./dub-registry(fiber_entryPoint+0x61) [0x788edd]
[(nil)]



Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Sönke Ludwig
Am 12.09.2013 18:16, schrieb Brad Anderson:
 Something is wrong with dub-0.9.18-setup.exe.  CRC check fails.

Thanks, fixed now.

There are some weird issues with GZIP compression on the server so I
disabled it for now. (I need to rewrite the compression code using zlib
directly anyway to avoid excessive GC allocations)


Updates to D graph library

2013-09-12 Thread Joseph Rushton Wakeling

Hello all,

Today I pushed a number of major (and breaking) changes to the 
master repository of the D graph library.  I've provided a brief 
summary on my blog, which also describes how to revise any 
programs to work with the new code:

http://braingam.es/2013/09/d-graph-library-updates/

I hope that these changes don't unduly inconvenience anyone 
currently using the library.  My own take was that it's worth it 
in terms of moving to a generic design and offering some new 
higher-performance graph data structures, which I'll be 
describing in more detail some time soon.


Feedback on the new code is welcome.  I would also like to offer 
thanks to all the nice people on D.learn who contributed useful 
ideas that helped with this update :-)


Thanks  best wishes,

-- Joe


Re: [OT] My C++ talk at GoingNative 2013

2013-09-12 Thread Joseph Rushton Wakeling

On Tuesday, 10 September 2013 at 13:08:29 UTC, Iain Buclaw wrote:
All class methods are virtual by default in D, unless declared 
'final'.


There was an intense discussion a while back which ended in (I 
think) a decision by Walter to switch to final-by-default, but 
there has so far been no practical follow-up.


Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Kapps
On Thursday, 12 September 2013 at 18:01:43 UTC, Craig Dillabaugh 
wrote:


Currently any attempt to access the precompiled binaries, eg:

http://code.dlang.org/files/dub-0.9.18-linux-x86_64.tar.gz

returns

500 - Internal Server Error.

Internal error information:
object.Exception@../../../opt/vibe/source/vibe/inet/message.d(352):
Enforcement failed

./dub-registry(pure @safe bool
std.exception.enforce!(bool).enforce(bool, lazy const(char)[],
immutable(char)[], ulong)+0x6b) [0x5e31ab]
./dub-registry(void
vibe.inet.message.InetHeaderMap.remove(immutable(char)[])+0x182)
[0x744dfa]
./dub-registry(void
vibe.http.fileserver.sendFile(vibe.http.server.HTTPServerRequest,
...


Try a different browser. I had this issue when using curl / wget, 
but it worked with Firefox.


Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Craig Dillabaugh

On Thursday, 12 September 2013 at 21:06:22 UTC, Kapps wrote:
On Thursday, 12 September 2013 at 18:01:43 UTC, Craig 
Dillabaugh wrote:


Currently any attempt to access the precompiled binaries, eg:

http://code.dlang.org/files/dub-0.9.18-linux-x86_64.tar.gz

returns

500 - Internal Server Error.

Internal error information:
object.Exception@../../../opt/vibe/source/vibe/inet/message.d(352):
Enforcement failed

./dub-registry(pure @safe bool
std.exception.enforce!(bool).enforce(bool, lazy const(char)[],
immutable(char)[], ulong)+0x6b) [0x5e31ab]
./dub-registry(void
vibe.inet.message.InetHeaderMap.remove(immutable(char)[])+0x182)
[0x744dfa]
./dub-registry(void
vibe.http.fileserver.sendFile(vibe.http.server.HTTPServerRequest,
...


Try a different browser. I had this issue when using curl / 
wget, but it worked with Firefox.


Failed with Firefox, Opera, and Chromium.  Maybe it is something
with my PC, will try again from another PC.


Re: [OT] My C++ talk at GoingNative 2013

2013-09-12 Thread Iain Buclaw
On Sep 12, 2013 9:16 PM, Joseph Rushton Wakeling 
joseph.wakel...@webdrake.net wrote:

 On Tuesday, 10 September 2013 at 13:08:29 UTC, Iain Buclaw wrote:

 All class methods are virtual by default in D, unless declared 'final'.


 There was an intense discussion a while back which ended in (I think) a
decision by Walter to switch to final-by-default, but there has so far been
no practical follow-up.

Not sure how long ago that was, but dconf everyone agreed to disagree and
left it at we're not changing it.

Regards
-- 
Iain Buclaw

*(p  e ? p++ : p) = (c  0x0f) + '0';


Re: [OT] My C++ talk at GoingNative 2013

2013-09-12 Thread Sean Kelly
On Sep 12, 2013, at 2:46 PM, Iain Buclaw ibuc...@ubuntu.com wrote:
 
 Not sure how long ago that was, but dconf everyone agreed to disagree and 
 left it at we're not changing it.

Here's a portion of the discussion where Walter seemed to change his mind:

http://forum.dlang.org/thread/yzsqwejxqlnzryhrk...@forum.dlang.org?page=26

Re: [OT] My C++ talk at GoingNative 2013

2013-09-12 Thread Sean Kelly
On Sep 12, 2013, at 2:46 PM, Iain Buclaw ibuc...@ubuntu.com wrote:

 
 On Sep 12, 2013 9:16 PM, Joseph Rushton Wakeling 
 joseph.wakel...@webdrake.net wrote:
 
  On Tuesday, 10 September 2013 at 13:08:29 UTC, Iain Buclaw wrote:
 
  All class methods are virtual by default in D, unless declared 'final'.
 
 
  There was an intense discussion a while back which ended in (I think) a 
  decision by Walter to switch to final-by-default, but there has so far been 
  no practical follow-up.
 
 Not sure how long ago that was, but dconf everyone agreed to disagree and 
 left it at we're not changing it.

I believe this decision happened after dconf as the result of a rather long 
discussion in digitalmars.D.  Someone referenced something written by a C# 
creator.

Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread Craig Dillabaugh

On Thursday, 12 September 2013 at 21:30:38 UTC, Craig Dillabaugh
wrote:

On Thursday, 12 September 2013 at 21:06:22 UTC, Kapps wrote:
On Thursday, 12 September 2013 at 18:01:43 UTC, Craig 
Dillabaugh wrote:


Currently any attempt to access the precompiled binaries, eg:

http://code.dlang.org/files/dub-0.9.18-linux-x86_64.tar.gz

returns

500 - Internal Server Error.

Internal error information:
object.Exception@../../../opt/vibe/source/vibe/inet/message.d(352):
Enforcement failed

./dub-registry(pure @safe bool
std.exception.enforce!(bool).enforce(bool, lazy const(char)[],
immutable(char)[], ulong)+0x6b) [0x5e31ab]
./dub-registry(void
vibe.inet.message.InetHeaderMap.remove(immutable(char)[])+0x182)
[0x744dfa]
./dub-registry(void
vibe.http.fileserver.sendFile(vibe.http.server.HTTPServerRequest,
...


Try a different browser. I had this issue when using curl / 
wget, but it worked with Firefox.


Failed with Firefox, Opera, and Chromium.  Maybe it is something
with my PC, will try again from another PC.


Same problem with Opera/Chrome from my home PC (Windows 7).  My
previous attempts were from my Linux machine at the office where
I tried Firefox/Opera/Chromium.

I am the only one experiencing this?

Craig




Re: DUB 0.9.17/0.9.18 have been released + now on code.dlang.org

2013-09-12 Thread growler
On Friday, 13 September 2013 at 00:56:27 UTC, Craig Dillabaugh 
wrote:

On Thursday, 12 September 2013 at 21:30:38 UTC, Craig Dillabaugh
wrote:

On Thursday, 12 September 2013 at 21:06:22 UTC, Kapps wrote:
On Thursday, 12 September 2013 at 18:01:43 UTC, Craig 
Dillabaugh wrote:


Currently any attempt to access the precompiled binaries, eg:

http://code.dlang.org/files/dub-0.9.18-linux-x86_64.tar.gz

returns

500 - Internal Server Error.

Internal error information:
object.Exception@../../../opt/vibe/source/vibe/inet/message.d(352):
Enforcement failed

./dub-registry(pure @safe bool
std.exception.enforce!(bool).enforce(bool, lazy 
const(char)[],

immutable(char)[], ulong)+0x6b) [0x5e31ab]
./dub-registry(void
vibe.inet.message.InetHeaderMap.remove(immutable(char)[])+0x182)
[0x744dfa]
./dub-registry(void
vibe.http.fileserver.sendFile(vibe.http.server.HTTPServerRequest,
...


Try a different browser. I had this issue when using curl / 
wget, but it worked with Firefox.


Failed with Firefox, Opera, and Chromium.  Maybe it is 
something

with my PC, will try again from another PC.


Same problem with Opera/Chrome from my home PC (Windows 7).  My
previous attempts were from my Linux machine at the office where
I tried Firefox/Opera/Chromium.

I am the only one experiencing this?

Craig


I'm getting this also on a windows PC from a Chrome browser.