Corey Richardson
100ee84097
Only output colors if colors are supported (removes burden from caller)
2013-05-31 20:02:49 -04:00
Corey Richardson
1f27c6306d
rustpkg borrowed pointers
2013-05-31 20:02:49 -04:00
Corey Richardson
7281166961
Use find_equiv in term
2013-05-31 20:02:49 -04:00
Corey Richardson
cf64324e19
extra::term overhaul
2013-05-31 20:02:49 -04:00
bors
e516d2333f
auto merge of #6864 : thestinger/rust/bool, r=pcwalton
2013-05-31 16:58:42 -07:00
bors
55c23bc557
auto merge of #6862 : thestinger/rust/swap, r=bstrie
...
I don't like the `util` module in general, and `ptr` is a much better place for these.
2013-05-31 15:22:45 -07:00
Daniel Micay
ed93cc1987
fix tutorial lint warnings
2013-05-31 18:20:09 -04:00
Daniel Micay
1dc4ea004e
bool: rm functions duplicating methods
2013-05-31 18:12:12 -04:00
Ben Striegel
c77d58fad8
Add as_c_str method on strings
2013-05-31 18:12:07 -04:00
Alex Crichton
e694e5fc59
xfail-fast the deriving test
2013-05-31 14:44:44 -06:00
bors
91a7073900
auto merge of #6857 : alexcrichton/rust/ebml-fixes, r=pcwalton
...
Also provides a method of serializing `char`.
2013-05-31 11:34:46 -07:00
Patrick Walton
c582e3eb82
librustc: Don't require pub extern
to make extern functions visible
2013-05-31 11:31:38 -07:00
Daniel Micay
042618da7b
ptr: replace unnecessary unsafe code
2013-05-31 11:32:27 -04:00
bors
5028ac7396
auto merge of #6863 : huonw/rust/error-span, r=thestinger
2013-05-31 07:43:49 -07:00
Huon Wilson
4f92d3a11c
rustc: adjust span for error message to not trim last letter
2013-06-01 00:39:02 +10:00
Daniel Micay
29aba8033a
mv the raw pointer {swap,replace}_ptr to std::ptr
2013-05-31 10:31:26 -04:00
bors
2a30c000e8
auto merge of #6859 : thestinger/rust/optimize, r=thestinger
...
A workaround to get #6828 through.
2013-05-31 06:40:49 -07:00
James Miller
85e3c96236
Remove the slow bb-vectorize pass
2013-05-31 09:01:13 -04:00
bors
030f471f26
auto merge of #6853 : bblum/rust/sized, r=pcwalton
...
r? @nikomatsakis @pcwalton
2013-05-31 02:01:44 -07:00
bors
1dd5cd9731
auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch
...
Fix a laundry list of warnings involving unused imports that glutted
up compilation output. There are more, but there seems to be some
false positives (where 'remedy' appears to break the build), but this
particular set of fixes seems safe.
2013-05-31 00:43:45 -07:00
bors
6fcb483609
auto merge of #6848 : pcwalton/rust/issue-6352, r=pcwalton
...
r? @nikomatsakis
2013-05-30 23:31:48 -07:00
Alex Crichton
e86ac24e7b
Implement unimplemented methods in ebml
2013-05-31 00:28:17 -05:00
Alex Crichton
a25c7045c1
Rewrite deriving(Decodable, Encodable)
...
Now it uses the generic deriving code and should in theory work in all cases.
2013-05-30 23:48:35 -05:00
bors
727274375e
auto merge of #6845 : thestinger/rust/zsh-complete, r=graydon
...
I'll do the other commands and the `rust` wrapper later.
![sample completion](http://i.imgur.com/Y1IFCWi.png )
2013-05-30 21:34:47 -07:00
bors
f8cef24b5e
auto merge of #6841 : steveklabnik/rust/range_docs, r=thestinger
2013-05-30 20:28:48 -07:00
bors
3869f7a99c
auto merge of #6818 : nikomatsakis/rust/irrefut-patterns-refactoring, r=graydon
...
Various bug fixes and simplifications I did as part of a patch to fix `let` patterns.
r? @catamorphism
2013-05-30 19:04:52 -07:00
Alex Crichton
d01c7d0d42
Fix a bug with HashMap::consume
2013-05-30 20:45:14 -05:00
Alex Crichton
aed53f9bf0
Promote unreachable code to being a lint attribute
2013-05-30 20:45:13 -05:00
Ben Blum
5113f68a86
Add simple tests for Sized
2013-05-30 21:41:41 -04:00
Ben Blum
32cd9b3274
Highlight Sized in vim and kate
2013-05-30 21:41:41 -04:00
Ben Blum
b8a53b5a4c
Add 'Sized' builtin kind; doesn't do anything yet
2013-05-30 21:41:41 -04:00
Patrick Walton
40b455792d
librustc: Bump the offset when translating const structs. Closes #6352 .
2013-05-30 18:17:32 -07:00
Niko Matsakis
ce5fd30270
Fix parser test
2013-05-30 21:01:25 -04:00
bors
237dce12c9
auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=graydon
...
Re-enables `make check-stage2-doc-tutorial` and friends. r? @brson
2013-05-30 17:22:49 -07:00
bors
308774e05b
auto merge of #6340 : graydon/rust/issue-2994, r=graydon
2013-05-30 16:04:47 -07:00
Daniel Micay
a9c3b3885d
add a zsh completion file for rustc
2013-05-30 18:52:23 -04:00
Graydon Hoare
858ca2e3c8
fix the check-stageN-doc-$doc targets, close #5661
2013-05-30 15:49:53 -07:00
bors
9bfe296eb7
auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-basedir, r=catamorphism
...
Attempt to get reuse of common object code from multiple clones in different directories.
This is a followup to issue #6805 .
2013-05-30 14:58:47 -07:00
Steve Klabnik
220e1a6cfc
Add example for uint::range_step.
2013-05-30 14:35:07 -07:00
Niko Matsakis
21951e503d
Correct issue-2804 test
2013-05-30 16:55:50 -04:00
Graydon Hoare
2bed5dc528
rustc: change 'use' to 'add' in error message, fix #2994
2013-05-30 13:45:53 -07:00
Daniel Farina
aef1e10eba
Remove unnecessary 'use' forms
...
Fix a laundry list of warnings involving unused imports that glutted
up compilation output. There are more, but there seems to be some
false positives (where 'remedy' appears to break the build), but this
particular set of fixes seems safe.
2013-05-30 13:08:18 -07:00
bors
784a8495d2
auto merge of #6835 : cmr/rust/clang, r=thestinger
...
current svn version is 3.4
2013-05-30 12:41:09 -07:00
Niko Matsakis
9c7eb068e5
Replace NDM with proper FIXME
2013-05-30 15:20:36 -04:00
Niko Matsakis
7a1a40890d
Remove copy bindings from patterns.
2013-05-30 15:20:36 -04:00
Niko Matsakis
5209709e46
Fix matching of rvalues with destructors
...
Fixes #4542 .
2013-05-30 15:20:36 -04:00
bors
a39429887a
auto merge of #6831 : Xazax-hun/rust/incoming, r=graydon
...
Minor doc enhancement for: https://github.com/mozilla/rust/issues/4543
2013-05-30 10:37:46 -07:00
Corey Richardson
594f40ecbe
bump clang version
2013-05-30 13:33:52 -04:00
Felix S. Klock II
7f410b326c
Attempt to get reuse of common code from multiple clones in different directories.
2013-05-30 16:26:12 +02:00
Niko Matsakis
c492a2126f
Remove some spurious copies that are identified by later patches
2013-05-30 09:54:39 -04:00