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
Marijn Haverbeke
0da1aca498
Recognize last uses for copied closed-over variables
...
And clean up and fix some bad things in last_use.rs.
Closes #1894
2012-02-29 18:06:26 +01:00
Tycho Sci
ecf87c3180
libstd: Skip trailing whitespaces after JSON value
2012-02-29 17:47:17 +09:00
Tycho Sci
0465d5217d
libstd: Skip trailing whitespaces after outer rparen
...
This makes "{ \"foo\": 1 }\n" and "[ 1 ]\n" valid json string
2012-02-29 16:24:28 +09:00
Graydon Hoare
cccb0fbf72
Un-silence one too many greps.
2012-02-28 22:39:46 -08:00
Graydon Hoare
8c337026b5
configure: correct submodule code, only reconfigure LLVM when changed.
2012-02-28 22:39:45 -08:00
Graydon Hoare
341f414220
configure: quiet some greps.
2012-02-28 22:39:44 -08:00
Graydon Hoare
1c14d36e72
configure: chmod the right artifact and cp / mv with -f to overwrite.
2012-02-28 22:39:43 -08:00
Brian Anderson
58e2083c0a
rustdoc: Parse command line opts
2012-02-28 21:36:44 -08:00
Brian Anderson
6c9527ab79
rustdoc: Add -h flag
2012-02-28 21:36:44 -08:00
Patrick Walton
362f23641a
libcore: Remove vec::to_ptr in favor of vec::unsafe::to_ptr. Closes #1829 .
2012-02-28 20:43:39 -08:00
Erick Tryzelaar
d3331bce98
rt: strings should escape chars like '\n' as '\n'
2012-02-28 18:05:25 -08:00
Erick Tryzelaar
012dec5e57
std: rewrite json.rs to fix bugs and use readers/writers
...
Our json implementation did not conform to the spec, and
was missing support for escpaed characters and exponental
numbers. This fixes it, and adds support for reading/writing
json directly from/to a stream.
There are two things left unimplemented. We could use a
"to_json" iface/impl, but that really needs traits to cut
down on code duplication. The other is it wouldn't be that
not that hard to turn this implementation into a event driven
parser like YAJL, but I ran into some type-inference bugs,
so I cut that out. It'd be nice to revisit this in the future
though.
2012-02-28 18:00:50 -08:00
Erick Tryzelaar
8cc23aab6d
expose float::pow_with_uint.
2012-02-28 18:00:50 -08:00
Erick Tryzelaar
6865df2611
core/std: whitespace fixes.
2012-02-28 18:00:50 -08:00
Erick Tryzelaar
ec51d8fd03
std: Add helpers to simplify making str io::writers
2012-02-28 18:00:50 -08:00
Erick Tryzelaar
b9948baf78
vim: add "to" as a keyword.
2012-02-28 18:00:50 -08:00
Brian Anderson
1114c7a281
Add Jeff Olson to AUTHORS.txt
2012-02-28 17:56:15 -08:00
Brian Anderson
8d617e638e
rt: Reset the stack boundary after returning from crust functions
2012-02-28 17:56:15 -08:00
Brian Anderson
b9089b5335
std: Ignore uv tests on FreeBSD
2012-02-28 17:56:15 -08:00
Jeff Olson
9831ee3e67
changing rust loop to 1 thread
2012-02-28 17:56:15 -08:00
Jeff Olson
b79b5739c9
add rust_uv_loop_delete to rustrt.def.in
2012-02-28 17:56:15 -08:00
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