Patrick Walton
adc1427282
libcore: Expose glues to core
2012-09-05 21:10:22 -07:00
Patrick Walton
f6d50d866a
libcore: Make to_upper() and to_lower() pure
2012-09-05 20:55:28 -07:00
Patrick Walton
d155410674
rt: Make the boxed region come earlier in the rust_task structure.
...
This is so that GC can find it more easily.
2012-09-05 20:08:00 -07:00
Tim Chevalier
2d116cbbed
Start making moves explicit in libcore
...
This is in preparation for issue 2633. Replaced implicit moves that
rely on last-use with explicit moves in char, float, and str.
2012-09-05 19:20:01 -07:00
Patrick Walton
2ba632a683
vim: Turn "pub" into a big asterisk for those who dislike the look of it.
...
This is not the default and must be turned on.
2012-09-05 18:59:01 -07:00
Tim Chevalier
3a34c96086
Add a lint pass for structural records
...
Closes #3322
2012-09-05 18:35:30 -07:00
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