Re: Passing large or complex data structures to threads

2013-05-27 Thread Joseph Rushton Wakeling
On 05/27/2013 11:33 PM, Simen Kjaeraas wrote: A few questions: Why use a class? Will MyDataStore be subclassed? It was important to me that it have reference semantics, in particular that a = b implies a is b. Will you have some instances of MyDataStore that will be mutated, and others

[Issue 4436] Double bug regarding Tuple.init

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4436 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10181] New: deprecated is ignored if used inside template

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10181 Summary: deprecated is ignored if used inside template Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10182] New: std.bitmanip unit test has pointless/unused foreach loop

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10182 Summary: std.bitmanip unit test has pointless/unused foreach loop Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: trivial

[Issue 9044] dmd sometimes produces object files with multiple definitions

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9044 --- Comment #26 from Denis Shelomovskij verylonglogin@gmail.com 2013-05-27 12:07:47 MSD --- (In reply to comment #25) I very much suspect that this is caused by the generated internal object file names of a library or other generated

[Issue 9957] [2.061 - 2.062] Taking pointer of enum float array gives some garbage

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9957 --- Comment #13 from github-bugzi...@puremagic.com 2013-05-27 02:03:02 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10178] Compiler segfault with zero-length tuple comparison

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10178 --- Comment #5 from github-bugzi...@puremagic.com 2013-05-27 02:03:21 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10178] Compiler segfault with zero-length tuple comparison

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10178 --- Comment #6 from github-bugzi...@puremagic.com 2013-05-27 02:04:05 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10176] Something to extend an array with a lazy range

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10176 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-05-27 02:06:50 PDT --- (In reply to comment #3) Hmm, I would have hoped that 'put' would work here, but it doesn't: put on arrays does not append. It starts writing at

[Issue 10167] Wrong Document Comment on std.format.d(181)

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10167 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-27 02:34:19 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/phobos

[Issue 10181] deprecated is ignored if used inside template

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10181 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 10182] std.bitmanip unit test has pointless/unused foreach loop

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10182 --- Comment #1 from Diggory digg...@googlemail.com 2013-05-27 03:44:37 PDT --- https://github.com/D-Programming-Language/phobos/pull/1310 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 10183] New: Eponymous template instance fails to match in parameter list of other templates

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10183 Summary: Eponymous template instance fails to match in parameter list of other templates Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9734] setIntersection accepts only 2 ranges, but documentation says otherwise

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9734 jens.k.muel...@gmx.de changed: What|Removed |Added CC||jens.k.muel...@gmx.de ---

[Issue 10183] Eponymous template instance fails to match in parameter list of other templates

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10183 --- Comment #1 from Jakob Ovrum jakobov...@gmail.com 2013-05-27 04:07:18 PDT --- Thinking more about it, I guess this might not be meant to work. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 9699] strip functions should have stripLeft/stripRight counterparts and be generic

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9699 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 10182] std.bitmanip unit test has pointless/unused foreach loop

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10182 Diggory digg...@googlemail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8672] %% operator

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8672 --- Comment #12 from bearophile_h...@eml.cc 2013-05-27 04:53:16 PDT --- (In reply to comment #1) To say one version of modulus is bug prone and the other is not, is itself erroneous. I have just found another bug in my code caused by it,

[Issue 10183] Eponymous template instance fails to match in parameter list of other templates

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10183 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10141] wrong error message with Tuple!(int) : Error: static assert Cannot put a char[] into a Appender!(string)

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10141 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||diagnostic

[Issue 10163] struct with static void array member without initializer causes ICE

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10163 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||ice

[Issue 10163] struct with static void array member without initializer causes ICE

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10163 --- Comment #2 from Jakob Ovrum jakobov...@gmail.com 2013-05-27 06:02:45 PDT --- (In reply to comment #1) The code had not been accepted, so I think this is not a blocker regression against 2.063 release. Change the importance. Of course,

[Issue 10183] Eponymous template instance fails to match in parameter list of other templates

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10183 --- Comment #3 from Jakob Ovrum jakobov...@gmail.com 2013-05-27 06:04:44 PDT --- Yeah, I noticed after posting. The problem with the amended caller code is that it leaks implementation details, as it were. It would be nice if there was a

[Issue 10184] New: Port Tango's concurrent garbage collector (CDGC) to D2's druntime

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10184 Summary: Port Tango's concurrent garbage collector (CDGC) to D2's druntime Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity:

