Commit Graph

11228 Commits

Author SHA1 Message Date
Tim Chevalier
7eae2044b0 Discuss classes in reference manual
Still could use work, but this is the best I've got for now.
2012-07-16 10:58:12 -07:00
Michael Sullivan
6081eb78f9 Register snapshots. 2012-07-15 05:41:24 -07:00
Niko Matsakis
54cd5e1814 ~strify win32-specific fns 2012-07-14 18:28:20 -07:00
Niko Matsakis
3ef7ff8b89 infer the scope of borrows 2012-07-14 17:37:32 -07:00
Niko Matsakis
41a21f053c remove typestate from code, tests, and docs 2012-07-14 17:37:20 -07:00
Niko Matsakis
1fbb9d035d improve failure message when key is not present 2012-07-14 17:37:19 -07:00
Michael Sullivan
6822ec3eb4 Treat bare vector and string literals as fixed length vecs. Closes #2922. 2012-07-14 14:30:48 -07:00
Michael Sullivan
7b2f4755f3 Get rid of ast::ty_vstore, which was only used for fixed length. 2012-07-14 12:45:52 -07:00
Michael Sullivan
d884085f43 Tear out ty_str and ty_vec. 2012-07-14 12:19:36 -07:00
Michael Sullivan
0442fd32ee Fix problem in combine-tests.py. 2012-07-14 12:00:02 -07:00
Michael Sullivan
eb411d1b8f Make combine-tests.py work with ~str. 2012-07-14 11:33:49 -07:00
Michael Sullivan
13c377b3b5 More platform specific deprecated strings... 2012-07-14 11:05:10 -07:00
Michael Sullivan
b1dafe49af Get rid of more deprecated strs on non 64-bit linux platforms. 2012-07-14 10:27:09 -07:00
Michael Sullivan
08a4440d64 Fix a bunch of deprecated str/vec errors in code for non 64-bit linux platforms... 2012-07-14 10:05:49 -07:00
Michael Sullivan
5a7d139a38 Merge branch 'vector-reform' into incoming 2012-07-14 01:03:54 -07:00
Michael Sullivan
e2af785606 Make the new world order normative. Closes #2908. 2012-07-14 01:03:44 -07:00
Michael Sullivan
92743dc2a6 Move the world over to using the new style string literals and types. Closes #2907. 2012-07-14 01:03:43 -07:00
Michael Sullivan
5c5065e8bd Don't emit strings when the destination is ignored. 2012-07-14 00:07:24 -07:00
Ben Blum
ebb33f2c28 vim: swap 'cont' for 'again' 2012-07-14 01:30:51 -04:00
Ben Blum
0b07a46222 core.rc export dlist 2012-07-14 01:24:26 -04:00
Ben Blum
e993b838ca dlist: handle iter early break properly 2012-07-14 00:56:07 -04:00
Michael Sullivan
5821b9ea76 Register snapshots. 2012-07-13 21:08:17 -07:00
Michael Sullivan
6247a529e3 Handle prefix notations for strings in patterns. This is kind of gross. 2012-07-13 19:08:18 -07:00
Michael Sullivan
eaf8b7675e Warn on old strs 2012-07-13 17:59:59 -07:00
Lindsey Kuper
1ffc0720bb Add FIXME marking where the work on #2794 has gotten to, so far. 2012-07-13 17:46:24 -07:00
Lindsey Kuper
9aa8a84766 Make an error message more grammatical. 2012-07-13 17:46:24 -07:00
Ben Blum
1f2ee4b384 Oops, switch more TODOs to FIXMEs 2012-07-13 20:33:08 -04:00
Ben Blum
d39a33687c Switch TODOs to FIXMEs 2012-07-13 20:31:24 -04:00
Ben Blum
cd38377b1b Add asserts to check fail_sched_loop() only once 2012-07-13 20:13:53 -04:00
Ben Blum
1c0b457853 Workaround #2912: Implement existential TLS and cheat with taskgroup key 2012-07-13 20:13:53 -04:00
Ben Blum
d338879ba5 Reintroduce linked failure (killing runtime)
This reverts commit 5724c64549.
2012-07-13 20:13:53 -04:00
Ben Blum
62575d9c4a Reintroduce linked failure (rust_port locking)
This reverts commit a10f52c579.
2012-07-13 20:13:53 -04:00
Ben Blum
aad184cc57 Reintroduce linked failure (renaming runtime fns)
This reverts commit 3b159c6d5b.
2012-07-13 20:13:53 -04:00
Ben Blum
79a2e9a38a Reintroduce linked failure (lifecycle lock)
This reverts commit 08c40c5eb7.
2012-07-13 20:13:53 -04:00
Ben Blum
df2d2604ca Reintroduce linked failure
This reverts commit acb86921a6.
2012-07-13 20:13:53 -04:00
Michael Sullivan
628d3e9d38 Change (hopefully) all of the code that generates strs asts to produce ~strs. 2012-07-13 17:03:54 -07:00
Michael Sullivan
f5e69d611e Change the pretty printer to print vstores for strs in prefix notation. 2012-07-13 17:03:54 -07:00
Michael Sullivan
985b52be6d Support prefix notation for vstore strings. Closes #2906. 2012-07-13 17:03:49 -07:00
Michael Sullivan
e4de160222 Register snapshots. 2012-07-13 16:46:36 -07:00
Michael Sullivan
ad5c4ed351 Make push_str overallocate. Use it in some places that were still doing +=. 2012-07-13 16:37:27 -07:00
Eric Holk
9728d14bae Fix hang in pipe-select when RUST_THREADS=1 2012-07-13 16:03:02 -07:00
Lindsey Kuper
7bba0ae973 Change stray cont to again in a comment. 2012-07-13 15:45:24 -07:00
Lindsey Kuper
78d11b899b Clean up various bugs with trait parsing. 2012-07-13 15:31:39 -07:00
Lindsey Kuper
5a63b2100e More consistent use of backticks and "expected" in error messages.
Got some of the debug messages, here, too.  I figure it doesn't hurt
to get used to doing this even in places where users won't ever see
it.
2012-07-13 15:31:39 -07:00
Tim Chevalier
07a81ad12e Refactor how impl self types are stored
In order to avoid a confusing use of the tcache, I added an extra
node ID field to trait refs. Now trait refs have a "ref ID" (the one
that resolve3 resolves) and an "impl ID" (the one that you look up
in the tcache to get the self type).

Closes #2434
2012-07-13 14:47:04 -07:00
Tim Chevalier
ee73b78e04 Test for #2288 2012-07-13 14:45:15 -07:00
Michael Sullivan
d7f4d8d12b Actually xfail the test properly. Argh. 2012-07-13 14:05:28 -07:00
Michael Sullivan
05ff4f416b xfail a broken seeming test. 2012-07-13 13:06:39 -07:00
Graydon Hoare
cbee91916b Even simpler attempt at solving the .dSYM mess. 2012-07-13 13:04:36 -07:00
Graydon Hoare
6426f05b8f Revert "Try less complicated trick for solving the dSYM glob portability issue."
This reverts commit 86dfca278d.
2012-07-13 13:04:36 -07:00