[Issue 14321] Unnecessary destructor call with and AA's

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14321 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code

Re: DDT 0.11.0 released

2015-03-24 Thread Bruno Medeiros via Digitalmars-d-announce
On 23/03/2015 15:35, Ben Boeckel via Digitalmars-d-announce wrote: Running a Python script to generate D code? Yes, in DUB you can run arbitrary external commands before and after the D sources compilation. But not in between? Basically, can you have a tool written in D built with the

[Issue 14314] 2.067-rc1: ICE compiling project which has compiled fine for years

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14314 Martin Nowak c...@dawg.eu changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: DDT 0.11.0 released

2015-03-24 Thread Rikki Cattermole via Digitalmars-d-announce
On 25/03/2015 2:24 a.m., Bruno Medeiros wrote: On 23/03/2015 15:35, Ben Boeckel via Digitalmars-d-announce wrote: Running a Python script to generate D code? Yes, in DUB you can run arbitrary external commands before and after the D sources compilation. But not in between? Basically, can

Re: Need help with DLANGUI

2015-03-24 Thread Rikki Cattermole via Digitalmars-d-learn
On 25/03/2015 2:31 a.m., Eric wrote: BTW, why do you need FreeImage to create image? Isn't it just possible inside dlangui? This is basically my question. Is there a drawing engine that can draw lines, circles, and shapes as well as single pixels? -Eric If you have some way to draw you

Re: DDT 0.11.0 released

2015-03-24 Thread Bruno Medeiros via Digitalmars-d-announce
On 23/03/2015 23:01, Ben Boeckel via Digitalmars-d-announce wrote: On Mon, Mar 23, 2015 at 21:14:31 +0100, Jacob Carlborg via Digitalmars-d-announce wrote: On 2015-03-23 13:54, Bruno Medeiros wrote: There's no plans ATM to integrate with CDT itself. (I don't even know what integration with

[Issue 14304] [REG2.067a] ICE with static immutable variable CTFE

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14304 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||turkey...@gmail.com --- Comment

[Issue 72] valgrind: use of unitialized values in the gcx module

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=72 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 18 March 2015 at 18:48:53 UTC, Walter Bright wrote: I'm fed up with this problem. It is actively hurting us every day. https://issues.dlang.org/show_bug.cgi?id=14307 Anyone want to take this on? Shouldn't be particularly difficult. I could take this task, with help of Brian's

[Issue 12406] Broken delegate closure

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12406 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 14314] 2.067-rc1: ICE compiling project which has compiled fine for years

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14314 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Severity|critical|regression --

Re: DDT 0.11.0 released

2015-03-24 Thread Bruno Medeiros via Digitalmars-d-announce
On 24/03/2015 02:22, Manu via Digitalmars-d-announce wrote: On 23 March 2015 at 22:39, Bruno Medeiros via Digitalmars-d-announce In Visual-D you can even press F12 (go to definition) on an extern(C) symbol in your D code, and it will jump to the .cpp file where it's defined. That's quite

[Issue 13856] std.stdio.readln stomps arrays

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13856 --- Comment #6 from Ali Cehreli acehr...@yahoo.com --- Both of the bugs that are marked as duplicates of this one use byLine. (However, bug 14005 seems to be cured at this time.) Ali --

[Issue 10925] unittests qualified on the right hand side fail

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10925 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #3 from

uniform tuple syntax

2015-03-24 Thread Vlad Levenfeld via Digitalmars-d
Anything going on with this? Been looking forward to seeing it for awhile.

[Issue 14314] 2.067-rc1: ICE compiling project which has compiled fine for years

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14314 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 13856] std.stdio.readln stomps arrays

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13856 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #5 from

[Issue 14314] 2.067-rc1: ICE compiling project which has compiled fine for years

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14314 --- Comment #5 from Martin Nowak c...@dawg.eu --- I'm pretty sure it's the same issue. Next version is the final release. --

Re: DConf 2015 Schedule published

