Commit graph

7284 commits

Author SHA1 Message Date
H. S. Teoh
5c44b01c4c Reverse sense of >>= and <<= to be consistent with bt(). 2015-01-05 14:12:31 -08:00
H. S. Teoh
2b5615dc54 Don't use symmetric bit pattern in unittest. 2015-01-05 09:35:54 -08:00
Dmitry Olshansky
bc6ba4cf3f Merge pull request #2797 from quickfur/bitarray_shift
Implement <<= and >>= for std.bitmanip.BitArray.
2015-01-05 01:39:18 +03:00
H. S. Teoh
0fc127182a Templatize rollRight and rollLeft. 2015-01-04 13:39:40 -08:00
Daniel Murphy
c235e2a4a0 Merge pull request #2841 from CyberShadow/pull-20150104-155124
Temporarily replace new deprecations with comments
2015-01-05 03:24:13 +11:00
Vladimir Panteleev
d1f2b64b0d Temporarily replace new deprecations with comments
Removes deprecations added in 093d636de4
2015-01-04 15:52:05 +00:00
Jonathan Marler
422cf57624 Added opEquals to InternetAddress 2015-01-03 17:39:55 -07:00
Andrej Mitrović
fcca276007 Merge pull request #2821 from aG0aep6G/std.csv-dstring
std.csv: accept const/immutable dchars, like dstring
2015-01-03 19:02:17 +01:00
Andrei Alexandrescu
76504e6e2e Merge pull request #2834 from Poita/Issue5036
Fix Issue 5036 - Remove caching from Sequence
2015-01-02 23:49:25 -08:00
e10s
e12596b359 Sort lists of functions 2015-01-03 00:46:22 +09:00
Andrej Mitrović
95095812ce Merge pull request #2817 from aldacron/split-doc
Ehance ddoc for std.array.split.
2015-01-02 15:31:03 +01:00
Peter Alexander
8bb453a983 Fix Issue 5036 - Remove caching from Sequence
This appears to be the last caching range in Phobos.

This is a potentially breaking change: we lose the ability to moveFront, and obviously there may be performance implications if the function is expensive and users are calling front more than once. I think this is still a worthwhile change since it is better to have a uniform policy of no caching on ranges rather than arbitrary selection of ranges that do caching.

https://issues.dlang.org/show_bug.cgi?id=5036
2015-01-02 10:40:25 +00:00
Andrej Mitrović
b7da866cb0 Merge pull request #2833 from Poita/Issue13909
Fix Issue 13909 - assocArray with const values
2015-01-02 11:18:45 +01:00
Peter Alexander
9f90a63709 Fix Issue 13909 - assocArray with const values
Just a diagnostic issue. The assignment in the loop won't work with non-mutable keys. We now catch in the constraint.

https://issues.dlang.org/show_bug.cgi?id=13909
2015-01-02 09:33:58 +00:00
Peter Alexander
463fe69311 Fix Issue 13805 - groupBy over nested struct range
GroupByImpl needs to initialize _prev directly in the constructor when it is of a nested struct range.

