about summary refs log tree commit diff
path: root/src/libcore/repr.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-639/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
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-13Remove re-exports from libcore/core.rcAlex Crichton-1/+2
Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude.
2013-05-08librustc: Fix merge fallout.Patrick Walton-3/+3
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-49/+19
2013-05-08libcore: Remove mutable fields from reprPatrick Walton-13/+58
2013-05-04Register snapshotsBrian Anderson-110/+1
2013-05-02More cases of [cfg(test)] instead of [test].Felix S. Klock II-1/+1
2013-04-20core: remove unused 'mut' variablesAlex Crichton-2/+2
2013-04-17Warning policeTim Chevalier-2/+2
2013-04-08When repr'ing an enum value, assert that it matched some variant.Jed Davis-3/+4
2013-04-08Export adt::trans_get_discr abstractly to the type visitor.Jed Davis-13/+81
2013-04-08Feed enum field offsets to type vistors.Jed Davis-1/+26
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26core: As per #4898, finish impls for one-tuplesTim Chevalier-1/+4
2013-03-25Kill some warnings: unused imports and old #[deny(..)]s.Huon Wilson-1/+0
2013-03-20auto merge of #5455 : pcwalton/rust/framework, r=catamorphismbors-1/+1
r? @catamorphism
2013-03-20libsyntax: Never use `::<>` in the type grammarPatrick Walton-1/+1
2013-03-20core: add str::each{,i}_reverseErick Tryzelaar-1/+1
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-2/+2
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-2/+2
2013-03-08core: Remove uses of DVec in io/reprAlex Crichton-7/+6
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-33/+41
2013-03-04De-implicit-self libcoreBen Striegel-33/+41
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-1/+3
2013-03-04Remove unused imports throughout src/Alex Crichton-6/+0
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-2/+2
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-26libcore: Move Cell to core and de-~mut core and stdPatrick Walton-1/+0
2013-02-15libcore: Get rid of `move`.Luqman Aden-4/+4
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-19/+19
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-4/+4
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-3/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-05MergeTim Chevalier-8/+8
2013-02-03Converted the floating point types to the new string conversion functions.Marvin Löbel-4/+4
Also fixed all conflicting calls of the old functions in the rest of the codebase. The set of string conversion functions for each float type now consists of those items: - to_str(), converts to number in base 10 - to_str_hex(), converts to number in base 16 - to_str_radix(), converts to number in given radix - to_str_exact(), converts to number in base 10 with a exact number of trailing digits - to_str_digits(), converts to number in base 10 with a maximum number of trailing digits - implementations for to_str::ToStr and num::ToStrRadix - from_str(), parses a string as number in base 10 including decimal exponent and special values - from_str_hex(), parses a string as a number in base 16 including binary exponent and special values - from_str_radix(), parses a string as a number in a given base excluding any exponent and special values - implementations for from_str::FromStr and num::FromStrRadix
2013-02-01Remove fail keyword from lexer & parser and clean up remaining calls toNick Desaulniers-4/+4
fail Fix merge conflicts - Issue 4524
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-4/+4
2013-01-31core: Remove transitional codeTim Chevalier-297/+0
2013-01-29librustc: De-implicit-self the visitor. r=graydonPatrick Walton-0/+305
2013-01-26core: Remove structural records in library testsTim Chevalier-3/+6
2013-01-24librustc: Make C functions unsafePatrick Walton-9/+13
2013-01-20repr: represent char values as char literals rather than integers.Simon Sapin-1/+7
2013-01-13Reflect on char as u32, not uint (which may be u64).Jed Davis-1/+1
Fixes mozilla/rust#4473.
2013-01-10core: Change XXXs into proper FIXMEs with issue numbersTim Chevalier-6/+7
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-4/+19
contain at least two components. r=graydon
2012-12-18core: fix remaining repr bugs, r=burningtree.Graydon Hoare-10/+96