Maxim Moiseev
1c1b2b966d
[stdlib] String : RangeReplaceableCollection & BidirectionalCollection ( #8921 )
...
* [stdlib] String : RangeReplaceableCollection & BidirectionalCollection
* Add source compatibility hack for Swift.max
* Add source compatibility hack for Swift.min
* Remove redundant conformance in benchmarks
* Fix stupid typo I thought I'd already pushed
* XFAIL testing now-redundant conformance
* XFAIL an IDE test for now
2017-04-23 20:04:54 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Rintaro Ishizaki
c4c8cc3464
[stdlib] Fixed typo in UnavailableStringAPIs
...
Added test cases for expected-errors and validating that suggested fix works.
2016-06-20 20:49:29 +09:00
Dmitri Gribenko
b8401e1fde
stdlib: unavailable String APIs: use Swift 2.x APIs without first argument labels
2016-06-14 22:58:10 -07:00
Dmitri Gribenko
de8fb07052
stdlib: add unavailable methods on string indices to make migration to Swift 3 easier
2016-05-10 11:34:51 -07:00
Mark Lacey
e03d334b68
Use Builtin.unreachable() in unavailable functions.
...
Saves a bit of code size in the standard library by eliminating some
static strings and function calls.
rdar://problem/25767016
2016-05-02 21:30:25 -07:00
Dave Abrahams
a5c3c63c3d
[stdlib] Indexing model: nix RangeOfStrideable
...
Instead, use CountableRange which is constrained to have a Strideable
Bound whose Stride conforms to Integer.
2016-03-28 17:06:09 -07:00
Dave Abrahams
c793aebbe3
[stdlib] indexing model: String slicing diagnostics
...
The new range types need to be treated specially in order to get the
same old diagnostics.
2016-03-18 15:10:58 -07:00
Daniel Duan
276370b599
[stdlib] apply SE-0040 to stdlib
2016-03-11 16:01:41 -08:00
Max Moiseev
7fe6916bf6
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-07 12:10:47 -08:00
Hugh Bellamy
c1b25bb32f
[gardening] Remove double new lines from stdlib files
2016-03-05 15:44:54 +00: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
Max Moiseev
200be71583
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
2015-12-23 10:28:04 -08:00
Slava Pestov
36ddea64ae
Merge pull request #729 from ken0nek/fix-can-not
...
Convert [Cc]an not -> [Cc]annot
2015-12-22 16:06:20 -08:00
practicalswift
6e3b700b44
Fix typos.
2015-12-23 00:31:13 +01:00
ken0nek
fcd8fcee91
Convert [Cc]an not -> [Cc]annot
2015-12-23 00:55:48 +09: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
Dmitri Gribenko
ab0a2a6044
Rename 'subrange' to 'bounds' in non-API arguments
2015-12-09 17:17:20 -08:00
Radek Pietruszewski
d029f7e5ae
Fix typo in UnavailableStringAPIs.swift.gyb
2015-12-06 11:28:35 +01:00
Dmitri Hrybenko
de937eb0d1
stdlib: add unavailable String.{count,subscript()} APIs
...
The doc comments on these APIs are meant to steer the users toward the
right API for the use case. Suggested by Anna Zaks.
Swift SVN r29615
2015-06-24 20:41:43 +00:00