Tim Chevalier
08d9c5be2f
Merge pull request #4312 from Dretch/issue-2914
...
Work towards fixing issue #2914
2012-12-30 15:58:20 -08:00
Tim Chevalier
4dde334b47
Add Franklin Chen to AUTHORS
2012-12-30 15:55:16 -08:00
Tim Chevalier
cfb33fc23c
Merge pull request #4311 from FranklinChen/fix-macro-tutorial
...
Remove semicolons at the end of macro_rules! definitions that cause compile failure
2012-12-30 15:53:18 -08:00
Tim Chevalier
62d6031005
Merge pull request #4317 from apasel422/tutorial-fix
...
doc: make small corrections to tutorial
2012-12-30 13:33:36 -08:00
Andrew Paseltiner
4cb9247e3b
doc: make small corrections to tutorial
2012-12-30 16:09:34 -05:00
Tim Taubert
4b1d2dc884
reset LinearMap.size when expanding buckets
2012-12-30 19:38:42 +01:00
Patrick Walton
4be7310be0
doc: Fix explanation and example of struct-like enum variants. rs=busted
2012-12-30 07:09:14 -08:00
Patrick Walton
4b3dd4b920
doc: Fix some broken tutorial examples. rs=bustage
2012-12-29 21:52:51 -08:00
Patrick Walton
10333a5f3d
libstd: Comment out mysteriously failing net-url test. rs=busted
2012-12-29 21:43:18 -08:00
Patrick Walton
2822365106
librustdoc: More text fixes. rs=busted
2012-12-29 21:17:06 -08:00
Patrick Walton
015ed66950
librustdoc: Fix typo. rs=busted
2012-12-29 20:44:25 -08:00
Patrick Walton
47cd1e4fc8
librustdoc: Fix a bunch of rustdoc tests. rs=bustage
2012-12-29 17:38:20 -08:00
gareth
624421aa3d
Simplify idents_to_str and use it in more places.
2012-12-29 18:25:09 +00:00
gareth
d68954efa0
Fix the build by removing trailing whitespace.
2012-12-29 11:44:02 +00:00
gareth
b6aafe928d
When an import fails to resolve, make the error message say
...
which import it actually was. This makes debugging imports
like: use aa::{x, y, z} easier (for issue #2914 ).
2012-12-29 11:15:54 +00:00
Franklin Chen
6e7cf87101
Remove spurious semicolons at the end of macro_rules! definitions.
2012-12-29 01:37:00 -05:00
Patrick Walton
5245aceba9
test: Fix benchmarks. rs=rustbot
2012-12-28 19:57:18 -08:00
Patrick Walton
5bd8692e9d
test: Fix a bunch of compile-fail tests. rs=bustage
2012-12-28 19:36:35 -08:00
Patrick Walton
b92ea8dc78
test: Fix test/run-pass-fulldeps/qquote.rs. rs=bustage
2012-12-28 18:42:10 -08:00
Patrick Walton
19dfb47564
test: Fix test/run-pass/class-cast-to-trait-cross-crate-2. rs=fire
2012-12-28 18:04:41 -08:00
Patrick Walton
40eaecbd47
test: Fix a couple more tests. rs=bustage
2012-12-28 18:02:20 -08:00
Patrick Walton
c42d5e2747
test: Fix test/run-pass/pipe-pingpong-proto. rs=bustage
2012-12-28 17:33:28 -08:00
Patrick Walton
31b07ae8c5
test: Fix test/run-pass/pipe-pingpong-bounded. rs=bustage
2012-12-28 17:32:42 -08:00
Patrick Walton
f67c37263e
test: Fix a bunch of run-pass tests. rs=bustage
2012-12-28 17:17:05 -08:00
Tim Chevalier
4e07a6385d
Add Ben Alpert to AUTHORS
2012-12-28 14:05:13 -08:00
Ben Alpert
5910773c2e
doc: Rename mention of insert_or_update_with_key
...
As far as I can tell, these docs were meant to refer to update_with_key.
2012-12-28 14:04:43 -08:00
Brian Leibig
dda12f8ef6
Replace much of the REPL run code with a call to compile_upto
2012-12-28 13:51:02 -08:00
Brian Anderson
11a9918ae7
Wrap lines
2012-12-28 13:41:25 -08:00
Lenny222
c7d48eaa99
MIT + Apache 2 dual license
2012-12-28 13:41:25 -08:00
Tim Chevalier
cef153947d
Long lines
2012-12-28 13:35:15 -08:00
Tim Chevalier
a75c0b3b32
Merge pull request #4268 from catamorphism/issue-3477
...
Emit a type error for integer literals where the expected type is char
2012-12-28 13:05:58 -08:00
Patrick Walton
13879d8e9f
libstd: Fix tests. rs=bustage
2012-12-28 12:48:27 -08:00
Tim Chevalier
fd095f8734
Add Steve Klabnik to AUTHORS
2012-12-28 11:58:07 -08:00
Tim Chevalier
7af1080f5e
Merge pull request #4308 from steveklabnik/patch-1
...
Improve documentation for each.
2012-12-28 11:52:16 -08:00
Erick Tryzelaar
2d7b96ab72
Fix compiling compiletest. rs=fire
2012-12-28 11:50:27 -05:00
Erick Tryzelaar
5b2b13bff8
test: option variants get imported by default
2012-12-28 11:28:36 -05:00
Steve Klabnik
5ec3aba8cc
Improve documentation for each.
...
Add description of arguments, and an example.
2012-12-28 01:12:28 -05:00
Patrick Walton
fa5ee934ed
libstd: Fix a bunch of resolve errors in tests. rs=fire
2012-12-27 18:24:18 -08:00
Patrick Walton
e26ca35b08
librustc: Fix the test runner, the condition system, and core test. rs=bustage
2012-12-27 17:53:04 -08:00
Patrick Walton
84ce55e542
librustc: Fix some unresolved imports in the test runner. rs=bustage
2012-12-27 15:50:03 -08:00
Tim Chevalier
c880d0ab76
Add an xfailed test case and a CONTRIBUTING.md file
2012-12-27 14:58:45 -08:00
Tim Chevalier
0873553680
Merge pull request #4298 from JensNockert/byteswap
...
Add support for byteswap intrinsics
2012-12-27 10:47:15 -08:00
Jens Nockert
a51661e8c1
Add support for byteswap intrinsics
...
Adds support for the llvm.bswap.i{8,16,32} intrinsics, which swaps the
byte order from little endian to big endian, or the reverse.
2012-12-27 19:07:05 +01:00
Patrick Walton
57c599914a
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
2012-12-27 10:02:54 -08:00
Patrick Walton
6b659392ea
libcore: Add symlink(2) to libc. rs=trivial
2012-12-27 10:02:51 -08:00
Erick Tryzelaar
efb8711f90
Merge branch 'master' of github.com:mozilla/rust into incoming
2012-12-27 10:34:27 -05:00
Michael Neumann
2b6c456bf6
Enhance auto_encode to take number of struct fields
...
emit_struct and read_struct takes an additional len:uint parameter which tells
us how many fields the struct we are working on has.
This is required to implement an Encoder for the msgpack [1] serialization
format. To serialize a struct with msgpack you have to use arrays and the size
of the array has to be know before each of the elements are written out. JSON
as an example doesn't have this problem as it uses '[' and ']' delimiters for
arrays.
[1]: www.msgpack.org
2012-12-27 06:16:16 -06:00
Tim Chevalier
56227c42b3
Merge pull request #4286 from thestinger/vim
...
add Drop trait to vim syntax highlighting
2012-12-25 01:16:07 -08:00
Daniel Micay
2cf2d6aa92
add Drop trait to vim syntax highlighting
2012-12-25 01:20:27 -05:00
Tim Chevalier
09bb07bed9
Unfortunately, we can't embed cross-crate tests in the tutorial...
...
...as far as I know, anyway, so I xfailed this tutorial test.
2012-12-24 18:29:02 -08:00