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
Shawn Erickson
f11a3227c8
[stdlib] - addressing review comments in PR1413
2016-02-23 15:46:29 -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
Shawn Erickson
5b4ad21ee6
[stdlib] - overlaying new index model on existing Collection
...
This adds a basic aspect of the new indexing model on top of the
existing Collection code in a passive way. Things should continue to
function as before.
2016-02-23 15:25:47 -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
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
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
Dmitri Gribenko
7235595264
Merge pull request #1108 from tinysun212/porting-to-cygwin
...
Porting to cygwin
2016-02-22 18:53:30 -08:00
swiftix
c978092bec
Merge pull request #1392 from swiftix/wip-prespecializations-module
...
Move pre-specializations of popular types away from the stdlib to reduce the stdlib code size.
2016-02-22 18:17:57 -08:00
Dmitri Gribenko
196188b9c8
stdlib: add 'to:' label to dump()
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
3085c4937f
stdlib: add argument labels to _didEnterMain
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
82998a155a
stdlib: _TeeStream: unlock streams in the order opposite to locking order
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
e2f5e05ec4
stdlib: Streamable.writeTo() => .write(to:)
2016-02-22 18:16:37 -08:00
Dmitri Gribenko
8c3fbc51a4
stdlib: rename Optional and IUO intrinsics
2016-02-22 18:16:37 -08:00
Max Moiseev
4b9eab6288
appendContentsOf => appendContents(of:)
2016-02-22 18:02:04 -08:00
Max Moiseev
481bcabcba
[stdlib] API naming guidelines applied to split and join
...
- `separator` label for first argument of `split`
- `join` and related types are renamed to `joined`
2016-02-22 15:43:33 -08:00
Max Moiseev
fcad164e18
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-22 12:59:57 -08:00
Xi Ge
131612d260
Module group: Add protocol group.
2016-02-22 12:47:21 -08:00
Xi Ge
bd86f41ae3
Module group: Move Bit.swift to Math.
2016-02-22 12:47:21 -08:00
Joe Groff
a44b09b6b6
stdlib: Fix handling of standard library types in _typeByName.
...
Mangling for the Swift module is 's', not 'Ss'.
2016-02-22 12:40:38 -08:00
Max Moiseev
675f457c3d
Introducing by argument label to Sequence.split
2016-02-22 12:00:27 -08:00
Xi Ge
9b4f24ef71
Module group: Add Optional and Pointer groups.
2016-02-22 11:50:34 -08:00
Xi Ge
845304a90d
Module group: Address @natecook1000 and @dabrahams's comments.
2016-02-22 11:50:34 -08:00
Roman Levenstein
4d4c2cdba9
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 5%.
2016-02-22 07:54:44 -08:00
Han Sangjin
e06c7136cb
Porting to Cygwin. rebased and squashed
2016-02-22 13:20:21 +09:00
Dmitri Gribenko
f27315b6f8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-20 15:36:04 -08:00
Dmitri Gribenko
3d3d4540e1
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-20 14:37:49 -08:00
Dmitri Gribenko
835ef4186c
Merge pull request #1381 from Nirma/constant_transform_closure
...
Change _transform from variable to constant
2016-02-20 14:25:28 -08:00
Xi Ge
0fc0f6dd23
Module groups: partially address @gribozavr and @natecook1000's comments.
2016-02-20 13:10:06 -08:00
Nicholas Maccharoli
7be032b146
Unify usage of shorthand
...
Use plus-equals shorthand instead of longhand throughout index.swift
2016-02-21 02:46:11 +09:00
Nicholas Maccharoli
09e884bac9
Change _transform from variable to constant
...
Since `_transform` never changes after being given an initial value in `init` it might be best to make it a constant.
2016-02-21 02:20:27 +09:00
Chris Lattner
76b2577236
Merge pull request #1377 from WorldDownTown/refactor_zero_count_separator
...
Rewrite _copyToNativeArrayBuffer to use early return if separator count is zero
2016-02-20 09:03:20 -08:00