Commit Graph

4650 Commits

Author SHA1 Message Date
Dmitri Gribenko
c2c714b039 stdlib: add argument labels in _StringBufferIVars 2016-02-24 14:30:04 -08:00
Dmitri Gribenko
18965b370b stdlib: add argument labels to _cocoaStringToContiguous() 2016-02-24 14:09:04 -08:00
Dmitri Gribenko
8fa5bb18e4 stdlib: fix coding style 2016-02-24 14:09:04 -08:00
Jordan Rose
12574d0f85 stdlib: Mark old insertContentsOf(_:at:) and unsafeAddressOf(_:) unavailable. 2016-02-24 11:43:02 -08:00
Max Moiseev
0490e86d01 [stdlib] strideTo/strideThrough => stride(to:...)/stride(through:...) 2016-02-24 09:56:10 -08:00
Max Moiseev
f9f618b432 [stdlib] adding 'invoke' label to StaticString.withUTF8Buffer 2016-02-24 09:26:49 -08:00
Dmitri Gribenko
d7e82519f5 stdlib: add argument labels to sort() implementation details 2016-02-24 08:52:18 -08:00
Guillaume Lessard
420ce32258 update comment to reflect that weakRelease was renamed 2016-02-24 08:38:50 -07:00
Dmitri Gribenko
fb1ed8e72e stdlib: rename _uninitializedCopy to _copyContents 2016-02-24 01:58:14 -08:00
Dmitri Gribenko
e18d70a913 Merge pull request #1415 from Jnosh/array-types-validation-tests
Run collection unit tests on array types
2016-02-23 20:47:44 -08:00
Chris Willmore
e9212d40a7 stdlib: Unavailable decls for renamed NSStringAPI methods 2016-02-23 20:16:23 -08:00
Dmitri Gribenko
097085e16f stdlib: Sequence.lexicographicalCompare(_:) => .lexicographicallyPrecedes(_:) 2016-02-23 18:12:09 -08:00
Dmitri Gribenko
e81f99d7ea stdlib: Sequence.startsWith() => .starts(with:) 2016-02-23 18:12:09 -08:00
Chris Willmore
6f0a1adb0a stdlib: Update NSStringAPI.swift to match NSString under Swift 3 naming rules. 2016-02-23 17:52:00 -08:00
Jordan Rose
0205191e32 stdlib: SequenceType._initializeTo(_:) becomes _copyContents(initializing:) 2016-02-23 16:58:49 -08:00
Jordan Rose
416b25bd1e stdlib: unsafeAddressOf(_:) becomes unsafeAddress(of:) 2016-02-23 16:58:49 -08:00
Jordan Rose
40d5e349bb stdlib: insertContentsOf(_:at:) becomes insertContents(of:at:) 2016-02-23 16:58:49 -08:00
Max Moiseev
a7c1df83f9 [stdlib] fixing the unavailable function declaration 2016-02-23 16:28:34 -08:00
Max Moiseev
e207ae3fa0 [stdlib] availability attributes in CString 2016-02-23 15:59:16 -08:00
Dave Abrahams
ece87787e0 stdlib: merge swift 3 UnsafePointer migrations 2016-02-23 15:45:45 -08:00
Dmitri Gribenko
7f73c623dd Merge pull request #1409 from pyrtsa/patch-1
Remove @warn_unused_result from |=, &= and ^=
2016-02-23 15:39:08 -08:00
Dave Abrahams
64a5165ecf stdlib: deinitializePointee(_) => deinitialize()
Tacking "Pointee" on just for unary operations (and especially
operations with an optional count) created inconsistency.
2016-02-23 15:34:20 -08:00
Dave Abrahams
d96b051d28 stdlib: initializePointee(_) => initialize(with:)
Tacking "Pointee" on just for unary operations (and especially
operations with an optional count) created inconsistency.
2016-02-23 15:15:23 -08:00
Max Moiseev
e62bd68b6a Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-api-guidelines 2016-02-23 15:10:52 -08:00
Max Moiseev
42d5f30d3a Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-api-guidelines 2016-02-23 14:45:21 -08:00
Dave Abrahams
423b6ab41c stdlib: Revert "UnsafePointer.move() => .take()"
This reverts commit 38323513ea.

