[Issue 1117] ddoc generates corrupted docs if code examples contain attributes with colons
http://d.puremagic.com/issues/show_bug.cgi?id=1117 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch CC||clugd...@yahoo.com.au --- Comment #2 from Don clugd...@yahoo.com.au 2009-10-28 00:57:35 PDT --- CAUSE: when splitting into sections, identifiers inside code sections should be ignored. (In the code below, note that --foo: is not a section). This patch also fixes bug 195. PATCH: doc.c, parseSections() line 965 (DMD2.035) /* Find end of section, which is ended by one of: - *'identifier:' + *'identifier:' (but not inside a code section) *'\0' */ idlen = 0; +bool inCode = false; while (1) { +if (*p=='-') { // check for start/end of a code section +int numdash=0; +while(*p=='-') { +++numdash; +p++; +} +if (!*p || *p=='\r' || *p=='\n' numdash=3) +inCode = !inCode; +} -if (isalpha(*p) || *p == '_') +else if (!inCode (isalpha(*p) || *p == '_')) { q = p + 1; while (isalnum(*q) || *q == '_') -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 195] DDoc generates bad output when example contains protected attribute
http://d.puremagic.com/issues/show_bug.cgi?id=195 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch CC||clugd...@yahoo.com.au --- Comment #1 from Don clugd...@yahoo.com.au 2009-10-28 00:58:19 PDT --- Fixed by the patch to bug 1117. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2294] negative default values for int template arguments does not work
http://d.puremagic.com/issues/show_bug.cgi?id=2294 --- Comment #1 from Don clugd...@yahoo.com.au 2009-10-28 05:47:46 PDT --- I cannot reproduce on any version of DMD Windows. I've tried 0.175, 1.0, 1.020, 1.023, 1.028, 1.045, and they all work. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3416] Non-compilable template instantiation in is(typeof()) fails compilation
http://d.puremagic.com/issues/show_bug.cgi?id=3416 Max Samukha samu...@voliacable.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE Severity|blocker |normal --- Comment #10 from Max Samukha samu...@voliacable.com 2009-10-28 06:58:04 PDT --- I think, you are right. No point in further analysis if the type can be determined without it. Sorry for the rant. I'll post a bug concerning __traits(compiles), then. *** This issue has been marked as a duplicate of issue 965 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 965] incorrect result for is(BadTemplate!())
http://d.puremagic.com/issues/show_bug.cgi?id=965 Max Samukha samu...@voliacable.com changed: What|Removed |Added CC||samu...@voliacable.com --- Comment #2 from Max Samukha samu...@voliacable.com 2009-10-28 06:58:04 PDT --- *** Issue 3416 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3446] Rename float.min to float.min_normal
http://d.puremagic.com/issues/show_bug.cgi?id=3446 Leandro Lucarella llu...@gmail.com changed: What|Removed |Added CC||llu...@gmail.com --- Comment #1 from Leandro Lucarella llu...@gmail.com 2009-10-28 09:04:33 PDT --- It would be too much trouble to publish the patches using diff -u and attaching them as a file? This way I can test them more easily. Thank you. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3446] Rename float.min to float.min_normal
http://d.puremagic.com/issues/show_bug.cgi?id=3446 --- Comment #2 from Don clugd...@yahoo.com.au 2009-10-28 09:10:46 PDT --- Created an attachment (id=483) Patch against DMD2 svn221 For Leandro. Walter normally puts the patches in manually, line-by-line, for tiny patches like this, so I've given up attaching patch files. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3089] Error: f.bar can only be called on a mutable object, not shared(foo)
http://d.puremagic.com/issues/show_bug.cgi?id=3089 --- Comment #2 from Sobirari Muhomori dfj1es...@sneakemail.com 2009-10-28 09:55:31 PDT --- That's because struct has no monitor member, so the callee can't lock it for exclusive access. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3091] auto x = new shared foo does not compile
http://d.puremagic.com/issues/show_bug.cgi?id=3091 Sobirari Muhomori dfj1es...@sneakemail.com changed: What|Removed |Added Severity|normal |minor --- Comment #1 from Sobirari Muhomori dfj1es...@sneakemail.com 2009-10-28 10:02:46 PDT --- Seems like an RFE. Try to compile this: --- class A{} int main() { const a = new const A(); const a = new immutable A(); return 0; } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3089] Error: f.bar can only be called on a mutable object, not shared(foo)
http://d.puremagic.com/issues/show_bug.cgi?id=3089 --- Comment #4 from Jason House jason.james.ho...@gmail.com 2009-10-28 10:55:53 PDT --- (In reply to comment #3) To the best of my knowledge, currently, shared does not imply synchronized, though synchronized implies shared. Shared only provides the correct memory fences. Shared structs/arrays are important for lock-free algorithms. That's the exact use case I want to do! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3446] Rename float.min to float.min_normal
http://d.puremagic.com/issues/show_bug.cgi?id=3446 --- Comment #3 from Leandro Lucarella llu...@gmail.com 2009-10-28 11:10:09 PDT --- Thanks! I guess Walter will be able to do the modifications manually seeing the diff-generated patch anyway, and people wanting to test the patches before they actually committed can do it easily too =) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3089] Error: f.bar can only be called on a mutable object, not shared(foo)
http://d.puremagic.com/issues/show_bug.cgi?id=3089 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||WORKSFORME --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2009-10-28 11:30:10 PDT --- Works in dmd 2.035. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3090] is expressions do not support shared
http://d.puremagic.com/issues/show_bug.cgi?id=3090 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||INVALID --- Comment #1 from Walter Bright bugzi...@digitalmars.com 2009-10-28 11:39:55 PDT --- You can do: is(T == shared) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3091] auto x = new shared foo does not compile
http://d.puremagic.com/issues/show_bug.cgi?id=3091 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com Severity|minor |enhancement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---