| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-04-15 | rt: Move test functions to rust_test_helpers.cpp | Brian Anderson | -86/+105 | |
| 2013-04-14 | add rust_dbg_extern_identity_TwoDoubles to prevent check-fast failure | Jyun-Yan You | -0/+11 | |
| 2013-04-10 | add unwind information on morestack | ILyoan | -14/+19 | |
| 2013-04-10 | rust morestack assembly for arm | ILyoan | -42/+60 | |
| Conflicts: src/rt/arch/arm/morestack.S | ||||
| 2013-04-05 | Fix various warnings, NOTEs, etc | Niko Matsakis | -1/+1 | |
| 2013-04-04 | fix mac build and comment on stack size check | Jyun-Yan You | -0/+3 | |
| 2013-04-04 | rt: improve mips backend | Jyun-Yan You | -11/+25 | |
| 2013-04-01 | rt/arch/arm: fix syntax used for noexec stack | Daniel Micay | -4/+4 | |
| 2013-03-31 | mark the assembly object stacks as non-executable | Daniel Micay | -19/+91 | |
| Closes #5643 This also removes the need to pass noexecstack to gcc, but that wasn't actually working anymore. | ||||
| 2013-03-25 | auto merge of #5409 : brson/rust/rt, r=brson | bors | -15/+100 | |
| r? There are a lot of commits here, but not all that much substance. Mostly just refactoring. I started sketching out the beginnings of a very simple I/O API in `core::rt::io` that represents I/O streams as a single `Stream` trait instead of `Reader` / `Writer` pairs. This seems to be the more common pattern (at least this is how the .NET BCL does it) and it seems to me that separate readers and writers would make duplex streams very awkward. Regardless, I don't intend to go very far down the I/O API design road without some mailing list discussion. I've also started on the uv bindings for file I/O but haven't gotten very far. Also hooked up the new scheduler to `rust_start` and the compiletest driver. 70% of run-pass test cases already pass, but I wouldn't read too much into that. I also split the direct, low-level uv bindings in two so that the scheduler can have its own set, leaving `std::net` on its own. | ||||
| 2013-03-25 | Merge remote-tracking branch 'brson/rt' | Brian Anderson | -15/+100 | |
| Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs | ||||
| 2013-03-25 | auto merge of #5424 : luqmana/rust/inline-rt, r=brson | bors | -124/+217 | |
| As per #2521. Inlining seems to improve performance slightly: Inlined Not Inlined x86: 13.5482 14.4112 x86_64: 17.4712 18.0696 (Average of 5 runs timed with `time`) ```Rust fn foo() -> int { int::from_str(~"28098").unwrap() } fn main() { for 1000000.times { foo(); foo(); foo(); foo(); foo(); } } ``` All run on: Linux 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.35-2~bpo60+1 x86_64 GNU/Linux The MIPS and ARM bits I didn't inline since I'm not as familiar with them and I also can't test them. All green on try. | ||||
| 2013-03-21 | rt: Increase C_STACK_SIZE to 2MB to get JIT/rusti working again (dlopen ↵ | Zack Corr | -1/+1 | |
| segfaults) | ||||
| 2013-03-19 | Rewrite arm/ccall.s | ILyoan | -15/+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 | -15/+34 | |
| TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in | ||||
| 2013-03-18 | core: Simplify uvll bindings and strip out currently-unused bits | Brian Anderson | -0/+57 | |
| No more mapping uv structs to Rust structs | ||||
| 2013-03-18 | rt: Inline get_sp_limit/set_sp_limit/get_sp for x86. | Luqman Aden | -63/+45 | |
| 2013-03-17 | rt: Inline get_sp_limit/set_sp_limit/get_sp for x86_64. | Luqman Aden | -64/+175 | |
| 2013-03-17 | rt: don't save and restore xmm/regs in __morestack. | Luqman Aden | -19/+3 | |
| 2013-03-16 | rt: Add RUST_DEBUG_MEM to rust_env to avoid races | Brian Anderson | -2/+14 | |
| 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 | -7/+44 | |
| 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/+29 | |
| 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 | -28/+69 | |
| 2013-03-11 | rt/core: port os::list_dir to rust ref #4812 | Jeff Olson | -70/+33 | |
| 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 | -21/+0 | |
| 2013-03-06 | Merge remote-tracking branch 'brson/cross7' | Brian Anderson | -2/+19 | |
| Conflicts: configure mk/rt.mk | ||||
| 2013-03-05 | mk: --android-cross-path to rustc | Young-il Choi | -2/+7 | |
| 2013-03-03 | rt: fix some bugs for MIPS target | Jyun-Yan You | -2/+23 | |
| 2013-03-03 | rt: MIPS32 support | Jyun-Yan You | -0/+319 | |
| 2013-03-02 | librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵ | Patrick Walton | -1/+1 | |
| rustdoc, and rt. rs=defun | ||||
| 2013-03-01 | auto merge of #5162 : brson/rust/fixmes, r=brson | bors | -1/+1 | |
| 2013-02-28 | rt: Comment out an assert in rust_kernel. #4711 | Brian Anderson | -2/+5 | |
| 2013-02-27 | Convert NOTEs to FIXMEs | Brian Anderson | -1/+1 | |
| 2013-02-27 | rt: Make some runtime calls work outside of task context | Brian Anderson | -8/+12 | |
| 2013-02-27 | mk: rewrite make files | Young-il Choi | -0/+12 | |
| 2013-02-21 | Put unique allocs in managed heap when they might contain managed boxes. | Graydon Hoare | -2/+4 | |
| 2013-02-19 | rt: remove export of symbol removed in last commit, r=burningtree | Graydon Hoare | -1/+0 | |
| 2013-02-19 | rt: fix memory-unsafe random seed logic, r=valgrindclean | Graydon Hoare | -49/+37 | |
| 2013-02-16 | rm unused reserve_vec from rt (done in libcore) | Daniel Micay | -19/+0 | |
| 2013-02-15 | rm unused hash table from the runtime | Daniel Micay | -1256/+0 | |
| 2013-02-14 | don't deplete RNG entropy when there is only one runnable task | Chris Peterson | -4/+4 | |
| 2013-02-14 | reseed rust_rng after generating 32KB | Chris Peterson | -5/+31 | |
| 2013-02-14 | encapsulate isaac RNG in rust_rng struct | Chris Peterson | -23/+37 | |
| 2013-02-14 | move isaac RNG utility functions to new rust_rng.cpp file | Chris Peterson | -60/+116 | |
| 2013-02-14 | rt: rand.rs expects rust_next() to return uint32_t, not size_t | Chris Peterson | -1/+1 | |
| 2013-02-14 | auto merge of #4938 : thestinger/rust/no_zero, r=brson | bors | -36/+8 | |
| I removed the unused wrappers methods named `calloc` because they relied on the malloc wrapper having a `bool zero = true` default parameter (which resulted in some accidental zeroing). Perhaps wrapping the actual calloc function would be useful, but I don't know of an existing use case that could use it so I just removed these. This gives an ~1% performance improvement for TreeMap, which does a lot of small allocations. Vectors use `realloc` which didn't zero before these changes so there's no measurable change in performance. | ||||
