| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-09-16 | rt: Rename rust_box to rust_box_legacy, as they're about to become ↵ | Patrick Walton | -6/+7 | |
| self-describing | ||||
| 2011-09-11 | Remove hack_allow_leaks | Brian Anderson | -7/+0 | |
| Happy to close the loop on this one. Issue #236 | ||||
| 2011-09-09 | Get rid of some unused upcalls | Marijn Haverbeke | -3/+1 | |
| I guess these became obsolete when the communication stuff moved into the stdlib. | ||||
| 2011-09-07 | Rewrite spawn yet again | Brian Anderson | -9/+15 | |
| The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236 | ||||
| 2011-09-02 | Add a rust_str typedef to the runtime. Issue #855 | Brian Anderson | -8/+8 | |
| 2011-09-02 | Rename istr-stuff to str in the runtime. Issue #855 | Brian Anderson | -5/+5 | |
| 2011-09-02 | Eliminate const_refcount. Issue #855 | Brian Anderson | -6/+1 | |
| 2011-09-02 | Remove estrs and evecs from runtime. Issue #855 | Brian Anderson | -72/+3 | |
| 2011-09-01 | Convert rust_list_files to istrs. Issue #855 | Brian Anderson | -20/+21 | |
| 2011-09-01 | Convert rust_getcwd to istrs. Issue #855 | Brian Anderson | -13/+2 | |
| 2011-09-01 | Convert rust_file_is_dir from estrs to cstrs. Issue #855 | Brian Anderson | -2/+2 | |
| 2011-09-01 | Check error code in rust_file_is_dir. Prevent comparison of uninitialized mem | Brian Anderson | -1/+3 | |
| 2011-09-01 | Remove a bunch of string builtins. Issue #855 | Brian Anderson | -82/+0 | |
| 2011-08-31 | Expose STDERR to rust. | Erick Tryzelaar | -0/+1 | |
| 2011-08-29 | Make std::istr::push_byte efficient | Marijn Haverbeke | -0/+9 | |
| It used to allocate two (!) heap values per pushed byte. It now goes through a runtime function that simply grows the istr and writes the byte. | ||||
| 2011-08-29 | Factor vector reserve code in runtime into its own function | Marijn Haverbeke | -7/+1 | |
| 2011-08-29 | Implement non-internal ivecs | Marijn Haverbeke | -177/+45 | |
| Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later. | ||||
| 2011-08-19 | rt: Remove rustboot's GC infrastructure | Patrick Walton | -1/+1 | |
| 2011-08-18 | Rename rust_vec to rust_evec | Brian Anderson | -5/+5 | |
| 2011-08-17 | Making more of the rust_task structure directly accessible from Rust. | Eric Holk | -17/+3 | |
| 2011-08-16 | Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵ | Eric Holk | -5/+0 | |
| new chan and port system, started on a networking module for the standard library. | ||||
| 2011-08-15 | Properly ref counting to fix valgrind issues on linux. | Eric Holk | -2/+17 | |
| 2011-08-15 | Fixed memory accounting and task stack creation bugs. | Eric Holk | -3/+18 | |
| 2011-08-15 | Working on more spawn test cases. | Eric Holk | -2/+10 | |
| 2011-08-15 | Added a library version of spawn. Before long, we can remove the old version. | Eric Holk | -0/+31 | |
| 2011-08-15 | Port ID-based channels. | Eric Holk | -0/+23 | |
| 2011-08-12 | Rename rust_list_files_ivec to rust_list_files | Brian Anderson | -1/+1 | |
| 2011-08-12 | Remove rust_list_files from std and rt | Brian Anderson | -25/+0 | |
| 2011-08-12 | Remove runtime vector builtins | Brian Anderson | -84/+0 | |
| 2011-08-12 | Remove str_from_vec runtime function | Brian Anderson | -17/+0 | |
| 2011-08-12 | Remove vec version of str::bytes, rename bytes_ivec to str::bytes | Brian Anderson | -26/+0 | |
| 2011-08-08 | Introduced task handles. | unknown | -1/+4 | |
| This is the new way to refer to tasks in rust-land. Currently all they do is serve as a key to look up the old rust_task structure. Ideally they won't be ref counted, but baby steps. | ||||
| 2011-08-08 | Converted the rest of the task-comm-* tests over. Also fixed some | Eric Holk | -1/+1 | |
| channel lifecycle bugs. | ||||
| 2011-08-05 | Atomic ref counting for chans. | Eric Holk | -1/+6 | |
| 2011-08-01 | Added send and receive to comm library. | Eric Holk | -0/+30 | |
| 2011-08-01 | Objectified library chans and ports. | Eric Holk | -1/+0 | |
| 2011-08-01 | Started working on a library-based comm system. Creating and deleting ports ↵ | Eric Holk | -0/+47 | |
| work. | ||||
| 2011-07-29 | Add sched_threads rt function to get the number of scheduler threads | Brian Anderson | -0/+5 | |
| 2011-07-28 | Do all runtime calls to getenv at initialization | Brian Anderson | -2/+2 | |
| getenv is not threadsafe and (maybe as a result) it's randomly crashing with CFLAGS=-g and RUST_THREADS=32. Calls from rust code are still on their own. | ||||
| 2011-07-28 | Adding a function to stdlib to set the min stack size, for programs | Eric Holk | -0/+7 | |
| that absolutely will not succeed with a large default stack. This should be removed once we have stack grown working. Also updated word-count to succeed under the new test framework. | ||||
| 2011-07-27 | More thorough check for interior-ness in str_from_ivec | Marijn Haverbeke | -2/+3 | |
| Closes #750 | ||||
| 2011-07-22 | More work on word-count. | Eric Holk | -0/+5 | |
| Updated the MapReduce protocol so that it's correct more often. It's still not perfect, but the bugs repro less often now. Also found a race condition in channel sending. The problem is that send and receive both need to refer to the _unread field in circular_buffer. For now I just grabbed the port lock to send. We can probably get around this by using atomics instead. | ||||
| 2011-07-21 | Lots of work on memory tracking and channels. | Eric Holk | -19/+18 | |
| We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking. | ||||
| 2011-07-20 | Add a huge hack to allow the test runner to continue if a single task leaks | Brian Anderson | -0/+7 | |
| This is just until unwinding works. Adds a flag to the runtime to turn the memory leak checks on task destruction into warnings instead of fatal errors. I am so sorry. Issue #428 | ||||
| 2011-07-19 | Fix calculation of sizeof boxed ivec of str in rt. Closes #712 | Brian Anderson | -1/+5 | |
| 2011-07-17 | Revert "Add setenv to standard library" | Brian Anderson | -14/+0 | |
| This reverts commit 6fb168b3dbd733f6fccebd01c2e5416f800a5566. | ||||
| 2011-07-17 | Add setenv to standard library | Brian Anderson | -0/+14 | |
| 2011-07-15 | Remove task_unsupervise from rt builtin functions | Brian Anderson | -5/+0 | |
| This was an exact duplicate of the unsupervise function | ||||
| 2011-07-15 | Modify task::join to indicate how the task terminated | Brian Anderson | -1/+6 | |
| This involves sticking yet another field into the task structure | ||||
| 2011-07-14 | Add an unsupervise builtin and function to std::task | Brian Anderson | -0/+5 | |
| Calling task::unsupervise de-parents the current task, with the result that failures do not propogate up the task tree. | ||||
