[Issue 8876] New: bitfields template generate wrong code

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8876 Summary: bitfields template generate wrong code Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Componen

[Issue 8877] New: std.encoding.transcode is extremely slow

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8877 Summary: std.encoding.transcode is extremely slow Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 8682] Can't install DMD 2.060 on OS X 10.6.8

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8682 --- Comment #3 from Jacob Carlborg 2012-10-23 02:14:17 PDT --- Could you try this installer: https://dl.dropbox.com/u/18386187/dmd-2.060-osx-installer.zip I built it on Mac OS X 10.6.3. -- Configure issuemail: http://d.puremagic.com/issues/

[Issue 3850] Signed/unsigned bytes type name

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3850 --- Comment #6 from Don 2012-10-23 03:15:33 PDT --- >> I wish we could change this. (I would do it by changing the type to "sbyte" >> and then adding "alias byte = sbyte;" to object.d). > That still won't prevent you from making the mistake of

[Issue 8878] New: std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 Summary: std.range is not pure Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Optlink As

[Issue 3850] Signed/unsigned bytes type name

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3850 Daniel Kozak changed: What|Removed |Added CC||kozz...@gmail.com --- Comment #7 from D

[Issue 2659] Remove the comma operator

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2659 --- Comment #2 from Don 2012-10-23 07:45:53 PDT --- Just encountered another newbie reason for removing comma. writeln( 6, mixin("7,8"), 9 ); doesn't print the expected 6 7 8 9. Instead it prints 6 8 9. If comma was removed, this wouldn'

[Issue 3850] Signed/unsigned bytes type name

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3850 --- Comment #8 from bearophile_h...@eml.cc 2012-10-23 09:32:37 PDT --- (In reply to comment #7) > I think byte should be unsigned by default. So I am for sbyte(signed byte - Is > there really anyone who need it?) and byte (unsigned byte) Ideal

[Issue 8878] std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8878] std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 --- Comment #2 from bioinfornatics 2012-10-23 12:13:51 PDT --- In first thanks jonathan to your answer. Code below fail both when using pure with dmd/ldc dmdfe 2.060 => http://dpaste.dzfl.pl/65efd36e _

[Issue 8839] MmFile do not use Range

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8839 --- Comment #6 from bioinfornatics 2012-10-23 12:19:39 PDT --- i totally agree with you now :-) but one day it will good to switch Mmfile to struct that is not huge break -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?t

Re: [Issue 3850] Signed/unsigned bytes type name

2012-10-23 Thread Daniel Kozak
On Tuesday, 23 October 2012 at 16:32:38 UTC, bearophile_h...@eml.cc wrote: And to represent those indexes I used a sbyte instead of a ubyte because I have used -1 to represent "missing value"). You still have to use 0xFF :-). But yes, I understand, that sbyte and ubyte is better way, how to s

Re: [Issue 3850] Signed/unsigned bytes type name

2012-10-23 Thread Daniel Kozak
On Tuesday, 23 October 2012 at 20:04:08 UTC, Daniel Kozak wrote: On Tuesday, 23 October 2012 at 16:32:38 UTC, bearophile_h...@eml.cc wrote: And to represent those indexes I used a sbyte instead of a ubyte because I have used -1 to represent "missing value"). You still have to use 0xFF :-). Bu

[Issue 8544] Expose "cArgs" in druntime

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8544 --- Comment #4 from github-bugzi...@puremagic.com 2012-10-23 13:56:59 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/2e73c0fd3139af781f3afe926c448

[Issue 8544] Expose "cArgs" in druntime

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8544 Alex R�nne Petersen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8878] std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 8878] std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 Jonathan M Davis changed: What|Removed |Added Component|Optlink |Phobos --- Comment #4 from Jonathan

[Issue 8879] New: std.range function should to be usable in a pure (and sometimes nothrow) situations

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8879 Summary: std.range function should to be usable in a pure (and sometimes nothrow) situations Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8880] New: Feature Request into both std.ascii std.uni isNewline

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8880 Summary: Feature Request into both std.ascii std.uni isNewline Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8880] Feature Request into both std.ascii std.uni isNewline

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8880 --- Comment #1 from bioinfornatics 2012-10-23 15:57:46 PDT --- unittest import std.stdio; import std.ascii; bool isNewline(dchar c) @safe pure nothrow { return ( c == 0x0A || c == 0x0D )? isWhite( c ) : false; } void main(){ string

[Issue 8881] New: Add EnumBaseType template into traits

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8881 Summary: Add EnumBaseType template into traits Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Componen

[Issue 8882] New: map, filter, iota and zip in pure (and nothrow) functions

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8882 Summary: map, filter, iota and zip in pure (and nothrow) functions Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-

[Issue 8878] std.range is not pure

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8878 bearophile_h...@eml.cc changed: What|Removed |Added Component|Phobos |Optlink --- Comment #5 from be

[Issue 8143] Safe std.conv.to enum conversion

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 8881] Add EnumBaseType template into traits

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8881 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #1

[Issue 8881] Add EnumBaseType template into traits

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8881 --- Comment #2 from Andrej Mitrovic 2012-10-23 17:28:18 PDT --- (In reply to comment #1) > Doesn't std.traits.OriginalType already do this? It appears it does. But it couldn't have a more un-original name. There's no way I would have found th

[Issue 8881] Add EnumBaseType template into traits

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8881 --- Comment #3 from Andrej Mitrovic 2012-10-23 17:36:34 PDT --- (In reply to comment #2) > (In reply to comment #1) > > Doesn't std.traits.OriginalType already do this? > > It appears it does. But it couldn't have a more un-original name. The

[Issue 8682] Can't install DMD 2.060 on OS X 10.6.8

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8682 --- Comment #4 from Elias Zamaria 2012-10-23 18:33:52 PDT --- Jacob, I tried the installer and it seemed to work fine. I was able to compile and run a D program. It seemed to put the dmd compiler in my /usr/bin directory. It did not put rdmd t

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #6 from Andrej Mitrovic 2012-10-23 18:53:44 PDT --- (In reply to comment #0) > import std.bitmanips; > void main() {} > > test.d(1): Error: module bitmanips is in file 'std\bitmanips.d' which cannot >be read This is the onl

[Issue 8143] Safe std.conv.to enum conversion

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #2 from bearophile_h...@eml.cc 2012-10-23 18:59:14 PDT --- (In reply to comment #1) > This will fail internally if conv.to compares members via "==", because of > floating point comparison semantics. > > So the question is, is this

[Issue 8883] New: -H and non-object object handled incorrectly

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8883 Summary: -H and non-object object handled incorrectly Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Compon

[Issue 8682] Can't install DMD 2.060 on OS X 10.6.8

2012-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8682 --- Comment #5 from Jacob Carlborg 2012-10-23 23:29:21 PDT --- (In reply to comment #4) > Jacob, I tried the installer and it seemed to work fine. I was able to compile > and run a D program. It seemed to put the dmd compiler in my /usr/bin > d