summary refs log tree commit diff
path: root/src/libcore/uint-template.rs
AgeCommit message (Collapse)AuthorLines
2012-12-20core: Add a Zero and One trait to numErick Tryzelaar-0/+8
I believe these are the last traits we need in order to start grouping our numerical types into mathematical groups and rings.
2012-12-17core: Add &self to core::iter methodsErick Tryzelaar-2/+2
2012-12-17Register snapshotsBrian Anderson-4/+0
2012-12-17Revert "Register snapshots"Brian Anderson-0/+4
This reverts commit d6d12d90ff5363f59f1a1bf67f999a5d7944abb1.
2012-12-17Register snapshotsBrian Anderson-4/+0
2012-12-15rewrite uint::to_str_bytes to avoid raw pointersTim Taubert-28/+20
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-0/+5
2012-12-05Convert Num to explicit selfBrian Anderson-8/+8
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/+2
2012-11-28Register snapshotsBrian Anderson-24/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+24
2012-11-18Made from_str pureJesse Jones-3/+6
2012-11-15Un-ignore test_from_str and test_parse_bufTim Chevalier-2/+0
Closes #2609
2012-10-28Removing iter::TimesIxMahmut Bulut-13/+0
2012-10-20Remove old fixed-length vector syntaxBen Striegel-13/+1
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-1/+1
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-01rename vec::raw::form_slice to buf_as_sliceErick Tryzelaar-2/+1
This matches the str::raw function.
2012-09-28Finish de-exporting uint modules. Part of #3583.Graydon Hoare-14/+0
2012-09-26libcore: Partially de-export int-template and uint-templatePatrick Walton-35/+36
2012-09-25Demode Num trait and implsTim Chevalier-5/+5
2012-09-25use + mode for (almost) everything when not using legacy modesNiko Matsakis-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-16/+0
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+16
2012-09-15int/uint parse_buf => parse_bytes (#3444)Erick Tryzelaar-13/+13
2012-09-13s/vec::as_buf/vec::as_imm_buf/, fix comment, remove set.rsNiko Matsakis-2/+2
hat tip to @jruderman
2012-09-12Rename str::unsafe to str::rawBrian Anderson-1/+1
2012-09-12Rename vec::unsafe to vec::rawBrian Anderson-1/+1
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-2/+2
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-3/+2
2012-09-04libcore: "import" -> "use"Patrick Walton-3/+3
2012-09-03libcore: Add a from_str traitPatrick Walton-0/+5
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-15/+15
Closes #3302
2012-08-29rustc: Make `<=`, `>=`, and `>` use traits as wellPatrick Walton-3/+4
2012-08-29core: Demode int/uint modsBrian Anderson-4/+8
2012-08-27libcore: Replace a bunch of "== None" with ".is_none()".Patrick Walton-5/+5
Generally, "== None" calls into the shape glue, and it's also more useful.
2012-08-27libcore: Fix build harderPatrick Walton-12/+8
2012-08-27libcore: Fix core testPatrick Walton-8/+12
2012-08-26Camel case the option typeBrian Anderson-29/+29
2012-08-23Rename str::bytes to str::to_bytesTim Chevalier-11/+11
Closes #3245
2012-08-23Make a bunch more of the iteration functions/methods marked pure. Closes #3253.Michael Sullivan-2/+2
2012-08-17rustc: Remove a few allocations from metadata. Shaves a few milliseconds off ↵Patrick Walton-1/+1
compilation of hello world.
2012-08-15Convert more core types to camel caseBrian Anderson-3/+3
2012-08-14Make Num::from_int a static methodTim Chevalier-1/+1
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-4/+4
2012-08-08Convert impls to new syntaxBrian Anderson-5/+5
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-2/+2
2012-08-05Switch alts to use arrowsBrian Anderson-4/+4
2012-08-02Cleanups in the int and uint templates.Graydon Hoare-28/+32
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-12/+12
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).