Jump to page: 1 24  
Page
Thread overview
[Issue 18110] most of phobos should be @safe-ly useable
Dec 21, 2017
Martin Nowak
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Jan 03, 2018
Seb
Feb 15, 2018
Carsten Blüggel
Mar 22, 2018
Walter Bright
Dec 24, 2019
berni44
Jun 16, 2022
Susan
Dec 17, 2022
Iain Buclaw
Dec 27, 2022
nick@geany.org
Feb 12
Forest
December 21, 2017
https://issues.dlang.org/show_bug.cgi?id=18110

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
std.stdio.File.byLine:

Should be @safe as the internally used buffer is GC allocated, thus unexpected mutation of an escaped line is possible, but cannot cause a memory corruption.

@safe function 'foo' cannot call @system function 'std.stdio.File.byLine!(char,
char).byLine'
@safe function 'foo' cannot call @system destructor
'std.stdio.File.ByLine!(char, char).ByLine.~this'
----
std.stdio.File.byLineCopy:

obviously

@safe function 'foo' cannot call @system function
'std.stdio.File.byLineCopy!(char, immutable(char)).byLineCopy'
@safe function 'foo' cannot call @system destructor
'std.stdio.File.ByLineCopy!(immutable(char), char).ByLineCopy.~this'

--
December 21, 2017
https://issues.dlang.org/show_bug.cgi?id=18110

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@erdani.com

--- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> ---
I'd vote for this, but looks like voting has disappeared.

--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com
         Depends on|                            |18154, 13607, 14445, 14439


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=13607
[Issue 13607] BigInt math not usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=14439
[Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context
https://issues.dlang.org/show_bug.cgi?id=14445
[Issue 14445] std.net.curl not usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=18154
[Issue 18154] std.process should be usable in @safe
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18155, 18156, 18157, 18158


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18155
[Issue 18155] std.file.dirEntries should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18156
[Issue 18156] std.file.slurp should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18157
[Issue 18157] std.file.rmdirRecurse should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18158
[Issue 18158] std.file.getcwd should be usable in @safe
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18159, 18160, 18161, 18162,
                   |                            |18163, 18164, 18165


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18159
[Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in
@safe
https://issues.dlang.org/show_bug.cgi?id=18160
[Issue 18160] std.algorithm.iteration.each should be usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=18161
[Issue 18161] std.algorithm.iteration.chunkBy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18162
[Issue 18162] DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18163
[Issue 18163] std.container.array should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18164
[Issue 18164] std.algorithm.setops.largestPartialIntersection,
largestPartialIntersectionWeighted should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18165
[Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be
usable in @safe
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|18162                       |


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18162
[Issue 18162] DMD seg fault on alias this
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18166, 18167, 18168, 18169,
                   |                            |18170, 18171, 18172, 18173,
                   |                            |18174, 18175, 18176, 18177


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18166
[Issue 18166] std.array.replace should be usable in @safe for dstrings
https://issues.dlang.org/show_bug.cgi?id=18167
[Issue 18167] std.array.appender should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18168
[Issue 18168] std.base64.encode for output ranges should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18169
[Issue 18169] std.concurrency should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18170
[Issue 18170] std.functional.memoize should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18171
[Issue 18171] std.functional.toDelegate should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18172
[Issue 18172] std.getopt should allow taking parameters by `ref` (like
std.format.formattedRead), s.t. it can be used in @safe
https://issues.dlang.org/show_bug.cgi?id=18173
[Issue 18173] std.json should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18174
[Issue 18174] std.math.equalsDigit should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18175
[Issue 18175] std.mmfile should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18176
[Issue 18176] std.numeric.gapWeightedSimilarity should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18177
[Issue 18177] std.parallelism should be usable in @safe
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |13983, 18178, 18179, 18180,
                   |                            |18181, 18182, 18183, 18184,
                   |                            |18185, 18186, 18187

--- Comment #3 from Seb <greensunny12@gmail.com> ---
Made a quick pass through Phobos and started to create issues for an easier
overview, progress tracking and management.
The list is still quite large atm.


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=13983
[Issue 13983] RefCounted needs to be pure, @safe, nothrow
https://issues.dlang.org/show_bug.cgi?id=18178
[Issue 18178] std.path should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18179
[Issue 18179] std.typecons.scoped should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18180
[Issue 18180] std.typecons.Proxy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18181
[Issue 18181] std.typecons.Blackhole/Whitehole/AutoImplement should be usable
in @safe
https://issues.dlang.org/show_bug.cgi?id=18182
[Issue 18182] std.uri should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18183
[Issue 18183] std.variant should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18184
[Issue 18184] std.zip should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18185
[Issue 18185] std.zlib should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18186
[Issue 18186] std.array.replaceSlice should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18187
[Issue 18187] std.uni.Grapheme should be usable in @safe
--
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18110

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18024


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18024
[Issue 18024] checkedint.Warn should be @safe
--
January 04, 2018
https://issues.dlang.org/show_bug.cgi?id=18110
Issue 18110 depends on issue 18186, which changed state.

Issue 18186 Summary: std.array.replaceSlice should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18186

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
« First   ‹ Prev
1 2 3 4