2015-03-24 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 3/24/15 1:28 AM, Iain Buclaw via Digitalmars-d-announce wrote: +1 For making Day 3 an hour shorter. I guess there's no time for lightning talks?;-) It was a difficult decision but we did note that on day 3 the last slot is sacrificed. We might be able to organize lightning talks after the

Re: Need help with DLANGUI

2015-03-24 Thread Eric via Digitalmars-d-learn
BTW, why do you need FreeImage to create image? Isn't it just possible inside dlangui? This is basically my question. Is there a drawing engine that can draw lines, circles, and shapes as well as single pixels? -Eric

Re: DConf 2015 Schedule published

2015-03-24 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 3/24/15 12:47 AM, Nemanja Boric wrote: Speaker's pages (http://dconf.org/2015/talks/zvibel.html for example) shows 2014 in the title. Thanks! https://github.com/D-Programming-Language/dconf.org/pull/50

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 24 March 2015 at 14:17:26 UTC, Dejan Lekic wrote: On Wednesday, 18 March 2015 at 18:48:53 UTC, Walter Bright wrote: I'm fed up with this problem. It is actively hurting us every day. https://issues.dlang.org/show_bug.cgi?id=14307 Anyone want to take this on? Shouldn't be

Re: How to connect asynchronously (non block) with kqueue?

2015-03-24 Thread Etienne via Digitalmars-d-learn
On 3/24/2015 5:50 AM, zhmt wrote: I am using kqueue on macosx, I know how to write a simple server. But don't know which event will be triggered in kqueue when connected successfully , which event when failed? EVFILT_READ or EVFILT_WRITE? I have googled this question, got no examples, any

I like D

2015-03-24 Thread Steven Schveighoffer via Digitalmars-d
Recently, while updating a D utility I wrote to process a binary log file into a tab-separated text file, I found a nice use for ranges. So I have N columns, separated by tabs. The header looks like this: TIME\tCOL1\tCOL2\t... With about 30 or 40 columns. The first output is a line like

Re: How to connect asynchronously (non block) with kqueue?

2015-03-24 Thread zhmt via Digitalmars-d-learn
On Tuesday, 24 March 2015 at 12:25:14 UTC, Etienne wrote: On 3/24/2015 5:50 AM, zhmt wrote: I am using kqueue on macosx, I know how to write a simple server. But don't know which event will be triggered in kqueue when connected successfully , which event when failed? EVFILT_READ or

How to connect asynchronously (non block) with kqueue?

2015-03-24 Thread zhmt via Digitalmars-d-learn
I am using kqueue on macosx, I know how to write a simple server. But don't know which event will be triggered in kqueue when connected successfully , which event when failed? EVFILT_READ or EVFILT_WRITE? I have googled this question, got no examples, any suggestions are welcome, Thanks.

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Kagamin via Digitalmars-d
Another good task for dfix.

Re: DConf 2015 Schedule published

2015-03-24 Thread Szymon Gatner via Digitalmars-d-announce
On Monday, 23 March 2015 at 16:47:30 UTC, Andrei Alexandrescu wrote: Dconf 2015's programme is on! http://dconf.org/2015/index.html I would like to thank everyone who submitted a proposal. We've had very strong proposals this year and a 50% acceptance rate, which made it very difficult to

Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/24/15 7:48 AM, Szymon Gatner wrote: On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote: Szymon Gatner wrote in message news:oofoormyfxkefokvk...@forum.dlang.org... i really try not to be whiny about it but it is sooo frustrating. d advertises itself as easy to integrate with

Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread csmith1991 via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 11:48:48 UTC, Szymon Gatner wrote: On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote: Szymon Gatner wrote in message news:oofoormyfxkefokvk...@forum.dlang.org... i really try not to be whiny about it but it is sooo frustrating. d advertises itself

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Daniel Murphy via Digitalmars-d
Steven Schveighoffer wrote in message news:mepo3t$8ka$1...@digitalmars.com... I would also find handy a switch to simply display publicly undocumented functions in the documentation. I recently went through and documented all core.stdc items with empty docs so they would just show up. Was

