[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502 --- Comment #7 from Jacob Carlborg d...@me.com 2013-02-26 23:59:17 PST --- (In reply to comment #6) Why do we check for the OS version to workaround linker bugs? If there really is no other way we should at least check the

[Issue 9541] CTFE: wrong code with delegates, recursion

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9541 --- Comment #2 from Don clugd...@yahoo.com.au 2013-02-27 00:45:20 PST --- A slight reduction, which removes the delegate literal with a nested function. == bool into(void delegate() sink, int set) { void xxx() {

[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9584 --- Comment #6 from Don clugd...@yahoo.com.au 2013-02-27 01:04:08 PST --- Java does indeed do a lot of optimization of exceptions. http://www.javaspecialists.eu/archive/Issue187.html D does none. It's possible that this is what you're seeing.

[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9584 --- Comment #7 from Jonathan M Davis jmdavisp...@gmx.com 2013-02-27 01:12:16 PST --- D does none. It's possible that this is what you're seeing. I can't yet tell if there is a bug here or not. There's a bug in the sense that D's exception

[Issue 9600] New: Inner class is not finalized on parent class finalization

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9600 Summary: Inner class is not finalized on parent class finalization Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code

[Issue 9600] Inner class is not finalized on parent class finalization

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9600 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 12:43:31 MSK --- Damn, `n` in example must not be a field. Is should be a global TLS variable. -- Configure issuemail:

[Issue 9601] New: Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 Summary: Make regular D objects on closures Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 9602] New: Closure delegate must be finalized some way on parent class finalization

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9602 Summary: Closure delegate must be finalized some way on parent class finalization Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9603] New: Signals must work with closure delegates

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9603 Summary: Signals must work with closure delegates Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: major

[Issue 9603] Signals must work with closure delegates

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9603 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 13:41:07 MSK --- This issue will be automatically solved e.g. once Issue 9601 and Issue 9602 are implemented. -- Configure issuemail:

[Issue 9347] new std.signals2 implementation

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9347 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 9599] File.byLine doesn't function properly with take

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

[Issue 9605] New: std.conv.parse!(string, string) fails

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9605 Summary: std.conv.parse!(string, string) fails Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 9606] New: `std.signal` implementation is fundamentally incorrect

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9606 Summary: `std.signal` implementation is fundamentally incorrect Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity:

[Issue 9606] `std.signal` implementation is fundamentally incorrect

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9606 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 15:03:21 MSK --- As we can't lock GC (at least in `emit`) some sort of lock-free programming should be used here. -- Configure issuemail:

[Issue 4150] std.signals causes memory corruption and heisenbugs

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4150 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 9607] New: std.random.randomShuffle and partialShuffle don't work with Xorshift

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9607 Summary: std.random.randomShuffle and partialShuffle don't work with Xorshift Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW

[Issue 1528] [tdpl] overloading template and non-template functions

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

[Issue 9598] Cannot use moveFront on MapResult!(lambda, ByLine!(char, char))

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

[Issue 9598] Cannot use moveFront on MapResult!(lambda, ByLine!(char, char))

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

[Issue 9608] New: Add introspection for templates

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9608 Summary: Add introspection for templates Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 9598] Cannot use moveFront on MapResult!(lambda, ByLine!(char, char))

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9598 --- Comment #3 from Chris Cain zsh...@gmail.com 2013-02-27 05:13:20 PST --- (In reply to comment #2) In such cases it's better to _also_ compile with -g, that shows an error in void* gc.gcx.GC.mallocNoSync(uint, uint, uint*). Good point,

[Issue 9601] Make regular D objects on closures

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

[Issue 6718] nWayUnion = nWayMerge, plus true nWayUnion

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

[Issue 9606] `std.signal` implementation is fundamentally incorrect

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9606 --- Comment #2 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 17:03:54 MSK --- A think-less fix just to prevent nasty random failures: https://github.com/D-Programming-Language/phobos/pull/1179 -- Configure issuemail:

