Re: Help optimizing UnCompress for gzipped files

2018-01-02 Thread Christian Köstlin via Digitalmars-d-learn
On 02.01.18 21:13, Steven Schveighoffer wrote: > Well, you don't need to use appender for that (and doing so is copying a > lot of the data an extra time). All you need is to extend the pipe until > there isn't any more new data, and it will all be in the buffer. > > // almost the same line from

Re: Is it bad form to put code in package.d other than imports?

2018-01-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, January 03, 2018 06:10:10 Soulsbane via Digitalmars-d-learn wrote: > I've only understood that imports should go in package.d. I'm > seeing more and more packages on code.dlang.org using it for the > packages primary code. Is this alright? As far as I can tell it's > just bad form.

Re: Help optimizing UnCompress for gzipped files

2018-01-02 Thread Christian Köstlin via Digitalmars-d-learn
On 02.01.18 21:48, Steven Schveighoffer wrote: > On 1/2/18 3:13 PM, Steven Schveighoffer wrote: >> // almost the same line from your current version >> auto mypipe = openDev("../out/nist/2011.json.gz") >>    .bufd.unzip(CompressionFormat.gzip); > > Would you mind telling me the

[Issue 18124] std.regex.RegexMatch's front property is under-documented

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18124 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 18124] std.regex.RegexMatch's front property is under-documented

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18124 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/fdc3e994cd901b5e34bf82dc6de214a77ab9dff8 Explicitly type RegexMatch.front (and add inout because

Re: Efficient way to pass struct as parameter

2018-01-02 Thread Tim Hsu via Digitalmars-d-learn
On Tuesday, 2 January 2018 at 22:49:20 UTC, Adam D. Ruppe wrote: On Tuesday, 2 January 2018 at 22:17:14 UTC, Johan Engelen wrote: Pass the Vector3f by value. This is very frequently the correct answer to these questions! Never assume ref is faster if speed matters - it may not be. However

Re: how to localize console and GUI apps in Windows

2018-01-02 Thread Andrei via Digitalmars-d-learn
On Friday, 29 December 2017 at 11:14:39 UTC, zabruk70 wrote: On Friday, 29 December 2017 at 10:35:53 UTC, Andrei wrote: Though it is not suitable for GUI type of a Windows application. AFAIK, Windows GUI have no ANSI/OEM problem. You can use Unicode. Partly, yes. Just for a test I tried to

Is it bad form to put code in package.d other than imports?

2018-01-02 Thread Soulsbane via Digitalmars-d-learn
I've only understood that imports should go in package.d. I'm seeing more and more packages on code.dlang.org using it for the packages primary code. Is this alright? As far as I can tell it's just bad form. It would be nice to have one of the maintainers higher up the food chain comment on

Re: Compile-time vs. compile-time

2018-01-02 Thread H. S. Teoh via Digitalmars-d
On Tue, Jan 02, 2018 at 07:26:54PM -0700, Jonathan M Davis via Digitalmars-d wrote: > On Tuesday, January 02, 2018 17:51:01 H. S. Teoh via Digitalmars-d wrote: > > object.destroy! :-P > > But that doesn't work during compile-time, does it? ;) [...] Which compile-time? :-D T -- Computers

Re: load data from txt file

2018-01-02 Thread Tony via Digitalmars-d
On Tuesday, 2 January 2018 at 22:08:52 UTC, aerto wrote: Hello and happy new year im new in d so i have a question i have into a txt file named users.txt the bellow ["admin":"123456789"] ["test":"test345"] im my app string[string] data; so i need to load users.txt content into data in

[Issue 18182] std.uri should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18182 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18178] std.path should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18178 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18181] std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18181 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18185] std.zlib should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18185 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18180] std.typecons.Proxy should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18180 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18187] std.uni.Grapheme should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18187 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 13983] RefCounted needs to be pure, @safe, nothrow

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13983 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18110] most of phobos should be @safe-ly useable

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Seb changed: What|Removed |Added Depends on||13983, 18178, 18179, 18180,

