Commit Graph

8725 Commits

Author SHA1 Message Date
Tim Chevalier
e2fa6f03f5 Translate simple classes
Programs using classes with fields only (no methods) compile and run,
    as long as nothing refers to a class in a different crate (todo).

    Also changed the AST representation of classes to have a separate
    record for constructor info (instead of inlining the fields in the
    item_class node), and fixed up spans and pretty-printing for
    classes.
2012-03-04 12:43:17 -08:00
Brian Anderson
1d826b735c rustdoc: Build appropriate filenames for pages 2012-03-04 00:23:54 -08:00
Brian Anderson
0e3cee747a rustdoc: Convert markdown writer to a writer_factory 2012-03-03 23:56:38 -08:00
Brian Anderson
0b2ffa854f rustdoc: Simplify the markdown_pass interface a bit 2012-03-03 23:20:40 -08:00
Brian Anderson
2cdb662022 rustdoc: Remove some bogus error handling around process spawning 2012-03-03 22:09:31 -08:00
Brian Anderson
f8742b476f rustdoc: Introduce the concept of a 'page' 2012-03-03 21:56:17 -08:00
Tim Chevalier
481d27a65d Update paths in gen-astencode 2012-03-03 17:49:15 -08:00
Brian Anderson
2d7750bc30 core: Fix os::load_self types on FreeBSD 2012-03-02 22:43:56 -08:00
Brian Anderson
38b2b74413 rt: Move RUST_POISON_ON_FREE into rust_env 2012-03-02 20:13:52 -08:00
Erick Tryzelaar
6b0c4822c1 std: add a fs::remove_file function. 2012-03-02 19:15:36 -08:00
Erick Tryzelaar
3cb2cd1f71 comp/fuzzer: rewrite to use io::with_str_reader. 2012-03-02 19:15:35 -08:00
Erick Tryzelaar
f630ebdb6a comp/std: rename io::string_reader to io::str_reader. 2012-03-02 19:15:35 -08:00
Erick Tryzelaar
1404a864a4 std: add a io::with_str_reader fn to remove a str copy 2012-03-02 19:15:34 -08:00
Graydon Hoare
5812bebf87 Sadly, vec::init_elt_mut vanished since last (rushed) rebase. 2012-03-02 18:53:06 -08:00
Graydon Hoare
dafd649806 First cut at consolidated core::os module built on core::libc. 2012-03-02 18:46:13 -08:00
Graydon Hoare
87c14f1e3d Move src/comp to src/rustc 2012-03-02 18:46:13 -08:00
Graydon Hoare
9228947fe1 Avoid hitting unicode lib per char. 2012-03-02 18:45:43 -08:00
Brian Anderson
fdc5b53c6e etc: Add helgrind suppressions for random locking order in rust_port_selector 2012-03-02 17:59:12 -08:00
Brian Anderson
c76739072c etc: Add some helgrind suppressions for uv 2012-03-02 17:22:31 -08:00
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