summary refs log tree commit diff
path: root/src/libcore/char.rs
AgeCommit message (Collapse)AuthorLines
2012-07-06Move string append to libraries. Closes #2710.Michael Sullivan-3/+3
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-63/+63
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-4/+4
2012-06-25core: Convert declarations to not use the trailing 'unsafe' notationBrian Anderson-1/+1
2012-05-31Implement 2 kinds of char / str escaping. Use in rustc. Close #2306.Graydon Hoare-1/+76
2012-03-23Remove char::to_lower, char::to_upper, use libc versions insteadTim Chevalier-43/+1
As per Graydon's comments on #1985: remove char::to_lower and char::to_upper. The str versions of these functions now call libc::tolower and libc::toupper (using wrappers that cast between char and c_char). Not sure how much better that is, but it at least makes it clearer that these functions are Unicode-unsafe.
2012-03-15Add asserts to char::is_upper and char::is_lowerTim Chevalier-4/+8
Add an assert that the argument char is ASCII, as well as adding issue numbers to FIXMEs
2012-03-09core: Convert to rustdocBrian Anderson-38/+43
2012-02-22Make the various from_str functions return optionsMarijn Haverbeke-44/+25
So that they can be used with user input without causing task failures. Closes #1335
2012-02-11(core::char) export is_digitKevin Cantu-1/+1
2012-02-11core: added char::is_digit (matching Nd, Nl, No)Kevin Cantu-1/+19
2012-02-11core: added a rough char::is_asciiKevin Cantu-0/+11
2012-02-01Remove remaining references to option::t outside option itselfTim Chevalier-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-1/+1
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libcore: Move core tests into libcoreBrian Anderson-0/+74
2012-01-17Remove un-needed <Roland Tanglao-1/+1
2012-01-16add spaces before newlines in rustdocsRoland Tanglao-10/+10
2012-01-16convert comments to rustdocs for box, char, comm and cytpes.rsRoland Tanglao-74/+40
2012-01-04"char": use shorter names "to_lower"/"to_upper", analogous to the same names ↵Lenny222-5/+5
in "str"
2012-01-02typoLenny222-1/+1
2012-01-01"str": extract to_upper/lower_case() into "char"Lenny222-1/+29
2011-12-29Add support in lexer for utf8 identifiers. No NFKC logic in char yet.Graydon Hoare-0/+6
2011-12-24char: add is_lowercase(), is_uppercase()Lenny222-1/+21
2011-12-23Forgot typo-fix.Graydon Hoare-1/+1
2011-12-23Add support to libcore for encoded-in-rust unicode character properties, at ↵Graydon Hoare-82/+61
least. Add script to compute them from unicode.org.
2011-12-16core: marked fns as pure where possibleStefan Plantikow-2/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+150