[Issue 18184] std.zip should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18184 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18183] std.variant should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18183 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18186] std.array.replaceSlice should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18186 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18179] std.typecons.scoped should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18179 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18187] New: std.uni.Grapheme should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18187 Issue ID: 18187 Summary: std.uni.Grapheme should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18185] New: std.zlib should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18185 Issue ID: 18185 Summary: std.zlib should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18184] New: std.zip should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18184 Issue ID: 18184 Summary: std.zip should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18183] New: std.variant should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18183 Issue ID: 18183 Summary: std.variant should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18182] New: std.uri should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18182 Issue ID: 18182 Summary: std.uri should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18180] New: std.typecons.Proxy should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18180 Issue ID: 18180 Summary: std.typecons.Proxy should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18181] New: std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18181 Issue ID: 18181 Summary: std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All

[Issue 18179] New: std.typecons.scoped should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18179 Issue ID: 18179 Summary: std.typecons.scoped should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18178] New: std.path should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18178 Issue ID: 18178 Summary: std.path should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18158] std.file.getcwd should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18158 Seb changed: What|Removed |Added Blocks||18178 Referenced Issues:

[Issue 18174] std.math.equalsDigit should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18174 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18173] std.json should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18173 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18168] std.base64.encode for output ranges should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18168 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18172] std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18172 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18177] std.parallelism should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18177 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18167] std.array.appender should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18167 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18169] std.concurrency should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18169 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18110] most of phobos should be @safe-ly useable

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Seb changed: What|Removed |Added Depends on||18166, 18167, 18168, 18169,

[Issue 18176] std.numeric.gapWeightedSimilarity should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18176 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18170] std.functional.memoize should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18170 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18166] std.array.replace should be usable in @safe for dstrings

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18166 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18175] std.mmfile should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18175 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18171] std.functional.toDelegate should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18171 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18177] New: std.parallelism should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18177 Issue ID: 18177 Summary: std.parallelism should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18176] New: std.numeric.gapWeightedSimilarity should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18176 Issue ID: 18176 Summary: std.numeric.gapWeightedSimilarity should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18175] New: std.mmfile should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18175 Issue ID: 18175 Summary: std.mmfile should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18174] New: std.math.equalsDigit should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18174 Issue ID: 18174 Summary: std.math.equalsDigit should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18173] New: std.json should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18173 Issue ID: 18173 Summary: std.json should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18172] New: std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18172 Issue ID: 18172 Summary: std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe Product: D Version: D2

[Issue 18171] New: std.functional.toDelegate should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18171 Issue ID: 18171 Summary: std.functional.toDelegate should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18170] New: std.functional.memoize should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18170 Issue ID: 18170 Summary: std.functional.memoize should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18169] New: std.concurrency should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18169 Issue ID: 18169 Summary: std.concurrency should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18168] New: std.base64.encode for output ranges should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18168 Issue ID: 18168 Summary: std.base64.encode for output ranges should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18167] std.array.appender should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18167 --- Comment #1 from Seb --- Another example: void test @safe { static class A {} auto w = appender!(shared(A)[])(); w.put(new shared A()); } --

[Issue 18167] New: std.array.appender should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18167 Issue ID: 18167 Summary: std.array.appender should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18148] Integral Promotion Fix For 16997 Should Issue Deprecation, Not A Warning

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18148 --- Comment #8 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/35be0df5b58c0e9053dcae2bea658b5b3fcab397 fix changlog entry --

[Issue 18166] New: std.array.replace should be usable in @safe for dstrings

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18166 Issue ID: 18166 Summary: std.array.replace should be usable in @safe for dstrings Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18162] DMD seg fault on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18162 Seb changed: What|Removed |Added Blocks|18110 | Referenced Issues:

[Issue 18110] most of phobos should be @safe-ly useable

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Seb changed: What|Removed |Added Depends on|18162 | Referenced Issues:

[Issue 18160] std.algorithm.iteration.each should be usable in @safe code

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18160 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18162] DMD seg fault on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18162 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18161] std.algorithm.iteration.chunkBy should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18161 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18165 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18163] std.container.array should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18163 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18110] most of phobos should be @safe-ly useable

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Seb changed: What|Removed |Added Depends on||18159, 18160, 18161, 18162,

[Issue 18164] std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18164 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18159 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

Re: load data from txt file

