Commit Graph

8656 Commits

Author SHA1 Message Date
Brian Anderson ed7d25bb6d rt: Checking port_table.is_empty() requires a lock 2012-03-02 17:10:14 -08:00
Brian Anderson 04d9cc18a5 rt: Protect rust_task::supervisor with a lock 2012-03-02 16:33:33 -08:00
Brian Anderson f4ce965ce7 rt: Port ref counts are protected by the task lock. Ick. 2012-03-02 16:33:33 -08:00
Brian Anderson 3d991bac6c rustdoc: Whitespace 2012-03-02 16:27:31 -08:00
Brian Anderson 87b9d67b66 rustdoc: Write indexes in output 2012-03-02 16:20:53 -08:00
Brian Anderson 3ed6f6520f core: Remove _mut functions from vec
Instead, use vec::to_mut/from_mut to transform vectors in place as
needed.
2012-03-02 15:49:49 -08:00
Graydon Hoare 47e7a05a28 Add some utf16 routines for OS API interop. 2012-03-02 15:47:40 -08:00
Brian Anderson 14306756b4 rt: Always delete task stacks on the task thread
There's not a real race here, but it makes helgrind happy and is arguably
less prone to future errrors.
2012-03-02 15:21:59 -08:00
Brian Anderson 9ec94f714a etc: Add more lock_and_signal helgrind suppressions 2012-03-02 15:21:48 -08:00
Brian Anderson 3d67939c41 rustdoc: Begin constructing indexes 2012-03-02 15:17:27 -08:00
Brian Anderson 3923c8ee89 etc: Add helgrind suppression for lock_held_by_current_thread 2012-03-02 14:08:02 -08:00
Brian Anderson 8a32f8efe5 build: Add --enable-helgrind option 2012-03-02 14:08:02 -08:00
Brian Anderson a04127d291 test: xfail-fast the cci tests 2012-03-02 13:46:42 -08:00
Brian Anderson 78bfdb11c8 Revert "rust: xfail-fast run-pass/cci_no_inline_exe"
This reverts commit 95099cddcf.
2012-03-02 13:46:02 -08:00
Brian Anderson 09f191f3a7 Revert "test: xfail-fast run-pass/cci_iter.exe"
This reverts commit c0a5e21b29.
2012-03-02 13:45:18 -08:00
Brian Anderson 95099cddcf rust: xfail-fast run-pass/cci_no_inline_exe 2012-03-02 13:44:40 -08:00
Brian Anderson c0a5e21b29 test: xfail-fast run-pass/cci_iter.exe 2012-03-02 13:36:11 -08:00
Brian Anderson fd12459d94 test: xfail-fast run-pass/cci_impl_exe 2012-03-02 13:23:55 -08:00
Brian Anderson 77fc4e7ee7 std: vec::to_ptr -> vec::unsafe::to_ptr 2012-03-02 12:29:40 -08:00
Niko Matsakis d3a0f7e9fc emit mthd data if marked inline 2012-03-02 06:47:25 -08:00
Niko Matsakis 6473a87cec restructure to better support method inlining 2012-03-02 06:47:25 -08:00
Niko Matsakis def72bda47 retool inline encoding to handle methods, fix tests 2012-03-02 06:47:25 -08:00
Niko Matsakis 12c68bcd6d make sure we do not bind unique closures (or blocks, for that matter) 2012-03-02 06:47:25 -08:00
Brian Anderson 8478349b8b rustdoc: Remove some debug logging 2012-03-02 02:12:12 -08:00
Brian Anderson 96f565492d rt: Make fields of rust_task_thread private where possible 2012-03-01 21:41:11 -08:00
Brian Anderson b6c57dbba2 rt: rust_task_thread isn't ref counted 2012-03-01 21:19:12 -08:00
Brian Anderson 084a699a7a rt: Remove vec_append.ll
This looks like just a random snippet of llasm.
2012-03-01 18:20:40 -08:00
Brian Anderson 4056082833 rustdoc: Extract markdown header logic. Needed for indexing 2012-03-01 18:13:22 -08:00
Brian Anderson 4991943f4e rustdoc: Stop having pandoc write the TOC
We will generate them ourselves
2012-03-01 17:29:53 -08:00
Brian Anderson 3cd8c57a54 rustdoc: Add index records to the doc tree 2012-03-01 16:34:09 -08:00
Brian Anderson 5df44bd066 rt: Remove rust_kernel::live_tasks. Unused 2012-03-01 14:53:20 -08:00
Brian Anderson 3cec2d6954 rustdoc: Teach rustdoc to run pandoc 2012-03-01 14:21:25 -08:00
Tim Chevalier 42799a5faf Ignore temp files 2012-03-01 13:58:17 -08:00
Tim Chevalier 48c763c098 Use the correct prestate for calls
The prestate for calls was getting set incorrectly to the poststate for the operator
in the call. This worked before since most of the time, operator expressions are
pure. Issue 1895 shows how this breaks when the operator is a closure that has a
move-in capture clause.

(I had a several-day, multi-file patch for this that didn't work... and then it
turned out to be a one-line fix. The joys of programming.)

Closes #1895
2012-03-01 09:16:26 -08:00
Marijn Haverbeke 03984561d4 Make sure resource item types get written by typechecker
Closes #1916
2012-03-01 17:50:08 +01:00
Marijn Haverbeke 072b015515 Add test case for #1894 2012-03-01 10:11:28 +01:00
Brian Anderson 1471b1f3ff std: DeCamelCase fs::splitDirnameBasename 2012-02-29 23:45:51 -08:00
Brian Anderson 9208684e74 rustdoc: Extract markdown_writer from markdown_pass 2012-02-29 23:45:51 -08:00
Brian Anderson 516f87f860 rustdoc: Write markdown to a file instead of stdout 2012-02-29 23:45:51 -08:00
Brian Anderson ad82a031f2 rustdoc: Use unique types for writing markdown output
No shared types allowed.
2012-02-29 23:45:51 -08:00
Brian Anderson 81a0745361 etc: Remove rustdoc script 2012-02-29 23:45:51 -08:00
Brian Anderson 2ac6dbc9ba rustdoc: Refactor markdown_pass 2012-02-29 23:45:51 -08:00
Niko Matsakis 2dd5b3ace6 optionally enforce local variable mutability 2012-02-29 19:31:15 -08:00
Brian Anderson 99f231f347 core: Change a number of arguments in vec to const vecs 2012-02-29 18:13:29 -08:00
Niko Matsakis 4132cbd22a un-xfail test, remove old comment 2012-02-29 12:49:15 -08:00
Niko Matsakis ed952ecf68 report the type of the method as the fty, not the type of the expression
using the type of the expression causes us to lose information
about when the method was declaring with a generic signature, which
leads to producing incorrect code, particularly in the case of returning
unit types (which would then get an undefined output ptr)
2012-02-29 11:54:48 -08:00
Niko Matsakis 7d0958f70f add the ability to snag the frame so we can verify that we are inlining 2012-02-29 11:54:47 -08:00
Erick Tryzelaar 3d104cfb41 Merge pull request #1912 from tychosci/json-newline-after-outer-rparen
libstd: Skip trailing whitespaces after outer rparen
2012-02-29 10:53:28 -08:00
Marijn Haverbeke 4be92670a4 Delete-trailing-whitespace 2012-02-29 19:07:23 +01:00
Marijn Haverbeke c3ae72d60b Actually use last_use info on closed over var in kind.rs
Issue ##1894
2012-02-29 18:53:30 +01:00