Re: Solution to problems:

2015-03-24 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 23 March 2015 at 21:34:09 UTC, Jake The Baker wrote: 1. IDE that works with a centralized server to be able to change D versions at a drop of a time. e.g., click Master and it checks to see if you have the latest, if not it downloads it, configures it, and sets it up hands free to

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Steven Schveighoffer via Digitalmars-d
On 3/24/15 7:04 AM, Daniel Murphy wrote: Steven Schveighoffer wrote in message news:mepo3t$8ka$1...@digitalmars.com... I would also find handy a switch to simply display publicly undocumented functions in the documentation. I recently went through and documented all core.stdc items with empty

Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Szymon Gatner via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote: Szymon Gatner wrote in message news:oofoormyfxkefokvk...@forum.dlang.org... i really try not to be whiny about it but it is sooo frustrating. d advertises itself as easy to integrate with c/c++ and maybe in theory it is but in

Re: Release D 2.067.0

2015-03-24 Thread Tove via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 17:08:03 UTC, Martin Nowak wrote: Glad to announce D 2.067.0. https://dlang.dawg.eu/downloads/dmd.2.067.0/ -Martin Congrats! Although, I must admit, I was a little saddened to see that multiple alias this didn't make the release, I thought it was finalized... I

Re: Release D 2.067.0

2015-03-24 Thread Mathias Lang via Digitalmars-d-announce
2015-03-24 18:07 GMT+01:00 Martin Nowak via Digitalmars-d-announce digitalmars-d-announce@puremagic.com: Glad to announce D 2.067.0. This release comes with many improvements. The GC is a lot faster for most use-cases, we have improved C++ interoperability and fixed plenty of bugs. See

Re: DConf 2015 Schedule published

2015-03-24 Thread deadalnix via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 13:47:38 UTC, Andrei Alexandrescu wrote: On 3/24/15 1:28 AM, Iain Buclaw via Digitalmars-d-announce wrote: +1 For making Day 3 an hour shorter. I guess there's no time for lightning talks?;-) It was a difficult decision but we did note that on day 3 the last

Re: Release D 2.067.0

2015-03-24 Thread Martin Nowak via Digitalmars-d-announce
On 03/24/2015 10:11 PM, John Colvin wrote: This cannot be added to homebrew until there is a new stable release of dub. Why is that? Anyhow dub is in beta and ready soon.

[Issue 14327] Unhandled exception from writeln() in C++/D application

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14327 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||C++ CC|

Re: uniform tuple syntax

2015-03-24 Thread deadalnix via Digitalmars-d
On Tuesday, 24 March 2015 at 23:07:29 UTC, Vlad Levenfeld wrote: On Tuesday, 24 March 2015 at 18:12:03 UTC, Martin Nowak wrote: I think we should settle on a syntax and split DIP32 in a tuple part and a pattern matching part. The proposal wasn't yet formally accepted, partly because we wanted

[Issue 14329] New: [2.067] offline doc - menu broken due to missing jquery-1.7.2.min.js

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14329 Issue ID: 14329 Summary: [2.067] offline doc - menu broken due to missing jquery-1.7.2.min.js Product: D Version: D2 Hardware: All OS: Windows

Re: Release D 2.067.0

2015-03-24 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 18:01:26 UTC, Andrei Alexandrescu wrote: Yes, amazing job. Let's gear up for the next release with http://wiki.dlang.org/DIP75 sooner! -- Andrei Well 2 month, that's right before dconf, sounds like a good plan.

Re: Release D 2.067.0

2015-03-24 Thread weaselcat via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 17:58:54 UTC, Dicebot wrote: Arch Linux packages have been uploaded. Thanks for maintaining the D packages on arch.

Re: D's type classes pattern ?

2015-03-24 Thread anonymous via Digitalmars-d-learn
On Tuesday, 24 March 2015 at 16:56:13 UTC, matovitch wrote: Thanks, just to be clear : void Bar(T : Foo)(T t){ } is the same as void Bar(T)(T t) if (is(T == Foo)){ } and it is checked only at compile time ? (for the runtime I know that what interface were meant for ;)). Ali already

