Commit Graph

13306 Commits

Author SHA1 Message Date
Brian Anderson
2a41abb9ef Work on the tutorial section on 'do' 2012-10-07 01:52:06 -07:00
Brian Anderson
07fb35227b Tutorial 2012-10-07 01:06:07 -07:00
Brian Anderson
f0c4140dd0 More tutorial tweaking 2012-10-06 22:57:40 -07:00
Brian Anderson
c6330036a4 'The' Rust Language Tutorial 2012-10-06 22:47:26 -07:00
Brian Anderson
b6443519c8 Remove some redundant info from tutorial 2012-10-06 22:45:48 -07:00
Brian Anderson
fe5526f49c docs: Fix capitalization of section title 2012-10-06 22:40:12 -07:00
Brian Anderson
89f30614c6 Add Jacob Harris Cryer Kragh to AUTHORS.txt 2012-10-06 22:35:47 -07:00
Brian Anderson
ba26dc50ce docs: Remove more uses of records 2012-10-06 22:35:08 -07:00
Jacob Harris Cryer Kragh
0b2ffa5692 tutorial: Add missing struct name 2012-10-06 22:33:09 -07:00
Brian Anderson
d5d7741247 Overhaul mods and crates section of tutorial 2012-10-06 22:24:15 -07:00
Brian Anderson
f5c95de212 docs: Edit the into bullets 2012-10-06 20:23:38 -07:00
Brian Anderson
035cfcbe72 docs: Clean up trait and module examples 2012-10-06 15:48:06 -07:00
Tim Chevalier
f96a2a2ca1 Remove by-mutable-ref mode from the compiler
and test cases. Closes #3513
2012-10-05 22:45:50 -07:00
Tim Chevalier
05999290e2 Finally removing all uses of by-mut-ref
The code for the mode itself is still there.
2012-10-05 21:03:40 -07:00
Tim Chevalier
688a920045 Register snapshots 2012-10-05 21:02:56 -07:00
Brian Anderson
e90425999e docs: Remove some 'extern mod std's from tutorial 2012-10-05 19:51:59 -07:00
Brian Anderson
95d9c8699c docs: Simplify a tutorial example 2012-10-05 19:51:59 -07:00
Tim Chevalier
28c45601b2 De-mode mysterious unused functions in middle::trans::shape (see comment) 2012-10-05 19:24:04 -07:00
Graydon Hoare
0dd4b42a00 Fix nits in logging section. 2012-10-05 19:06:25 -07:00
Graydon Hoare
2f50607d88 Reword memory-ownership section. 2012-10-05 19:06:25 -07:00
Graydon Hoare
df98cb8e88 Replace box types section with pointer types section. 2012-10-05 19:06:24 -07:00
Graydon Hoare
e513bc9875 Minor reformatting. 2012-10-05 19:06:23 -07:00
Graydon Hoare
5947141aef Add section on unsafe functions, reword explanation on unsafe-overriding-purity. 2012-10-05 19:06:22 -07:00
Graydon Hoare
cb4c747e9f Add section on lvals, rvals and temps. 2012-10-05 19:06:21 -07:00
Graydon Hoare
6c2c694725 Rewrite the communication-between-tasks section completely. 2012-10-05 19:06:20 -07:00
Graydon Hoare
46371e1076 Remove port/chan-specific lifecycle terminology. 2012-10-05 19:06:20 -07:00
Patrick Walton
b80b0688d5 rustc: Add a new method_self method call origin. Part of default methods. 2012-10-05 18:53:04 -07:00
Brian Anderson
02c33f8d31 doc: Strings are vectors of u8, not [u8] 2012-10-05 18:42:48 -07:00
Brian Anderson
3077a2bfaf docs: Add a section on pointer dereferencing 2012-10-05 18:39:09 -07:00
Patrick Walton
38aab8e400 rustc: Thread a self type through trans_impl; fix cross-crate trait issue 2012-10-05 17:49:13 -07:00
Patrick Walton
d8287f0e41 rustc: Translate default methods on traits for each impl in which they're used instead of once.
This is a step on the way to default methods.
2012-10-05 17:31:46 -07:00
Andrew Paseltiner
84bc74e54a update Kate syntax file with latest keywords and types 2012-10-05 20:28:26 -04:00
Patrick Walton
937f8f4067 test: XFAIL trait-inheritance-simple because of suspected 32-bit brokenness 2012-10-05 17:18:52 -07:00
Tim Chevalier
45345bda6a Remove uses of mutable ref mode.
It's still in the compiler right now, but warned about
2012-10-05 16:57:37 -07:00
Patrick Walton
04497ea7b9 rustc: Implement simple uses of &trait 2012-10-05 16:57:13 -07:00
Tim Chevalier
f8bc0d2545 Revert "wip"
This reverts commit ca49fd402a.
2012-10-05 16:10:08 -07:00
Tim Chevalier
ca49fd402a wip 2012-10-05 15:39:12 -07:00
Tim Chevalier
e16dbb7888 Demode some code using by-mutbl-ref; warn about by-mutbl-ref
The parser now warns about use of mutbl-ref mode, though it's kind
of a lie since this commit doesn't remove support for the mode.

Changed move_val_init to have stage0 and stage1/2 versions, the latter of
which is demoded.

Changed the type that the typechecker expects the move_val_init
intrinsic to have. After this is pushed, I can make a new snapshot,
which will remove the need for the stage0 versions.
2012-10-05 15:37:01 -07:00
Brian Anderson
e3cb70fa8a Add Yasuhiro Fujii to AUTHORS.txt 2012-10-05 12:42:41 -07:00
Yasuhiro Fujii
cc51b6b576 fix escape 2012-10-05 12:41:00 -07:00
Brian Anderson
016875b1b1 std: Silence remaining warnings 2012-10-05 11:59:51 -07:00
Brian Anderson
e46e97fc9a Silence most of the remaining warnings 2012-10-05 11:53:24 -07:00
Patrick Walton
1b732145ec rustc: Implement simple trait inheritance.
Generic trait inheritance, cross-crate trait inheritance, and vtable-based
trait inheritance don't work yet.
2012-10-05 11:52:08 -07:00
Brian Anderson
c56a7e5c25 Reorder the submodule ops in configure 2012-10-05 11:32:28 -07:00
Erick Tryzelaar
2d903abeab configure should recursively sync submodules 2012-10-05 11:32:28 -07:00
Brian Anderson
f8179b6d4d Hack around llvm 14013 2012-10-05 11:32:28 -07:00
Brian Anderson
ba75a3e14c std: Revert demoding of uv_ll. It can't be done without FFI changes 2012-10-05 11:32:00 -07:00
Brian Anderson
8574766033 Update src/README.txt 2012-10-05 04:18:11 -06:00
Brian Anderson
2f6f0b55fc core: Correct description of cast::forget
'managed' means something different now
2012-10-05 01:59:37 -06:00
Brian Anderson
8b56287d60 docs: Fix example 2012-10-04 20:13:50 -07:00