Dmitri Gribenko
91d70e9d32
New indexing model: implement temporary forwarders in String.UTF8View
2016-03-11 18:06:13 -08:00
Dmitri Gribenko
3bb845a16a
New indexing model: implement temporary forwarders in UnicodeScalarView
2016-03-11 18:06:12 -08:00
Dmitri Gribenko
96d4d60101
New indexing model: implement Range.next()
2016-03-11 18:06:12 -08:00
Dmitri Gribenko
cec6113d83
New indexing model: replace a wrong range check with a FIXME
2016-03-11 18:06:12 -08:00
Daniel Duan
276370b599
[stdlib] apply SE-0040 to stdlib
2016-03-11 16:01:41 -08:00
Dmitri Gribenko
fbf4e5003c
stdlib: add FIXMEs
2016-03-11 13:25:48 -08:00
Dmitri Gribenko
d268da0628
New indexing model: avoid allocations in fatalError() when the string buffer is already in UTF-8
2016-03-11 13:08:01 -08:00
Dmitri Gribenko
d06b375303
stdlib: unhide important underscored protocols in the generated interface
2016-03-11 09:47:16 -08:00
Dmitri Gribenko
bd42fbfdde
Merge pull request #1591 from apple/revert-1590-revert-1569-noescape-encode
...
[stdlib] Add @noescape to output parameter of UnicodeCodecType.encode
2016-03-11 09:34:26 -08:00
Dmitri Gribenko
64ae69be88
New indexing model: add FIXMEs for tests that need to be written
2016-03-11 01:38:16 -08:00
Dmitri Gribenko
edc18682f2
New indexing model: default implementation for Collection._failEarlyRangeCheck()
2016-03-11 01:36:48 -08:00
Dmitri Gribenko
e8bc77e5b8
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-11 00:20:34 -08:00
practicalswift
24ac89c697
[gardening] Fix formatting for some recently introduced file headers
2016-03-11 07:30:46 +01:00
Dmitri Gribenko
d84ee1f6a1
swift-3-indexing-model: remove a TODO: IndexingIterator seems to compile fine now
2016-03-10 17:29:26 -08:00
Dmitri Gribenko
3b2c5d76e8
stdlib: prefer _preconditionFailure() over fatalError()
2016-03-10 17:25:15 -08:00
Dmitri Gribenko
d07944fec3
New indexing model: add more TODOs
2016-03-10 17:22:35 -08:00
Shawn Erickson
e6f3f35869
New indexing model: updated NSStringAPI
2016-03-10 08:09:47 -08:00
practicalswift
5b028d0651
[gardening] Fix recently introduced typo: " " → " "
...
[gardening] Fix recently introduced typo: "a initializer" → "an initializer"
[gardening] Fix recently introduced typo: "charaters" → "characters"
[gardening] Fix recently introduced typo: "fullfilled" → "fulfilled"
[gardening] Fix recently introduced typo: "initalizer" → "initializer"
[gardening] Fix recently introduced typo: "peoperty" → "property"
[gardening] Fix recently introduced typo: "reparing" → "repairing"
[gardening] Fix recently introduced typo: "spilt" → "split"
2016-03-10 11:52:02 +01:00
Rintaro Ishizaki
8891eb638b
[stdlib] Add @noescape to output parameter of UnicodeCodecType.encode
...
Conformance:
- UTF8.encode
- UTF16.encode
- UTF32.encode
Related functions:
- transcode
- String._encode
- _StringCore.encode
2016-03-09 22:10:04 -08:00
Dmitri Gribenko
3f2f8a1d7f
stdlib: update GroupInfo.json for new files
2016-03-09 20:54:28 -08:00
Dmitri Gribenko
886d5a707c
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-09 20:51:38 -08:00
Dmitri Gribenko
b3ccb47289
stdlib: strength reduce Array<Any> to EmptyCollection
2016-03-09 20:42:54 -08:00
Dmitri Gribenko
f24cf2ab3d
New indexing model: fix lazy flatten()
2016-03-09 20:42:34 -08:00
Dmitri Gribenko
955f4144be
New indexing model: fix lazy flatMap()
2016-03-09 20:41:58 -08:00
Dmitri Gribenko
223bd18035
New indexing model: make RangeOfStrideable a slice
2016-03-09 20:41:14 -08:00
Dmitri Gribenko
b452542b74
New indexing model: propagate constraints from AnyCollection to Mirror.init
2016-03-09 20:40:52 -08:00
Dmitri Gribenko
0b7a8a6859
New indexing model: make DefaultIndices a slice
2016-03-09 20:40:03 -08:00
Dmitri Gribenko
116759b0a8
New indexing model: gyb three variants of LazyMapCollection
2016-03-09 20:39:02 -08:00
Max Moiseev
885b564bf5
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-09 17:16:37 -08:00
Dmitri Gribenko
227dd14bc4
HashedCollections: fix compilation errors
2016-03-09 17:12:18 -08:00
Xi Ge
94e999f312
ModuleGroup: Add several missing files to their groups.
2016-03-09 17:09:34 -08:00
Max Moiseev
bcc08b6c3c
fixing availability attribute hint for joinWithSeparator
2016-03-09 17:38:31 -07:00
Shawn Erickson
0f0e04b604
New indexing model: cleanup Character now that next is exposed on String
2016-03-09 16:23:13 -08:00
Shawn Erickson
1a3c19df4f
New indexing model: mostly "fixed" flatten
2016-03-09 16:19:33 -08:00
Max Moiseev
aacc0f8293
merging RangeReplaceableCollectionType into RangeReplaceableCollection
2016-03-09 16:17:00 -08:00
Max Moiseev
02006f20bc
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-09 16:05:03 -08:00
Dmitri Gribenko
d64a3f1125
HashedCollections: fix indentation
2016-03-09 16:02:57 -08:00
Dmitri Gribenko
bc4917845f
New indexing model: fix compilation errors in Sort
2016-03-09 15:53:42 -08:00
Dmitri Gribenko
acae362f22
New indexing model: fix compilation errors in Sequence
2016-03-09 14:44:21 -08:00
Dmitri Gribenko
c229e938e9
New indexing model: fix a call to Mirror() in HashedCollections
2016-03-09 14:34:56 -08:00
Dmitri Gribenko
ec1ad6b6c3
New indexing model: add a fixme about a compiler limitation
2016-03-09 14:33:19 -08:00
Dmitri Gribenko
cfab2d17c4
New indexing model: fix compilation issues in String
2016-03-09 14:31:31 -08:00
Dmitri Gribenko
eb54d17180
New indexing model: fix compilation errors in Reflection.swift
2016-03-09 14:17:46 -08:00
Dmitri Gribenko
1c4e343b73
New indexing model: supply default implementations for Strideable for integers
2016-03-09 14:16:21 -08:00
Dmitri Gribenko
895553ca61
New indexing model: propagate AnyCollection requirements to its use sites
2016-03-09 14:12:08 -08:00
Arnold Schwaighofer
8df5ed5c53
Merge pull request #1599 from aschwaighofer/tune_withUnsafeMutableBufferPointer_for_inlining
...
Force inlining of Array.withUnsafeMutableBufferPointer
2016-03-09 13:36:48 -08:00
Dmitri Gribenko
2b342cdc19
Merge pull request #1568 from rintaro/simplify-transcode
...
[stdlib] Simplify transcode implementation
2016-03-09 13:05:05 -08:00
Arnold Schwaighofer
3738178a43
Force inlining of Array.withUnsafeMutableBufferPointer
...
We do this to enable removal of the closure (allocation).
The size of the libSwiftCore.dylib grows by 300 bytes. A program (such as
benchmark/single-source/unit-tests/StackPromo.swift) that uses one invocation of
withUnsafeMutableBufferPointer shrinks by roughly 500 bytes.
2016-03-09 13:01:05 -08:00
Dmitri Gribenko
80b1337a0c
Merge pull request #1588 from shawnce/swift-3-indexing-model-flatten
...
WIP - made some progress fixing Flatten
2016-03-09 11:37:12 -08:00
Ted Kremenek
838d5864ba
Merge pull request #1498 from ianpartridge/print-using-fwrite
...
[stdlib] Use fwrite(3) in _Stdout.write()
2016-03-08 21:52:42 -08:00