It wasn't applied uniformly across UnsafePointer APIs and we're not at
all convinced it's an improvement.
2016-02-23 14:38:53 -08:00
Max Moiseev
85766f8db7 [stdlib] availability attributes for indexOf 2016-02-23 14:26:53 -08:00
Max Moiseev
0b759a409c Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2016-02-23 14:26:14 -08:00
Dmitri Gribenko
ffeec94ea4 stdlib: fix coding style 2016-02-23 14:00:46 -08:00
Xi Ge
b812efa4cc Module groups: Make 'lazy views' a sub-group of the 'collection' group. 2016-02-23 13:57:48 -08:00
Dmitri Gribenko
f0633ce5a9 stdlib: Sequence.iterator() => .makeIterator() 2016-02-23 13:52:30 -08:00
Dave Abrahams
577bb7431c stdlib: fix renaming mistake 2016-02-23 13:19:54 -08:00
Dave Abrahams
158adab721 stdlib: Add 'invoke:' label to withVaList 2016-02-23 13:14:43 -08:00
Dave Abrahams
acd97e3e88 Improve a doc comment 2016-02-23 13:14:43 -08:00
Max Moiseev
52f0cf49b0 [stdlib] indexOf => index(of:)/index(where:) 2016-02-23 11:45:11 -08:00
Dmitri Gribenko
2a91bfbc63 Merge pull request #1214 from kballard/flatmap-noescape
Add @noescape to SequenceType.flatMap
2016-02-23 11:16:29 -08:00
Mishal Awadah
86d1629f1f [gardening] Remove tab characters. 2016-02-23 10:38:00 -08:00
Mishal Awadah
ad2a309ee2 Revert "Revert "[stdlib] Fix API renaming build failures""
This reverts commit 7e7da9eda5.

The original commit has been reviewed.
2016-02-23 10:37:14 -08:00
Pyry Jahkola
de92e93245 Remove @warn_unused_result from |=, &= and ^=
These functions modify their left operand in place and return nothing but `Void`.
2016-02-23 20:27:37 +02:00
Dmitri Gribenko
5cb7768930 Merge pull request #1404 from practicalswift/cygwin-header-consistency
[gardening] Fix header formatting for newly introduced file
2016-02-23 09:04:05 -08:00
Dmitri Gribenko
01df702ab7 Merge pull request #1407 from practicalswift/fix-accidental-double-spaces
[gardening] Fix two recently introduced accidental double spaces
2016-02-23 09:03:56 -08:00
mawadah
7e7da9eda5 Revert "[stdlib] Fix API renaming build failures"
Instead, using a PR to merge.

This reverts commit 9bf2a86cf8.
2016-02-23 08:24:47 -08:00
mawadah
9bf2a86cf8 [stdlib] Fix API renaming build failures 2016-02-23 08:23:06 -08:00
Janosch Hildebrand
af69499a47 [stdlib] Expand subscript(_: Range) tests on MutableCollectionType
Add tests for replacing a slice with a slice of a different size.
2016-02-23 16:55:40 +01:00
practicalswift
b61b6c8f42 [gardening] Fix two recently introduced accidental double spaces 2016-02-23 16:53:17 +01:00
practicalswift
1b5ea8cbbc [gardening] "if (foo == false)" → "if (!foo)" 2016-02-23 09:37:10 +01:00
practicalswift
33ef62ffa9 [gardening] Fix header formatting for newly introduced file 2016-02-23 09:29:53 +01:00
Todd Fiala
ceb58eac1e Merge branch 'master' of ssh://github.com/apple/swift 2016-02-22 22:00:10 -08:00
Todd Fiala
8ff40a3a22 Revert "Move pre-specializations of popular types away from the standard library."
This reverts commit 4d4c2cdba9.
2016-02-22 21:18:32 -08:00
Xi Ge
dd74e1c0ef [Serialization] Add a new front-end argument to specify the path of the group info file. NFC 2016-02-22 20:28:39 -08:00