Re: D's type classes pattern ?

2015-03-24 Thread Ali Çehreli via Digitalmars-d-learn
On 03/24/2015 08:50 AM, matovitch wrote: Lets say I want to implement some generic algorithm. I would like to checks the types passed to my algorithm implements a specific interface. I think you are looking for template constraints. Look at isInputRange's implementation:

Re: D's type classes pattern ?

2015-03-24 Thread Ali Çehreli via Digitalmars-d-learn
On 03/24/2015 09:56 AM, matovitch wrote: just to be clear : void Bar(T : Foo)(T t){ } That means if T can implicitly be converted to Foo. is the same as void Bar(T)(T t) if (is(T == Foo)){ } That means if T is exactly Foo. and it is checked only at compile time ? Yes to both. Ali

Re: Release D 2.067.0

2015-03-24 Thread John Colvin via Digitalmars-d-announce
On Tuesday, 24 March 2015 at 21:31:42 UTC, Martin Nowak wrote: On 03/24/2015 10:11 PM, John Colvin wrote: This cannot be added to homebrew until there is a new stable release of dub. Why is that? Anyhow dub is in beta and ready soon. Current stable dub fails to build with 2.067.0, so it

Re: Release D 2.067.0

2015-03-24 Thread Sönke Ludwig via Digitalmars-d-announce
Am 24.03.2015 um 23:14 schrieb John Colvin: On Tuesday, 24 March 2015 at 21:31:42 UTC, Martin Nowak wrote: On 03/24/2015 10:11 PM, John Colvin wrote: This cannot be added to homebrew until there is a new stable release of dub. Why is that? Anyhow dub is in beta and ready soon. Current

Re: uniform tuple syntax

2015-03-24 Thread Vlad Levenfeld via Digitalmars-d
On Tuesday, 24 March 2015 at 18:12:03 UTC, Martin Nowak wrote: I think we should settle on a syntax and split DIP32 in a tuple part and a pattern matching part. The proposal wasn't yet formally accepted, partly because we wanted to wait, whether more needs come up. By now it's already 2 years

[Issue 14325] [CTFE] Comparison of AAs makes wrong result

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14325 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6e41bfa6268fc44f3a767b32bb8cfb845265a5d7 fix Issue 14325 - [CTFE]

Re: Release D 2.067.0

2015-03-24 Thread Sönke Ludwig via Digitalmars-d-announce
There are now two release candidates with source compatibility fixes for DMD 2.067.0 out for testing: DUB 0.9.23-rc.1: http://code.dlang.org/download vibe.d 0.7.23-rc.4: http://code.dlang.org/packages/vibe-d/0.7.23-rc.4 If no regressions or major issues show up, I'll tag the vibe.d release

[Issue 14329] [2.067] offline doc - menu broken due to missing jquery-1.7.2.min.js

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14329 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||c...@dawg.eu,

Re: Release D 2.067.0

2015-03-24 Thread Baz via Digitalmars-d-announce
thx for the release. i's just like to point a problem with the distribution of the local html doc: https://issues.dlang.org/show_bug.cgi?id=14329

Re: 2nd London D Programmers Meetup - Robot Tank Battle Tournament

2015-03-24 Thread Kingsley via Digitalmars-d-announce
Here are the details - spread the word: http://www.meetup.com/London-D-Programmers/events/220610394/ thanks --Kingsley Thanks for all who came to the D meetup. The champion tank of the evening goes to runaway.d by Justin Priya which defeated all challengers swiftly and in style :)

Re: Release D 2.067.0

2015-03-24 Thread Sönke Ludwig via Digitalmars-d-announce
Am 25.03.2015 um 00:00 schrieb Mathias Lang via Digitalmars-d-announce: 2015-03-24 18:07 GMT+01:00 Martin Nowak via Digitalmars-d-announce digitalmars-d-announce@puremagic.com mailto:digitalmars-d-announce@puremagic.com: Glad to announce D 2.067.0. This release comes with many

