Re: What's the rationale here? alias this and function arguments

2015-03-10 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 10 March 2015 at 10:36:21 UTC, ketmar wrote: On Tue, 10 Mar 2015 10:27:13 +, John Colvin wrote: struct S { int a; this(T)(T v) { this = v; } void foo(T)(T v) { import std.conv : to; a =

[Issue 14258] SIGSEGV in dpldocs

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14258 --- Comment #5 from Sönke Ludwig slud...@outerproduct.org --- The crash occurs because the proper termination conditions for recursive macro calls are not implemented. I'll do that. There could be an additional issue in the GC/array implementation,

[Issue 14258] SIGSEGV in dpldocs

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14258 --- Comment #6 from Vladimir Panteleev thecybersha...@gmail.com --- Except for address space exhaustion, OutOfMemoryError will never realistically occur in any OS with overcommit. --

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 Dicebot pub...@dicebot.lv changed: What|Removed |Added CC||pub...@dicebot.lv --- Comment #3

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 Jonathan M Davis issues.dl...@jmdavisprog.com changed: What|Removed |Added CC|

Re: Two suggestions for safe refcounting

2015-03-10 Thread Volodymyr via Digitalmars-d
On Friday, 6 March 2015 at 22:41:16 UTC, Zach the Mystic wrote: You've packed a lot of ideas into one post. Your solution might work, but it's hard for me to tell. Yeah... How about this one: In C++ type of this is T*. If we could pass shared_ptrT as this (instead of raw ptr) system will be

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #5 from Dicebot pub...@dicebot.lv --- It's quite normal It is common, not normal. And this attitude needs to change if D wants to be considered stable for production usage for wider audience. Fortunately, so far seem that Martin shares

Re: How to use UFCS and std.algorithm.sort?

2015-03-10 Thread Andre via Digitalmars-d-learn
Thanks a lot! Kind regards André On Tuesday, 10 March 2015 at 08:40:28 UTC, Jonathan M Davis wrote: On Tuesday, March 10, 2015 07:24:52 Andre via Digitalmars-d-learn wrote: Hi, with the new beta I get the warning I should use std.algorithm.sort instead the .sort property. I thought the

[Issue 14235] [REG2.066] full-qualified template instantiation misses its error location

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14235 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/643ca3f02c237631aa4415386e8abd253f4d66bf Merge pull request #4452 from

Re: GtkD 3.0-beta

2015-03-10 Thread Kagamin via Digitalmars-d-announce
On Monday, 9 March 2015 at 18:48:53 UTC, captaindet wrote: after original package installation setup whatnot, will i end up with a dedicated gtk3 folder msys provides pacman and gtk3 package to fetch (and build?).

Re: What Features Should A GUI toolkit have?

2015-03-10 Thread via Digitalmars-d
On Tuesday, 10 March 2015 at 08:02:00 UTC, Kagamin wrote: Yet, web 2.0 technologies have only rudimentary notion of backward compatibility, all it breaks routinely. No... there are sometimes regressions, but only for a few releases. It does not matter when you bundle the engine with the

What's the rationale here? alias this and function arguments

2015-03-10 Thread John Colvin via Digitalmars-d-learn
struct S { int a; this(T)(T v) { this = v; } void foo(T)(T v) { import std.conv : to; a = v.to!int; } alias foo this; } void bar(S s){} void main() { S s0; s0 = 3;

[Issue 14198] [REG2.067a] Link failure with Variant

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14198 --- Comment #11 from github-bugzi...@puremagic.com --- Commits pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/4dfde4caab8fb9e12c035784d5ddf33925ea3526 Merge pull request

[Issue 14233] [REG2.067b2] Can't build Algebraic!(This[]) anymore

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14233 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/35ccb6aa9360f3d8cd63cb31ea25e7a596546a96 Merge pull request

[Issue 14213] Strange deprecated message in std.typecons.Proxy with using method

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14213 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/b8627ba4f639f57a079fbba2b93a913d91404f6b Merge pull request

[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13390 --- Comment #12 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e2d774fc85804ce1eabdaf5f526fb287a2d48417 Merge pull request

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 ncras...@gmail.com changed: What|Removed |Added CC||ncras...@gmail.com --

Re: DIP75 - Release Process

2015-03-10 Thread Israel via Digitalmars-d
On Saturday, 7 March 2015 at 04:54:38 UTC, David Soria Parra wrote: Hi, I've been working with Martin Nowak and Andrei in the last few weeks to get ideas and write up a DIP on D's release process. With D maturing more and more I believe it is time to formalize the release process and do a

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #7 from Dicebot pub...@dicebot.lv --- For the stability, we have to defer to fix bug by adding deprecation stage Yes, unless it compromises program correctness (memory corruption, wrong codegen etc). It is a normal practice in majority

Re: What's the rationale here? alias this and function arguments

2015-03-10 Thread ketmar via Digitalmars-d-learn
On Tue, 10 Mar 2015 10:27:13 +, John Colvin wrote: struct S { int a; this(T)(T v) { this = v; } void foo(T)(T v) { import std.conv : to; a = v.to!int; } alias foo this; } void bar(S s){} void

Re: DlangIDE

2015-03-10 Thread Vadim Lopatin via Digitalmars-d-announce
On Friday, 6 February 2015 at 14:03:07 UTC, Vadim Lopatin wrote: Hello, I'm working on cross-platform D language IDE - DlangIDE. It's written in D using DlangUI based GUI. Project on GitHub: https://github.com/buggins/dlangide It's in alpha stage but already allows: * Open DUB based projects

Re: What's the rationale here? alias this and function arguments

2015-03-10 Thread Baz via Digitalmars-d-learn
On Tuesday, 10 March 2015 at 10:27:14 UTC, John Colvin wrote: struct S { int a; this(T)(T v) { this = v; } void foo(T)(T v) { import std.conv : to; a = v.to!int; } alias foo this; }

Re: Derelict Assimp not loading mesh properly? (Maybe index buffer)

2015-03-10 Thread BennetD via Digitalmars-d-learn
On Monday, 9 March 2015 at 14:25:54 UTC, Michael Robertson wrote: On Friday, 6 March 2015 at 02:41:19 UTC, Bennet wrote: I wrote a custom OBJ file importer which worked fairly well however was not robust enough to support everything. I've decided to give AssImp a shot. I followed some

[Issue 14232] redundant attribute 'const'

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #20 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/53c5b59ca83e471fea6e4464862b39e62df0f335 Merge pull request #4458

Re: 2.067 Beta: Behavior of enum and ref changed

2015-03-10 Thread Andre via Digitalmars-d-learn
Thanks a lot! Kind regards André On Tuesday, 10 March 2015 at 09:25:02 UTC, Meta wrote: On Tuesday, 10 March 2015 at 08:37:46 UTC, Jonathan M Davis wrote: It's the base type that isn't implicitly convertible to the enum type. Err, yes. I had that the wrong way around. Anyway, I filed an

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, March 10, 2015 00:41:50 Daniel Murphy via Digitalmars-d wrote: Vladimir Panteleev wrote in message news:vdwvdnzzzhenuybcb...@forum.dlang.org... What about source Linux distributions, like Gentoo? What do other self-hosted languages do in this situation? Download the zip.

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread ketmar via Digitalmars-d
On Tue, 10 Mar 2015 10:32:09 +, Ola Fosheim Grøstad wrote: On Tuesday, 10 March 2015 at 01:25:05 UTC, karl wrote: Also, GL should be optional, just like with Qt; it introduces noticeable lag of 16 to 48ms while being a resource hog unnecessary for most apps. I could help with

[Issue 13116] Should not be able to return ref to 'this'

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13116 --- Comment #10 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4d7040a5296a3a5e155b1dd37c0fbad480a2061b Merge pull request #4463

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #6 from Kenji Hara k.hara...@gmail.com --- (In reply to Dicebot from comment #5) And this attitude needs to change if D wants to be considered stable for production usage for wider audience. For the stability, we have to defer to fix

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread via Digitalmars-d
On Tuesday, 10 March 2015 at 01:25:05 UTC, karl wrote: Also, GL should be optional, just like with Qt; it introduces noticeable lag of 16 to 48ms while being a resource hog unnecessary for most apps. I could help with implementing the abstraction layer and create a software blitter (I was

[Issue 14206] cdouble is broken

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14206 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/efabbd365e4b46337135240f18ad96fd6d78c921 std.math №3: conj for

[Issue 14232] redundant attribute 'const'

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14232 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread via Digitalmars-d
On Tuesday, 10 March 2015 at 10:33:24 UTC, Jonathan M Davis wrote: And it's not like dmd would be alone with this problem. Other languages' compilers are written in the language that they compile as well Yeah, besides you could cross compile to LLVM IR and use whatever LLVM tools exists on

[Issue 14258] SIGSEGV in dpldocs

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14258 --- Comment #8 from Vladimir Panteleev thecybersha...@gmail.com --- On Linux, what usually happens upon attempting to commit (write to) a page that has been overcommitted (COW of a zero page), when there are no free pages and no pages to swap or

[Issue 14258] SIGSEGV in dpldocs

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14258 --- Comment #9 from Sönke Ludwig slud...@outerproduct.org --- Hm, you are right of course, totally forgot about that. --

[Issue 14258] SIGSEGV in dpldocs

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14258 --- Comment #7 from Sönke Ludwig slud...@outerproduct.org --- My systems all have limited swap space - what would the OS do when all that memory is filled with data (note that the array that is piled up is actually written to)? I've added the

Re: This Week in D #8: ddmd progressing, moving toward release.

2015-03-10 Thread via Digitalmars-d-announce
On Monday, 9 March 2015 at 13:33:16 UTC, Adam D. Ruppe wrote: I ran out of my backlog and haven't had the time to write up new ones the last couple weeks because of other obligations eating up all my time (this week, I had to travel for a work Don't wear yourself out on a weekly deadline,

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #8 from Kenji Hara k.hara...@gmail.com --- (In reply to Dicebot from comment #7) unless it compromises program correctness (memory corruption, wrong codegen etc). In 2.066 and earlier, the program correctness had been compromised and

Re: Parallelization of a large array

2015-03-10 Thread Meta via Digitalmars-d-learn
On Tuesday, 10 March 2015 at 22:37:29 UTC, Ali Çehreli wrote: On 03/10/2015 03:16 PM, Meta wrote: Just add a condition variable. import std.stdio; import std.algorithm; import std.parallelism; void main() { int b = 2; auto a = [1, 2, 2, 3]; if (find(a, b).length !=

Re: Proposal : aggregated dlang git repository

2015-03-10 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 10 March 2015 at 22:59:39 UTC, Dicebot wrote: On Tuesday, 10 March 2015 at 20:28:10 UTC, Andrei Alexandrescu wrote: So what happened with this? Ping @ Dicebot -- Andrei Discussion mostly stalled with me and Vladimir having different estimate of trafe-off between keeping

Re: DIP75 - Release Process

2015-03-10 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu wrote: 3. As I articulated in the vision document, we aim at making vibe.d an integral part of the D distribution. That's more than a packaging issue: (a) vibe.d must follow the same release process, perhaps even same version

Re: is eC alot like D?

2015-03-10 Thread Rikki Cattermole via Digitalmars-d-learn
On 11/03/2015 4:16 p.m., Taylor Hillegeist wrote: So I found http://ec-lang.org/ it seems alot like D, But it has a company backing it. It just seems interesting. There is almost no meta programming support. Let alone CTFE. And no generics in the form of e.g. Java's is not the same as D's

Re: DIP75 - Release Process

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
On 3/10/15 8:43 PM, Vladimir Panteleev wrote: On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu wrote: 3. As I articulated in the vision document, we aim at making vibe.d an integral part of the D distribution. That's more than a packaging issue: (a) vibe.d must follow the same

[WORK] [IMPORTANT] [URGENT] ddox generation

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
Hey folks, a while ago I raised the point about the bad rendering of ddox-generated pages, for example: http://dlang.org/library/std/algorithm/findSplit.html Google returns such links so it's important the pages look professional. Could somebody fluent with ddox get on this sooner than ASAP

Re: New package behaviour in 2.067

2015-03-10 Thread Dicebot via Digitalmars-d-learn
Looks like bug, investigating.

Re: New package behaviour in 2.067

2015-03-10 Thread Dicebot via Digitalmars-d-learn
https://issues.dlang.org/show_bug.cgi?id=14275

[Issue 14264] Destructor not called when struct is returned from a parenthesis-less function call

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14264 --- Comment #8 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to Kenji Hara from comment #7) If you consider to start contribution to the dmd codebase for the bugfix, It's very glad to us. i'm slowly working on my aliced patchset,

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #12 from Steven Schveighoffer schvei...@yahoo.com --- (In reply to Jonathan M Davis from comment #10) Personally, I think that all operations that the compiler can't guarantee will result in a valid enum value for an enum type should

[Issue 14267] [REG2.067beta2] ICE when determining if a function can be inlined

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14267 --- 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/e5e7ddca3fd90a8fc473a594efd9204fc6818f73 fix Issue 14267 - ICE when

Re: 2.067 Beta: Behavior of enum and ref changed

2015-03-10 Thread Ali Çehreli via Digitalmars-d-learn
On 03/10/2015 01:37 AM, Jonathan M Davis via Digitalmars-d-learn wrote: However, the code in question still shouldn't compile because while a Bits variable may be implicitly convertible to ulong, it _isn't_ a ulong, In other words, the result of the implicit conversion is an rvalue,

[Issue 14264] Destructor not called when struct is returned from a parenthesis-less function call

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14264 --- Comment #7 from Kenji Hara k.hara...@gmail.com --- (In reply to Ketmar Dark from comment #6) The wrong call order has been there before the my first contribution for dmd codebase. to be clear: i didn't mean that this was the code you

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread Daniel Murphy via Digitalmars-d
Andrei Alexandrescu wrote in message news:mdo864$1jbk$1...@digitalmars.com... But this is weird - a release being built is required for building, um, itself? I do understand that idgen is a separate executable but the simple view is that if dmd 2.067 requires dmd being present, the

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
On 3/10/15 7:13 PM, Dicebot wrote: On Wednesday, 11 March 2015 at 02:10:12 UTC, Andrei Alexandrescu wrote: On 3/10/15 5:06 PM, Daniel Murphy wrote: Andrei Alexandrescu wrote in message news:mdnvct$1avc$1...@digitalmars.com... I think that's 2.066.1, right? 2.066.1 is enough to build

[Issue 14275] Qualified package protection for aggregate member doesn't work

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 --- Comment #1 from Dicebot pub...@dicebot.lv --- Bug is in usage of this access.c function: 265 / 266 * Determine if scope sc has package level access to s. 267 */ 268 bool hasPackageAccess(Scope *sc,

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
On 3/10/15 5:06 PM, Daniel Murphy wrote: Andrei Alexandrescu wrote in message news:mdnvct$1avc$1...@digitalmars.com... I think that's 2.066.1, right? 2.066.1 is enough to build idgen.d, but it can't build ddmd on all platforms. Among other things, the varargs fixes are missing. But this

is eC alot like D?

2015-03-10 Thread Taylor Hillegeist via Digitalmars-d-learn
So I found http://ec-lang.org/ it seems alot like D, But it has a company backing it. It just seems interesting.

Re: [WORK] [IMPORTANT] [URGENT] ddox generation

2015-03-10 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 11 March 2015 at 05:21:27 UTC, Vladimir Panteleev wrote: On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu wrote: Hey folks, a while ago I raised the point about the bad rendering of ddox-generated pages, for example:

Re: [WORK] [IMPORTANT] [URGENT] ddox generation

2015-03-10 Thread Walter Bright via Digitalmars-d
On 3/10/2015 10:15 PM, Andrei Alexandrescu wrote: Hey folks, a while ago I raised the point about the bad rendering of ddox-generated pages, for example: http://dlang.org/library/std/algorithm/findSplit.html Google returns such links so it's important the pages look professional. Could

Re: DIP75 - Release Process

2015-03-10 Thread Dicebot via Digitalmars-d
On Wednesday, 11 March 2015 at 05:16:38 UTC, Andrei Alexandrescu wrote: That doesn't ensure e.g. version compatibility etc. I repeat: my vision is to make vibe readily available with the D distribution, just like druntime and phobos. Of course dub is nice to include as well but not my main

Re: [WORK] [IMPORTANT] [URGENT] ddox generation

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
On 3/10/15 10:21 PM, Vladimir Panteleev wrote: On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu wrote: Hey folks, a while ago I raised the point about the bad rendering of ddox-generated pages, for example: http://dlang.org/library/std/algorithm/findSplit.html Google returns

Re: DIP75 - Release Process

2015-03-10 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 11 March 2015 at 05:16:38 UTC, Andrei Alexandrescu wrote: That doesn't ensure e.g. version compatibility etc. I repeat: my vision is to make vibe readily available with the D distribution, just like druntime and phobos. Of course dub is nice to include as well but not my main

[Issue 14275] Qualified package protection for aggregate member doesn't work

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 Dicebot pub...@dicebot.lv changed: What|Removed |Added Keywords||pull --

[Issue 14275] Qualified package protection for aggregate member doesn't work

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 --- Comment #2 from Dicebot pub...@dicebot.lv --- https://github.com/D-Programming-Language/dmd/pull/4476 --

Re: DIP75 - Release Process

2015-03-10 Thread David Soria Parra via Digitalmars-d
On Tuesday, 10 March 2015 at 22:41:32 UTC, Andrei Alexandrescu wrote: On 3/6/15 8:54 PM, David Soria Parra wrote: Hi, I've been working with Martin Nowak and Andrei in the last few weeks to get ideas and write up a DIP on D's release process. With D maturing more and more I believe it is

Re: is eC alot like D?

2015-03-10 Thread Taylor Hillegeist via Digitalmars-d-learn
On Wednesday, 11 March 2015 at 03:55:21 UTC, Rikki Cattermole wrote: On 11/03/2015 4:16 p.m., Taylor Hillegeist wrote: So I found http://ec-lang.org/ it seems alot like D, But it has a company backing it. It just seems interesting. There is almost no meta programming support. Let alone CTFE.

[Issue 14275] New: Qualified package protection for aggregate member doesn't work

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 Issue ID: 14275 Summary: Qualified package protection for aggregate member doesn't work Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-10 Thread Dicebot via Digitalmars-d
On Wednesday, 11 March 2015 at 02:10:12 UTC, Andrei Alexandrescu wrote: On 3/10/15 5:06 PM, Daniel Murphy wrote: Andrei Alexandrescu wrote in message news:mdnvct$1avc$1...@digitalmars.com... I think that's 2.066.1, right? 2.066.1 is enough to build idgen.d, but it can't build ddmd on all

[Issue 14150] /library/ Documentation Pages be Brokened

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14150 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: [WORK] [IMPORTANT] [URGENT] ddox generation

2015-03-10 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu wrote: Hey folks, a while ago I raised the point about the bad rendering of ddox-generated pages, for example: http://dlang.org/library/std/algorithm/findSplit.html Google returns such links so it's important the pages look

[Issue 14269] Enum is not implicitly converted to base type when using ref

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

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

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

[Issue 14264] Destructor not called when struct is returned from a parenthesis-less function call

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14264 --- Comment #6 from Ketmar Dark ket...@ketmar.no-ip.org --- The wrong call order has been there before the my first contribution for dmd codebase. to be clear: i didn't mean that this was the code you wrote. what i mean is that you have excellent

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #10 from Jonathan M Davis issues.dl...@jmdavisprog.com --- Personally, I think that all operations that the compiler can't guarantee will result in a valid enum value for an enum type should result in the base type of the enum rather than

Re: GtkD 3.0-beta

2015-03-10 Thread jollie via Digitalmars-d-announce
On Mon, 09 Mar 2015 13:48:54 -0500, captaindet wrote: thanks for the info. however, i am not familiar with this project. to be honest, it is not quite clear to me what MSYS2 is good for or who would need it. the dox are very slim. so before i dig too deep into what looks like a lot of

Re: How does laziness and UFCS interact?

2015-03-10 Thread Logan Capaldo via Digitalmars-d-learn
On Monday, 9 March 2015 at 22:15:43 UTC, Ali Çehreli wrote: You are right. I had the same observation at minute 11:27 below, where I warn against UFCS with assumeWontThrow: http://www.youtube.com/watch?feature=player_detailpagev=oF8K4-bieaw#t=687 Ali Sorry, which is right? I know ifThrown

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

Re: How does laziness and UFCS interact?

2015-03-10 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 10 March 2015 at 14:41:00 UTC, Logan Capaldo wrote: On Monday, 9 March 2015 at 22:15:43 UTC, Ali Çehreli wrote: You are right. I had the same observation at minute 11:27 below, where I warn against UFCS with assumeWontThrow:

[Issue 9397] Size error with struct with ctor and self-typed nested enum

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

Re: This Week in D #8: ddmd progressing, moving toward release.

2015-03-10 Thread ponce via Digitalmars-d-announce
On Tuesday, 10 March 2015 at 09:24:54 UTC, wobbles wrote: On Tuesday, 10 March 2015 at 08:06:18 UTC, ponce wrote: On Monday, 9 March 2015 at 22:29:42 UTC, amber wrote: There are a bunch of good tips here: http://p0nce.github.io/d-idioms/ If the author(s) are OK with the idea you could use

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread ketmar via Digitalmars-d
On Tue, 10 Mar 2015 20:01:01 +, karl wrote: SDL2: Chooses the deprecated color-mode in GLX; prevents you from creating a core context; keeps the baseline as if everyone has only hardware from 2001 or earlier that somehow still works; while preventing batching at every single operation.

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #15 from monkeywork...@hotmail.com --- (In reply to Dicebot from comment #3) It shouldn't compile but, same as with other such changes, it needs deprecation stage. That would imply that deprecations are ever done in D ;-) How long has

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread ketmar via Digitalmars-d
On Tue, 10 Mar 2015 20:24:03 +, karl wrote: Good for you then. Sucks to be _everyone_ else using this planned toolkit which is riding on the GL-is-vital-for GUI hypetrain, eh? never had *any* problems with GL toolkits. ah, well, there was a 20 minutes when i had problems: when i decided

Re: GtkD 3.0-beta

2015-03-10 Thread captaindet via Digitalmars-d-announce
On 2015-03-10 10:56, jollie wrote: On Mon, 09 Mar 2015 13:48:54 -0500, captaindet wrote: thanks for the info. however, i am not familiar with this project. to be honest, it is not quite clear to me what MSYS2 is good for or who would need it. the dox are very slim. so before i dig too deep

[Issue 14272] New: DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14272 Issue ID: 14272 Summary: DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code Product: D Version: D2 Hardware: All OS: All

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread karl via Digitalmars-d
Good for you then. Sucks to be _everyone_ else using this planned toolkit which is riding on the GL-is-vital-for GUI hypetrain, eh?

Re: GtkD 3.0-beta

2015-03-10 Thread Mengu via Digitalmars-d-announce
On Saturday, 7 March 2015 at 21:14:36 UTC, Mike Wey wrote: I'm glad to announce the first GtkD release that makes use of the new gir based generator. The generator was rebuild from the ground up since the old one was no longer usable with the new GTK+ documentation. For a list of changes see

Re: Proposal : aggregated dlang git repository

2015-03-10 Thread Andrei Alexandrescu via Digitalmars-d
So what happened with this? Ping @ Dicebot -- Andrei

Re: 2.067 Beta: Behavior of enum and ref changed

2015-03-10 Thread Ali Çehreli via Digitalmars-d-learn
On 03/10/2015 11:05 AM, Ali Çehreli wrote: In other words, the result of the implicit conversion is an rvalue Steven Schveighoffer says there is no rvalue in this case; an enum is a derivative: https://issues.dlang.org/show_bug.cgi?id=14269#c14 Ali

Parallelization of a large array

2015-03-10 Thread Dennis Ritchie via Digitalmars-d-learn
Hi. How to parallelize a large array to check for the presence of an element matching the value with the data? std.stdio; std.algorithm; std.parallelism; void main() { int[] a = new int[100]; foreach (i, ref elem; a) elem = i; /*if

expand variadic template parameters

2015-03-10 Thread André
Hi, in this minified example I try to expand the variadic parmaters of foo to bar: import std.typecons; void foo(T ...)(T args) { bar(args.expand); } void bar(int i, string s){} void main() { foo(1, a); } I got the syntax error: no property 'expand' for type '(int, string)' I

[Issue 14272] DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

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

[Issue 13681] @safe empty writeln

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13681 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12420] [AA] Can't set associative array with array as key value using key type

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

[Issue 14271] New: DMD 2.067-b4: strange behaviour of new package syntax

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14271 Issue ID: 14271 Summary: DMD 2.067-b4: strange behaviour of new package syntax Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity:

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #14 from Steven Schveighoffer schvei...@yahoo.com --- (In reply to Ali Cehreli from comment #13) If the implicitly-converted value is an rvalue (as it is), where is it stored to take the reference of? No, an enum is a derivative. It's

New document on Go's upcoming concurrent GC

2015-03-10 Thread Paulo Pinto via Digitalmars-d
Might be worthwhile reading https://docs.google.com/a/golang.org/document/d/1wmjrocXIWTr1JxU-3EQBI6BK6KgtiFArkG47XK73xIQ/preview?sle=truepli=1#heading=h.xy314pvxblbm

Re: expand variadic template parameters

2015-03-10 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 10 March 2015 at 19:11:22 UTC, André wrote: Is there a simple way to get it working? The simplest: just write `bar(args);` - the variadic arguments will automatically expand.

Re: expand variadic template parameters

2015-03-10 Thread ketmar via Digitalmars-d-learn
On Tue, 10 Mar 2015 19:11:21 +, André wrote: Hi, in this minified example I try to expand the variadic parmaters of foo to bar: import std.typecons; void foo(T ...)(T args) { bar(args.expand); } void bar(int i, string s){} void main() { foo(1, a); } I

Re: Standard GUI framework inspired by Qt

2015-03-10 Thread karl via Digitalmars-d
SDL2: Chooses the deprecated color-mode in GLX; prevents you from creating a core context; keeps the baseline as if everyone has only hardware from 2001 or earlier that somehow still works; while preventing batching at every single operation. glBegin, glRectf,

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 --- Comment #11 from Denis Shelomovskij verylonglogin@gmail.com --- (In reply to Steven Schveighoffer from comment #10) (In reply to Denis Shelomovskij from comment #9) I can't believe anyone can accept bahaviour shown in Comment 6. I

  1   2   >