Xi Ge
95fe01d874
Module groups: Array is a sub-group of collection.
2016-02-25 12:35:27 -08:00
Xi Ge
01f7c5b489
[cmake] Make stdlib depend on the Json group info file.
2016-02-25 12:35:27 -08:00
Roman Levenstein
8dff92ad4d
Move pre-specializations of popular types away from the standard library.
...
Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.
This reduces the code size of libswiftCore.dylib by 4%-5%.
2016-02-25 11:23:15 -08:00
Dmitri Gribenko
f6b271913b
stdlib: replace UnicodeDecodingResult.isEmptyInput with Equatable
2016-02-24 21:01:35 -08:00
Dmitri Gribenko
63ec99b186
stdlib: add argument labels to UTF16._copy()
2016-02-24 19:55:57 -08:00
Dmitri Gribenko
3c93ccc4f7
stdlib: apply API guidelines and fix coding style in SwiftNativeNSArray.swift
2016-02-24 19:55:57 -08:00
Dmitri Gribenko
68bf4ae8ce
stdlib: apply API guidelines in Unicode.swift
2016-02-24 19:55:57 -08:00
Dmitri Gribenko
7b3e9c3409
stdlib: fix coding style
2016-02-24 19:55:57 -08:00
Dmitri Gribenko
9a0c50b82f
stdlib: add argument labels in _StringBufferIVars
2016-02-24 19:55:56 -08:00
Dmitri Gribenko
5cffdeedd8
Merge pull request #1440 from cwillmor/swift-3-api-guidelines
...
stdlib: Audit StringUTF16.swift, StringUTF8.swift for Swift 3 naming.
2016-02-24 18:30:54 -08:00
Jordan Rose
f922084180
stdlib: Rename miscellaneous enum cases and static vars.
2016-02-24 17:46:14 -08:00
Jordan Rose
8fdee4ad3c
stdlib: Rename some implementation details of mirrors/reflection.
2016-02-24 17:46:13 -08:00
Jordan Rose
e5ae60aafc
stdlib: Rename some helpers inside UnicodeTrie. NFC.
2016-02-24 17:46:13 -08:00
Jordan Rose
e45dfe09c6
stdlib: Rename 'Native'/'Cocoa' representations inside Dictionary/Set.
...
...and then because of a compiler bug (SR-806), rename the helper
properties to 'asNative' and 'asCocoa'.
None of this is API, so there is no migration information.
2016-02-24 17:46:12 -08:00
Jordan Rose
979e4a8e34
stdlib: Rename {Float,Double.CGFloat}.NaN to 'nan'
...
This follows the API guidelines and is consistent with the printed form.
'quietNaN' does not change, though.
2016-02-24 17:46:12 -08:00
Chris Willmore
c305ea03e4
stdlib: Audit StringUTF16.swift, StringUTF8.swift for Swift 3 naming.
2016-02-24 17:29:24 -08:00
Dmitri Gribenko
f3389273ba
stdlib: String indices: samePositionIn(_:) => samePosition(in:)
2016-02-24 16:29:27 -08:00
Chris Willmore
2ddb6106e4
stdlib: Audit API for Swift 3 preposition, first-arg label rules
...
This commit is the result of auditing the following files:
* StringBuffer.swift
* StringCharacterView.swift
* StringCore.swift
* StringInterpolation.swift.gyb
* StringLegacy.swift
2016-02-24 16:11:20 -08:00
Max Moiseev
bb3eaaf308
Merging in latest master
2016-02-24 15:10:25 -08:00
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
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
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
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