Re: Release D 2.067.0

2015-03-24 Thread Walter Bright via Digitalmars-d-announce
On 3/24/2015 10:58 AM, Dicebot wrote: Arch Linux packages have been uploaded. I am very grateful to Martin for handling this release. It was done very professionally and thanks to beta discussions/testing we did some great breakthrough in release stability by providing deprecation paths for

Re: A few notes on choosing between Go and D for a quick project

2015-03-24 Thread Mike James via Digitalmars-d
On Friday, 20 March 2015 at 20:34:36 UTC, Walter Bright wrote: On 3/20/2015 8:25 AM, weaselcat wrote: All of the content on rosettacode appears to be licensed under GNU FDL, I believe it would just have to be released under the GNU FDL or a similar copyleft license that fulfills the GNU FDL.

BigInt and xor

2015-03-24 Thread Dennis Ritchie via Digitalmars-d-learn
Tell me, please, how can I replace this code? import std.conv : to; import std.bigint : BigInt; import std.string : format; import std.stdio : writeln; void main() { BigInt[10] bitArr; ulong n = 18_446_724_073_709_551_614U; bitArr[0] = format(%b, n).to!BigInt;

[Issue 13856] std.stdio.readln stomps arrays

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13856 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5770] Template constructor bypass access check

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5770 Nicolas Sicard dran...@gmail.com changed: What|Removed |Added CC||dran...@gmail.com ---

[Issue 11587] Cannot compare AAs at compile time

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11587 --- Comment #4 from Kenji Hara k.hara...@gmail.com --- (In reply to Nicolas Sicard from comment #3) Is this error related to this (supposedly fixed) bug? static assert([1: 1] != [1: 2, 2: 1]); // OK static assert([1: 1] != [1: 2]); // OK static

D's type classes pattern ?

2015-03-24 Thread matovitch via Digitalmars-d-learn
Hi, It's been a long time since I coded some d code... sorry I take the lazy way asking for advices. :D Lets say I want to implement some generic algorithm. I would like to checks the types passed to my algorithm implements a specific interface. interface IStuff(Stuff) { void foo(); }

[Issue 12417] `toStringz` is fundamentally broken

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12417 John Colvin john.loughran.col...@gmail.com changed: What|Removed |Added CC|

[Issue 14325] New: [CTFE] Comparison of AAs makes wrong result

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14325 Issue ID: 14325 Summary: [CTFE] Comparison of AAs makes wrong result Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: CTFE, wrong-code

how call a c function with stdcall?

2015-03-24 Thread mzfhhhh via Digitalmars-d-learn
for example:use vc compile on x86 func.c: __declspec(dllexport) int _stdcall sub(int a,int b) { return a-b; } func.def: LIBRARY EXPORTS sub - i use implib.exe to create a omf format lib. D code: import std.exception; //this is a cdecl call extern(C)

Re: std.typecons: PrimitiveRef

2015-03-24 Thread Andre via Digitalmars-d
Definition of BoolRef: alias BoolRef = PrimitiveRef!bool;

std.typecons: PrimitiveRef

