Dmitri Gribenko
f0633ce5a9
stdlib: Sequence.iterator() => .makeIterator()
2016-02-23 13:52:30 -08:00
Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Dmitri Gribenko
dd75aed67a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-17 14:40:05 -08:00
Nate Cook
51251dc133
Convert imperative function summaries to present.
...
i.e., "Return ..." -> "Returns ..."
2016-02-12 04:20:39 -06:00
Nate Cook
f3c4e0ac74
Remove style on *generator* and friends.
2016-02-12 04:20:01 -06:00
Dmitri Gribenko
9bcd5a1056
Collection.length => .count
2016-01-22 18:41:19 -08:00
Dmitri Gribenko
574052f1be
stdlib: standardize fatalError() messages for unavailable APIs
2016-01-21 16:34:54 -08:00
Max Moiseev
86680ec622
[stdlib] @available attributes for removed APIs
2016-01-20 13:08:27 -08:00
Max Moiseev
f51e708a8f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-01-04 12:25:25 -08:00
Zach Panzarino
e3a4147ac9
Update copyright date
2015-12-31 23:28:40 +00:00
Dmitri Gribenko
73ce9ae7e9
Collection.count => .length
...
And other API changes that naturally fall out from this, like
Array(repeating:count:) => Array(repeating:length:).
2015-12-17 15:55:29 -08:00
Maxim Moiseev
e6468a0eca
_precondition => _require
2015-12-16 17:19:01 -08:00
Dmitri Gribenko
4025882438
Improve comments
2015-12-16 14:50:35 -08:00
Maxim Moiseev
844b81c46b
SequenceType => Sequence
2015-12-09 17:16:56 -08:00
Maxim Moiseev
7e2466c14e
CollectionType => Collection
2015-12-09 17:12:48 -08:00
Dmitri Gribenko
1c0047829a
Rename SequenceType.generate() to SequenceType.iterator()
2015-12-09 17:11:17 -08:00
Dmitri Gribenko
31598d41bf
Rename GeneratorType to IteratorProtocol
2015-12-07 17:08:32 -08:00
Dmitri Gribenko
174d475833
stdlib: Remove unavavailable APIs that were left as migration aids
...
These APIs are from the Swift 1.2 => Swift 2.0 transition, and are not
relevant anymore.
Removing them reduces the surface area of the library that needs to be
reviewed.
2015-12-02 01:19:50 -08:00
Dave Abrahams
913f09838a
[stdlib] Add a default generate() for generators...
...
...that are also sequences, and rip out all redundant implementations of
generate() that match a default.
Swift SVN r30035
2015-07-09 19:49:24 +00:00
Dmitri Hrybenko
82122f9362
stdlib: fixit-based migrations for generic parameter renames
...
rdar://21538940
Swift SVN r29756
2015-06-27 04:06:27 +00:00
Dmitri Hrybenko
d3dff3e3a5
stdlib: rename generic parameters from T to Element
...
... for EmptyGenerator and EmptyCollection.
Part of rdar://21429126
Swift SVN r29622
2015-06-24 20:41:53 +00:00
Dmitri Hrybenko
53f3ccf850
stdlib: change CollectionType.count() into a property
...
Swift SVN r28829
2015-05-20 09:14:43 +00:00
Dmitri Hrybenko
313701286b
stdlib: Various punctuation and markup improvements to the comments.
...
Patch by Brian Lanier.
Swift SVN r28659
2015-05-16 03:04:51 +00:00
Dave Abrahams
5c55682d8b
[stdlib] Capitalize keywords in doc comments
...
Again, the text is a lot more readable that way.
Swift SVN r28472
2015-05-12 16:59:13 +00:00
Dmitri Hrybenko
c109ec9125
stdlib: protocol extensions: de-underscore count()
...
Swift SVN r28246
2015-05-07 00:30:38 +00:00
David Farler
9e28dc777a
Update standard library doc comments to Markdown
...
rdar://problem/20180478
Swift SVN r27726
2015-04-26 00:07:11 +00:00
Dmitri Hrybenko
883ac4c11f
stdlib: implement a defaulted CollectionType._prext_count() method
...
Swift SVN r27447
2015-04-18 04:25:15 +00:00
Dmitri Hrybenko
350248dae5
Reorganize the directory structure under 'stdlib'
...
The standard library has grown significantly, and we need a new
directory structure that clearly reflects the role of the APIs, and
allows future growth.
See stdlib/{public,internal,private}/README.txt for more information.
Swift SVN r25876
2015-03-09 05:26:05 +00:00