Taiki Endo
360432f1e8
libcore => 2018
2019-04-18 14:47:35 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
ljedrz
d0c64bb296
cleanup: remove static lifetimes from consts
2018-12-04 12:46:10 +01:00
Mazdak Farrokhzad
e15c62d61f
revert making internal APIs const fn.
2018-11-10 01:10:07 +01:00
Mazdak Farrokhzad
5b89877dda
constify parts of libcore.
2018-11-10 01:07:32 +01:00
bors
c4156768aa
Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichton
...
Treat gc=No characters as numeric
[`char::is_numeric`](https://doc.rust-lang.org/std/primitive.char.html#method.is_numeric ) and [`char::is_alphanumeric`](https://doc.rust-lang.org/std/primitive.char.html#method.is_alphanumeric ) are documented to be defined “in terms of the Unicode General Categories 'Nd', 'Nl', 'No'”, but unicode.py does not group 'No' with the other 'N' categories. These functions therefore currently return `false` for characters like ⟨¾⟩ and ⟨①⟩.
2018-08-01 17:44:25 +00:00
Pazzaz
ad7621d42e
Handle array manually in string case conversion methods
2018-07-06 17:20:39 +02:00
David Corbett
5150ff0c72
Treat gc=No characters as numeric
2018-06-17 13:47:47 -04:00
Josh Stone
f81e34b825
Regenerate character tables for Unicode 11
2018-06-11 10:54:30 -07:00
varkor
b6539372e9
Fix tables.rs
2018-05-21 19:12:36 +01:00
varkor
2fa22effb6
Avoid counting characters and add explanatory comment to test
2018-05-21 18:57:54 +01:00
varkor
d7aa35eb1b
Use Grapheme_Extend instead of Mn
2018-05-21 18:57:54 +01:00
varkor
d3c257b0ae
Use the correct output directory for downloading Unicode files
2018-05-21 18:57:54 +01:00
varkor
4694d20170
Escape combining characters in escape_debug
2018-05-21 18:57:54 +01:00
varkor
b72faf5795
Keep tables.rs copyright notice up to date
2018-05-21 18:57:54 +01:00
varkor
a0b5d3813e
Download unicode data files in directory of unicode.py
2018-05-21 18:57:54 +01:00
varkor
f53022f88d
Update unicode/tables.rs with Mn
2018-05-21 18:57:54 +01:00
Vadzim Dambrouski
f29e62aadf
Fix a warning in libcore on 16bit targets.
...
This code is assuming that usize >= 32bits, but it is not the case on
16bit targets. It is producing a warning that will fail the compilation
on MSP430 if deny(warnings) is enabled.
It is very unlikely that someone would actually use this code on
a microcontroller, but since unicode was merged into libcore we
have compile it on 16bit targets.
2018-05-01 17:48:31 +03:00
Simon Sapin
ef41788cf3
Mark the rest of the unicode feature flag as perma-unstable.
2018-04-12 00:13:53 +02:00
Simon Sapin
1ca2905cda
Dedicated tracking issue for UnicodeVersion and UNICODE_VERSION.
2018-04-12 00:13:53 +02:00
Simon Sapin
670e85339a
Move core::char::printable to core::unicode::printable
2018-04-12 00:13:53 +02:00
Simon Sapin
d4ed1e6fa4
Merge unstable Utf16Encoder into EncodeUtf16
2018-04-12 00:13:53 +02:00
Simon Sapin
0d9afcd9b9
Merge core::unicode::str into core::str
...
And the UnicodeStr trait into StrExt
2018-04-12 00:13:52 +02:00
Simon Sapin
33358dc3c5
Remove the CharExt trait, now that libcore has inherent methods for char
2018-04-12 00:13:52 +02:00
Simon Sapin
34c52534f7
Move the rest of core::unicode::char to core::unicode
2018-04-12 00:13:52 +02:00
Simon Sapin
955450212a
Move char decoding iterators into a separate private module.
2018-04-12 00:13:52 +02:00
Simon Sapin
939692409d
Reexport from core::unicode::char in core::char rather than vice versa
2018-04-12 00:13:52 +02:00
Simon Sapin
5807be7ccb
Move contents of libstd_unicode into libcore
2018-04-12 00:13:43 +02:00