[Issue 10138] Regression (2.063 git-head): Using ReturnType with scoped no longer works

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10138 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10138] Regression (2.063 git-head): Using ReturnType with scoped no longer works

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10138 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-05-27 06:16:05 PDT --- (In reply to comment #2) therefore the OP code is invalid right now. In conclusion, this is not a regression. Ok, but we should at least add a

[Issue 10179] Tuple assignment should not cause has no effect error even if the length is zero

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10179 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-27 06:19:05 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10179] Tuple assignment should not cause has no effect error even if the length is zero

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10179 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10180] offsetof doesn't work through function call alias this

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10180 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-27 06:20:46 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added CC|

[Issue 4424] Copy constructor and templated opAssign cannot coexist

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4424 --- Comment #10 from github-bugzi...@puremagic.com 2013-05-27 08:26:03 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 --- Comment #5 from Tiberiu Gal galtibe...@gmail.com 2013-05-27 08:54:12 PDT --- I can only test it with win32. It works with the latest beta. (OT: Is there any easy way to test win64?) -- Configure issuemail:

[Issue 10180] offsetof doesn't work through function call alias this

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10180 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #15 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-27 09:28:43 PDT --- (In reply to comment #14) Since the fixup to the link command in this case is quite simple, how about a flag in dmd that performs a dry run

[Issue 10185] New: Linker errors with rdmd

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10185 Summary: Linker errors with rdmd Product: D Version: unspecified Platform: x86_64 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 Mike Wey mike-...@planet.nl changed: What|Removed |Added CC||mike-...@planet.nl ---

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 10017] Can not assign to a Variant another Variant holding a bigger structure

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10017 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-27 12:04:13 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 Nick Sabalausky cbkbbej...@mailinator.com changed: What|Removed |Added CC|

[Issue 9742] std.math.floor returns 0 for any value x -1 and x 0

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9742 --- Comment #9 from Andrei Alexandrescu and...@erdani.com 2013-05-27 14:00:39 PDT --- Great, thanks everyone for chiming in! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 10186] New: default construction is disabled even if default ctor declared

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10186 Summary: default construction is disabled even if default ctor declared Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10186] default construction is disabled even if default ctor declared

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10186 Henning Pohl henn...@still-hidden.de changed: What|Removed |Added Keywords||pull,

[Issue 10138] Regression (2.063 git-head): Using ReturnType with scoped no longer works

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10138 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-05-27 14:51:41 PDT --- (In reply to comment #2) In fact, the type you had extract by using ReturnType!(scoped!A) had not been correct scoped value type. The bug has fixed

[Issue 10186] default construction is disabled even if default ctor declared

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10186 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-27 15:25:47 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10186] default construction is disabled even if default ctor declared

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10186 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10138] Regression (2.063 git-head): Using ReturnType with scoped no longer works

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10138 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-05-27 15:39:22 PDT --- (In reply to comment #4) Here's the thing, though. In that phobos pull, monarchdodra commented with: Finally, I gave Scoped an @disabled this() to prevent our

[Issue 10186] default construction is disabled even if default ctor declared

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10186 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 10017] Can not assign to a Variant another Variant holding a bigger structure

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10017 David Eagen da...@eagen.com changed: What|Removed |Added CC||da...@eagen.com ---

[Issue 9122] std.concurrency send() fails with multiple arrays

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9122 --- Comment #8 from David Eagen da...@eagen.com 2013-05-27 18:10:07 PDT --- This is now resolved after the fix for 10017 (https://github.com/D-Programming-Language/phobos/commit/5ddf3bc19a240b77255c9583aee3d35a9157cd8c) on x86_64 Linux. --

[Issue 9122] std.concurrency send() fails with multiple arrays

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9122 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9878] std.algorithm.cartesianProduct results order

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9878 --- Comment #1 from hst...@quickfur.ath.cx 2013-05-27 19:56:52 PDT --- https://github.com/D-Programming-Language/phobos/pull/1314 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 9822] cartesianProduct broken for array literals

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9822 --- Comment #2 from hst...@quickfur.ath.cx 2013-05-27 20:21:42 PDT --- Huh, this is really strange. Moving the cartesianProduct line inside main() makes the problem go away. Why? -- Configure issuemail:

[Issue 9822] cartesianProduct broken for array literals

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9822 --- Comment #3 from hst...@quickfur.ath.cx 2013-05-27 21:19:14 PDT --- Hmph. I think this is a compiler bug. Putting the code inside a unittest block makes the problem go away too. -- Configure issuemail:

[Issue 9878] std.algorithm.cartesianProduct results order

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9878 thelastmamm...@gmail.com changed: What|Removed |Added CC||thelastmamm...@gmail.com

[Issue 9822] Segfault when referencing module-global auto variable containing result of std.algorithm.map.

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9822 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||wrong-code

[Issue 9822] Using module variable of templated type parametrized by lambda

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9822 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

<    1   2   3