summary refs log tree commit diff
path: root/src/libstd/arena.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-1/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-1/+1
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-1/+1
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-3/+3
notation. rs=delifetiming
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-1/+1
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-3/+3
2013-03-07libstd: Remove `extern mod { ... }` from libstd. rs=deexterningPatrick Walton-9/+17
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-8/+8
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-2/+2
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
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-1/+1
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-24convert most of libstd over to structsErick Tryzelaar-5/+15
2013-01-24librustc: Make C functions unsafePatrick Walton-3/+7
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-1/+3
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-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-3/+11
contain at least two components. r=graydon
2012-12-23std: Mark some functions as pureChris Peterson-1/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29librustc: Make the Drop trait use explicit selfPatrick Walton-1/+1
2012-11-14Convert libstd to use the Drop traitBen Striegel-1/+4
2012-11-14Revert "Convert libstd to use the Drop trait"Brian Anderson-4/+1
This reverts commit 28c7a251514919a2d7bdf6c67b8edf5eed9043db.
2012-11-14Convert libstd to use the Drop traitBen Striegel-1/+4
2012-10-20Remove old fixed-length vector syntaxBen Striegel-2/+2
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-115/+0
The code for the mode itself is still there.
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-0/+115
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-09-28De-export std::{time, prettyprint{,2}, arena}. Part of #3583.Graydon Hoare-7/+3
2012-09-28std: Eliminate deprecated patternsBrian Anderson-1/+0
2012-09-26std: Demode more of list and treemapBrian Anderson-1/+1
2012-09-26libcore: De-mode at_vecPatrick Walton-3/+3
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+2
#[legacy_exports];
2012-09-19std: Demode arenaBrian Anderson-3/+6
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-18core: Rename at_vec::unsafe to rawBrian Anderson-1/+1
2012-09-12Rename vec::unsafe to vec::rawBrian Anderson-3/+3
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-3/+3
also, change DVec() to work with imm vectors rather than mut ones
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-3/+3
2012-09-04std: Camel case listBrian Anderson-5/+5
2012-09-04libstd: "import" -> "use"Patrick Walton-5/+4
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-1/+0
2012-09-01Demode reinterpret_castBrian Anderson-9/+9
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-2/+2
Closes #3302