[Issue 6239] HTOD: Add support for converting opaque C types to D

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239 --- Comment #2 from Andrej Mitrovic 2011-07-01 22:33:59 PDT --- Well crap that's not good, it needs to be: typedef void cairo_device_t; typedef void _cairo_device; Stupid C APIs! -- Configure issuemail: http://d.puremagic.com/issues/userpre

[Issue 6239] HTOD: Add support for converting opaque C types to D

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239 --- Comment #1 from Andrej Mitrovic 2011-07-01 22:27:52 PDT --- For what it's worth this helps for us porting monkeys: regex: alias \w+ replace with: typedef void But you have to do this manually.. -- Configure issuemail: http://d.puremagi

[Issue 6239] New: HTOD: Add support for converting opaque C types to D

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6239 Summary: HTOD: Add support for converting opaque C types to D Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 3326] $ in delegate literal causes Access Violation

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3326 yebblies changed: What|Removed |Added Priority|P2 |P4 Severity|major

[Issue 6235] Regression(DMD 2.053) ICE on typeof(Range.init[0..$]) inside a templated struct/class

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6235 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebb

[Issue 1373] typeof(func).stringof fails when func has parameters.

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1373 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3326] $ in delegate literal causes Access Violation

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3326 yebblies changed: What|Removed |Added Keywords|patch, wrong-code |rejects-valid Status|RESOLVED

[Issue 6238] New: Cannot define global immutable AA

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6238 Summary: Cannot define global immutable AA Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component:

[Issue 6237] htod generates invalid module name and declaration

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6237 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6237] New: htod generates invalid module name and declaration

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6237 Summary: htod generates invalid module name and declaration Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 4258] "auto ref" doesn't work in one or more cases

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4258 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #11 from Vladimir Panteleev 2011-07-01 19:41:10 PDT --- (In reply to comment #10) > Exactly. It can be. Why take this away? You get the same thing by putting the semantic in the delegate name, without risking bugs and misunderstan

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #10 from Walter Bright 2011-07-01 19:39:51 PDT --- (In reply to comment #8) > But why couldn't a delegate be written for reverse iteration? Exactly. It can be. Why take this away? -- Configure issuemail: http://d.puremagic.com/i

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #9 from Vladimir Panteleev 2011-07-01 19:38:33 PDT --- (In reply to comment #8) > But why couldn't a delegate be written for reverse iteration? So put the semantics in the delegate name, instead of expecting the user to always us

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #8

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #7 from Vladimir Panteleev 2011-07-01 19:18:00 PDT --- Exactly! We can only assume that all delegates are written for forward iteration. I am having trouble understanding your problem with disabling foreach_reverse with delegates s

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #6 from Walter Bright 2011-07-01 19:16:27 PDT --- The compiler cannot tell what the delegate does, so there's no way it can diagnose an error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 6059] Incompatible types in array literal shows __error and error

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6059 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #5 from Vladimir Panteleev 2011-07-01 18:50:16 PDT --- Why? This is clearly an accepts-invalid bug! What would a better solution be, anyway? reverse_delegate? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?ta

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #4 from Walter Bright 2011-07-01 18:48:10 PDT --- Yes, I understood your point. I agree that one could make an error this way. I disagree that the solution is to remove the feature. -- Configure issuemail: http://d.puremagic.com/

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 --- Comment #3 from Vladimir Panteleev 2011-07-01 18:29:03 PDT --- Walter, did you understand the bug report correctly? My 4-year-old explanation could have been better, but what I meant is that: foreach (v; someDelegate) { ... } did the exa

[Issue 1553] foreach_reverse is allowed for delegates

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1553 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 5962] Template function declaration with prefixed storage class and auto occurs conflict

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5962 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6236] New: Subtle bug with Windows timer, hashes and imports

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6236 Summary: Subtle bug with Windows timer, hashes and imports Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: major Priority: P2

[Issue 6235] Regression(DMD 2.053) ICE on typeof(Range.init[0..$]) inside a templated struct/class

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6235 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2

[Issue 6235] New: Regression(DMD 2.053) ICE on typeof(Range.init[0..$]) inside a templated struct/class

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6235 Summary: Regression(DMD 2.053) ICE on typeof(Range.init[0..$]) inside a templated struct/class Product: D Version: D2 Platform: Other OS/Version: Windows Status: NE

[Issue 5719] [patch] std.conv.to should support structs with custom converters in addition to objects

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5719 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com Severi

[Issue 5719] [patch] std.conv.to should support structs with custom converters in addition to objects

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5719 --- Comment #1 from Rob Jacques 2011-07-01 13:04:20 PDT --- I've noticed that with generic code that Target toImpl(Target, Source)(Source value) if (implicitlyConverts!(Source, Target)) can cause an error via multiple template matches with T

[Issue 5003] regex(replace with delegate) sample doesn't work

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5003 yebblies changed: What|Removed |Added Keywords||rejects-valid Status|RESOLVED

[Issue 6234] 64-bit array append generates inline code to copy new data, but does not call postblit

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6234 Brad Roberts changed: What|Removed |Added CC||bra...@puremagic.com Severity|

[Issue 6232] An idea for std.string.toStringz docs

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6232 --- Comment #6 from bearophile_h...@eml.cc 2011-07-01 07:19:12 PDT --- (In reply to comment #5) > 1. It only helps if you're actually keeping zero-terminated strings around, You just call the function nested: strlen(toStringz2(s2)) Hiding Cc

[Issue 4539] Refuse assignment to string literal

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4539 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Platform|x86

[Issue 4466] std.conv: parse!(T, S)(S, uint radix) the opposite of to to!(T, S)(S, uint radix)

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4466 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6234] New: 64-bit array append generates inline code to copy new data, but does not call postblit

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6234 Summary: 64-bit array append generates inline code to copy new data, but does not call postblit Product: D Version: D2 Platform: x86_64 OS/Version: All Status: NEW

[Issue 4274] Better array of inner structs error message

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4274 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6139] Duplicate error message on compile-time out of bounds array index

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6139 yebblies changed: What|Removed |Added Keywords||patch Severity|normal

[Issue 6221] Should be possible to pass struct function returns by 'const ref'.

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6221 --- Comment #5 from Don 2011-07-01 03:12:01 PDT --- (In reply to comment #4) > Shouldn't opCmp be relaxed like opEquals in bug 3659? It is indeed the same issue. But I'm not convinced by the proposed solution in bug 3659. We don't need more op

[Issue 1692] Abstract class dynamic creation bug

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1692 yebblies changed: What|Removed |Added Keywords||patch CC|

[Issue 5946] failing lookup 'this' from function in template

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5946 --- Comment #3 from Walter Bright 2011-07-01 01:07:40 PDT --- https://github.com/D-Programming-Language/dmd/commit/8359ec9e14dc7294360d954325aacd4dcaed35c7 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 5946] failing lookup 'this' from function in template

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5946 --- Comment #2 from Walter Bright 2011-07-01 00:36:46 PDT --- https://github.com/D-Programming-Language/dmd/commit/5a1f396e915e083ce30c5f09f4e1ef1a9e704fda -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 5946] failing lookup 'this' from function in template

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5946 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 693] 'this' can't be used as an alias parameter for a mixin

2011-07-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=693 Walter Bright changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|