about summary refs log tree commit diff
path: root/src/libcore/char.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-3/+3
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-08Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)]Zack Corr-4/+4
2013-05-03Remove pub from core::{unicode,cmath,stackwalk,rt}Alex Crichton-17/+16
2013-04-30char: fix unused import warningDaniel Micay-0/+1
2013-04-25implement Ord, TotalEq and TotalOrd for charDaniel Micay-14/+15
Closes #6063
2013-04-24Removed ascii functions from other modulesMarvin Löbel-14/+2
Replaced str::to_lowercase and str::to_uppercase
2013-04-20Cleaned up case related functions a bitMarvin Löbel-2/+16
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-6/+4
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-28/+28
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-14/+14
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-29/+29
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-57/+57
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-3/+4
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-03Fixed errors resulting from rebase.Marvin Löbel-2/+2
2013-02-03Converted libcore/uint-template.rs to the new string functions.Marvin Löbel-1/+1
- Moved ToStr implementation of unsigned integers to uint-template.rs. - Marked the `str()` function as deprecated. - Forwarded all conversion functions to `core::num::to_str_common()` and `core::num::from_str_common()`. - Fixed most places in the codebase where `to_str()` is being used. - Added uint-template to_str and from_str overflow tests.
2013-02-03Added char::from_digit(), char::is_digit_radix() and an argument check to ↵Marvin Löbel-0/+50
char::to_digit().
2013-01-14Inlining methods/functions in core.gifnksm-0/+8
Also inlining some functions which take functions as arguments.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+4
contain at least two components. r=graydon
2012-12-12core: Remove some uses of 'move'Brian Anderson-1/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30core: Make core.rc more readable. CleanupBrian Anderson-0/+1
2012-11-28Register snapshotsBrian Anderson-8/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+8
2012-11-18Fixing warnings for long and blank linesJesse Jones-1/+2
2012-11-18Made more stuff pure.Jesse Jones-5/+7
escape functions in char, io.with_str_reader, base64 and md5sum, cell.empty_cell and is_empty.
2012-09-27Finish de-exporting box, char, float. Part of #3583.Graydon Hoare-18/+10
2012-09-26libcore: Partially de-export char, f32, f64, and floatPatrick Walton-3/+3
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-7/+0
2012-09-21libcore: De-mode strPatrick Walton-3/+3
2012-09-20core: Minor doc tweakageBrian Anderson-8/+4
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+7
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-05Start making moves explicit in libcoreTim Chevalier-1/+1
This is in preparation for issue 2633. Replaced implicit moves that rely on last-use with explicit moves in char, float, and str.
2012-09-04libcore: "import" -> "use"Patrick Walton-4/+4
2012-09-01Remove the 'to' keywordBrian Anderson-4/+4
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-0/+6
2012-08-27libcore: Replace a bunch of "== None" with ".is_none()".Patrick Walton-2/+2
Generally, "== None" calls into the shape glue, and it's also more useful.
2012-08-26Camel case the option typeBrian Anderson-16/+16
2012-08-22libcore: fix doc for char::to_digitFrancisco Souza-1/+1
Closes #3249.
2012-08-13De-mode-ify a few minor libcore modules.Graydon Hoare-0/+4
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-2/+2
2012-08-05Switch alts to use arrowsBrian Anderson-12/+12