Commit Graph

8474 Commits

Author SHA1 Message Date
Marijn Haverbeke 1ed12f3602 Also do normal impl method lookup for type parameters
Closes #1909
2012-02-28 16:37:24 +01:00
Marijn Haverbeke 2115cba4ee Bail out of calling tydesc glue in an unreachable context
Closes #1901
2012-02-28 16:37:24 +01:00
Niko Matsakis 1fd9abaa47 rename aux to auxiliary, since aux is apparently reserved on windows 2012-02-28 06:45:33 -08:00
Niko Matsakis 5c1338a18e add ability to run multi-crate tests, run tests with --inline 2012-02-28 06:31:29 -08:00
Niko Matsakis aa77cf3472 enumerate ids for arguments too 2012-02-28 06:31:29 -08:00
Niko Matsakis e65c39c100 add #[inline] to vec::iter 2012-02-28 06:31:29 -08:00
Niko Matsakis bceea8339a change def's that are always local to use node_id, add --inline opt 2012-02-28 06:31:28 -08:00
Niko Matsakis a1b2f34bd0 remove temp sanity check 2012-02-28 06:31:28 -08:00
Niko Matsakis 55a642c2d4 correct freevar encoding, add more debugging output 2012-02-28 06:31:28 -08:00
Niko Matsakis 8cffc6f84c add debugging mode which emits more verbose info 2012-02-28 06:31:28 -08:00
Graydon Hoare 324ecb58a7 Add libc module to libcore and utility file to help generate it. 2012-02-27 18:34:42 -08:00
Brian Anderson 61691c2428 std: Make merge_sort faster 2012-02-27 18:32:45 -08:00
Brian Anderson 9e4962a26e rustdoc: Fix bustage 2012-02-27 18:29:37 -08:00
Brian Anderson 01a1c98d09 rustdoc: Clean up pass names 2012-02-27 18:11:12 -08:00
Brian Anderson 98c31aaaff rustdoc: Time passes 2012-02-27 18:07:16 -08:00
Brian Anderson 7e9aa6c3c2 rt: Don't zero new stacks 2012-02-27 16:13:51 -08:00
Brian Anderson b3f77bf927 rt: Change the way the kernel exits to avoid pthread leaks
This makes the kernel join every scheduler thread before exiting in order to
ensure that all threads are completely terminated before the process exits. On
my machine, for 32-bit targets, this was causing regular valgrind errors.
2012-02-27 14:25:32 -08:00
Brian Anderson e4c027446e Revert "rt: Reconfigure the C stack for valgrind each time it's used"
This reverts commit 859e025652.

This ended up not fixing the '0 bytes lost' problem and has some performance
impact.
2012-02-27 14:01:36 -08:00
Brian Anderson 8fdb213eb2 rustdoc: Optimize some closures to avoid copying 2012-02-26 23:49:37 -08:00
Brian Anderson 3bfa457039 rustdoc: Rename util mod to par 2012-02-26 23:10:12 -08:00
Brian Anderson c15127fe3e rustdoc: Do all maps as util::anymap 2012-02-26 23:07:03 -08:00
Brian Anderson a11638f0d9 rustdoc: Remove some unused exports 2012-02-26 22:58:53 -08:00
Brian Anderson 0f054dfaee rustdoc: Add parallel folds for native mods 2012-02-26 22:58:24 -08:00
Brian Anderson ac34cf96ad rustdoc: Use default_any_fold in some tests 2012-02-26 22:55:05 -08:00
Brian Anderson 59d6ec8bd9 rustdoc: Refactor some of the map code 2012-02-26 22:43:08 -08:00
Brian Anderson 4675f86084 rustdoc: Do less copying in util::parmap 2012-02-26 22:08:52 -08:00
Brian Anderson 222cfbec64 rustdoc: Add command line option parsing and a config record 2012-02-26 18:15:10 -08:00
Brian Anderson 21650d0212 rt: Remove unused forward declaration of rust_realloc_shared 2012-02-26 16:43:42 -08:00
Brian Anderson 7d1e36a315 rt: Remove ptr_vec. Unused 2012-02-26 16:24:37 -08:00
Brian Anderson 4d03e4b711 rt: Remove smart_ptr. Unused 2012-02-26 16:23:37 -08:00
Tim Chevalier c28c258f91 Disallow type parameters in the main() function
Closes #1900
2012-02-25 11:06:01 -08:00
Niko Matsakis 13781f3d8d retool serializer to be built by stage0 rustc 2012-02-24 21:14:34 -08:00
Niko Matsakis 274c9708f0 Test for #1374 2012-02-24 21:14:31 -08:00
Niko Matsakis 5ee89f3f2a add an option to the final cc so that it prints out/logs unreclaimed ptrs 2012-02-24 20:46:27 -08:00
Niko Matsakis acb129c541 Add temp cleanups for copy/move mode args when other args fail. Fixes #1374 2012-02-24 20:46:27 -08:00
Niko Matsakis f3ca50c9ca Encode/decode AST into metadata, re-instantiate inlined items 2012-02-24 20:46:27 -08:00
Niko Matsakis be9914625b allow snapshot to be specified in make command line 2012-02-24 20:46:27 -08:00
Jesse Ruderman 8e4c5d2d4d Start next_id at 1 to make the compiler happy 2012-02-24 20:25:54 -08:00
Jesse Ruderman e5521aa03e AST fuzzer: remove ignores for fixed issues; update issue URLs 2012-02-24 19:52:56 -08:00
Jesse Ruderman f455dc1976 Improve the cycle-collector fuzzer 2012-02-24 19:26:42 -08:00
Graydon Hoare c00a7b08eb Register new snapshots. 2012-02-24 18:43:22 -08:00
Graydon Hoare 5b4da3c5e1 Correct install.mk to use CFG_LIBDIR for correct install paths on windows. 2012-02-24 18:29:44 -08:00
Brian Anderson 16d290d10c rustdoc: Reexport native functions 2012-02-24 15:59:34 -08:00
Brian Anderson 396540f19d rustdoc: Don't prune reexports 2012-02-24 15:43:57 -08:00
Brian Anderson 9b009ea23d rustdoc: Fix some remaining bugs around native mods 2012-02-24 15:22:57 -08:00
Brian Anderson 6e31983179 rustdoc: Sort native mods 2012-02-24 15:15:27 -08:00
Brian Anderson 5a86313387 rustdoc: Write markdown for native mods and fns 2012-02-24 15:07:08 -08:00
Brian Anderson 16010058a6 rustdoc: Add types for native functions 2012-02-24 15:06:58 -08:00
Brian Anderson 2576a3c2c9 rustdoc: Extract attribute docs from native stuffs 2012-02-24 14:22:13 -08:00
Brian Anderson f053f06973 rustdoc: Record paths to native functions 2012-02-24 14:08:47 -08:00