2018-01-02 Thread Muld via Digitalmars-d
On Tuesday, 2 January 2018 at 23:25:21 UTC, visitor wrote: On Tuesday, 2 January 2018 at 22:08:52 UTC, aerto wrote: Hello and happy new year im new in d so i have a question writeln(data["admin"]); // i want this to print 123456789 writeln(data["test"]); // i want this to print test345 if

[Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18165 Seb changed: What|Removed |Added Summary|std.algorithm.setops.multiw |std.algorithm.setops.multiw

[Issue 18165] New: std.algorithm.setops.multiwayMerge should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18165 Issue ID: 18165 Summary: std.algorithm.setops.multiwayMerge should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18164] New: std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18164 Issue ID: 18164 Summary: std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe Product: D Version: D2

[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #4 from Walter Bright --- *** Issue 18162 has been marked as a duplicate of this issue. *** --

[Issue 18162] DMD seg fault on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18162 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18163] New: std.container.array should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18163 Issue ID: 18163 Summary: std.container.array should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #3 from Walter Bright --- The seg fault was split off into https://issues.dlang.org/show_bug.cgi?id=18162 --

[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16621 Walter Bright changed: What|Removed |Added See Also|

Re: Compile-time vs. compile-time

2018-01-02 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, January 02, 2018 17:51:01 H. S. Teoh via Digitalmars-d wrote: > object.destroy! :-P But that doesn't work during compile-time, does it? ;) - Jonathan M Davis

[Issue 18162] DMD seg fault on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18162 Walter Bright changed: What|Removed |Added Keywords||ice See

[Issue 18162] New: DMD seg fault on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18162 Issue ID: 18162 Summary: DMD seg fault on alias this Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1

[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #2 from Walter Bright --- Fix for the hang: https://github.com/dlang/dmd/pull/7588 --

[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16621 Walter Bright changed: What|Removed |Added CC|

[Issue 18161] New: std.algorithm.iteration.chunkBy should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18161 Issue ID: 18161 Summary: std.algorithm.iteration.chunkBy should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18160] New: std.algorithm.iteration.each should be usable in @safe code

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18160 Issue ID: 18160 Summary: std.algorithm.iteration.each should be usable in @safe code Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

[Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18159 Seb changed: What|Removed |Added Summary|std.algorithm.comparison.ca |std.algorithm.comparison.{c

[Issue 18159] New: std.algorithm.comparison.castSwitch should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18159 Issue ID: 18159 Summary: std.algorithm.comparison.castSwitch should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

Compile-time vs. compile-time

2018-01-02 Thread H. S. Teoh via Digitalmars-d
Finally got around to working on my draft article "Compile-time vs. compile-time" again today. Mainly added another case study for a commonly encountered issue, and cleaned up the outdated stuff on "static" foreach (not the *real* static foreach that we have now). Now I'm reasonably happy with

[Issue 18158] std.file.getcwd should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18158 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18110] most of phobos should be @safe-ly useable

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Seb changed: What|Removed |Added Depends on||18155, 18156, 18157, 18158

[Issue 18157] std.file.rmdirRecurse should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18157 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18158] New: std.file.getcwd should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18158 Issue ID: 18158 Summary: std.file.getcwd should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18155] std.file.dirEntries should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18155 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18156] std.file.slurp should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18156 Seb changed: What|Removed |Added Blocks||18110 Referenced Issues:

[Issue 18155] std.file.dirEntries should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18155 Seb changed: What|Removed |Added Blocks||18157 Referenced Issues:

[Issue 18157] New: std.file.rmdirRecurse should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18157 Issue ID: 18157 Summary: std.file.rmdirRecurse should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18156] New: std.file.slurp should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18156 Issue ID: 18156 Summary: std.file.slurp should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement

[Issue 18155] std.file.dirEntries should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18155 Seb changed: What|Removed |Added OS|Linux |All --

[Issue 18155] New: std.file.dirEntries should be usable in @safe

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18155 Issue ID: 18155 Summary: std.file.dirEntries should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context

2018-01-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14439 --- Comment #7 from Seb --- Note that most of this has been fixed in https://github.com/dlang/druntime/pull/1944 and https://github.com/dlang/druntime/pull/1992 Only .keys and .values remain unsafe (updated the title

  1   2   >