Brian Anderson
72f8a03cfb
~900 changes in 0.5
2012-12-17 18:45:14 -08:00
Brian Anderson
33a8f855c2
Make the path and path2 attributes equivalent. Remove some uses
2012-12-17 18:06:52 -08:00
Graydon Hoare
5ff99c27d0
add Jakub to AUTHORS
2012-12-17 17:02:08 -08:00
Graydon Hoare
7ab66a46b7
core: remove old repr system, enable newer one. Close #3109 .
2012-12-17 16:55:40 -08:00
Jakub Wieczorek
6c83fe4c24
Add more tests
2012-12-17 16:50:40 -08:00
Jakub Wieczorek
6530fd3401
When matching a slice, the tail should have the same lifetime
2012-12-17 16:50:40 -08:00
Jakub Wieczorek
1fdfd3b1d6
Simplify the exhaustiveness check and add comments
2012-12-17 16:50:40 -08:00
Jakub Wieczorek
856dbac567
Use the same logic for _ and [..tail] when checking reachability
2012-12-17 16:50:40 -08:00
Jakub Wieczorek
1968cb315a
Add support for destructuring vectors in match expressions
2012-12-17 16:50:40 -08:00
Brian Anderson
5bf7ba0773
Register snapshots
2012-12-17 16:44:27 -08:00
Brian Anderson
68998724c6
Revert "Register snapshots"
...
This reverts commit d6d12d90ff
.
2012-12-17 16:26:44 -08:00
Brian Anderson
d6d12d90ff
Register snapshots
2012-12-17 16:22:21 -08:00
Daniel Micay
f1e87733bd
add an empty PriorityQueue constructor
2012-12-17 15:23:12 -08:00
Patrick Walton
02e804bba8
test: Fix some broken test cases
2012-12-17 14:58:21 -08:00
Graydon Hoare
fe9294ef71
add Tim Taubert to AUTHORS
2012-12-17 12:49:59 -08:00
Brian Anderson
8311c94db4
Merge pull request #4200 from ttaubert/issue-2649-rewrite-to_str_bytes
...
rewrite uint::to_str_bytes to avoid raw pointers
2012-12-17 12:43:28 -08:00
Brian Anderson
70fbdb9580
Merge pull request #4206 from paulstansifer/macro_tutorial_improvements
...
Macro tutorial improvements
2012-12-17 12:42:42 -08:00
Brian Anderson
ceca0e8bf5
Mention license change in release notes
2012-12-17 12:03:40 -08:00
Brian Anderson
0ac688328d
Mention priority queue in release notes
2012-12-16 19:57:00 -08:00
Brian Anderson
161d289cc7
Long lines
2012-12-16 19:56:09 -08:00
Brian Anderson
8cbf817c2c
Fix doc comment
2012-12-16 19:53:24 -08:00
Brian Anderson
60ef6095f2
Add priority_queue test for unique pointers
2012-12-16 19:53:14 -08:00
Brian Anderson
90bebe3522
Add various workaround attributes to priority_queue
2012-12-16 19:41:07 -08:00
Daniel Micay
ac695aa21a
priority_queue: add docstring for from_vec
2012-12-16 19:27:06 -08:00
Daniel Micay
b3463ea657
priority_queue: replace copies with moves
2012-12-16 19:27:06 -08:00
Daniel Micay
6c433f22a1
priority_queue: clean up naming
2012-12-16 19:27:06 -08:00
Daniel Micay
ab75d3937d
priority_queue: fix test compilation
2012-12-16 19:27:06 -08:00
Daniel Micay
04df723619
priority_queue: fix siftup/siftdown naming
2012-12-16 19:27:06 -08:00
Daniel Micay
7bd0d71554
priority_queue: avoid copy with top and maybe_top
2012-12-16 19:27:06 -08:00
Daniel Micay
e00c3b05e1
priority_queue: fix to_sorted_vec off-by-one error
2012-12-16 19:27:06 -08:00
Daniel Micay
8b13bf7530
priority_queue: replace some copies with swaps
2012-12-16 19:27:06 -08:00
Daniel Micay
285496bd55
priority_queue: make from_vec a static method
2012-12-16 19:27:05 -08:00
Daniel Micay
757a2afb6b
priority_queue: make to_vec/to_sorted_vec methods
2012-12-16 19:27:05 -08:00
Daniel Micay
dd2b32be56
add priority queue implementation (binary heap)
2012-12-16 19:27:05 -08:00
Brian Anderson
6036add5eb
Don't install the fuzzer
...
It's not an end-user tool
2012-12-16 19:06:47 -08:00
Paul Stansifer
7c103f2da9
Add a section to the macro tutorial about recursive macros.
2012-12-16 18:45:54 -05:00
Paul Stansifer
2b5e81c464
Reword some things in the macro tutorial.
2012-12-16 18:45:54 -05:00
Brian Anderson
7f8e302a6a
Whitespace
2012-12-15 23:03:45 -08:00
Brian Anderson
20ea37b336
rt: Do some casting to avoid warnings
2012-12-15 22:38:20 -08:00
Brian Anderson
91067e9df4
Long lines
2012-12-15 22:38:20 -08:00
Jesse Jones
81805e0568
Check for oom in a few more places
2012-12-15 22:38:20 -08:00
Jesse Jones
0402360abb
Abort instead of throwing on oom
2012-12-15 22:38:20 -08:00
Jesse Jones
e8d2d55900
Made a bunch more classes non-copyable
2012-12-15 22:38:20 -08:00
Jesse Jones
eca23da98b
Instead of returning a bool (which everyone ignored) pop asserts
2012-12-15 22:38:20 -08:00
Jesse Jones
6bab226fc5
Check for realloc failure and bad subscripts
2012-12-15 22:38:20 -08:00
Jesse Jones
cf1c3d2da0
polymorphic indexed_list fixes:
...
1) indexed_list no longer has virtual methods. It's not actually subclassed
and there is very rarely good reason to subclass collection classes.
2) Added a virtual dtor to indexed_list_object which is intended to be
subclassed. This allows derived dtors to be called if the object is
deleted with a indexed_list_object*.
2012-12-15 22:38:20 -08:00
Jesse Jones
fc740a7297
Improvements to array_list, hash_map, and indexed_list:
...
* Disabled copying.
* Added const where appropiate.
2012-12-15 22:38:19 -08:00
Brian Anderson
d4daa78aa3
Update docs for crate file changes
2012-12-15 19:55:25 -08:00
Tim Taubert
2f3d4f6181
rewrite uint::to_str_bytes to avoid raw pointers
2012-12-15 18:45:40 +01:00
Patrick Walton
ebd9ad4d04
librustc: Add a lint mode for deprecated self. r=brson
2012-12-14 19:46:55 -08:00