Brian Anderson
|
e8fe718bfd
|
core: Replace map/map_default with map_ref/map_default_ref
|
2012-09-26 20:15:23 -07:00 |
|
Brian Anderson
|
62649f0412
|
Check more things with deprecated_modes
|
2012-09-25 17:41:29 -07:00 |
|
Brian Anderson
|
afd91f8a56
|
Register snapshots. Remove redundant Eq impls, Makefile hacks
|
2012-09-23 23:01:49 -07:00 |
|
Brian Anderson
|
4a78f9b166
|
core: Demode option
|
2012-09-23 17:15:00 -07:00 |
|
Niko Matsakis
|
ba3eebd41d
|
Make it illegal to use modes in a fn signature with providing
an explicit variable name. (Step one to changing the defaults)
First step to #3535
|
2012-09-23 13:30:13 -05:00 |
|
Patrick Walton
|
9117dcb968
|
rustc: De-mode all overloaded operators
|
2012-09-20 09:48:05 -07:00 |
|
Tim Chevalier
|
c087886e93
|
Make moves explicit in arguments
|
2012-09-11 20:02:34 -07:00 |
|
Tim Chevalier
|
a07ea73bdb
|
Make moves explicit in task; also make option::unwrap take its argument by move
|
2012-09-10 13:36:54 -07:00 |
|
Tim Chevalier
|
e666fe89dd
|
Make more moves explicit in libcore
|
2012-09-10 12:38:52 -07:00 |
|
Brian Anderson
|
3bd1f32cd9
|
Convert all kind bounds to camel case. Remove send, owned keywords.
|
2012-09-07 18:10:11 -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 |
|
Brian Anderson
|
02b1c32e4d
|
core: Remove struct ctors
|
2012-09-04 15:46:33 -07:00 |
|
Brian Anderson
|
117aa8cfee
|
core: warn(non_camel_case_types) everywhere, with few exceptions
|
2012-09-02 16:14:26 -07:00 |
|
Patrick Walton
|
5792244d03
|
rustc: Implement equality for option types
|
2012-08-27 17:24:50 -07:00 |
|
Brian Anderson
|
8337fa1a54
|
Camel case the option type
|
2012-08-26 15:56:16 -07:00 |
|
Ben Blum
|
6cf2f89452
|
Implement option::unwrap safely...!
|
2012-08-25 03:07:30 -04:00 |
|
Niko Matsakis
|
652b312122
|
more sound treatment of fn& regions; change all & to be distinct
|
2012-08-21 10:28:34 -07:00 |
|
Daniel Patterson
|
62ea688e50
|
core: adding option::or, a function to return the leftmost of two some() values or none if both are none
|
2012-08-20 21:29:41 -04:00 |
|
Brian Anderson
|
3ab4b014cf
|
Remove the class keyword
|
2012-08-17 10:13:45 -07:00 |
|
Ben Blum
|
0e3825d38c
|
Add option::get_ref
|
2012-08-16 21:07:55 -04:00 |
|
Ben Blum
|
4377802202
|
De-mode task.rs and add some option::foo_ref() helpers
|
2012-08-14 19:32:52 -04:00 |
|
Brian Anderson
|
5394e34aa4
|
core: Camel case some lesser-used modules
|
2012-08-13 18:59:48 -07:00 |
|
Brian Anderson
|
6a0720b439
|
Convert impls to new syntax
|
2012-08-08 18:19:24 -07:00 |
|
Brian Anderson
|
ecaf9e39c9
|
Convert alt to match. Stop parsing alt
|
2012-08-06 15:36:30 -07:00 |
|
Brian Anderson
|
025d86624d
|
Switch alts to use arrows
|
2012-08-05 22:08:09 -07:00 |
|
Eric Holk
|
01ca0d1f68
|
Be more defensive in pipes (#3098)
|
2012-08-03 12:04:18 -07:00 |
|
Ben Blum
|
9facb15c49
|
option::swap_unwrap, the ubiquitous 'option dance'.
|
2012-08-02 14:59:37 -04:00 |
|
Brian Anderson
|
b355936b4d
|
Convert ret to return
|
2012-08-01 19:16:06 -07:00 |
|
Ben Blum
|
e7d26a4917
|
make option::map_default<T,U> instead of U:copy
|
2012-07-31 13:22:32 -04:00 |
|
Ben Blum
|
be3a71a1aa
|
Add option::unwrap_expect
|
2012-07-24 17:27:34 -04:00 |
|
Graydon Hoare
|
a63e0e47f0
|
Update some str functions to slices, merge as_buf and unpack_slice.
|
2012-07-24 12:35:52 -07:00 |
|
Ben Blum
|
e57745b48c
|
option: remove map's copy restriction and add map_consume
|
2012-07-17 20:03:14 -04:00 |
|
Patrick Walton
|
db020ab63c
|
rustc: Implement and enforce instance coherence
|
2012-07-17 15:46:43 -07:00 |
|
Ben Blum
|
bc87e66355
|
Add option::while_some; also add more pure (close #2927)
|
2012-07-17 13:57:36 -04: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 |
|
Gareth Daniel Smith
|
be0141666d
|
convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
|
2012-07-04 19:18:13 -07:00 |
|
Ben Blum
|
aa909dc60a
|
oops, fix option.expect() and use it in libstd/map.rs
|
2012-07-03 21:03:51 -04:00 |
|
Ben Blum
|
e000d1db0a
|
add option::expect and mark option methods as pure
|
2012-07-03 20:29:07 -04:00 |
|
Brian Anderson
|
d1fc2b5995
|
Convert to new closure syntax
|
2012-07-01 19:19:32 -07:00 |
|
Brian Anderson
|
a3382b6f26
|
Eliminate usages of old sugared call syntax
|
2012-06-30 16:01:49 -07:00 |
|
Tim Chevalier
|
da470ff5b8
|
Merge
|
2012-06-25 13:29:41 -07:00 |
|
Brian Anderson
|
fad307d7b4
|
core: Convert declarations to not use the trailing 'unsafe' notation
|
2012-06-25 12:48:39 -07:00 |
|
Tim Chevalier
|
fee78d296c
|
Port resources to classes in libcore
|
2012-06-21 21:30:16 -07:00 |
|
Brian Anderson
|
ff536f3fa5
|
core: Don't require copyable options where possible. Closes #2636
|
2012-06-18 12:57:30 -07:00 |
|
Niko Matsakis
|
c5f2c1d61e
|
add some purity annotations in core
|
2012-06-02 10:08:00 -07:00 |
|
Niko Matsakis
|
e348567f77
|
new, simpler approach to the iter library
|
2012-04-27 16:57:50 -07:00 |
|
Tim Chevalier
|
1c39fda0ea
|
Rename option::get_or_default to get_default, for consistency
|
2012-04-23 20:52:50 -07:00 |
|
Niko Matsakis
|
35a93e61d4
|
rewrite region resolution so it takes place in typeck
|
2012-04-16 19:48:00 -07:00 |
|
Niko Matsakis
|
e712ad8f73
|
rewrite lookup_method(), lookup_method_inner(), and lookup_method_inner_()
|
2012-04-11 17:21:53 -07:00 |
|