Commit graph

4339 commits

Author SHA1 Message Date
Lars T. Kyllingstad
d6ce714d20 Pre-allocate 255 bytes, not 256, in buildPath()
...as recommended by @monarchdodra.
2013-07-31 19:42:59 +02:00
Lars T. Kyllingstad
3e2574a001 Minor buildPath DDOC style issue 2013-07-31 19:09:46 +02:00
Lars T. Kyllingstad
23a1fe9ae0 Added unittests for issue 10348 2013-07-31 19:04:11 +02:00
Lars T. Kyllingstad
e78e55558d Minor buildPath() style issues 2013-07-31 18:15:07 +02:00
Lars T. Kyllingstad
b6757581d3 Added range version of std.path.buildPath() 2013-07-30 20:50:00 +02:00
Denis Shelomovskij
51a5bad3e6 Improve Issue 10220 fix.
Improves pull #1329.

Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=10220
2013-06-05 18:43:47 +04:00
Walter Bright
7b0a1219fd Merge pull request #1329 from 9rnsr/fix10220
[REG2.064a] Issue 10220 - `array` doesn't work with disabled default construction
2013-06-04 22:30:00 -07:00
k-hara
f52b88c549 Fix internal template GetOverloadedMethods - should see overload first 2013-06-03 23:50:23 +09:00
k-hara
b06fe4b8e9 Fix std.datetime (remove ReturnType usage for property check) 2013-06-03 23:50:12 +09:00
Andrei Alexandrescu
cee7de0103 Merge pull request #1265 from 9rnsr/structuralCast
Issue 4999 - Add Kenji Hara's adaptTo() to Phobos
2013-06-01 21:41:54 -07:00
k-hara
924232603a fix Issue 10220 - array doesn't work with disabled default construction 2013-06-02 02:32:53 +09:00
k-hara
e2d991b005 Move checkCTFEable to std.exception.assertCTFEable, and use it 2013-06-02 02:32:24 +09:00
Hara Kenji
9d331e2dc4 Merge pull request #1144 from AndrejMitrovic/Fix4124
Issue 4124 - Implement toString for BitArray.
2013-06-01 07:32:29 -07:00
Andrej Mitrovic
4f5079e4f8 Fixes Issue 4124 - Implement toString for BitArray. 2013-06-01 15:40:01 +02:00
Hara Kenji
e7f117af47 Merge pull request #1325 from youkei/fix_10218
Issue 10218 - std.typecons.opAssign is not CTFEable
2013-06-01 06:14:12 -07:00
youkei
cec78c3bc1 Space after if 2013-06-01 21:50:15 +09:00
Andrej Mitrovic
bd2d3e5fea Detab and strip std.bitmanip. 2013-06-01 04:03:37 +02:00
Andrej Mitrovic
69f5377acd Merge pull request #1274 from 9rnsr/fix9976
Apply ddoc-ed unittest feature in std.typetuple, and fix issue 9976
2013-05-31 18:55:51 -07:00
Andrei Alexandrescu
acfe5d924a Merge pull request #1303 from jpf91/unittest
Make std.conv unittests independent of floating point rounding
2013-05-31 16:41:52 -07:00
Andrei Alexandrescu
383c029e2c nits 2013-05-31 19:26:20 -04:00
Ferdinand Majerech
4c713c311d DDoc: std.stdio.byLine documentation fix and examples.
Removed the redundant /// ditto and added two examples to make it obvious to a newcomer how a range is useful here.
2013-06-01 00:33:15 +03:00
youkei
ff27635df3 Make Tuple.opAssign CTFEable 2013-06-01 01:18:45 +09:00
David Nadlinger
38dede9756 Merge pull request #1320 from stschiff/docfix
Small fixes to std.algorithm documentation
2013-05-29 02:20:46 -07:00
Stephan Schiffels
b794fa27ed added any and all to function index and to the cheat sheet 2013-05-29 09:27:23 +01:00
Stephan Schiffels
fe5bbe8df6 fixed lexical ordering of std.algorithm doc index (endsWith, nextPermutation, nextEvenPermutation) and cheat sheet 2013-05-29 08:56:54 +01:00
majiang
62ac95f305 fix 10188 - Wrong document comment 2013-05-29 13:38:10 +09:00
Brad Anderson
746afc47b8 Fix link to put primitive in std.range docs 2013-05-28 20:39:57 -06:00
David Nadlinger
5ddf3bc19a Merge pull request #1312 from dawgfoto/fix10017
fix issue 10017
2013-05-27 12:04:08 -07:00
Martin Nowak
2dba41d032 fix issue 10017 2013-05-27 17:15:43 +02:00
k-hara
d8c6187d6e Optimize opAssign for rvalue assignment 2013-05-27 23:45:29 +09:00
k-hara
7df2af6d73 Improve member function slice
- Add @trusted attribute
- Change parameter types `uint` to `size_t`
- Limit the range of fields by template constraint
2013-05-27 23:44:58 +09:00
k-hara
3c4b80e357 Remove deprecated Tuple.at member function 2013-05-27 23:09:17 +09:00
k-hara
fdcaba7226 Named-field tuple should be a subtype of unnamed-field tuple. 2013-05-27 23:08:19 +09:00
k-hara
292b23b51c Use built-in tuple operations 2013-05-27 23:08:17 +09:00
k-hara
eadb9f928c Rename app to w
`w` (==`writer`) is better than `app`(==`appender`).
2013-05-27 23:08:16 +09:00
k-hara
1094a3fc0b Rename to areCompatibleTuples, and add small fix 2013-05-27 23:07:41 +09:00
k-hara
99619cbc72 Use T.init 2013-05-27 23:05:21 +09:00
k-hara
bb82877781 Remove unnecessary length member
It's automatically forwarded to expand.length through `alias this`.
2013-05-27 23:05:19 +09:00
k-hara
ff056812b0 Remove workaround for the compiler bug 4424 2013-05-27 23:05:17 +09:00
k-hara
cce4e4ebd7 Divide template and enclosed struct
The utility templates and functions are not necessary in Tuple struct.
2013-05-27 23:05:15 +09:00
k-hara
f4f57e89a5 Fix comment indent and style 2013-05-27 23:05:13 +09:00
k-hara
a70103531e Rename structuralCast to wrap, and structuralDownCast to unwrap 2013-05-27 21:04:04 +09:00
k-hara
8b390ae6c4 fix Issue 4999 - Add Kenji Hara's adaptTo() to Phobos
Add structuralCast and structuralDownCast in std.typecons
2013-05-27 21:01:11 +09:00
k-hara
41ac032548 Remove undocumented structuralCast in std.exception 2013-05-27 21:01:09 +09:00
Jonathan M Davis
d7d90c7749 Merge pull request #1310 from Diggsey/bitmanip-fixes
Fixed std.bitmanip unit test so that the intended behaviour of checking ...
2013-05-27 04:50:32 -07:00
David Nadlinger
dc4fe37080 Merge pull request #992 from monarchdodra/chunks
Update in chunks
2013-05-27 04:16:23 -07:00
monarch dodra
3e8a8cd887 fix typo in comment 2013-05-27 13:10:43 +02:00
Diggory Blake
be6f984726 Fixed std.bitmanip unit test so that the intended behaviour of checking both endian types is the actual behaviour 2013-05-27 11:26:48 +01:00
Alex Rønne Petersen
ddf5567f27 Merge pull request #1305 from dymk/ctfe-array
fix for calling .array() on ranges in CTFE
2013-05-26 00:56:02 -07:00
Dylan Knutson
5294809f53 fix for calling .array() on ranges in CTFE 2013-05-25 23:46:51 -07:00