Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Dmitri Gribenko
0f36bec31f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-18 16:41:35 -08:00
Dmitri Gribenko
708d90aa80
Adjust IOKit dependencies to be only in effect on OS X
2016-02-18 02:38:16 -08:00
Dmitri Gribenko
f775457699
Add missing dependencies for the IOKit overlay
2016-02-18 02:22:22 -08:00
Dmitri Gribenko
9bcd5a1056
Collection.length => .count
2016-01-22 18:41:19 -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
3d0ad16094
Unsafe[Mutable]Pointer.memory => .pointee
2015-12-16 15:50:31 -08:00
Maxim Moiseev
7e2466c14e
CollectionType => Collection
2015-12-09 17:12:48 -08:00
Jordan Rose
6e1bf0d10d
Rename @exported to @_exported for now.
...
At some point I want to propose a revised model for exports, but for now
just mark that support for '@exported' is still experimental and subject
to change. (Thanks, Max.)
2015-11-05 11:59:00 -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
09ab3c17dc
stdlib: rename generic parameters from T to Element
...
... for UnsafeBufferPointerGenerator, UnsafeBufferPointer,
UnsafeMutableBufferPointer.
Part of rdar://21429126
Swift SVN r29623
2015-06-24 20:41:54 +00:00
Jordan Rose
99768eb346
Revert "Switch overlays from using @exported to -import-underlying-module."
...
This reverts r29441 because it breaks the Linux build. I'll talk to Dmitri
about this tomorrow.
See rdar://problem/21254367
Swift SVN r29444
2015-06-17 05:02:21 +00:00
Jordan Rose
c8bfc87c4e
Switch overlays from using @exported to -import-underlying-module.
...
Some day we'll close the hole for @exported in the previous commit.
Swift SVN r29441
2015-06-17 04:48:06 +00:00
Dmitri Hrybenko
8476af5582
Don't build SDK overlays for frameworks that don't exist on watchOS
...
Swift SVN r28644
2015-05-15 22:16:37 +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
Dave Abrahams
106b39a497
[stdlib] Indent bullet continuations in doc comments
...
The text is a lot more readable that way.
Swift SVN r28471
2015-05-12 16:59:08 +00:00
Doug Gregor
985896905e
Ban generic parameters on extensions.
...
We no longer allow extensions to provide generic parameters, and the
ability to parse the syntax
extension Array<String> { ... }
is causing confusion. Fixes rdar://problem/20873336.
Swift SVN r28468
2015-05-12 16:26:04 +00:00
Dmitri Hrybenko
10ab07ade5
Revert "Remove {Dictionary,Set,UnsafeMutableBufferPointer,UnsafeBufferPointer}.count"
...
This reverts commit r28248 while we discuss the change.
Swift SVN r28291
2015-05-07 21:45:28 +00:00
Dmitri Hrybenko
8ac6c7cf8f
Remove {Dictionary,Set,UnsafeMutableBufferPointer,UnsafeBufferPointer}.count
...
These APIs are redundant with APIs that come from protocol extensions.
Swift SVN r28248
2015-05-07 00:30:43 +00:00
Dave Abrahams
e2c6c7e90d
[stdlib] Fix "#" parameter warnings due to new rules
...
Swift SVN r27807
2015-04-27 18:15:34 +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
1258662db9
CoreAudio overlay: add APIs that were blocked by rdar://16974298
...
(extensions on generic types in a different module)
Swift SVN r26486
2015-03-24 07:50:51 +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