swift-ci
4edbd83576
Merge pull request #17923 from allevato/unicode-properties-docs
2018-07-24 17:45:06 -07:00
Tony Allevato
5352545f9c
Apply review feedback
2018-07-16 18:00:39 -07:00
Ben Cohen
b77b544cdc
Remove remaining @ininable from @_transparent ( #17968 )
2018-07-16 08:12:52 -07:00
Tony Allevato
f99109c552
[stdlib] NFC: Unicode.Scalar.Properties documentation fixes
2018-07-12 21:32:05 -07:00
Tony Allevato
b454e8d0f4
Make emoji properties Darwin only.
...
Ubuntu 16.04 doesn't have a recent enough ICU to support these; we need a better long-term solution, such as bundling ICU with the toolchain.
2018-07-09 18:42:42 -07:00
Tony Allevato
d0e93acb00
Various fixes to Unicode.Scalar.Properties.
...
- numericValue returns nil instead of .nan for non-numerics
- Remove small-string optimizations from _scalarName that failed on 32-bit archs
- Put case mappings back into U.S.Properties
- Added more sanity tests
2018-07-05 20:42:56 -07:00
Tony Allevato
54f4c77ce7
[stdlib] Revert hasNormalizationBoundaryBefore
...
This property is too specific in that it forces a particular normalization; let's not expose it this way, but instead in the future with a full normalization API.
2018-04-22 12:01:03 -07:00
Tony Allevato
95dc229d17
[stdlib] Fix age property and update case mappings
...
Using &foo.0 is not a suitable shortcut for getting a mutable
pointer to the first element of a tuple.
2018-04-06 06:29:50 -07:00
Tony Allevato
f06af77e01
[stdlib] Lift case mappings directly into Unicode.Scalar
2018-04-03 23:02:15 -07:00
Tony Allevato
56d04befd1
[stdlib] Rewrite _scalarName to fully use a small string
2018-04-03 19:20:38 -07:00
Tony Allevato
47deadc2fb
[stdlib] Compute scalar's UTF-16 on demand instead of caching
2018-04-02 21:38:54 -07:00
Tony Allevato
5a7d7d3929
[stdlib] Update case mappings to use small strings if possible
2018-04-02 21:12:08 -07:00
Tony Allevato
4a1794074a
[stdlib] Update documentation for case mappings
2018-04-01 19:41:43 -07:00
Tony Allevato
5807bb9436
[stdlib] Fix _scalarName to use small string if possible
2018-04-01 19:29:26 -07:00
Tony Allevato
3a2ad05092
[stdlib] Add "isDefined", "hasNormalizationBoundaryBefore" to Unicode.Scalar.Properties
2018-03-28 06:40:25 -07:00
Tony Allevato
354f2ad66e
[stdlib] Add "numeric{Type,Value}" to Unicode.Scalar.Properties
2018-03-27 21:07:27 -07:00
Tony Allevato
e7078a473b
[stdlib] Add "canonicalCombiningClass" to Unicode.Scalar.Properties
2018-03-26 06:38:55 -07:00
Tony Allevato
e7fa49984a
[stdlib] Add "{lower,title,upper}caseMapping" to Unicode.Scalar.Properties
2018-03-26 06:38:55 -07:00
Tony Allevato
9858d4edfb
[stdlib] Add "name", "nameAlias" to Unicode.Scalar.Properties
2018-03-26 06:38:55 -07:00
Tony Allevato
af798fa972
[stdlib] Add "generalCategory" to Unicode.Scalar.Properties
2018-03-26 06:38:55 -07:00
Tony Allevato
d6ee54f4b5
[stdlib] Add "age" to Unicode.Scalar.Properties
2018-03-26 06:38:54 -07:00
Tony Allevato
6726645109
[stdlib] Add binary properties to Unicode.Scalar
2018-03-19 13:54:33 -07:00