[Issue 5439] 64bit struct alignment inconsistent with C ABI
http://d.puremagic.com/issues/show_bug.cgi?id=5439 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #2 from Walter Bright bugzi...@digitalmars.com 2011-01-11 00:05:55 PST --- http://www.dsource.org/projects/dmd/changeset/861 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4789] std.algorithm.sort bug
http://d.puremagic.com/issues/show_bug.cgi?id=4789 d...@dawgfoto.de changed: What|Removed |Added Status|RESOLVED|REOPENED CC||d...@dawgfoto.de Resolution|FIXED | --- Comment #2 from d...@dawgfoto.de 2011-01-11 05:44:43 PST --- import std.traits : hasElaborateAssign; import std.algorithm : swap; struct Elem { ~this() {} } static assert(hasElaborateAssign!Elem); void main() { auto elem = Elem(); swap(elem, elem); } This bug still exists for structs with elaborate assign. It throws an object.Exception: overlapping array copy. Before changeset 1948 the implementation used memcpy which would have also led to undefined behavior on some platforms. Now swap uses _d_arraycopy which throws the overlapping exception. Proposed fix is to add an if (lhs !is rhs) around the struct copy code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4789] std.algorithm.sort bug
http://d.puremagic.com/issues/show_bug.cgi?id=4789 --- Comment #3 from d...@dawgfoto.de 2011-01-11 05:50:48 PST --- Before changeset 1948 the implementation used memcpy which would have also led to undefined behavior on some platforms. This was changeset 2180 that changed the implementation. But as stated is essentially broken in both versions. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5445] New: DMD does not look for .dmd.conf in HOME dir
http://d.puremagic.com/issues/show_bug.cgi?id=5445 Summary: DMD does not look for .dmd.conf in HOME dir Product: D Version: 2.040 Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: s...@invisibleduck.org --- Comment #0 from Sean Kelly s...@invisibleduck.org 2011-01-11 12:09:18 PST --- It's a popular convention to put user-specific config files in the HOME dir prefixed by a dot (so they're hidden). DMD doesn't recognize a dot-prefixed dmd.conf file, and it would be nice if it did. I've included a patch to check for .dmd.conf in the HOME dir if dmd.conf doesn't exist. I don't think it's terribly important to do this secondary lookup in all locations because the likelihood of having such a dot-prefixed file elsewhere is very small. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5445] DMD does not look for .dmd.conf in HOME dir
http://d.puremagic.com/issues/show_bug.cgi?id=5445 --- Comment #1 from Sean Kelly s...@invisibleduck.org 2011-01-11 12:10:10 PST --- Created an attachment (id=869) check_dotfile.patch -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5445] DMD does not look for .dmd.conf in HOME dir
http://d.puremagic.com/issues/show_bug.cgi?id=5445 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com Severity|normal |enhancement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4697] std.demangle doesn't work correctly
http://d.puremagic.com/issues/show_bug.cgi?id=4697 Sean Kelly s...@invisibleduck.org changed: What|Removed |Added CC||s...@invisibleduck.org --- Comment #1 from Sean Kelly s...@invisibleduck.org 2011-01-11 14:24:23 PST --- demangle now handles the _D symbols below, but not the .mangleof strings. This is by design, since the .mangleof strings aren't complete symbol names per the spec. I suppose a function should be added to handle the .mangleof strings though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5445] DMD does not look for .dmd.conf in HOME dir
http://d.puremagic.com/issues/show_bug.cgi?id=5445 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |ASSIGNED CC||and...@metalanguage.com AssignedTo|nob...@puremagic.com|bugzi...@digitalmars.com --- Comment #2 from Andrei Alexandrescu and...@metalanguage.com 2011-01-11 15:42:54 PST --- Yes please. This is an important UI issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5446] New: Ddoc doesn't output aliased and typedef'ed names
http://d.puremagic.com/issues/show_bug.cgi?id=5446 Summary: Ddoc doesn't output aliased and typedef'ed names Product: D Version: unspecified Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic andrej.mitrov...@gmail.com 2011-01-11 17:05:34 PST --- Notice here: http://www.digitalmars.com/d/2.0/phobos/std_date.html The first alias is: alias d_time; It doesn't state what d_time is aliased to. The same thing happens with typedef. If this is not a bug, then this is an enhancement request for ddoc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5366] std.json parseJSON incorrectly parses unicode entities
http://d.puremagic.com/issues/show_bug.cgi?id=5366 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC||and...@metalanguage.com --- Comment #2 from Andrei Alexandrescu and...@metalanguage.com 2011-01-11 18:30:26 PST --- Iain, feel free to commit the fix yourself. Thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5366] std.json parseJSON incorrectly parses unicode entities
http://d.puremagic.com/issues/show_bug.cgi?id=5366 --- Comment #3 from Iain Buclaw ibuc...@ubuntu.com 2011-01-11 18:39:19 PST --- Done and done. http://dsource.org/projects/phobos/changeset/2317 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5366] std.json parseJSON incorrectly parses unicode entities
http://d.puremagic.com/issues/show_bug.cgi?id=5366 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
Re: levenshteinDistanceAndPath Source bug
Hello tsukikage, Hello, there is a bug at std.algorithm source. dsource,org's source: 4120 levenshteinDistanceAndPath(alias equals = a == b, Range1, Range2) 4121 (Range1 s, Range2 t) 4122 if (isForwardRange!(Range1) isForwardRange!(Range2)) 4123 { 4124 Levenshtein!(Range, binaryFun!(equals)) lev; 'Range' at line 4124( 3975 at my downloaded dmd 2.051 ) should be 'Range1' ? The windows lib binary seems ok if this source line is fixed. Newsgroup post tend to get lost: http://d.puremagic.com/issues/