[Issue 9578] is a nested function and cannot be accessed from problem

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9578 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 17:01:42 MSK --- Issue workaround to `std.algorithm.all`: https://github.com/D-Programming-Language/phobos/pull/1178 -- Configure issuemail:

[Issue 1528] [tdpl] overloading template and non-template functions

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1528 --- Comment #15 from timon.g...@gmx.ch 2013-02-27 06:29:43 PST --- (In reply to comment #14) ... static assert(f6(1L) == 1); static assert(f6(ulong.max) == 2); // (a) ??? No match. ulong ul = runtime(); static assert(f6(ul) == 2);

[Issue 9576] Symbol Undefined linker error on using `std.random.MinstdRand`

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9576 --- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-02-27 07:59:32 PST --- (In reply to comment #4) (In reply to comment #3) I can't recreate this with these commits, nor in 2.062. Please specify: - How you compiled and

[Issue 9609] New: Ddoc tags for std.string.icmp seem wrong

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9609 Summary: Ddoc tags for std.string.icmp seem wrong Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component:

[Issue 8441] mixin containing template functions causes compiler errors

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 --- Comment #9 from jfanati...@gmx.at 2013-02-27 08:33:19 PST --- (In reply to comment #8) I don't test std.signal2 module, but the two test cases work with my patch. https://github.com/D-Programming-Language/dmd/pull/1660 Awesome! This is

[Issue 9576] Symbol Undefined linker error on using `std.random.MinstdRand`

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9576 --- Comment #6 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 19:43:58 MSK --- (In reply to comment #5) I mean your code? dmd main.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #2 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 19:51:10 MSK --- (In reply to comment #1) Please elaborate on to make created delegate data pointer referring to a valid D object just like for class member

[Issue 4150] std.signals causes memory corruption and heisenbugs

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4150 --- Comment #4 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 19:57:10 MSK --- (In reply to comment #0) Looking into std.signal, there are several problems: - Signal.emit doesn't check if the objects are still alive (probably

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #3 from Maxim Fomin ma...@maxim-fomin.ru 2013-02-27 08:57:01 PST --- (In reply to comment #2) (In reply to comment #1) Please elaborate on to make created delegate data pointer referring to a valid D object just like for

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #4 from Maxim Fomin ma...@maxim-fomin.ru 2013-02-27 09:05:30 PST --- (In reply to comment #0) The idea is to make created delegate data pointer referring to a valid D object just like for class member function. Since creation

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #5 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 20:09:50 MSK --- (In reply to comment #3) You probably mean data pointer of delegate since delegate does not have lifetime. I propose to define an object

[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9289 --- Comment #26 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-02-27 09:24:34 PST --- (In reply to comment #25) -dXX should give a warning (not an error, not silence), whenever a deprecated feature is used when errors

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #6 from Denis Shelomovskij verylonglogin@gmail.com 2013-02-27 20:21:58 MSK --- (In reply to comment #4) (In reply to comment #0) The idea is to make created delegate data pointer referring to a valid D object just like

[Issue 9576] Symbol Undefined linker error on using `std.random.MinstdRand`

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9576 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|NEW

[Issue 9601] Make regular D objects on closures

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9601 --- Comment #7 from Maxim Fomin ma...@maxim-fomin.ru 2013-02-27 09:37:52 PST --- (In reply to comment #6) (In reply to comment #4) (In reply to comment #0) The idea is to make created delegate data pointer referring to a valid D

[Issue 9576] Symbol Undefined linker error on using `std.random.MinstdRand`

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9576 --- Comment #8 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-02-27 09:53:46 PST --- (In reply to comment #7) I just rebuild dmd/druntime/phobos with these commits. Everything works. Looks like my mistake, sorry. I really don't

[Issue 6718] nWayUnion = nWayMerge, plus true nWayUnion

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6718 --- Comment #2 from bearophile_h...@eml.cc 2013-02-27 09:54:36 PST --- (In reply to comment #1) Here union has the meaning in relational algebra, not in set theory. I'll keep this opened until I add a mention to the documentation. Thank you

[Issue 6718] nWayUnion = nWayMerge, plus true nWayUnion

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6718 bearophile_h...@eml.cc changed: What|Removed |Added Severity|normal |major --- Comment #3 from

[Issue 6718] nWayUnion = nWayMerge, plus true nWayUnion

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6718 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Severity|major |minor ---

[Issue 9599] File.byLine doesn't function properly with take

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9599 --- Comment #2 from monarchdo...@gmail.com 2013-02-27 10:09:30 PST --- (In reply to comment #1) (In reply to comment #0) Using 2.062, Regarding the following code: The bug is actually inside byLine itself byChunk is subject to the exact

[Issue 6718] nWayUnion = nWayMerge, plus true nWayUnion

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6718 --- Comment #5 from bearophile_h...@eml.cc 2013-02-27 10:06:41 PST --- (In reply to comment #4) No need to raise importance out of proportion. Thanks. OK, sorry. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 9610] New: Parameters to final class method corrupted in postcondition

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9610 Summary: Parameters to final class method corrupted in postcondition Product: D Version: D2 Platform: All OS/Version: Mac OS X Status: NEW Severity:

[Issue 9610] Parameters to final class method corrupted in postcondition

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

[Issue 9609] Ddoc tags for std.string.icmp seem wrong

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9609 --- Comment #1 from github-bugzi...@puremagic.com 2013-02-27 11:03:41 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9609] Ddoc tags for std.string.icmp seem wrong

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9609 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9611] New: std.algorithm.nWayUnion(Tuple) too?

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9611 Summary: std.algorithm.nWayUnion(Tuple) too? Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 9608] Add introspection for templates

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