https://issues.dlang.org/show_bug.cgi?id=13805
2015-01-02 00:40:00 +00:00
Mike Parker
42c5a2f036 Change param 'r' to 'range' and LINK2 to FULL_XREF 2015-01-02 01:47:54 +09:00
Mike Parker
11896ee449 Enhance ddoc for std.array.split. 2015-01-02 01:45:21 +09:00
Andrej Mitrović
8e4df7f2dd Merge pull request #2809 from joakim-noah/imports
Start using the ddmd frontend to more narrowly scope imports
2015-01-01 14:30:58 +01:00
Andrej Mitrović
ca988f5297 Merge pull request #2830 from sinkuu/uuid_nogc
Add `@nogc` attribute to std.uuid
2015-01-01 14:08:04 +01:00
sinkuu
aad25df27f Add @nogc attributes to std.uuid 2015-01-01 14:08:36 +09:00
sinkuu
9d183c564d Remove trailing whitespaces 2015-01-01 14:08:36 +09:00
sinkuu
fa36fa0e8b Remove workaround for issue 5700 2015-01-01 14:08:36 +09:00
H. S. Teoh
30c4f86784 Fixup for PR #2828 to respect line length limits. 2014-12-31 20:22:39 -08:00
Walter Bright
4a5b6789b1 fix execrable formatting 2014-12-31 17:49:43 -08:00
Andrej Mitrović
4162e956b5 Merge pull request #2822 from Dicebot/controlled-conv
Add explicitCast helper to std.conv
2014-12-31 21:02:00 +01:00
Dicebot
3ed09e8928 Add explicitCast helper to std.conv
Makes possible to define more restricted cast that won't accidently
result in broken behavior during refactoring.
2014-12-31 21:32:37 +02:00
Andrej Mitrović
3b182e4e04 Merge pull request #2808 from sinkuu/takeone
takeOne doesn't work with non-forward ranges
2014-12-31 19:49:33 +01:00
Andrej Mitrović
273f553a0f Merge pull request #2818 from e10s/patch-4
std.conv: Disable to!String(infiniteRange)
2014-12-31 19:16:41 +01:00
Andrej Mitrović
c8c6c6fc58 Merge pull request #2820 from John-Colvin/patch-9
replace std.range.roundRobin mixins with static loops.
2014-12-31 18:43:42 +01:00
k-hara
2e69efed7e fix Issue 13871 - Segmentation fault from std/variant.d:609
A variant to variant assignment is specially handled by OpID.copyOut. Therefore, destroying original value before the copyOut call is problematic.
2014-12-31 22:53:00 +09:00
Nick Treleaven
ebc3d2ef09 Fix docs for encode overload 2014-12-30 17:46:44 +00:00
Nick Treleaven
4b84951cb6 Group encode overloads together again 2014-12-30 17:28:17 +00:00
Hara Kenji
3f942a2839 Merge pull request #2824 from andralex/doc
remove stray paren
2014-12-30 10:53:47 +09:00
Andrei Alexandrescu
e85bf83bd3 remove stray paren 2014-12-29 17:51:45 -08:00
H. S. Teoh
e7f99685c2 Merge pull request #2823 from andralex/doc
Minor doc bugfix and changes of subscript definition
2014-12-29 11:29:42 -08:00
Andrei Alexandrescu
77843a07c6 Minor doc bugfix and changes of subscript definition 2014-12-29 10:47:30 -08:00
anonymous
41f75dec37 accept const/immutable dchars, like dstring 2014-12-28 23:57:10 +01:00
John Colvin
6ae78c3857 replace std.range.roundRobin mixins with static loops. 2014-12-28 18:55:03 +00:00
Ferdinand Majerech
5be18172d6 Minor transcoding() doc improvement.
Moved the note about the contract to the Params: section, which until now was pretty useless.

A user checking the function's parameters  will usually look at `Params:` first and may miss any text about e.g. requirements of a parameter if it's not mentioned there in `Params:`.
2014-12-28 17:59:23 +01:00
e10s
a7f26a8ac7 Disable to!String(infiniteRange) 2014-12-28 23:33:25 +09:00
Walter Bright
c84ce85e35 correct use of See_Also 2014-12-27 16:30:07 -08:00
Andrei Alexandrescu
3322f62602 Merge pull request #2812 from WalterBright/sum-doc
add std.algorithm.sum documentation links
2014-12-27 15:45:22 -08:00
Andrei Alexandrescu
81c69ca26b Merge pull request #2815 from WalterBright/alg-doc-homonym
std.algorithm homonym docs need improvement
2014-12-27 15:09:41 -08:00
Walter Bright
0701187536 std.algorithm homonym docs need improvement 2014-12-27 15:08:00 -08:00
Andrei Alexandrescu
345d2b01af Merge pull request #2813 from WalterBright/array-join-doc
improve doc on std.array.join
2014-12-27 14:36:11 -08:00
Andrei Alexandrescu
f1a3e20809 Merge pull request #2805 from WalterBright/toupper-ex
add map example to toUpper
2014-12-27 14:35:03 -08:00
Walter Bright
6eb0d70794 doc std.algorithm.fill 2014-12-27 13:07:50 -08:00
Walter Bright
7ec5433474 improve doc on std.array.join 2014-12-27 11:39:16 -08:00
Walter Bright
209857318c add std.algorithm.sum links 2014-12-27 11:13:55 -08:00
Nick Treleaven
62117b585f Document byLineCopy's caching of front
Use byLineCopy instead of byLine.map!idup in stdin example.
2014-12-25 17:23:28 +00:00