about summary refs log tree commit diff
path: root/src/libcore/char
AgeCommit message (Collapse)AuthorLines
2018-08-01Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichtonbors-4/+4
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-30Remove unstable and deprecated APIsSimon Sapin-132/+0
2018-06-26migrate codebase to `..=` inclusive range patternsZack M. Davis-18/+18
These were stabilized in March 2018's #47813, and are the Preferred Way to Do It going forward (q.v. #51043).
2018-06-17Treat gc=No characters as numericDavid Corbett-4/+4
2018-05-30mod.rs isn't beautifuluuttff8-4/+4
2018-05-21Only escape extended grapheme characters in the first positionvarkor-12/+22
2018-05-21Use Grapheme_Extend instead of Mnvarkor-8/+8
2018-05-21Remove example in test for is_nonspacing_mark because it's currently privatevarkor-10/+0
2018-05-21Escape combining characters in escape_debugvarkor-2/+24
2018-04-24Rollup merge of #49970 - SimonSapin:deprecate, r=sfacklerkennytm-0/+14
Deprecate Read::chars and char::decode_utf8 Per FCP: * https://github.com/rust-lang/rust/issues/27802#issuecomment-377537778 * https://github.com/rust-lang/rust/issues/33906#issuecomment-377534308
2018-04-20Revert "Stabilize the TryFrom and TryInto traits"Felix S. Klock II-4/+4
This reverts commit e53a2a72743810e05f58c61c9d8a4c89b712ad2e.
2018-04-15Deprecate Read::chars and char::decode_utf8Simon Sapin-0/+14
Per FCP: * https://github.com/rust-lang/rust/issues/27802#issuecomment-377537778 * https://github.com/rust-lang/rust/issues/33906#issuecomment-377534308
2018-04-12Dedicated tracking issue for UnicodeVersion and UNICODE_VERSION.Simon Sapin-3/+3
2018-04-12Move core::char::printable to core::unicode::printableSimon Sapin-787/+1
2018-04-12Remove the CharExt trait, now that libcore has inherent methods for charSimon Sapin-181/+104
2018-04-12Move the rest of core::unicode::char to core::unicodeSimon Sapin-150/+1580
2018-04-12Move char conversions into a separate private module.Simon Sapin-290/+315
2018-04-12Move char decoding iterators into a separate private module.Simon Sapin-120/+265
2018-04-12Reexport from core::unicode::char in core::char rather than vice versaSimon Sapin-0/+12
2018-04-12Move the core::char module to its own directorySimon Sapin-0/+1713