about summary refs log tree commit diff
path: root/src/libcore/unstable
AgeCommit message (Collapse)AuthorLines
2013-05-02fix numerous dynamic borrow failuresNiko Matsakis-1/+1
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-16/+0
2013-05-01lang: fix code for maintaining borrow listNiko Matsakis-10/+40
2013-05-01core: add more debugging printouts to borrowingNiko Matsakis-5/+18
2013-05-01wip---work on making rooting work properlyNiko Matsakis-11/+56
2013-05-01add an option to debug borrows (RUST_DEBUG_BORROW) so you canNiko Matsakis-7/+71
find out where the offending borrow occurred. This ... still needs some work.
2013-05-01rustc: print out filename/line-number when a borrow failsNiko Matsakis-6/+19
2013-04-30Merge remote-tracking branch 'brson/io'Brian Anderson-0/+41
Conflicts: src/libcore/task/local_data_priv.rs
2013-04-30allover: numerous unused muts etcNiko Matsakis-3/+3
2013-04-30new borrow checker (mass squash)Niko Matsakis-3/+44
2013-04-30adapt to snapshotNiko Matsakis-26/+0
2013-04-29core: Turn off the local heap in newsched in stage0 to work around windows ↵Brian Anderson-0/+19
bustage core won't compile in stage0 without.
2013-04-29librustc: Rename `reinterpret_cast` to `transmute_copy` and remove the intrinsicPatrick Walton-0/+1
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-2/+0
2013-04-24Merge remote-tracking branch 'brson/io'Brian Anderson-2/+24
Conflicts: src/libcore/rt/uvio.rs
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-3/+6
2013-04-24Removed ascii functions from other modulesMarvin Löbel-1/+4
Replaced str::to_lowercase and str::to_uppercase
2013-04-24libcore: remove @Rng from rand, and use traits instead.Huon Wilson-1/+1
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-23Merge remote-tracking branch 'brson/io'Brian Anderson-2/+24
This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs
2013-04-23Removing more unnecessary unsafe blocks throughoutAlex Crichton-2/+2
2013-04-21core::rt: Add the local heap to newsched tasksBrian Anderson-2/+24
Reusing the existing boxed_region implementation from the runtime
2013-04-20core: remove unused 'mut' variablesAlex Crichton-2/+2
2013-04-20auto merge of #5979 : Thiez/rust/no_reinterpret_cast, r=catamorphismbors-2/+2
As the name suggests this replaces many instances of cast::reinterpret_cast by cast::transmute. It's essentially the boring part of fixing #5163, the remaining reinterpret_casts should be more tricky to remove (unless I missed a boring case). r? @catamorphism
2013-04-20Replaced many instances of reinterpret_cast with transmuteMatthijs Hofstra-2/+2
2013-04-21librustc: implement and use `fixed_stack_segment` attribute for intrinsics.Huon Wilson-1/+12
2013-04-19librustc: Implement fast-ffi and use it in various placesPatrick Walton-2/+10
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-24/+22
2013-04-11Implement Finally for ~fn and @fn typesBrendan Zabarauskas-1/+42
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-5/+5
2013-04-03hashmap: rm linear namespaceDaniel Micay-2/+2
2013-03-30Rename confusing var, use_new_rt -> use_old_rt.Luqman Aden-4/+4
2013-03-30Correct type signature for start lang item.Luqman Aden-0/+26
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-29librustc: Remove `fail_unless!`Patrick Walton-54/+54
2013-03-28Removing unused importsAlex Crichton-4/+6
2013-03-28auto merge of #5608 : erickt/rust/incoming, r=catamorphismbors-0/+5
@nikomatsakis pointed out that `fn read_option<T>(&self, f: &fn() -> T) -> Option<T>` should have this syntax so it can work with custom option types: `fn read_option<T>(&self, f: &fn(bool) -> T) -> T`. Also, this also includes some `#[inline(always)]` on the memory functions in `src/libcore/unstable/lang.rs` to reduce one level of indirection when allocating memory.
2013-03-28core: Inline mallocing wrapper functionsErick Tryzelaar-0/+5
As far as I can tell, this doesn't make rust compile any faster, but it does at least remove one level of indirection on malloc, which might help speed up some operations.
2013-03-28Register snapshotsBrian Anderson-189/+0
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-2/+2
2013-03-26option: rm functions that duplicate methodsDaniel Micay-1/+1
2013-03-26Check for null in return_to_mut. Fixes #4904.Niko Matsakis-2/+6
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-1944/+14
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-22libcore: Fix obsolete syntax in extfmtPatrick Walton-18/+17
2013-03-22librustc: Add explicit lifetime binders and new lifetime notation in ↵Patrick Walton-2/+2
core/std/syntax/rustc
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-9/+9
2013-03-22auto merge of #5488 : pcwalton/rust/depure, r=pcwaltonbors-13/+13
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-13/+13
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-1/+1
2013-03-22Pass the fmt! buffer to each conversion methodAlex Crichton-0/+209
Achieves a little more speedup and avoids allocations around some strings in conv_str