Dave Abrahams
8445618f1d
[stdlib] String API Review: hide "split" and "lines"
...
Swift SVN r18514
2014-05-21 20:30:23 +00:00
Dave Abrahams
ee261fb348
[stdlib] String API Review: kill byteLength()
...
Swift SVN r18513
2014-05-21 20:30:22 +00:00
Dave Abrahams
57347d54b5
[stdlib] String API Review: kill asUTF8()
...
Swift SVN r18512
2014-05-21 20:30:21 +00:00
Dave Abrahams
f14cc969dc
[stdlib] String API Review: repeatedValue
...
Make the API for repeating a single Collection element consistent with
that for Array
Swift SVN r18511
2014-05-21 20:30:21 +00:00
Dave Abrahams
13962588a9
[stdlib] add reverse(c), s/Reverse/ReverseView/g
...
Now reverse() is available as a peer to map() and filter()
Addresses <rdar://problem/15919204>
Swift SVN r18389
2014-05-19 04:30:16 +00:00
Dave Abrahams
92307dee66
[stdlib] Array API Review: swap init parameters
...
Swift SVN r18325
2014-05-18 15:54:33 +00:00
Ted Kremenek
eab7f90a81
Per design discussion today, rename UnsafePointer ".pointee" to ".memory".
...
Swift SVN r18269
2014-05-17 20:35:16 +00:00
Ted Kremenek
dce90aed78
Change remaining standard library cases of isEmpty() to a property isEmpty.
...
Swift SVN r18266
2014-05-17 20:01:17 +00:00
Dmitri Hrybenko
a4d9dcf1a7
stdlib: extinguish \brief and \c
...
Swift SVN r18261
2014-05-17 18:10:51 +00:00
Ted Kremenek
4bb475a1c8
Rename UnsafePointer.get/set to a "ptr.pointee" property.
...
Implements <rdar://problem/16531067>.
Swift SVN r18178
2014-05-16 05:48:05 +00:00
Dave Abrahams
b666651e3f
[stdlib] Rename NativeArray => ContiguousArray
...
Per API review feedback.
Swift SVN r18140
2014-05-15 23:24:09 +00:00
Dave Abrahams
a8bbc4c89b
[stdlib] String internal API review changes
...
I had to XFAIL test/ClangModules/cf.swift, which is failing for reasons
I can't understand. <rdar://problem/16911496>
Swift SVN r18071
2014-05-14 14:18:52 +00:00
Ted Kremenek
9eea282719
Switch range operators ".." and "...".
...
- 1..3 now means 1,2
- 1...3 now means 1,2,3
Implements <rdar://problem/16839891>
Swift SVN r18066
2014-05-14 07:36:00 +00:00
Dmitri Hrybenko
de9a0c8ff0
stdlib/printing: remove ReplPrintable protocol
...
It is replaced by debugPrint() family of functions, that are called by REPL.
There is a regression in printing types that don't conform to Printable, this
is tracked by rdar://16898708
Swift SVN r18006
2014-05-13 16:22:56 +00:00
Dmitri Hrybenko
2cc8fe40d4
stdlib/printing: replace four printing systems with one new one
...
The old ones were:
- print/println
- printAny
- printf
- Console
The new printing story is just print/println. Every object can be printed.
You can customize the way it is printed by adopting Printable protocol. Full
details in comments inside stdlib/core/OutputStream.swift.
Printing is not completely finished yet. We still have ReplPrintable, which
should be removed, string interpolation still uses String constructors, and
printing objects that don't conform to Printable will result in printing
mangled names.
Swift SVN r18001
2014-05-13 13:07:59 +00:00
Ted Kremenek
fad874708e
Adjust test cases.
...
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Dave Abrahams
21186b5dc1
[stdlib] Break String source into manageable pieces
...
Swift SVN r12453
2014-01-17 01:47:29 +00:00