about summary refs log tree commit diff
path: root/src/libcore/unicode
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-90/+1
2018-12-04cleanup: remove static lifetimes from constsljedrz-6/+6
2018-11-10revert making internal APIs const fn.Mazdak Farrokhzad-1/+1
2018-11-10constify parts of libcore.Mazdak Farrokhzad-2/+1
2018-08-01Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichtonbors-30/+44
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-07-06Handle array manually in string case conversion methodsPazzaz-0/+3
2018-06-17Treat gc=No characters as numericDavid Corbett-30/+44
2018-06-11Regenerate character tables for Unicode 11Josh Stone-1120/+1214
2018-05-21Fix tables.rsvarkor-6/+45
2018-05-21Avoid counting characters and add explanatory comment to testvarkor-1/+1
2018-05-21Use Grapheme_Extend instead of Mnvarkor-166/+129
2018-05-21Use the correct output directory for downloading Unicode filesvarkor-2/+1
2018-05-21Escape combining characters in escape_debugvarkor-1/+1
2018-05-21Keep tables.rs copyright notice up to datevarkor-5/+5
2018-05-21Download unicode data files in directory of unicode.pyvarkor-7/+11
2018-05-21Update unicode/tables.rs with Mnvarkor-1/+121
2018-05-01Fix a warning in libcore on 16bit targets.Vadzim Dambrouski-8/+8
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-04-12Mark the rest of the `unicode` feature flag as perma-unstable.Simon Sapin-1/+1
2018-04-12Dedicated tracking issue for UnicodeVersion and UNICODE_VERSION.Simon Sapin-0/+3
2018-04-12Move core::char::printable to core::unicode::printableSimon Sapin-0/+786
2018-04-12Merge unstable Utf16Encoder into EncodeUtf16Simon Sapin-58/+0
2018-04-12Merge core::unicode::str into core::strSimon Sapin-188/+58
And the UnicodeStr trait into StrExt
2018-04-12Remove the CharExt trait, now that libcore has inherent methods for charSimon Sapin-6/+3
2018-04-12Move the rest of core::unicode::char to core::unicodeSimon Sapin-1438/+0
2018-04-12Move char decoding iterators into a separate private module.Simon Sapin-129/+0
2018-04-12Reexport from core::unicode::char in core::char rather than vice versaSimon Sapin-23/+4
2018-04-12Move contents of libstd_unicode into libcoreSimon Sapin-0/+4782