Commit graph

166 commits

Author SHA1 Message Date
Andrei Alexandrescu
069b216302 TRIVIAL: reuse popFrontN for stride 2016-04-15 12:06:59 -04:00
Yazan Dabain
9887af3fe6 Fix some imports 2016-04-12 22:15:09 +03:00
Dmitry Olshansky
1d2e88c266 Merge pull request #4069 from John-Colvin/patch-16
faster pairwise summation
2016-04-12 13:17:18 +04:00
Dmitry Olshansky
401158d54a Merge pull request #4167 from 9il/api
clean API for moveAt, fix indexes/lengths to be type of size_t, fix length declarations
2016-04-10 17:07:51 +04:00
Ilya Yaroshenko
3884b9d13a clean API for moveAt 2016-04-10 12:46:55 +02:00
Ilya Yaroshenko
6fa02dabcf fix length declarations 2016-04-10 12:46:55 +02:00
Ilya Yaroshenko
d4fa64bb42 fix index types to size_t 2016-04-10 12:46:51 +02:00
Ilya Yaroshenko
ddf8268d42 UFCS for moveAt, moveFront, moveBack 2016-04-09 09:28:14 +02:00
Ilya Yaroshenko
ff296c514b fix imports 2016-04-07 13:25:18 +02:00
Jack Stouffer
38c243cf91 Fix Issue 13409: add padLeft and padRight 2016-03-24 13:39:44 -04:00
John Colvin
f69a7d9536 fix broken std.range.Take slicing 2016-03-24 13:11:11 +00:00
JakobOvrum
19ccbcf493 Merge pull request #4054 from greenify/docu_locksteep
std.range: explain difference between lockstep and zip
2016-03-13 22:29:04 +09:00
Sebastian Wilzbach
69346b1ea5 std.range: explain difference between lockstep and zip with new examples 2016-03-12 14:58:00 +02:00
Atila Neves
9cc2a5ae59 Replace 'reduce' with 'fold' in the documentation 2016-03-05 18:50:11 +01:00
Sebastian Wilzbach
6c386d6f31 convert docstring examples to unittests 2016-03-03 19:39:12 +02:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00
Andrei Alexandrescu
1e74490f44 Merge pull request #3855 from JakobOvrum/range_tail
Add std.range.tail
2016-01-12 13:35:54 -05:00
Brian Schott
44ed1ed839 Merge pull request #3873 from JackStouffer/patch-4
Add Ali's range tutorial to std.range docs
2015-12-30 22:00:46 -08:00
Jack Stouffer
d3b02d7ea5 Add Ali's range tutorial to std.range docs
It was added to the top of std.algorithm but not here.
2015-12-30 18:46:48 -05:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
H. S. Teoh
64f43ce42c Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
2015-12-15 09:37:12 -08:00
Jakob Øvrum
a16cfc0690 Add std.range.tail
Suggested by Andrei Alexandrescu in this thread:
http://forum.dlang.org/post/n3sfgg$1hpm$3@digitalmars.com
2015-12-10 04:59:31 +09:00
anonymous
1a2ef53923 document that chunkSize must be greater than zero
There's an assert(chunkSize != 0) in the constructor which needs to be
documented.
2015-12-07 13:27:19 +01:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Xinok
dda21ec7d1 Issue 15385 2015-11-29 16:16:54 -06:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
AndrejMitrovic
e23ec60851 Merge pull request #3714 from CyberShadow/pull-20151013-014236
fix Issue 15198 - evenChunks - std.range.chunks variant which slices …
2015-10-18 19:02:07 +02:00
Vladimir Panteleev
e500230f2e std.range.package: Document evenChunks retuned chunk size implementation 2015-10-18 15:25:48 +00:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimir Panteleev
04349a9cf4 fix Issue 15198 - evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks 2015-10-13 12:53:01 +00:00
Martin Nowak
b861b0fe71 fix spelling in doPut error message 2015-10-03 21:46:57 +02:00
Nicolas Jinchereau
77e3f9c93c fixed typo (newValues3 -> newValues4) 2015-09-26 13:49:43 -04:00
Jack Stouffer
3fb4a9eaea fix issue 15003 2015-09-22 10:45:36 -04:00
H. S. Teoh
f070f0e379 Fix missing ditto in std.range.chooseAmong.
Whcih causes the second overload to be undocumented and the ddoc'd
unittest to be missing from the generated docs.
2015-09-16 20:30:03 -07:00
H. S. Teoh
701f0b890d Add ddoc'd unittest to std.range.choose. 2015-09-16 20:30:03 -07:00
k-hara
6813eca0d2 fix Issue 15046 - isForwardRange documentation is documenting issue 14544 2015-09-12 20:14:29 +09:00
Per Nordlöw
d2c6c6b116 Fix 15033 2015-09-10 10:58:59 +02:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
Basile Burg
e0929eed0e fix broken link 2015-09-06 05:16:50 +02:00
Martin Nowak
bd6a629ba6 fix doc generation
- example unittests must directly follow the declaration
2015-08-23 17:51:45 +02:00
Martin Nowak
70cd96b12f add another generate example
- based on #3540
2015-08-23 17:51:45 +02:00
H. S. Teoh
cbd547702c Add missing cheatsheet link to chooseAmong. 2015-08-19 10:29:09 -07:00
H. S. Teoh
805080555a Improve std.range.radial documentation.
Add more examples to show exactly what happens if one end of the range
is reached first.
2015-08-16 19:59:24 -07:00
Hara Kenji
1b3f6d60ec Merge pull request #3515 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-07-25 09:03:15 +09:00
Martin Nowak
5ca7ddad60 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	posix.mak

Manually edited:
	std/datetime.d (rename toNormalizedPath -> asNormalizedPath)
2015-07-24 01:28:58 +02:00
H. S. Teoh
f62e911b89 [trivial] Make NullSink unittest a ddoc'd example. 2015-07-21 16:50:24 -07:00
Steven Schveighoffer
2f7a73b24d Merge pull request #3504 from quickfur/lockstep_docs
Improve Lockstep docs.
2015-07-21 15:01:17 -04:00