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
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.
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
https://issues.dlang.org/show_bug.cgi?id=18124
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
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
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=18182
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18178
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18181
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18185
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18180
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18187
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=13983
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18110
Seb changed:
What|Removed |Added
Depends on||13983, 18178, 18179, 18180,
https://issues.dlang.org/show_bug.cgi?id=18184
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18183
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18186
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18179
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
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
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
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
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
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=18158
Seb changed:
What|Removed |Added
Blocks||18178
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18174
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18173
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18168
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18172
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18177
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18167
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18169
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18110
Seb changed:
What|Removed |Added
Depends on||18166, 18167, 18168, 18169,
https://issues.dlang.org/show_bug.cgi?id=18176
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18170
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18166
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18175
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18171
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
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
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
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
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
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
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
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
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
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
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
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());
}
--
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
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
--
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
https://issues.dlang.org/show_bug.cgi?id=18162
Seb changed:
What|Removed |Added
Blocks|18110 |
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18110
Seb changed:
What|Removed |Added
Depends on|18162 |
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18160
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18162
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18161
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18165
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18163
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18110
Seb changed:
What|Removed |Added
Depends on||18159, 18160, 18161, 18162,
https://issues.dlang.org/show_bug.cgi?id=18164
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18159
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
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
https://issues.dlang.org/show_bug.cgi?id=18165
Seb changed:
What|Removed |Added
Summary|std.algorithm.setops.multiw |std.algorithm.setops.multiw
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
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
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. ***
--
https://issues.dlang.org/show_bug.cgi?id=18162
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
--
https://issues.dlang.org/show_bug.cgi?id=16621
Walter Bright changed:
What|Removed |Added
See Also|
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
https://issues.dlang.org/show_bug.cgi?id=18162
Walter Bright changed:
What|Removed |Added
Keywords||ice
See
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
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
--
https://issues.dlang.org/show_bug.cgi?id=16621
Walter Bright changed:
What|Removed |Added
CC|
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
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
https://issues.dlang.org/show_bug.cgi?id=18159
Seb changed:
What|Removed |Added
Summary|std.algorithm.comparison.ca |std.algorithm.comparison.{c
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
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
https://issues.dlang.org/show_bug.cgi?id=18158
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18110
Seb changed:
What|Removed |Added
Depends on||18155, 18156, 18157, 18158
https://issues.dlang.org/show_bug.cgi?id=18157
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
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
https://issues.dlang.org/show_bug.cgi?id=18155
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18156
Seb changed:
What|Removed |Added
Blocks||18110
Referenced Issues:
https://issues.dlang.org/show_bug.cgi?id=18155
Seb changed:
What|Removed |Added
Blocks||18157
Referenced Issues:
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
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
https://issues.dlang.org/show_bug.cgi?id=18155
Seb changed:
What|Removed |Added
OS|Linux |All
--
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
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 - 100 of 191 matches
Mail list logo