2015-03-24 Thread Andre via Digitalmars-d
Hi, Namespace helped me to get following template working. struct PrimitiveRef(T) { private T* _value; @property ref inout(T) get() inout pure nothrow { assert(_value); return *_value; } alias get this;

Re: Solution to problems:

2015-03-24 Thread Nick Sabalausky via Digitalmars-d
On 03/23/2015 08:18 PM, ketmar wrote: On Mon, 23 Mar 2015 21:34:08 +, Jake The Baker wrote: I don't want to spend 30mins to an hour to download the latest version, compile it if I have to, make sure all the configuration stuff is correct, create a setup program... just to find out there is

Re: D's type classes pattern ?

2015-03-24 Thread matovitch via Digitalmars-d-learn
More like : import std.stdio; interface IStuff(Stuff) { void foo(); } class TypeClass(T, I) : I(T) { alias this stuff; T stuff; } void myAwesomeAlgo(Stuff) (TypeClass!(Stuff, IStuff) stuff) { stuff.foo(); } struct MyStuff { void foo() { writeln(Hello World

[Issue 14324] Cannot cast AA to immutable at compile time

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14324 Nicolas Sicard dran...@gmail.com changed: What|Removed |Added Keywords||CTFE --

[Issue 14324] New: Cannot cast AA to immutable at compile time

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14324 Issue ID: 14324 Summary: Cannot cast AA to immutable at compile time Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: normal

[Issue 14325] [CTFE] Comparison of AAs makes wrong result

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14325 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: D's type classes pattern ?

2015-03-24 Thread matovitch via Digitalmars-d-learn
Well, just follow that link to the code...it almost compile : http://dpaste.com/3JNP0QD.

[Issue 14330] Global variable causes wrong DWARF type of local variable

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14330 Martin Krejcirik m...@krej.cz changed: What|Removed |Added Keywords||symdeb --

[Issue 14330] New: Global variable causes wrong DWARF type of local variable

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14330 Issue ID: 14330 Summary: Global variable causes wrong DWARF type of local variable Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW

[Issue 14329] [2.067] offline doc - menu broken due to missing jquery-1.7.2.min.js

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14329 --- Comment #1 from Martin Nowak c...@dawg.eu --- Don't the menus work without js? And seriously how useful are the offline HTML docs? --

Re: Where's This week in D?

2015-03-24 Thread Rikki Cattermole via Digitalmars-d
On 25/03/2015 7:40 a.m., Adam D. Ruppe wrote: On Monday, 23 March 2015 at 21:28:27 UTC, Andrei Alexandrescu wrote: No issue for the past week? -- Andrei I forgot to post it online this Sunday. Really, I need to move these to Saturday, Sundays are just packed full of non-computer time for me.

Re: Solution to problems:

2015-03-24 Thread Jake The Baker via Digitalmars-d
On Tuesday, 24 March 2015 at 17:49:56 UTC, CraigDillabaugh wrote: On Tuesday, 24 March 2015 at 17:13:07 UTC, Jake The Baker wrote: You guys are complete ignoring 90% of the post. It is not just about configuration. Regardless, I'll be back in another year to see what progress has been made.

Re: Solution to problems:

2015-03-24 Thread Israel via Digitalmars-d
On Monday, 23 March 2015 at 21:34:09 UTC, Jake The Baker wrote: In 10 more years I doubt Andrei or Walter will have as much energy to do all the work that they are doing... Better build the infrastructure now while there is time. Make an atom plugin. The one stop shop for all things D.

Re: Release D 2.067.0

2015-03-24 Thread Jonathan via Digitalmars-d-announce
Thanks to everyone who helped make this happen! This release sounds like a solid milestone in multiple crucial areas. Here's to the next release!

[Issue 14332] New: support with statement and :

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14332 Issue ID: 14332 Summary: support with statement and : Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority:

Re: uniform tuple syntax

2015-03-24 Thread Brian Schott via Digitalmars-d
On Tuesday, 24 March 2015 at 23:07:29 UTC, Vlad Levenfeld wrote: Anything wrong with using {}? It looks good to me, does it lead to any parsing ambiguities? Before: auto x = {}; // struct or function? After: auto x = {}; // struct, function, or tuple??

Re: uniform tuple syntax

2015-03-24 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 24 March 2015 at 23:07:29 UTC, Vlad Levenfeld wrote: Anything wrong with using {}? It looks good to me, does it lead to any parsing ambiguities? In this context, it would look like a delegate/function literal or perhaps the start of a scope in other contexts. auto a = { arg1,

Re: how call a c function with stdcall?

2015-03-24 Thread mzfhhhh via Digitalmars-d-learn
On Tuesday, 24 March 2015 at 15:26:22 UTC, Adam D. Ruppe wrote: try extern(Windows) isntead of extern(C). use extern(Windows) or extern(System) the compile show the link error: Error 42: Symbol Undefined _sub@8 dll export func name is sub, and the dll is 3rd party,i can't

[Issue 14331] New: Can't call `destroy()` on a class with `alias this` on a struct field

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14331 Issue ID: 14331 Summary: Can't call `destroy()` on a class with `alias this` on a struct field Product: D Version: D2 Hardware: x86_64 OS: Windows

[Issue 9685] Context pointer of struct isn't copied when a closure is passed by alias

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9685 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||tta...@gmail.com --- Comment

Re: uniform tuple syntax

2015-03-24 Thread ixid via Digitalmars-d
On Tuesday, 24 March 2015 at 18:12:03 UTC, Martin Nowak wrote: On 03/24/2015 03:11 PM, Vlad Levenfeld wrote: Anything going on with this? Been looking forward to seeing it for awhile. I think we should settle on a syntax and split DIP32 in a tuple part and a pattern matching part. The

Re: how call a c function with stdcall?

2015-03-24 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 25 March 2015 at 00:09:33 UTC, mzf wrote: i use implib.exe /system func.lib func.dll to create a func.lib. You might also need to specify the .def file as the final argument to that. http://digitalmars.com/ctg/implib.html The def file can list aliases for the functions.

[Issue 14329] [2.067] offline doc - menu broken due to missing jquery-1.7.2.min.js

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14329 --- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com --- The reason is that jquery-1.7.2.min.js is missing from the makefile rules, BTW --

Re: Release D 2.067.0

2015-03-24 Thread Paul O'Neil via Digitalmars-d-announce
On 03/24/2015 01:07 PM, Martin Nowak wrote: Glad to announce D 2.067.0. This release comes with many improvements. The GC is a lot faster for most use-cases, we have improved C++ interoperability and fixed plenty of bugs. See the changelog for more details.

[Issue 12811] GC-allocated closure for calling instance function in filter

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12811 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Is there websocket client implementation for D

2015-03-24 Thread Rikki Cattermole via Digitalmars-d-learn
On 25/03/2015 6:55 a.m., Ilya Korobitsyn wrote: Hello! Is there any websocket client implementation in D? I know there is WS server as a part of vibe.d, but it does not seem to include client. Maybe there are some library bindings that I've missed? Thank you, Ilya It appears you are on your

[Issue 10963] Wrong code with aliased function referencing closure variable

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10963 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14332] support with statement and :

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14332 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 11573] [ld.gold] debug information doesn't work

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11573 Martin Krejcirik m...@krej.cz changed: What|Removed |Added CC||m...@krej.cz --- Comment #1

Re: how call a c function with stdcall?

2015-03-24 Thread mzfhhhh via Digitalmars-d-learn
On Wednesday, 25 March 2015 at 00:26:21 UTC, Adam D. Ruppe wrote: On Wednesday, 25 March 2015 at 00:09:33 UTC, mzf wrote: i use implib.exe /system func.lib func.dll to create a func.lib. You might also need to specify the .def file as the final argument to that.

Re: Solution to problems:

2015-03-24 Thread Rikki Cattermole via Digitalmars-d
You have never tried compiling Chromium have you.. Dmd, druntime and phobos do not compare in complexity to that. And that's with Google backing it.

Re: uniform tuple syntax

2015-03-24 Thread Rikki Cattermole via Digitalmars-d
On 25/03/2015 7:11 a.m., Martin Nowak wrote: On 03/24/2015 03:11 PM, Vlad Levenfeld wrote: Anything going on with this? Been looking forward to seeing it for awhile. I think we should settle on a syntax and split DIP32 in a tuple part and a pattern matching part. The proposal wasn't yet

[Issue 13337] Invalid extern C++ namespace resolution

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13337 Colden Cullen coldencul...@gmail.com changed: What|Removed |Added CC||coldencul...@gmail.com

[Issue 14092] C++ mangling for struct nested inside same class as static function is broken when in namespace

2015-03-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14092 Colden Cullen coldencul...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

  1   2   >