Commit graph

150 commits

Author SHA1 Message Date
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
H. S. Teoh
90ad7e5fe9 Remove bug section from docs: bug has been fixed in compiler.
Add unittest to prevent regressions in the future.
2015-07-21 10:03:24 -07:00
Steven Schveighoffer
033cdd8568 Merge pull request #3503 from quickfur/take_docs
[dox] Document what happens to take/takeExactly if the range is too short.
2015-07-20 17:16:08 -04:00
H. S. Teoh
8393378b6b [trivial] Remove stray redundant word 'example' from code examples. 2015-07-20 11:35:32 -07:00
H. S. Teoh
e21c9a5dc0 Improve Lockstep docs.
Remove stray // from generated docs.

Reorder that example to flow better with the preceding prose.

Fix coding style in code examples.
2015-07-20 11:32:18 -07:00
H. S. Teoh
38b6d70493 Document what happens to take/takeExactly if the range is too short. 2015-07-20 11:24:45 -07:00
k-hara
4ceb3ab159 Supplemental fix for issue 14747 - remove unreachable statements 2015-07-01 00:08:20 +09:00
Walter Bright
822f9e16f1 Merge pull request #3450 from CyberShadow/pull-20150628-131049
Workaround for Issue 14744 - std.range DDox page corrupted
2015-06-29 15:01:51 -07:00
Vladimir Panteleev
f17d337d81 Revert "Add new lazy range: merge()" 2015-06-28 20:52:22 +00:00
Vladimir Panteleev
9c90fad885 Workaround for Issue 14744 - std.range DDox page corrupted 2015-06-28 13:12:31 +00:00
Walter Bright
e87c8c4178 std.range remove dubious use of RangeError 2015-06-18 22:22:40 -07:00
anonymous
b28962635f fix package XREFs
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Andrei Alexandrescu
a99e1c437e Merge pull request #3315 from nordlow/add-merge-range
Add new lazy range: merge()
2015-06-11 20:24:19 -07:00
Andrei Alexandrescu
74a05c2486 Merge pull request #3385 from WalterBright/bugzilla14660
std.range.choose() - add Bugs section
2015-06-07 00:38:36 -07:00
Walter Bright
1b5820953c std.range.choose() - add Bugs section 2015-06-07 00:12:24 -07:00
Andrei Alexandrescu
197d7ed2ca Improve docs for tee 2015-06-06 23:38:30 -07:00
Per Nordlöw
82878d02c0 Add comment about matching of pred 2015-06-06 13:09:34 +02:00