Commit graph

5569 commits

Author SHA1 Message Date
Joseph Rushton Wakeling
004ce96368 Unittests for randomSample being passed an InputRange.
The assignment of _input = input has been moved from
initialize() to the constructors so as to avoid
problems with nested structs.
2013-06-04 21:54:14 +02:00
Joseph Rushton Wakeling
cbdd14b57b Issue 10265 - RandomSample fails when passed an InputRange as input
* Issue fixed by making presence of save() property conditional
   on input being a ForwardRange.
2013-06-04 19:27:58 +02: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
Daniel Murphy
f5c24170af Merge pull request #1324 from braddr/install
draft install target
2013-06-03 00:41:06 -07: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
Andrei Alexandrescu
4c4e68c5de Merge pull request #1327 from kiith-sa/patch-5
DDoc: std.stdio.byLine documentation fix and examples.
2013-05-31 16:19:18 -07: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
Brad Roberts
4221421ec4 remove html generation for now, fix copy to not result in an extra layer of each subdir 2013-05-29 22:35:51 -07:00
Brad Roberts
133cb13b4f first pass of install targets 2013-05-29 22:18:08 -07:00
Frank van Dijk
a9eb2008cb combine some statements 2013-05-29 19:29:06 +02:00
Alex Rønne Petersen
71c1545a56 Merge pull request #1258 from dawgfoto/defaultMODEL
use default MODEL unless explicitly specified
2013-05-29 07:07:00 -07: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
Hara Kenji
521b080e25 Merge pull request #1319 from majiang/patch-4
fix Issue 10188 - Wrong document comment
2013-05-28 21:50:22 -07:00
majiang
62ac95f305 fix 10188 - Wrong document comment 2013-05-29 13:38:10 +09:00
Andrei Alexandrescu
e142d127a6 Merge pull request #1317 from eco/patch-1
[trivial] Fix link to put primitive in std.range docs
2013-05-28 20:03:13 -07:00
Brad Anderson
746afc47b8 Fix link to put primitive in std.range docs 2013-05-28 20:39:57 -06:00
Andrej Mitrovic
622d414a00 Merge pull request #1316 from andralex/dlang.org
[MINOR] Change default doc dir to dlang.org
2013-05-28 16:38:00 -07:00
Andrei Alexandrescu
0a5c26659e [MINOR] Change default doc dir to dlang.org 2013-05-28 18:42:10 -04:00
Andrei Alexandrescu
9293b54adc Merge pull request #1315 from quickfur/makefile_ln_sf
Add -f to ln
2013-05-28 11:55:08 -07:00
H. S. Teoh
37bb1711f3 Add -f to ln, otherwise it may fail on some systems when rebuilding Phobos (target file already exists). 2013-05-28 10:01:59 -07:00
David Nadlinger
5ddf3bc19a Merge pull request #1312 from dawgfoto/fix10017
fix issue 10017
2013-05-27 12:04:08 -07:00
Andrei Alexandrescu
d9ebbdb1f7 Merge pull request #1308 from 9rnsr/improve_tuple
Improve std.typecons.Tuple implementation
2013-05-27 08:25:57 -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