| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-30 | vec: implement exchange vector reserve in Rust | Daniel Micay | -7/+0 | |
| 2013-06-25 | auto merge of #7254 : Blei/rust/intrinsic-overhaul, r=cmr | bors | -9/+0 | |
| This sets the `get_tydesc()` return type correctly and removes the intrinsic module. See #3730, #3475. Update: this now also removes the unused shape fields in tydescs. | ||||
| 2013-06-23 | Support foreign 'static mut' variables as well | Alex Crichton | -0/+10 | |
| 2013-06-23 | Remove rust_call_tydesc_glue | Philipp Brüschweiler | -8/+0 | |
| Towards #4812. Also includes some minor cleanups. | ||||
| 2013-06-23 | Remove unused shape fields from typedescs | Philipp Brüschweiler | -4/+3 | |
| 2013-06-21 | Remove all #[cfg(stage0)]-protected code | James Miller | -11/+0 | |
| New snapshot means this can all go. Also removes places that have comments that say they are workarounds for stage0 errors. | ||||
| 2013-06-18 | std: Work around some failing 'run' tests when valgrinding. #7224 | Brian Anderson | -0/+6 | |
| Under valgrind on 64->32 cross compiles the dynamic linker is emitting some error messages on stderr, which interferes with the tests that are checking stderr. | ||||
| 2013-05-28 | auto merge of #6731 : thomaslee/rust/issue-6575, r=pcwalton | bors | -0/+11 | |
| Fix for #6575. In the trans phase, rustc emits code for a function parameter that goes completely unused in the event the return type of the function in question happens to be an immediate. This patch modifies rustc & parts of rustrt to ensure that the vestigial parameter is no longer present in compiled code. | ||||
| 2013-05-27 | Added _RUST_STAGEN guard to rust_call_tydesc_glue | Tom Lee | -0/+7 | |
| 2013-05-27 | Add _RUST_STAGE0 #ifdefs | Tom Lee | -0/+4 | |
| 2013-05-27 | Omit unused implicit argument if return type is immediate. | Tom Lee | -4/+4 | |
| 2013-05-27 | Use passing by-value in gmtime, mktime | Daniel Farina | -6/+6 | |
| Per the recommendation of the now-removed FIXME. | ||||
| 2013-05-20 | rt: Rename rust_initialize_global_state to rust_initialize_rt_tls_key | Brian Anderson | -2/+2 | |
| 2013-05-15 | rt: Rename sched_key to rt_key | Brian Anderson | -7/+7 | |
| It is more general-purpose than holding scheduler pointers | ||||
| 2013-05-14 | core::rt: 0 is a valid TLS key | Brian Anderson | -2/+2 | |
| 2013-05-08 | auto merge of #6323 : brson/rust/nullary, r=thestinger | bors | -7/+0 | |
| There's no need to delegate to C to call the Rust main function. | ||||
| 2013-05-07 | rt: Remove rust_call_nullary_fn | Brian Anderson | -7/+0 | |
| There's no need to delegate to C to call the Rust main function. | ||||
| 2013-05-07 | rt: Eliminate the dependency on rust_kernel from rust_rng | Brian Anderson | -5/+4 | |
| 2013-05-05 | Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freeze | Niko Matsakis | -0/+57 | |
| Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs | ||||
| 2013-05-01 | add an option to debug borrows (RUST_DEBUG_BORROW) so you can | Niko Matsakis | -0/+14 | |
| find out where the offending borrow occurred. This ... still needs some work. | ||||
| 2013-04-25 | rt: abort doesn't take an argument | Brian Anderson | -1/+1 | |
| 2013-04-23 | Merge remote-tracking branch 'brson/io' | Brian Anderson | -0/+57 | |
| 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-22 | core::rt: Add unwinding to newsched tasks | Brian Anderson | -0/+22 | |
| 2013-04-21 | core::rt: Add the local heap to newsched tasks | Brian Anderson | -0/+35 | |
| Reusing the existing boxed_region implementation from the runtime | ||||
| 2013-04-21 | auto merge of #5887 : jdm/rust/stackbounds, r=brson | bors | -0/+5 | |
| This is needed to allow GC to work in SpiderMonkey. | ||||
| 2013-04-21 | rt: Make the C stack segment accessible to runtime users. | Josh Matthews | -0/+5 | |
| 2013-04-19 | core: Add rt::context for figuring out what runtime services are available | Brian Anderson | -0/+5 | |
| Conflicts: src/libcore/rt/sched/mod.rs | ||||
| 2013-04-15 | rt: Move test functions to rust_test_helpers.cpp | Brian Anderson | -86/+0 | |
| 2013-04-14 | add rust_dbg_extern_identity_TwoDoubles to prevent check-fast failure | Jyun-Yan You | -0/+10 | |
| 2013-03-18 | core: Initialize global state lazily in the Scheduler ctor | Brian Anderson | -4/+13 | |
| I don't want any global one-time initalization functions because that will make embedding harder. | ||||
| 2013-03-18 | Add a way to run the test suite with the new scheduler | Brian Anderson | -0/+31 | |
| TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in | ||||
| 2013-03-16 | rt: Add RUST_DEBUG_MEM to rust_env to avoid races | Brian Anderson | -0/+5 | |
| 2013-03-14 | auto merge of #5364 : xenocons/rust/patch-1, r=z0w0 | bors | -1/+1 | |
| 2013-03-14 | updated from L to ull for easier mingw32 builds. | xenocons | -1/+1 | |
| 2013-03-13 | Revamp foreign code not to consider the Rust modes. This requires | Niko Matsakis | -6/+38 | |
| adjusting a few foreign functions that were declared with by-ref mode. This also allows us to remove by-val mode in the near future. With copy mode, though, we have to be careful because Rust will implicitly pass somethings by pointer but this may not be the C ABI rules. For example, rust will pass a struct Foo as a Foo*. So I added some code into the adapters to fix this (though the C ABI rules may put the pointer back, oh well). This patch also includes a lint mode for the use of by-ref mode in foreign functions as the semantics of this have changed. | ||||
| 2013-03-12 | Work around linkage bug cross-compiling from x86_64-apple-darwin to ↵ | Brian Anderson | -0/+27 | |
| i686-apple-darwin The correct opendir/readdir to use appear to be the 64-bit versions called opendir$INODE64, etc. but for some reason I can't get them to link properly on i686. Putting them in librustrt and making gcc figure it out works. This mystery will have to wait for another day. | ||||
| 2013-03-11 | core: Add rt mod and add the new scheduler code | Brian Anderson | -4/+4 | |
| 2013-03-11 | rt/core: port os::list_dir to rust ref #4812 | Jeff Olson | -36/+30 | |
| 2013-03-11 | core: rt/core: impl os::env() in rust ref #4812 | Jeff Olson | -31/+4 | |
| 2013-03-11 | rt/core: impl os::getcwd() in rust ref #4812 | Jeff Olson | -19/+0 | |
| 2013-02-27 | rt: Make some runtime calls work outside of task context | Brian Anderson | -4/+2 | |
| 2013-02-19 | rt: fix memory-unsafe random seed logic, r=valgrindclean | Graydon Hoare | -27/+8 | |
| 2013-02-14 | reseed rust_rng after generating 32KB | Chris Peterson | -1/+2 | |
| 2013-02-14 | encapsulate isaac RNG in rust_rng struct | Chris Peterson | -14/+14 | |
| 2013-02-14 | rt: rand.rs expects rust_next() to return uint32_t, not size_t | Chris Peterson | -1/+1 | |
| 2013-02-13 | rt: Fix alignment in debug_opaque | Luqman Aden | -6/+5 | |
| 2013-02-13 | rt: take into account alignment for debug_opaque. Closes #2667 | Luqman Aden | -3/+6 | |
| 2013-02-13 | rt: get rid of rust_fn and replace with fn_env_pair plus a little cleanup. | Luqman Aden | -26/+8 | |
| 2013-02-12 | auto merge of #4900 : luqmana/rust/core_os_errors, r=graydon | bors | -44/+0 | |
| Rewrote the last pull request (#4859) to not require on llvm for core. Also fixes #2269. | ||||
| 2013-02-12 | auto merge of #4858 : z0w0/rust/rm_weak_task_count, r=graydon | bors | -4/+4 | |
