Commit Graph

12423 Commits

Author SHA1 Message Date
Patrick Walton
0a852e0da0 rustc: Make "priv" work on enum variants 2012-09-05 17:24:28 -07:00
Brian Anderson
9097410b43 Fix tutorial tests 2012-09-05 17:04:51 -07:00
Graydon Hoare
0ddae5ec7d Add str::trim{_,_left_,_right_}chars. 2012-09-05 16:53:55 -07:00
Graydon Hoare
15b4734d0c Remove 'use' line that's confusing pp-exact during use/import transition. 2012-09-05 16:53:55 -07:00
Graydon Hoare
81695d85dc Mark crate metadata with a version tag. Close #3390. 2012-09-05 16:53:55 -07:00
Patrick Walton
31af60b257 rustc: Fix double-reporting of private item errors. Un-XFAIL private-item-simple.rs. 2012-09-05 16:21:53 -07:00
Brian Anderson
f7681f9236 Accept Copy, Send, Const, Owned, as kind bounds 2012-09-05 15:31:38 -07:00
Patrick Walton
e7fe903d88 libsyntax: Make "pub use" mean the same thing as the former "import" in all circumstances 2012-09-05 13:26:46 -07:00
Patrick Walton
10c533861b doc: "import" -> "use" 2012-09-05 12:39:16 -07:00
Patrick Walton
f686896f60 test: "import" -> "use" 2012-09-05 12:32:05 -07:00
Patrick Walton
47dac47e96 rustc: "import" -> "use" in .rc files 2012-09-05 11:46:25 -07:00
Patrick Walton
ba94b64698 cargo: "import" -> "use" 2012-09-05 11:39:22 -07:00
Patrick Walton
e4e9788b3a fuzzer: "import" -> "use" 2012-09-05 11:38:37 -07:00
Patrick Walton
914b6fead9 test: Fix smallintmap test 2012-09-05 11:24:44 -07:00
Patrick Walton
4e515c14af doc: Split out the FFI part of the tutorial
The tutorial should perhaps contain an FFI section, but this one is too long.
2012-09-05 11:20:04 -07:00
Patrick Walton
1c9c32782d tutorial: Remove the section on strings
It's already covered in the types section.
2012-09-05 11:07:06 -07:00
Patrick Walton
69b363e02a doc: Split macros out into a separate tutorial 2012-09-05 11:07:06 -07:00
Tim Chevalier
9db4445454 Merge pull request #3316 from Vincent-Belliard/issue_3222
fix issue #3222
2012-09-05 10:58:16 -07:00
Patrick Walton
fa2fb0f868 rustdoc: "import" -> "use" 2012-09-05 10:41:47 -07:00
Vincent Belliard
d12128f56f fix issue #3222 2012-09-05 16:38:00 +02:00
Patrick Walton
9b88b5fe38 rustc: Don't allow private fields to be named in constructors or destructured 2012-09-04 19:07:23 -07:00
Patrick Walton
fba673b26b rustc: Implement private methods.
Doesn't work cross-crate yet.
2012-09-04 18:30:27 -07:00
Brian Anderson
a618d0d7ce std: Convert test to camel case 2012-09-04 18:26:30 -07:00
Brian Anderson
9c988eb40d Whitespace 2012-09-04 17:54:20 -07:00
Brian Anderson
eb0cf3a715 std: Remove struct ctors 2012-09-04 17:27:03 -07:00
Tim Chevalier
268850f67b xfail-fast anon-extern-mod-cross-crate-2 2012-09-04 17:23:26 -07:00
Tim Chevalier
451da07718 Allow anonymous extern mods
Now you can write:

extern {
  f() -> int;
}

and f will be accessible in the enclosing scope.
2012-09-04 16:41:19 -07:00
Brian Anderson
c491bf939e std: Camel case smallintmap 2012-09-04 16:04:10 -07:00
Brian Anderson
200959d7ce Remove 'with' 2012-09-04 15:47:04 -07:00
Brian Anderson
ef880f2245 doc: Fix broken examples 2012-09-04 15:46:34 -07:00
Brian Anderson
02b1c32e4d core: Remove struct ctors 2012-09-04 15:46:33 -07:00
Brian Anderson
ab9cf45a7c syntax: Remove 'of' and 'check' from keyword table 2012-09-04 15:43:46 -07:00
Patrick Walton
8415515cbe libcore: Make as_bytes_slice() not include the null byte 2012-09-04 15:23:30 -07:00
Patrick Walton
127144bf38 rustc: Implement private fields for max/min classes 2012-09-04 14:50:46 -07:00
Brian Anderson
8182497359 std: Camel case sort 2012-09-04 14:37:47 -07:00
Brian Anderson
a04cb8ebb7 Fix broken test case 2012-09-04 14:36:21 -07:00
Brian Anderson
0684c065a9 std: Camel case treemap 2012-09-04 14:35:43 -07:00
Brian Anderson
3764fe3f2a std: Camel case list 2012-09-04 14:12:49 -07:00
Brian Anderson
d3e75ea375 Parse 'loop' and 'again' the same 2012-09-04 13:37:11 -07:00
Brian Anderson
443f79922d Merge pull request #3333 from dbp/tutorial
tutorial: adding link and reference to sublime text package.
2012-09-04 13:27:50 -07:00
Gareth Daniel Smith
92f3b74db2 Use struct+impl syntax instead of the (deprecated) struct with embedded methods syntax. Also standardise the comment indentation and add some whitespace between items. 2012-09-04 13:23:23 -07:00
Gareth Daniel Smith
c5f674ae2a fix two issues with the exports:
1. from_bytes, from_bools and from_fn were not exported but should have been.
2. lots of stuff that either didnt exist or didnt need exporting was being exported.
2012-09-04 13:23:22 -07:00
Gareth Daniel Smith
9297c76598 add additional Bitv constructors (as proposed in issue #2964) 2012-09-04 13:23:22 -07:00
Brian Anderson
f445497d6b Merge pull request #3383 from crabtw/fbsd
use native log2 function and enable freebsd tests in uv_ll
2012-09-04 12:14:09 -07:00
Patrick Walton
a26837c478 rustc: "import" -> "use" 2012-09-04 11:54:36 -07:00
Patrick Walton
8ff18acc82 libsyntax: "import" -> "use" 2012-09-04 11:43:23 -07:00
Kevin Cantu
3f92cf2659 Demode libstd/net_ip.rs 2012-09-04 11:33:23 -07:00
Kevin Cantu
d072bc09a7 Demode libstd/net_url.rs 2012-09-04 11:33:23 -07:00
Kevin Cantu
9c8b0c6006 Demode treemap.rs 2012-09-04 11:30:49 -07:00
Kevin Cantu
100368ab86 Confirm demoding of smallintmap.rs 2012-09-04 11:30:48 -07:00