Commit graph

8485 commits

Author SHA1 Message Date
Jeff Olson
b4c88cdcec add uv::loop_delete()
because of the last change, the loop ptr is no longer cleaned up
when the loop exits. This api call addresses that. Sadly, the loop
ptr is not "reusable" across multiple calls to uv::run().
2012-02-28 17:56:15 -08:00
Jeff Olson
0b3a06ab2c correcting for libuv behavior that differs between linux & windows
net complexity increase :/
2012-02-28 17:56:15 -08:00
Jeff Olson
d461637cc5 missing build file update for parent commit 2012-02-28 17:56:15 -08:00
Jeff Olson
bb5960aa57 moving new uv stuff into uv.rs and rust_uv.cpp
- removing the remains of uvtmp.rs and rust_uvtmp.rs
- removing the displaced, low-level libuv bindings
in uv.rs and rust_uv.cpp
2012-02-28 17:56:15 -08:00
Jeff Olson
cf08ed6458 fzzzy's patch for rustrt.def.in
adds new c/c++ methods bound in rust for uvtmp::uv
2012-02-28 17:56:15 -08:00
Jeff Olson
828595151c trailing whitespace fixes 2012-02-28 17:56:15 -08:00
Jeff Olson
1d3e08d8c6 finishing up simple uv_timer impl
as it stands, basic async nad timer support is added
2012-02-28 17:56:15 -08:00
Jeff Olson
b68eb507da cleaning up uv_async stuff and stubbing uv_timer 2012-02-28 17:56:14 -08:00
Jeff Olson
974c23cbeb removed hello world and added uv_async_* 2012-02-28 17:56:14 -08:00
Jeff Olson
ffad8d7f0c everything is laid out and working through a basic hw
the core impl is there, with a async handle in place
to take incoming operations from user code. No actual
uv handle/operations are implemented yet, though.
2012-02-28 17:56:14 -08:00
Graydon Hoare
418c6bcec3 Only modify Makefile and config.mk if they change during configure. 2012-02-28 12:08:26 -08:00
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