[Issue 8960] DMD tester: Unable to set thread priority

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8960 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 9612] New: cycle() and opSlice

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 Summary: cycle() and opSlice Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 bearophile_h...@eml.cc changed: What|Removed |Added Keywords||accepts-invalid

[Issue 9613] New: Parser bug when using .init with type constructor

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9613 Summary: Parser bug when using .init with type constructor Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity:

[Issue 9604] typeof emits wrong common type with immutable type

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9604 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-02-27 15:42:57 PST --- (In reply to comment #1) Also another parser bug was found (I'll file this separately): Filed as Issue 9613. -- Configure issuemail:

[Issue 5906] Just pre-conditions at compile-time when arguments are static

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5906 --- Comment #6 from bearophile_h...@eml.cc 2013-02-27 15:56:31 PST --- (In reply to comment #4) But if I write code like this: void main(string[] args) { byte x = args.length; } It does not perform that test at compile-time,

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 Brad Anderson e...@gnuk.net changed: What|Removed |Added CC||e...@gnuk.net ---

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 --- Comment #3 from bearophile_h...@eml.cc 2013-02-27 16:29:41 PST --- (In reply to comment #2) https://github.com/D-Programming-Language/phobos/pull/1183 should take care of this. Maybe that RangeError() should have a message that tells

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 --- Comment #4 from Brad Anderson e...@gnuk.net 2013-02-27 16:34:43 PST --- (In reply to comment #3) (In reply to comment #2) https://github.com/D-Programming-Language/phobos/pull/1183 should take care of this. Maybe that

[Issue 9611] std.algorithm.nWayUnion(Tuple) too?

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9611 Chris Cain zsh...@gmail.com changed: What|Removed |Added CC||zsh...@gmail.com ---

[Issue 9611] std.algorithm.nWayUnion(Tuple) too?

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9611 --- Comment #2 from bearophile_h...@eml.cc 2013-02-27 17:24:55 PST --- (In reply to comment #1) A function that does the conversion to InputRange!E could easily be created and added to Phobos to handle this type of situation. I think

[Issue 9611] std.algorithm.nWayUnion(Tuple) too?

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

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 --- Comment #5 from github-bugzi...@puremagic.com 2013-02-27 20:02:38 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9612 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9614] New: Uninitialized holes in function stack frames confuses GC

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9614 Summary: Uninitialized holes in function stack frames confuses GC Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement