Commit Graph

11 Commits

Author SHA1 Message Date
Dave Abrahams
492c01e20c [stdlib] allow construction of UTF16Index from Int
...when Foundation is loaded.  Also, doc comments for its
RandomAccessIndexType conformance

Swift SVN r24637
2015-01-22 17:34:16 +00:00
Dave Abrahams
39efbb5e17 [stdlib] Add a comment
Swift SVN r23948
2014-12-15 22:24:30 +00:00
Dmitri Hrybenko
e87bcff79d stdlib: move String.{lowercaseString,uppercaseString} to the core
library

Swift SVN r23936
2014-12-15 09:47:03 +00:00
Dave Abrahams
9550c02956 [stdlib] String.UTF16View.Index is bidirectional
Rather than expose random access on String.UTF16View to all Swift users,
expose it only when Foundation is loaded.  This effectively decouples
String from a UTF16 representation on non-Mac platforms.

Swift SVN r23929
2014-12-14 17:11:04 +00:00
Maxwell Swadling
74aa8b1a3c [stdlib] added safe unchecked comment
Swift SVN r23862
2014-12-11 18:52:21 +00:00
Maxwell Swadling
528661c212 [stdlib] Removed checks in {lower,upper}caseStirng
Swift SVN r23747
2014-12-06 00:01:13 +00:00
Maxwell Swadling
5d01edbb90 [stdlib] clarified comments for ASCII case tables
Swift SVN r23738
2014-12-05 17:47:47 +00:00
Maxwell Swadling
77cd08d3ae [stdlib] removed branch in ASCII {upper,lower}casestring
Swift SVN r23706
2014-12-05 00:24:38 +00:00
Maxwell Swadling
530ae1777a Added ASCII fast paths for common string operations
- ==, <, lowercaseString and uppercaseString on String now have ASCII fast paths
- Fixes rdar://problem/17962640

Swift SVN r23494
2014-11-21 00:07:32 +00:00
Jordan Rose
da29f099f0 Update stdlib for accessibility modifiers becoming context-sensitive keywords.
Swift SVN r19672
2014-07-08 02:17:46 +00:00
Dmitri Hrybenko
3422201d21 stdlib/String: move lowercaseString and uppercaseString properties to
Foundation, and have them forward to Foundation.

This is slower than it could be, but at least this way we produce correct
results.

Another part of rdar://17550187


Swift SVN r19560
2014-07-04 09:27:32 +00:00