Commit Graph

14571 Commits

Author SHA1 Message Date
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
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
Daniel Micay
b8fe575e79 update after/syntax/rust.vim for removal of <- 2012-12-24 18:29:01 -08:00
Graydon Hoare
329316ce15 bump 0.5 => 0.6, redirect some URLs in docs. 2012-12-24 18:29:01 -08:00
Erick Tryzelaar
b6f0f300d5 std: modernize net_url
This switches over to using structs and send_maps for
query string parsing.
2012-12-24 18:29:01 -08:00
Erick Tryzelaar
03b5fcabbd Switch chain calls to use Option::chain method 2012-12-24 18:29:01 -08:00
Erick Tryzelaar
50902bb302 Fix Option::unwrap_err. 2012-12-24 18:29:01 -08:00
Tim Chevalier
3cc0fbca5d doc: mention struct-like enum variants /cc #4217 2012-12-24 15:59:37 -08:00
Tim Chevalier
499a58708f Assign correct types to struct-like enum variant constructors
Before, the type was just the enum type itself, which caused an
assertion failure in iter_variant in trans::base.

r=brson

Closes #4229
2012-12-24 15:59:15 -08:00
Tim Chevalier
cf768ce1f4 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 14:07:37 -08:00
Tim Chevalier
7ce0d30b9b Update shootout-mandelbrot to work with the new io::Writer 2012-12-24 13:29:36 -08:00
Tim Chevalier
46122bf333 Fix wayward search and replace; unbreak build 2012-12-24 12:37:45 -08:00
Tim Chevalier
66dc4898c7 Merge pull request #4278 from cpeterso/incoming-pure-functions
Mark some more core and std functions as pure
2012-12-24 11:33:22 -08:00
Tim Chevalier
2bb2536d41 Merge pull request #4281 from Dretch/io-explicit-self
Convert core::io to use explicit self (for issue #4118 and issue #2004)
2012-12-24 11:29:46 -08:00
gareth
feff3a9c6c Convert core::io to use explicit self (for issue #4118 and issue #2004) 2012-12-24 18:52:53 +00:00
Chris Peterson
ffaa477368 std: Mark some functions as pure 2012-12-23 14:38:01 -08:00
Chris Peterson
6d8621ae7f core: Mark some functions as pure 2012-12-23 14:37:44 -08:00
Tim Chevalier
cd6960edf0 Add Jens Nockert to AUTHORS 2012-12-23 13:57:49 -08:00
Tim Chevalier
baa4379e5a Merge pull request #4245 from JensNockert/bit-intrinsics
Add support for bitcount intrinsics Issue #2777
2012-12-23 13:50:28 -08:00