Ben Cohen
91fa717715
move _arrayAppendSequence to an extension on _ArrayBufferProtocol
2016-10-26 10:21:10 -07:00
Ben Cohen
acb317c308
remove Index == Int constraints by adding missing endIndex: { get }
2016-10-26 10:15:01 -07:00
Ben Cohen
b35f1d10f3
remove some unnecessary self's
2016-10-26 09:21:37 -07:00
Ben Cohen
35d2392d7d
Change _ArrayBuffer.replace(subRange:) to replaceSubrange to match RangeReplaceableCollection
2016-10-26 09:19:50 -07:00
Ben Cohen
f0d8ca83ad
FIXME(ABI)#14 : add argument labels to _arrayOutOfPlaceReplace
2016-10-26 08:52:58 -07:00
Joe Shajrawi
d49a246063
Merge pull request #5455 from shajrawi/inline_arr_access
...
always inline Array's getters and setters
2016-10-25 19:26:11 -07:00
Ben Cohen
3cc9b7f337
move _arrayOutOfPlaceReplace into _ArrayBufferProtocol extension
2016-10-25 16:36:28 -07:00
Ben Cohen
3752e6dae4
move _outlinedMakeUniqueBuffer and _arrayReserve into _ArrayBufferProtocol extension
2016-10-25 16:29:48 -07:00
Ben Cohen
6e841e0215
move _forceCreateUniqueMutableBuffer{Impl} into _ArrayBufferProtocol extension
2016-10-25 16:22:10 -07:00
Ben Cohen
b57b5bb222
move _forceCreateUniqueMutableBuffer{Impl} into _ArrayBufferProtocol extension
2016-10-25 16:18:07 -07:00
Joe Shajrawi
103ac620d6
always inline Array's getters and setters
2016-10-25 16:16:00 -07:00
Ben Cohen
e0a31a9a6e
move _arrayOutOfPlaceUpdate into _ArrayBufferProtocol extension
2016-10-25 15:14:19 -07:00
Philip Ridgeway
e866fb4eac
Fixes error in flatMap documentation comment.
...
This fixes an error in the example code in the documentation comment for flatMap.
2016-10-25 12:54:59 -07:00
K Staring
197b64ff70
re-instate newline?
2016-10-25 21:09:30 +02:00
K Staring
5384630a18
don't require ICU on Darwin as per jrose-apple's comment
2016-10-25 20:42:17 +02:00
Brian Gesiak
61868b5aec
[CMake] Updates for Android NDK r13
...
Fixes the Android build, and makes some adjustments for Android NDK r13.
* Fix FindICU.cmake to properly set the `SWIFT_${sdk}_ICU_UC` and
`SWIFT_${sdk}_ICU_I18N` values. These were not properly set because
"uc" and "i18n" were lowercase.
* Adapt `add_swift_library` to parse `ICU_UC` and `ICU_I18N` for
private link libraries and use the proper `SWIFT_${sdk}_ICU_*` values.
* NDK r13 removes a subdirectory from the llvm-libc++ includes path.
Adapt to this change, and add a FIXME to address this issue before it
may break again.
* Update the documentation to point to a new libicu download for NDK 13.
2016-10-24 15:17:20 -07:00
Max Moiseev
6935316638
Merge branch 'master' into new-integer-protocols
2016-10-24 14:54:21 -07:00
Max Moiseev
bf7f17e60c
Obsoleted concrete type overloads for integer arithemtic operators
2016-10-24 14:53:23 -07:00
Max Moiseev
d2851584fc
Operators from free functions to static methods
2016-10-24 11:40:37 -07:00
Max Moiseev
d1cc46d7ce
Fixing Dispatch tests
2016-10-24 11:40:03 -07:00
Slava Pestov
28764374a6
stdlib: Remove workaround for rdar://15520519, resolving ABI FIXME#141
2016-10-24 02:16:21 -07:00
Slava Pestov
af8d13e9d3
stdlib: Make UnicodeDecodingResult fixed-layout
2016-10-24 02:16:20 -07:00
K Staring
fb70a1bfad
incoorporate @jeremyandrews' suggestion
2016-10-22 12:00:36 +02:00
K Staring
f3b612a835
Merge branch 'master' of https://github.com/apple/swift
2016-10-21 22:37:25 +02:00
K Staring
22c0b4a9c8
fix ICU include paths. Please check this commit and verify that the previous solution simply coudn't have worked *at all*. The usage of slightly differently named variables (e.g. *LIB vs *LIBS) and lower-case module in the include for loop while a TOUPPER variable should have been used, caused the INCLUDE variables to never be filled. Apart from that, a find_package() was missing in the stubs CMakeFiles.txt .
2016-10-21 22:25:19 +02:00
K Staring
db8878e3e8
incoorporate @landonf and @dcci's suggestions wrt dynamic sysct KERN_PROC_ARGS buffer
2016-10-21 22:23:44 +02:00
K Staring
07166c0008
revert outcommented code-- the code was outcommented due to the pthread wrappers not compiling, but the wrappers compile now thanks to @tinysun212's suggestions
2016-10-21 22:19:54 +02:00
practicalswift
b864577bf5
[gardening] Fix inconsistent headers.
2016-10-21 22:05:44 +02:00
Max Moiseev
62044dec5e
Different Strideable conformances for Swift 3 and Swift 4
2016-10-20 16:53:41 -07:00
Max Moiseev
8e109de9a2
Using Strideable APIs instead of + and -
2016-10-20 16:29:21 -07:00
Max Moiseev
01ec7479c6
Adding back accidentally deleted UnsignedInteger protocol
2016-10-20 14:28:25 -07:00
Max Moiseev
8912dc09a8
Merge branch 'master' into new-integer-protocols
2016-10-20 13:55:03 -07:00
Max Moiseev
3dcdd1a2c8
Get rid of _DisallowMixedSignArithmetic
2016-10-20 13:53:41 -07:00
Max Moiseev
47ba2e9bd9
Turning more operators into static funcs
2016-10-20 13:53:18 -07:00
Ada Turner
1c2a17637a
Fix typo in Bool.swift
...
Fix typo in documentation where the "Prints <result>" comment had a parenthesis at the end, probably from coping and pasting out of the code example.
2016-10-19 15:55:12 -06:00
Max Moiseev
196ea9522d
Avoiding the force unwrap in UnsafePointer.count
2016-10-19 14:53:22 -07:00
Max Moiseev
e3a2e5b40b
Minor fixes and improvements
2016-10-19 14:52:47 -07:00
Max Moiseev
a9af3d6944
Choosing the right overloads for comparison operators
2016-10-19 14:51:38 -07:00
Max Moiseev
543fd10ccb
Comparable operators to static funcs
2016-10-19 14:50:54 -07:00
Dave Abrahams
22f5dfa50a
Merge pull request #5264 from shajrawi/idasany_perf
...
improve set's conditional downcast performance by over 2X
2016-10-19 12:13:02 -07:00
Dave Abrahams
76b5afcc4a
Speed up Set/Dictionary init from Sequence
...
Alternative to #5264
2016-10-19 10:23:22 -07:00
Jordan Rose
222811a27a
Merge pull request #5309 from jrose-apple/overlays-and-silgen_name
...
Remove _silgen_name from all Apple overlays except Dispatch and Foundation.
2016-10-19 09:21:48 -07:00
swift-ci
fedcc2affa
Merge pull request #5356 from kperryua/replace-item-fixes
2016-10-18 18:39:40 -07:00
Kevin Perry
66ae38c5e0
1. Use correct URLs in thunk
...
2. Pass NSString? to thunk, not String?
3. Use proper Objective-C out parameter coding practices
4. Use correct nullability decorator in thunk for backupItemName parameter
rdar://problem/28755011
2016-10-18 16:40:46 -07:00
swift-ci
cbce7854b8
Merge pull request #5333 from LouisDhauwe/master
2016-10-18 16:18:38 -07:00
swift-ci
c1c664b63a
Merge pull request #5349 from compnerd/visibility
2016-10-18 12:33:02 -07:00
Louis D'hauwe
f9cd8b129d
Updated popLast() and removeLast() documentation.
2016-10-18 21:29:01 +02:00
Robert Widmann
2aa4def76b
Merge pull request #5329 from hffmnn/feature/fix-example-snippet
...
Fix example snippet in Bool.swift
2016-10-18 14:39:52 -04:00
Saleem Abdulrasool
7f088d3fe0
stdlib: mark shims with the visibility attribute
...
Ensure that the header and the implementation matches the ABI interface
annotations.
2016-10-18 11:36:15 -07:00
Max Moiseev
b2fecd241b
Merge branch 'master' into new-integer-protocols
2016-10-18 11:00:46 -07:00