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
Tim Chevalier
c4720a73bb
Update shootout-mandelbrot to work with the new io::Writer
2012-12-24 18:29:02 -08:00
Tim Chevalier
6dbb025267
Fix wayward search and replace; unbreak build
2012-12-24 18:29:02 -08:00
gareth
fddc849d75
Convert core::io to use explicit self (for issue #4118 and issue #2004 )
2012-12-24 18:29:02 -08:00
Chris Peterson
8060bd846a
std: Mark some functions as pure
2012-12-24 18:29:02 -08:00
Chris Peterson
c1e58aad70
core: Mark some functions as pure
2012-12-24 18:29:02 -08:00
Tim Chevalier
889df54886
Add Jens Nockert to AUTHORS
2012-12-24 18:29:02 -08:00
Tim Chevalier
5e73b0972b
Add Martin DeMello to AUTHORS
2012-12-24 18:29:02 -08:00
Tim Chevalier
e44fb67c87
Add Eric Holmes to AUTHORS
2012-12-24 18:29:02 -08:00
Eric J. Holmes
8223a1278d
Fix example.
2012-12-24 18:29:02 -08:00
Eric J. Holmes
40a3e20bbb
Fix example.
2012-12-24 18:29:02 -08:00
Ted Horst
d30224a3d4
update mandelbrot to pipes, a few other updates
2012-12-24 18:29:01 -08:00
Tim Chevalier
8d438747a5
Remove xfail-fast from trait-composition-trivial
2012-12-24 18:29:01 -08:00
Tim Chevalier
d722217a68
tests: Add test case. Closes #3250
2012-12-24 18:29:01 -08:00