Brian Anderson
2810ea9a68
Convert 'again' to 'loop'. Remove 'again' keyword
2012-09-07 17:39:03 -07:00
Graydon Hoare
5d823d46ad
Migrate std::map to use core: #️⃣ :Hash trait. Disable many hokey hashes.
2012-09-07 17:24:16 -07:00
Brian Anderson
f0eae8f1c1
Convert field terminators to commas. Stop parsing semis.
2012-09-07 16:12:15 -07:00
Brian Anderson
2572e80355
Remove 'let' syntax for struct fields
2012-09-07 14:02:33 -07:00
Patrick Walton
feb014eb3c
rustc: Add an "ne" method to the Eq trait, and implement it everywhere
2012-09-07 12:24:48 -07:00
Tim Chevalier
55bd6cee2f
Test that merge sort is stable -- thanks to Jesse Jones
...
Closes #3399
2012-09-06 12:11:48 -07:00
Niko Matsakis
5e36a99794
Refactor trans to replace lvalue and friends with Datum.
...
Also:
- report illegal move/ref combos whether or not ref comes first
- commented out fix for #3387 , too restrictive and causes an ICE
2012-09-06 06:11:12 -07:00
Patrick Walton
47dac47e96
rustc: "import" -> "use" in .rc files
2012-09-05 11:46:25 -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
Brian Anderson
c491bf939e
std: Camel case smallintmap
2012-09-04 16:04:10 -07:00
Brian Anderson
8182497359
std: Camel case sort
2012-09-04 14:37:47 -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
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
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
Kevin Cantu
3283b137b7
Confirm demoding of term.rs
2012-09-04 11:30:01 -07:00
Brian Anderson
d55917ea59
std: Fix net::url constructor names
2012-09-04 11:28:38 -07:00
Patrick Walton
2d690ae43f
libstd: "import" -> "use"
2012-09-04 11:23:53 -07:00
Jyun-Yan You
ff4b754958
use native log2 function and enable freebsd tests in uv_ll
2012-09-05 02:03:56 +08:00
Patrick Walton
7550e45930
libstd: Make ToBase64 take slices
2012-09-03 22:41:10 -07:00
Patrick Walton
0c2674f947
libstd: Make URL parsing not require unique strings, and have URLs implement FromStr.
...
I considered changing FromStr to return a Result<E> parameterized
over an error type E, but I decided that was premature abstraction.
If you want the URL parsing error, call url::from_str() directly.
2012-09-03 17:03:19 -07:00
Patrick Walton
bb348ccab1
libstd: Export query_to_str from net::url
2012-09-03 16:10:01 -07:00
Patrick Walton
8f840f9ea0
libstd: Implement a Sort trait.
...
This depends on the previous fix to not assert.
2012-09-03 15:59:10 -07:00
Patrick Walton
199ed4d940
libstd: Export the url() constructor from net_url
2012-09-03 13:25:32 -07:00
Patrick Walton
07ee2997e6
libstd: Make net_url::encode no longer require a unique string
2012-09-03 12:33:51 -07:00
Patrick Walton
68704e4ca7
libstd: Make URLs structs
2012-09-02 20:59:46 -07:00
Brian Anderson
f393100b7c
Camel case core::ops
2012-09-02 18:13:56 -07:00
Brian Anderson
cb0eb66672
std: Camel case the rope module
2012-09-02 17:32:22 -07:00
Brian Anderson
512a769f6f
std: Allow camel case for list type
2012-09-02 15:57:49 -07:00
Brian Anderson
1397c83f11
std: warn(non_camel_case_types) everywhere. still some exceptions
2012-09-02 15:49:36 -07:00
Brian Anderson
80c4f74c29
Remove the 'to' keyword
2012-09-01 18:38:18 -07:00
Brian Anderson
d777e51333
Demode reinterpret_cast
2012-09-01 18:18:29 -07:00
Kevin Cantu
134e5c85a2
Demode sort.rs
2012-09-01 13:08:20 -07:00
Kevin Cantu
b06599a7a8
Demode fun_treemap.rs
2012-09-01 13:08:20 -07:00
Kevin Cantu
bf430b7032
Confirm demode of map.rs and prettyprint.rs
2012-09-01 13:08:20 -07:00
Kevin Cantu
2d8b3471e7
Confirm demode of base64.rs
2012-09-01 13:08:20 -07:00
Kevin Cantu
36a04bdd85
Confirm demode of cell.rs
2012-09-01 13:08:20 -07:00
Kevin Cantu
2095aee71d
Confirm demode of unicode.rs
2012-09-01 13:08:20 -07:00
Tim Chevalier
329281ebcc
Remove type annotation that is no longer necessary
...
Closes #2617
2012-08-31 16:29:30 -07:00
Tim Chevalier
4128cc4cb4
Make utility funs in core::int, core::uint, etc. not by-reference
...
Closes #3302
2012-08-31 16:21:47 -07:00
Brian Anderson
dbf6abf6bf
std: Camel case net modules
2012-08-31 15:01:48 -07:00
Kevin Cantu
7d57b4864a
Remove deprecated modes from list.rs (and temporarily delete list::push)
2012-08-31 12:55:39 -07:00