summary refs log tree commit diff
path: root/src/libstd/char.rs
AgeCommit message (Collapse)AuthorLines
2013-09-23Added is_control function, method, and tests.Jesse Ray-0/+24
2013-09-18Remove and replace cond! Closes #9282.Jimmy Zelinskie-12/+12
2013-09-15Use std::iter::range_stepblake2-ppc-4/+3
Use the iterator version instead of the old uint::/int::range_step functions.
2013-09-12std: Add a bunch of Default implsErick Tryzelaar-0/+10
2013-09-04stop treating char as an integer typeDaniel Micay-17/+37
Closes #7609
2013-09-04Added ToStr impl for charMarvin Löbel-0/+15
Changed ToStr impl for Ascii
2013-08-30remove several 'ne' methodsEric Martin-2/+0
2013-08-21Add Unicode decomposition mappings to std::unicodeFlorian Zeitz-1/+46
2013-08-12Implement formatting arguments for strings and integersAlex Crichton-0/+38
Closes #1651
2013-08-09Remove redundant Ord method impls.OGINO Masanori-6/+0
Basically, generic containers should not use the default methods since a type of elements may not guarantees total order. str could use them since u8's Ord guarantees total order. Floating point numbers are also broken with the default methods because of NaN. Thanks for @thestinger. Timespec also guarantees total order AIUI. I'm unsure whether extra::semver::Identifier does so I left it alone. Proof needed. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-2/+3
2013-07-06Faster check for ascii-spaceGary Linscott-1/+2
Since ' ' is by far one of the most common characters, it is worthwhile to put it first, and short-circuit the rest of the function. On the same JSON benchmark, as the json_perf improvement, reading example.json 10 times from https://code.google.com/p/rapidjson/wiki/Performance. Before: 0.16s After: 0.11s
2013-06-30Specialize to_str_common for floats/integers in strconvAlex Crichton-1/+1
This allows the integral paths to avoid allocations on the heap Closes #4424, #4423
2013-06-30Change char::escape_{default,unicode} to take callbacks instead of allocatingAlex Crichton-49/+58
strings
2013-06-28Rewrite each_path to allow performance improvements in the future.Patrick Walton-0/+1
Instead of determining paths from the path tag, we iterate through modules' children recursively in the metadata. This will allow for lazy external module resolution.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-12/+12
2013-06-14Add Zero impls for lots of common typesAlex Crichton-2/+8
2013-05-30Require documentation by default for libstdAlex Crichton-0/+5
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+406
This only changes the directory names; it does not change the "real" metadata names.
2011-12-14Remove some duplicated unused parts of std now that they're present in core.Graydon Hoare-150/+0
2011-12-07Change literal representation to not truncateMarijn Haverbeke-5/+18
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+137