Commit graph

4086 commits

Author SHA1 Message Date
Andrei Alexandrescu
a4c244f2a8 deprecated std.string.find and std.string.find, replaced with std.string.indexOf; deprecated std.string.rfind and std.string.irfind, replaced with std.string.lastIndexOf; added flag CaseSensitive for indexOf and lastIndexOf; removed startsWith and endsWith because std.algorithm defines them; defined std.string.byDchar. 2009-07-04 07:07:26 +00:00
Andrei Alexandrescu
9e4e3cbe88 minor 2009-07-04 07:06:26 +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
f19d95abd4 added randomSample. 2009-07-04 07:04:29 +00:00
Andrei Alexandrescu
e336106541 minor 2009-07-04 06:59:56 +00:00
Andrei Alexandrescu
645fabb440 minor 2009-07-04 06:59:03 +00:00
Andrei Alexandrescu
02d2052a79 Fixed BUGZILLA 3081: unaryFun can't be used to get element out of struct 2009-07-04 06:58:29 +00:00
Andrei Alexandrescu
f291706be8 minor 2009-07-04 06:56:23 +00:00
Andrei Alexandrescu
b8d4f1e79c changed it to use the snazzy switch statement with ranged labels. 2009-07-04 06:55:10 +00:00
Andrei Alexandrescu
2a18575d11 changed signature of benchmark to return ulong[] instead of uint[]. 2009-07-04 06:54:38 +00:00
Andrei Alexandrescu
2ca77f63ac made isupper and tolower pure. 2009-07-04 06:53:51 +00:00
Andrei Alexandrescu
5ba2e8d6de added Shin Fujishiro's code for printing and parsing enumerated values. 2009-07-04 06:52:55 +00:00
Andrei Alexandrescu
24a5d0568d minor 2009-07-04 06:52:12 +00:00
Andrei Alexandrescu
37e9bab89e added array function. 2009-07-04 06:51:36 +00:00
Andrei Alexandrescu
6f8117a54b Made std.algorithm.swap faster by having it use memcpy; added std.algorithm.group, std.algorithm.until, std.algorithm.nWayUnion, std.algorithm.largestPartialIntersectionWeighted; added additional constraints to std.algorithm.equal; changed signature of std.algorithm.topNIndex and std.algorithm.topNCopy to use an enum parameter instead of a confusing bool. 2009-07-04 06:50:52 +00:00
Walter Bright
49551541c3 more integer conversion fixes 2009-06-24 20:04:54 +00:00
Sean Kelly
446691a18a Fixed compile error. 2009-06-08 22:18:08 +00:00
Walter Bright
bd4eadca71 implicit cast fixes 2009-06-07 05:03:17 +00:00
Walter Bright
2b49121d3f fix implicit casting 2009-06-04 23:40:27 +00:00
Walter Bright
7ef9d6f2b8 fix implicit casting 2009-06-04 23:36:03 +00:00
Don Clugston
cf6fcdf625 Fix for bugzilla 3040 (if that actually is a bug). 2009-06-01 05:55:46 +00:00
Walter Bright
dbb18c7e66 bugzilla 3016 2009-05-22 23:58:31 +00:00
Walter Bright
68c694f69d bugzilla 2429 2009-05-14 23:31:42 +00:00
Walter Bright
eceae92256 2.030 2009-05-12 21:31:39 +00:00
Don Clugston
cf05d1909b Fix exp() so that it won't break when issue #2942 is fixed. 2009-05-11 08:46:51 +00:00
Walter Bright
cf644a325a add shared 2009-05-08 05:00:12 +00:00
Andrei Alexandrescu
7508b06d3d changed curry to distinguish between delegates/functions and regular symbols 2009-05-03 23:17:54 +00:00
Andrei Alexandrescu
fa602383a2 fix for unlisted bug in curry 2009-05-03 21:04:37 +00:00
Andrei Alexandrescu
935c1ac0da fix for bug 2921 2009-05-03 20:53:23 +00:00
Andrei Alexandrescu
c4e066bac1 fix for bug 2880 2009-05-01 01:00:28 +00:00
Andrei Alexandrescu
3f480aaa93 minor 2009-05-01 01:00:11 +00:00
Andrei Alexandrescu
edd4c82776 minor 2009-05-01 00:59:41 +00:00
Andrei Alexandrescu
ee67c6cb0e documentation 2009-04-30 20:56:52 +00:00
Andrei Alexandrescu
f3113665bd Restricted Tuple.opCmp and Tuple.opEquals a bit. 2009-04-30 20:55:44 +00:00
Andrei Alexandrescu
574af5bf3e Improved BinaryHeap. Added largestPartialIntersection. 2009-04-30 19:26:24 +00:00
Andrei Alexandrescu
fbec43b21f Added Tuple.opComp. 2009-04-30 19:20:13 +00:00
Andrei Alexandrescu
23ea0fcfd5 Added variadic arguments for setUnion and setIntersection. Added function setSymmetricDifference. 2009-04-30 03:03:47 +00:00
Andrei Alexandrescu
2783bdfd54 Fixed bug 2914 2009-04-30 03:00:56 +00:00
Andrei Alexandrescu
e486c557bc Added iota with two arguments. Added FrontTransversal and Transversal. 2009-04-29 22:08:52 +00:00
Andrei Alexandrescu
40e9003856 isNaN returns bool 2009-04-29 22:07:08 +00:00
Andrei Alexandrescu
7b69dabc20 Added encode() with fixed-size arrays. 2009-04-29 22:05:05 +00:00
Andrei Alexandrescu
54dea3d01e minor 2009-04-29 22:04:19 +00:00
Andrei Alexandrescu
d4dff4233c Added isImplicitlyConvertible 2009-04-29 22:03:55 +00:00
Andrei Alexandrescu
79af28268c doc fix 2009-04-29 21:33:23 +00:00
Andrei Alexandrescu
2879e943e7 Added/modified a couple of unittests. 2009-04-29 21:33:03 +00:00
Andrei Alexandrescu
f22c3a8e97 Fixed unlisted bugs in encoding(). 2009-04-29 21:32:03 +00:00
Andrei Alexandrescu
e112df9d98 Made Appender instantiable with string and other arrays with immutable elements. Also now Appender appends ranges to arrays wherever applicable. 2009-04-29 21:31:33 +00:00
Andrei Alexandrescu
2a1def14ff Made Splitter bidirectional. Also, Splitter now return an empty item at the end of the iteration if the input ends with a separator. 2009-04-29 21:28:55 +00:00
Andrei Alexandrescu
0d3ba39d3a fixed unlisted bug in formatting floating-point numbers 2009-04-28 23:05:37 +00:00
Andrei Alexandrescu
21d9d5ce11 Fixed bug 2893 2009-04-25 11:12:15 +00:00