Commit Graph

8531 Commits

Author SHA1 Message Date
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
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