Maxim Moiseev
50fba4b770
floating point types renamed
2015-12-10 17:05:11 -08:00
Maxim Moiseev
1b6244f3ee
integer types renamed
2015-12-10 17:03:40 -08:00
Maxim Moiseev
6b7fc91beb
LazySequenceType => LazySequenceProtocol
2015-12-10 17:00:08 -08:00
Maxim Moiseev
f6d3e90aa8
IndexBoxType => IndexBoxProtocol
2015-12-10 16:59:50 -08:00
Niels Andriesse
c4623d1ae5
Fix documentation
2015-12-11 11:30:04 +11:00
Patrick Pijnappel
431b8204c8
[stdlib] Reworded comment
2015-12-11 11:06:21 +11:00
Maxim Moiseev
0c4c56cd5f
BitwiseOperationsType => BitwiseOperations
2015-12-10 14:59:40 -08:00
Maxim Moiseev
3bff3ba106
SetAlgebraType => SetAlgebra
2015-12-10 14:58:51 -08:00
Maxim Moiseev
0e0191380a
OptionSetType => OptionSet
2015-12-10 14:58:24 -08:00
Maxim Moiseev
2c95bb6d51
BooleanType => Boolean
2015-12-10 14:56:32 -08:00
Dmitri Gribenko
507b68315e
Comment improvements in Array
2015-12-10 14:54:12 -08:00
Dmitri Gribenko
b57d135d2e
Fix coding style
2015-12-10 14:54:04 -08:00
Dmitri Gribenko
782ea19d75
Name tuple elements in Dictionary.Element
...
FIXME: write tests for this API change, I'm sure there aren't any tests
that depend on this API detail now.
2015-12-10 14:53:48 -08:00
Dmitri Gribenko
cd57407c7c
Dictionary: non-API improvements
2015-12-10 14:53:15 -08:00
Dmitri Gribenko
589ec99a8a
Set: non-API improvements
2015-12-10 14:52:43 -08:00
Dmitri Gribenko
0c3765b980
Comment fix
2015-12-10 14:52:31 -08:00
Dmitri Gribenko
3c29d4a8a7
Coding style fix
2015-12-10 14:52:24 -08:00
Dmitri Gribenko
f14b1482c6
public typealias UTF8Chunk => internal typealias _UTF8Chunk
2015-12-10 14:52:13 -08:00
Dmitri Gribenko
0bce0b6af2
Make String.{utf8,utf16} read-write properties
...
FIXME: These are new API. Write tests before taking this commit to the
master branch.
2015-12-10 14:50:33 -08:00
Dmitri Gribenko
78930e7fac
Remove MutableSliceable
2015-12-10 14:50:12 -08:00
Dmitri Gribenko
4c093cf4a0
stdlib: fix indentation
2015-12-10 14:24:28 -07:00
Dmitri Gribenko
a5d48add78
Merge pull request #400 from dduan/hashed_collection_equality_by_address
...
compare Set and Dictionary by address for equality
2015-12-10 13:20:40 -08:00
Daniel Duan
9c28ff0207
compare Set and Dictionary by address for equality
...
as noted in the comment, the native storage version of Set and Dictionary can
be considered equal if their Owner object have the same address. This should
speed up == by quite a bit in those cases.
use === for equality of HashedCollection owner
2015-12-10 12:45:12 -08:00
Dmitri Gribenko
81431b6b2d
Merge pull request #360 from PatrickPijnappel/patch-1
...
String(_, radix:): fix documentation
2015-12-10 12:44:18 -08:00
Max Moiseev
d610fa0d1c
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
2015-12-10 10:29:52 -08:00
Ge Sen
7ac02d54ba
Erase redundant whitespaces.
2015-12-10 13:35:06 +08:00
Dmitri Gribenko
280feafd10
public struct RawByte => internal struct _RawByte
2015-12-09 17:19:27 -08:00
Dmitri Gribenko
bec37b1d0b
Make String.characters a read-write property
...
FIXME: This is a new API. Write tests before taking this commit to the
master branch.
2015-12-09 17:19:10 -08:00
Dmitri Gribenko
f3ecc3cdc5
transcode(..., stopOnError:) => transcode(..., stoppingOnError:)
2015-12-09 17:18:55 -08:00
Dmitri Gribenko
e5dba78263
Improve comments in String.swift
2015-12-09 17:18:46 -08:00
Dmitri Gribenko
9ca2775aa1
String.appendContentsOf() => .append()
...
We don't want to imply that String argument is a collection of anything.
2015-12-09 17:18:33 -08:00
Dmitri Gribenko
581fb3a100
Remove PermutationGenerator
2015-12-09 17:18:18 -08:00
Dmitri Gribenko
b7f3d54f4d
removeAll(keepCapacity:) => removeAll(keepingCapacity:)
2015-12-09 17:18:08 -08:00
Dmitri Gribenko
f846ef6fd1
RangeReplaceableCollection.removeRange() => .removeSubrange()
2015-12-09 17:17:51 -08:00
Dmitri Gribenko
727f011314
RangeReplaceableCollection.insert(_:atIndex:) => .insert(_:at:)
2015-12-09 17:17:41 -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
3910a00a35
AnyCollectionType => AnyCollectionProtocol
2015-12-09 17:17:07 -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
6f4335ddc6
_ReverseCollectionType => _ReverseCollection
2015-12-09 17:16:31 -08:00
Maxim Moiseev
01e1a7bd52
LazyCollectionType => LazyCollectionProtocol
2015-12-09 17:16:22 -08:00
Maxim Moiseev
faf25c3c65
AnyCollectionType => AnyCollection
2015-12-09 17:16:04 -08:00
Maxim Moiseev
3ab5d18c6c
CollectionType => Collection
2015-12-09 17:15:28 -08:00
Dmitri Gribenko
5a07f89297
Remove 'generator' from names of test functions and local variables
2015-12-09 17:15:11 -08:00
Dmitri Gribenko
4b1be0e78f
removeAtIndex() => removeAt()
2015-12-09 17:15:01 -08:00
Dmitri Gribenko
2bec8ad732
Fix comment on _ArrayType.insert()
2015-12-09 17:14:53 -08:00
Dmitri Gribenko
df17ddbc9b
init(count: Int, repeatedValue: Element) => init(repeating:count:)
...
Affected types: _ArrayType, Array, ArraySlice, ContiguousArray, Repeat,
String (initializers from Character and UnicodeScalar)
2015-12-09 17:14:37 -08:00
Dmitri Gribenko
d72b5ab575
func SequenceType.enumerate() => var SequenceType.enumerated
2015-12-09 17:13:21 -08:00
Maxim Moiseev
09a6913622
RangeReplaceableCollectionType => RangeReplaceableCollection
2015-12-09 17:13:08 -08:00