Commit graph

318 commits

Author SHA1 Message Date
Masahiro Nakagawa
a288172908 Add @property to length method. 2010-05-04 21:54:00 +00:00
Andrei Alexandrescu
2a9a6e336c string, wstring are now bidirectional (not random) ranges
std.algorithm: defined move with one argument; levenshtein distance generalized to with all forward ranges; take now has swapped arguments
std.array: empty for arrays is now a @property; front and back for a string and wstring automatically decodes the first/last character; popFront, popBack for string and wstring obey the UTF stride
std.conv: changed the default array formatting from "[a, b, c]" to "a b c"
std.range: swapped order of arguments in take
std.stdio: added readln template
std.variant: now works with statically-sized arrays and const data
std.traits: added isNarrowString
2010-02-22 15:52:31 +00:00
David Simcha
e54374a02d bugzilla 3311: std.range.chain shouldn't have opIndexAssign if arguments aren't mutable. 2009-12-01 14:17:11 +00:00
Andrei Alexandrescu
45508f1497 Reinstated some unittests; fixed Cycle to work with the new fixed-size arrays; fixed bug in Transposed 2009-10-27 00:09:51 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Andrei Alexandrescu
c74aeaee57 Bug 3310 fix 2009-09-11 17:08:32 +00:00
Andrei Alexandrescu
13d5edc728 Changed attribution per attributor's request 2009-09-05 20:22:03 +00:00
Andrei Alexandrescu
0c142994d9 See changelog - bunch of bug fixes and a couple additions for release 2.032 2009-08-31 19:46:33 +00:00
Andrei Alexandrescu
ab1f501146 defined Take.popBack whenever sensible; improved iota to accept negative ranges and steps; fixed BUGZILLA 3000: iota should work with floats 2009-07-11 19:07:16 +00:00
Andrei Alexandrescu
b151c9f96b bugzilla 3000 - iota should work with floats 2009-07-07 17:01:19 +00:00
Andrei Alexandrescu
3cb5869e25 Fixed unlisted bug in std.range.retro: retro'izing a range twice must return the original range 2009-07-04 07:05:39 +00:00
Andrei Alexandrescu
3f480aaa93 minor 2009-05-01 01:00:11 +00:00
Andrei Alexandrescu
e486c557bc Added iota with two arguments. Added FrontTransversal and Transversal. 2009-04-29 22:08:52 +00:00
Don Clugston
c602c4506f I've commented out two broken unit tests. They now print a pragma(msg), so they won't be forgotten. With these changes, tests now pass on Windows. 2009-04-22 09:17:21 +00:00
Andrei Alexandrescu
5ba3fd53bd Updated documentation and unittest for cons() in wake of fixing bug 2676 2009-04-21 12:36:06 +00:00
Andrei Alexandrescu
dfef2a7214 Replaced next, retreat, head, and toe with (respectively) popFront, popBack, front, and back 2009-04-13 19:10:58 +00:00
Andrei Alexandrescu
ec9054c283 naming and doc fixes prompted by Lars Kyllingstad 2009-04-11 20:40:43 +00:00
Andrei Alexandrescu
49f646271b Range operations. 2009-04-06 20:48:41 +00:00