Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Dicebot
d689291080
Document upcoming deprecation of std.typetuple
...
Suggests new symbols to use with their fully qualified paths
2015-05-05 22:22:10 +03:00
Dicebot
3ca20b5ca4
Move MostDerived and DerivedToFront to std.traits
...
Those two helpers are about type introspection and use
MetaList only coincidently. Such utilities are better fit
to std.traits
2015-05-05 22:22:10 +03:00
Dicebot
5cd03d229a
Split std.meta into several modules
...
Creates basic module layout for std.meta, containing:
- algorithm.d
- list.d
- predicates.d
.. as well as internal.d and aggregated package.d
2015-05-05 22:22:10 +03:00
Dicebot
b179459157
Split MetaList into own module
...
1) move majority of meta utilities to package.d
2) keep MetaList in std.meta.list
3) update examples and docs of MetaList
2015-05-05 22:22:10 +03:00
Nick Treleaven
a8b236aef7
staticIndexOf -> indexOf
2015-05-05 22:22:10 +03:00
Nick Treleaven
1eb3666734
Rename TypeTuple -> MetaList
2015-05-05 22:22:10 +03:00
Nick Treleaven
72a6bf15da
Rename staticMap -> Map
2015-05-05 22:22:10 +03:00
Nick Treleaven
5f7d648b70
Remove old IndexOf alias
2015-05-05 22:22:10 +03:00
Nick Treleaven
1da9959285
Simplify staticIndexOf example
2015-05-05 22:22:10 +03:00
Nick Treleaven
70fb65af0c
Update module & TypeTuple doc
...
Set module name = std.meta.list
Add example of TypeTuple with non-type arguments
Change usage of typetuple -> list
Fix using 'type' where non-types are acceptable
2015-05-05 22:22:10 +03:00
Nick Treleaven
40f4796d55
Copy std.typetuple to std.meta.list
...
Mark std.typetuple as deprecated.
Changes to std.meta.list contents will be done separately for review.
2015-05-05 22:22:10 +03:00
Lars T. Kyllingstad
4a0bdeb2ff
Undo change from "Windows" to "Win32"
...
This was changed in pull request 3185, for reasons unknown. The correct
term is "Win32 device namespace".
aa365247
(v=vs.85).aspx#namespaces
2015-05-04 16:07:14 +02:00
David Nadlinger
12187d7be8
Merge pull request #3253 from tom-tan/remove-graphemeStride-from-trusted
...
Remove std.uni.graphemeStride and its unittest from @trusted block
2015-05-02 23:27:51 +02:00
JakobOvrum
471ee50e68
Merge pull request #3251 from tom-tan/safe-utf-toUTF
...
Make std.utf.toUTF falimy @safe
2015-05-03 04:59:59 +09:00
Martin Nowak
f345d1ac5e
Merge pull request #3133 from WalterBright/hexString
...
add std.conv.hexString() to replace core language hex strings
2015-05-02 20:39:42 +02:00
Tomoya Tanjo
7a1c8f3589
Remove std.uni.graphemeStride and its unittest from @trusted block
2015-05-02 11:40:47 +09:00
Kai Nacke
d1de8c7996
Cent-ify std.format.
...
Adds formatted output support for cent/ucent if supported.
Requires #3153 .
2015-05-01 13:51:37 +02:00
JakobOvrum
c775917a34
Merge pull request #3212 from nomad-software/issue_14079
...
Issue 14079 - Variable templates' documentation not generated.
2015-05-01 08:44:57 +09:00
JakobOvrum
c55ca6fb0f
Merge pull request #3249 from tom-tan/uni-unittest-for-graphemeStride-safe
...
Mark a unittest for std.uni.graphemeStride as @safe
2015-05-01 07:17:03 +09:00
Martin Nowak
c253c1c4f6
Merge pull request #3208 from MartinNowak/initOnce
...
replace shared static this with cas based lazy initialization
2015-04-30 23:37:24 +02:00
JakobOvrum
e041e6f1c3
Merge pull request #3246 from tom-tan/array-replicate-safe
...
Make std.array.replicate for most cases @safe
2015-05-01 06:13:27 +09:00
JakobOvrum
fedc3722a4
Merge pull request #3205 from nomad-software/fix-ddoc-parameter-warnings
...
Updated some missing params and return sections in the documentation.
2015-05-01 05:17:11 +09:00
Tomoya Tanjo
da27a8e27e
Make std.utf.toUTF falimy @safe
2015-05-01 02:48:48 +09:00
Tomoya Tanjo
06c41be040
Mark a unittest for std.uni.graphemeStride as @safe
2015-04-30 21:13:50 +09:00
Tomoya Tanjo
e70e2de4b4
Mark std.uni.isPowerOf2 as @nogc
2015-04-30 18:44:57 +09:00
Tomoya Tanjo
1558213058
Make std.array.replicate for most cases @safe
2015-04-30 15:44:42 +09:00
Andrei Alexandrescu
9bec9b74a3
Merge pull request #3244 from dcarp/Fix_broken_PHOBOSSRC_links
...
Fix PHOBOSSRC broken links
2015-04-29 14:37:17 -07:00
Brian Schott
c039fbe847
Fix ddoc for Option.required
...
DDoc did not consider that this second comment was connected to the first, leading to part of the comment being missing at http://dlang.org/phobos/std_getopt.html#.Option
2015-04-29 10:37:30 -07:00
Dragos Carp
b170d93693
Fix some PHOBOSSRC broken links
2015-04-29 11:02:58 +02:00
Andrei Alexandrescu
ec8320dd06
Merge pull request #3228 from rcorre/traits_docs
...
Usage examples: isAggregateType, isBuiltinType.
2015-04-28 18:32:44 -07:00
Andrei Alexandrescu
b0815037ea
Merge pull request #3232 from tom-tan/uni-MultiArray-length-getter-safe-pure-nothrow-nogc
...
Mark std.uni.MultiArray.length as @safe pure nothrow @nogc
2015-04-28 18:17:14 -07:00
Andrei Alexandrescu
ddeacd73a5
Merge pull request #3237 from BBasile/fix-cstream-prot
...
fix, file handle must not be visible.
2015-04-28 18:01:32 -07:00
Tomoya Tanjo
2c226d35a7
Mark std.uni.PackedPtrImpl.this as @safe and @nogc
2015-04-28 18:43:46 +09:00
Ryan
6589e19009
Tweak isAggregateType and isBuiltinType docs.
...
Align asserts for consistency with other phobos docs.
2015-04-27 21:18:38 -04:00
Basile Burg
ce17abef87
fix, file handle must not be visible.
...
to change directly the handle could lead to leak the handle in `close()` because `isopen` was not defined
like it's the case when the `file()` setter is properly called.
possible breakage: no property...for class...
CFile.file() must be called instead.
2015-04-27 22:51:18 +02:00
Steven Schveighoffer
dd8f5ffe45
Merge pull request #3236 from Doado/master
...
Added multiSort to cheat sheet of std.algorithm.sorting.
2015-04-27 07:59:58 -04:00
Steven Schveighoffer
0b0cb7ff39
Merge pull request #3235 from jmdavis/freebsd_workaround
...
Add workaround in std.datetime unit tests for bug in FreeBSD 9+.
2015-04-27 07:59:45 -04:00
Steven Schveighoffer
9ec468ee32
Merge pull request #3227 from aG0aep6G/13534
...
remove "@trusted:" from std.variant
2015-04-27 07:49:36 -04:00
Doado
a4d997273b
Added function multiSort to cheat sheet of std.algorithm.sorting.
...
Added function multiSort to cheat sheet of std.algorithm.sorting
2015-04-27 11:24:01 +01:00
Walter Bright
ad1343b552
add hexString()
2015-04-27 01:37:09 -07:00
Jonathan M Davis
f4067cf33d
Add workaround in std.datetime unit tests for bug in FreeBSD 9+.
...
The std.datetime unit tests currently fail on FreeBSD 9+ because of a
bug in FreeBSD itself (which it looks like Martin reported):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168862
tzname[] is set incorrectly in many time zones - including
America/Los_Angeles, which is what's causing the unit test failures in
std.datetime.
Sadly, the bug report has been around for almost 3 years without the bug
getting fixed (with the report including a patch no less), so I don't
know how long it will take them, and it just seems better to version out
the test in FreeBSD for now, since it's potentially a blocker for anyone
developing Phobos on FreeBSD.
The autotester doesn't exhibit the problem, because it's using FreeBSD
8.x.
2015-04-26 18:02:59 -07:00
Tomoya Tanjo
10496726d2
Mark std.uni.MultiArray.length as @safe pure nothrow @nogc
2015-04-26 19:50:50 +09:00
JakobOvrum
553f697012
Merge pull request #3178 from WalterBright/indexOf-Range2
...
enhance std.string.indexOf(startIdx) with ranges
2015-04-26 18:21:35 +09:00
JakobOvrum
eff45fa530
Merge pull request #3179 from WalterBright/indexOf-Range3
...
enhance std.string.indexOf(substring) with ranges
2015-04-26 17:15:05 +09:00
JakobOvrum
2cd8fab196
Merge pull request #3185 from WalterBright/path-isvalid-range
...
upgrade std.path.isValidFilename and isValidPath for Ranges
2015-04-26 16:31:53 +09:00
JakobOvrum
50ae113e36
Merge pull request #3187 from WalterBright/stripLeft-Range
...
add range support to std.string.stripLeft
2015-04-26 15:48:15 +09:00
JakobOvrum
6c22e2c087
Merge pull request #3222 from tom-tan/uni-mark-nogc-Multiarray-slice-ptr
...
Mark std.uni.MultiArray.slice and MultiArray.ptr as @nogc
2015-04-26 15:04:32 +09:00
JakobOvrum
b222623c16
Merge pull request #3209 from jwhear/fix_14457
...
Fixes 14457 (VariantN assignment from subset VariantN)
2015-04-26 14:21:41 +09:00