Dmitri Gribenko
3bb845a16a
New indexing model: implement temporary forwarders in UnicodeScalarView
2016-03-11 18:06:12 -08:00
Dmitri Gribenko
cfab2d17c4
New indexing model: fix compilation issues in String
2016-03-09 14:31:31 -08:00
Dmitri Gribenko
41f3cf8b55
New indexing model: comment out a conflicting '..<' operator that produces HalfOpenInterval
2016-03-08 01:38:56 -08:00
Shawn Erickson
2a69d24688
fleshed out BidirectionalCollection previous(Index) and friends
2016-03-07 09:38:41 -08:00
Shawn Erickson
0db3a29987
fleshing out Collection.next(Index)
...
-removed fatal stub Collection.next(Index)
-added default Collection.next(Index) where Index is Strideable
-added custom next(Index) on some collections
-added fatal stub next(Index) on some collections
2016-03-06 17:37:40 -08:00
Dmitri Gribenko
fc636b94f5
fixup
2016-03-06 02:12:59 -08:00
Dmitri Gribenko
ad1428e1d6
New collection indexing model: removed old index protocols
...
... and started to fix compiler errors.
2016-03-06 01:53:34 -08:00
Jordan Rose
b319e3da32
stdlib: Adjust to insert(contentsOf:at:) and append(contentsOf:)
...
instead of insertContents(of:at:) and appendContents(of:),
originally insertContentsOf(_:at:) and appendContentsOf(_:)
per internal discussion.
2016-02-25 12:50:39 -08:00
Jordan Rose
f922084180
stdlib: Rename miscellaneous enum cases and static vars.
2016-02-24 17:46:14 -08:00
Dmitri Gribenko
f3389273ba
stdlib: String indices: samePositionIn(_:) => samePosition(in:)
2016-02-24 16:29:27 -08:00
Dmitri Gribenko
f0633ce5a9
stdlib: Sequence.iterator() => .makeIterator()
2016-02-23 13:52:30 -08:00
Max Moiseev
4b9eab6288
appendContentsOf => appendContents(of:)
2016-02-22 18:02:04 -08:00
Dmitri Gribenko
63481be8bd
stdlib: lowercase cases of the PlaygroundQuickLook enum
2016-02-20 00:55:35 -08:00
Max Moiseev
78ba5d5f3f
[stdlib] Requires in comments changed to Precondition
2016-02-19 18:57:26 -08:00
Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Dmitri Gribenko
dd75aed67a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-17 14:40:05 -08:00
Dmitri Gribenko
2d27beccfc
Merge pull request #1286 from natecook1000/natecook-doc-consistency
...
[stdlib] Documentation consistency fixes
2016-02-12 08:59:21 -08:00
Nate Cook
51251dc133
Convert imperative function summaries to present.
...
i.e., "Return ..." -> "Returns ..."
2016-02-12 04:20:39 -06:00
Nate Cook
f3c4e0ac74
Remove style on *generator* and friends.
2016-02-12 04:20:01 -06:00
Nate Cook
d9575c2d7f
Make doc consistency fix for String.UnicodeScalarView´
2016-02-12 01:56:37 -06:00
Max Moiseev
61c837209b
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-04 16:13:39 -08:00
Austin Zheng
77918a86ac
[SR-88] Reinstate Mirror migration changes, fix test issues
...
This reverts commit 182bb7f812 .
2016-01-27 20:40:52 -08:00
Andrew Trick
182bb7f812
Revert "Merge pull request #1058 from austinzheng/az-port-mirror"
...
This pull request broke the following tests on several build configurations
(eg --preset=buildbot,tools=RA,stdlib=DA)
1_stdlib/Reflection.swift
1_stdlib/ReflectionHashing.swift
1_stdlib/UnsafePointer.swift.gyb
This reverts commit c223a3bf06 , reversing
changes made to 5c2bb09b09 .
2016-01-27 10:43:08 -08:00
Austin Zheng
10d5b23c30
[SR-88] Reinstate mirror migration commit
...
Changes:
- Reverted commit reverting original SR-88 commit
- Removed mirror children helper collections and related code
- Rewrote some tests to keep them working properly
- Wrote two more tests for the three pointer APIs to ensure no crashes if created using a value > Int64.max
This reverts commit 8917eb0e5a .
2016-01-26 19:28:32 -08:00
Dmitri Gribenko
9bcd5a1056
Collection.length => .count
2016-01-22 18:41:19 -08:00
Mark Lacey
8917eb0e5a
Revert "[Runtime][StdLib] Migrate mirrors to use CustomReflectable API, rewrite dump()"
...
This reverts commit 9798dfd4aa because it
broke the stdlib build.
2016-01-22 08:41:07 -08:00
Dmitri Gribenko
62f73f4469
Rename CollectionDefaultIterator to IndexingIterator
2016-01-21 11:49:03 -08:00
Austin Zheng
9798dfd4aa
[Runtime][StdLib] Migrate mirrors to use CustomReflectable API, rewrite dump()
...
Jira: SR-88
Changes:
- Removed stdlib type conformances to _Reflectable
- Conformed stdlib types to CustomReflectable, CustomPlaygroundQuickLookable
- Rewrote dump() function to not use _reflect()
- CGRect, CGPoint, CGSize now conform to CustomDebugStringConvertible
- Rewrote unit tests for compatibility with new API
2016-01-21 09:44:15 -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
Max Moiseev
a7339e67ac
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
2015-12-22 11:36:07 -08:00
ken0nek
fcd8fcee91
Convert [Cc]an not -> [Cc]annot
2015-12-23 00:55:48 +09:00
Chris Lattner
66f7ef1295
Move stdlib off ++ and --
2015-12-21 18:07:36 -08:00
Maxim Moiseev
9e50505970
internal or public // @testable initializers
2015-12-17 17:02:49 -08:00
Dmitri Gribenko
6eedc99016
UnicodeDecodingResult: case Result(...) => case ScalarValue(...)
2015-12-17 16:31:49 -08: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
Max Moiseev
3fe0c60d7f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2015-12-17 11:00:02 -08:00
Maxim Moiseev
e6468a0eca
_precondition => _require
2015-12-16 17:19:01 -08:00
Maxim Moiseev
0e54467bfa
Final bulk removal of Type suffix
2015-12-16 17:06:19 -08:00
Daniel Duan
ebb0c3a204
replaced single-line ++/-- with +=/-=
2015-12-15 09:05:37 -08:00
Max Moiseev
806be29941
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
2015-12-14 12:05:35 -08:00
Patrick Pijnappel
95622c435b
[stdlib] Replace .Some(x) and .None by x and nil, respectively
2015-12-13 12:10:43 +11:00
Dmitri Gribenko
3c29d4a8a7
Coding style fix
2015-12-10 14:52:24 -08:00
Dmitri Gribenko
e5dba78263
Improve comments in String.swift
2015-12-09 17:18:46 -08:00
Dmitri Gribenko
9a9ff305f1
RangeReplaceableCollection.replaceRange() => .replaceSubrange()
2015-12-09 17:17:34 -08:00
Dmitri Gribenko
ab0a2a6044
Rename 'subrange' to 'bounds' in non-API arguments
2015-12-09 17:17:20 -08:00
Maxim Moiseev
844b81c46b
SequenceType => Sequence
2015-12-09 17:16:56 -08:00
Maxim Moiseev
c678a839dc
IndexType => Index
2015-12-09 17:16:42 -08:00
Maxim Moiseev
09a6913622
RangeReplaceableCollectionType => RangeReplaceableCollection
2015-12-09 17:13:08 -08:00