Commit graph

977 commits

Author SHA1 Message Date
David Simcha
db2c820045 Added isIterable, ForeachType to std.traits in preparation for improvements to std.array.array. 2010-08-19 00:48:56 +00:00
David Simcha
d316980220 Bug 2903: Splitter should be bi-dir if the input range is bi-dir (Single-character separator version, since range separator version was fixed a long time ago. Excluded terminator version b/c it's not documented/officially part of Phobos yet and there are issues w/ including an empty range if the last character is the terminator that need to be resolved first.) 2010-08-18 04:06:26 +00:00
Andrei Alexandrescu
75705bc9e7 added assert 2010-08-18 02:44:35 +00:00
Andrei Alexandrescu
810c4feb97 bugzilla 4671 2010-08-18 02:35:22 +00:00
Adam D. Ruppe
086fafddb3 Documentation improvements by Pedro Rodrigues 2010-08-17 16:47:26 +00:00
Andrei Alexandrescu
b2a36396f1 Reverted to 32-bit file routines for Windows; we need to distribute libcmt.lib for 64-bit support. 2010-08-17 16:41:23 +00:00
Andrei Alexandrescu
cad40e5902 Now large files work with both osx and linux 2010-08-17 15:26:04 +00:00
Andrei Alexandrescu
cca7ba835a versioned out failing asserts on OSX 2010-08-17 15:11:26 +00:00
Andrei Alexandrescu
5f354415b7 seek and tell for large files on OSX using seeko and tello 2010-08-17 15:06:34 +00:00
Andrei Alexandrescu
72d9fa0764 seek and tell for large files on OSX 2010-08-17 07:08:56 +00:00
David Simcha
75de9835b4 Bug 2951: std.random.dice() should be templated on proportions. 2010-08-17 03:38:36 +00:00
David Simcha
95122e68ab Bug 4408: Ambiguity when using std.algorithm.splitter with generic ranges 2010-08-17 02:56:56 +00:00
David Simcha
096ddcad2a Fix a few silly mistakes in std.range. Also, add self as author, as I feel I've earned it. 2010-08-17 02:30:45 +00:00
David Simcha
c03041e5fd Clean up std.range.chain, fix several unlisted bugs and make the code more readable. 2010-08-17 02:26:46 +00:00
David Simcha
3235b577a7 Bug 3877: std.range.chain do not manage infinite ranges correctly 2010-08-17 00:50:06 +00:00
David Simcha
60ba977cf4 Added std.typetuple.anySatisfy because I need it for my work in std.range. 2010-08-17 00:38:38 +00:00
David Simcha
bfc7026ba5 Bug 3361 code in std.zlib concatenates void[] arrays (D2 fix) 2010-08-16 23:36:57 +00:00
Andrei Alexandrescu
3eb9454c78 Fixed seek and tell for large files 2010-08-16 20:07:12 +00:00
Shin Fujishiro
caa561b3b2 std.math: ddoc fix 2010-08-16 18:57:05 +00:00
David Simcha
abb54f279c Lockstep StoppingPolicy should be a runtime arg, not a compile time one. 2010-08-16 03:31:59 +00:00
David Simcha
0318457f7c Two related bugs: 3123: std.algorithm.zip fails on 'lazy' ranges ,
4402:  std.range.Zip doesn't work w/ non-lvalue ranges.
2010-08-16 02:55:02 +00:00
David Simcha
c4cdd64f14 Add index variable support to Lockstep, since it ended up being trivial. 2010-08-16 00:14:26 +00:00
David Simcha
e8c0c8e5f2 Fix for small bug in single-range Lockstep. 2010-08-15 21:59:28 +00:00
David Simcha
2141dbf2fe Added Lockstep, hasLvalueElements. 2010-08-15 21:26:26 +00:00
David Simcha
836922d87a Bug 4292: CommonType fails for singular alias values. 2010-08-15 15:05:02 +00:00
Lars T. Kyllingstad
6090abc2c7 Just shuffling some code around 2010-08-15 11:26:18 +00:00
Lars T. Kyllingstad
1834ad9f47 std.process.Environment should be an abstract final class, so it can't be instantiated or subclassed 2010-08-15 11:12:29 +00:00
Lars T. Kyllingstad
d2650cd4a1 Added std.process.environment, an AA-like interface for environment variables. 2010-08-15 10:59:23 +00:00
David Simcha
8c615f5bf7 Saves for regex. 2010-08-15 04:03:56 +00:00
David Simcha
49852ac686 save() for std.algorithm. 2010-08-15 03:50:54 +00:00
David Simcha
1ec079b80a save() methods. 2010-08-15 03:28:19 +00:00
David Simcha
80b0054b9a Bug 4388: std.range.Radial assumes lvalue elements 2010-08-15 03:20:12 +00:00
David Simcha
ebed756055 Range cleanup for std.random. 2010-08-15 03:10:35 +00:00
David Simcha
ff8e358ad3 Bug 4345: std.range.take!string: "Nonsensical finite range with slicing but no length" 2010-08-15 02:17:30 +00:00
David Simcha
e3331fbd90 Bug 4381: Length attribute for std.typecons.Tuple 2010-08-15 02:01:48 +00:00
David Simcha
cd9ee04a63 Bug 4464: std.range.take does not always return Take!R 2010-08-15 01:48:04 +00:00
David Simcha
e2067aa2db Slicing support for Transversal, FrontTransversal. 2010-08-14 23:33:26 +00:00
David Simcha
11769b66af Slicing support for Stride. 2010-08-14 22:22:50 +00:00
David Simcha
693f31ac5a Bug 3894: std.range.Stride!R requires R.front() and R.back() to return by reference 2010-08-14 22:04:21 +00:00
David Simcha
1fc2c40d9c Better implementation of slicing in light of recent bug fix. 2010-08-14 20:14:02 +00:00
David Simcha
27e9afcb86 Unlisted Bug: std.range.iota() random access primitives inconsistent after popFront on floating point version 2010-08-14 18:32:58 +00:00
Adam D. Ruppe
b9ea97d6e7 Changed code style of new openNetwork function to be more Phobos like 2010-08-14 17:54:02 +00:00
Adam D. Ruppe
3dedd2253e commiting my first attempt at network support in the File interface. 2010-08-14 17:12:35 +00:00
David Simcha
de899c64a1 Slicing for Iota. 2010-08-14 15:19:17 +00:00
David Simcha
38c8089063 Add convenience functions for Rebindable. 2010-08-14 00:40:50 +00:00
Lars T. Kyllingstad
7d4421cdf1 Bug 3348: Documentation for many std.process functions has disappeared 2010-08-13 11:30:26 +00:00
Lars T. Kyllingstad
4b90954691 Bug 3946: schwartzSort - SwapStrategy always unstable 2010-08-13 10:55:11 +00:00
Lars T. Kyllingstad
b2563f8fb7 Bug 3312: std.string.count should use const(char)[], not immutable. 2010-08-13 10:21:44 +00:00
Lars T. Kyllingstad
4de804f614 Applied pure and nothrow to std.complex. To make this work, I had to add a few nothrows to std.math.pow() as well. 2010-08-13 09:58:13 +00:00
David Simcha
81b248dd85 Bug 4403: std.range.FrontTransversal assumes lvalue elements 2010-08-13 03:12:08 +00:00