Matthew O'Connor
d38000d1f5
Point to correct cargo-central.
2012-01-22 21:33:53 -07:00
Brian Anderson
07f8555b3e
std: Add some hacks to use libuv
2012-01-22 20:06:58 -08:00
Brian Anderson
a88c0847c2
core: Reexport all the imports in f32/64
2012-01-22 16:42:00 -08:00
Brian Anderson
fb1eb1ced6
Register snapshots
2012-01-22 15:38:13 -08:00
Niko Matsakis
ec8273587c
update to new tag syntax
2012-01-21 19:31:52 -08:00
Niko Matsakis
42b97f317a
use u64 and not uint; otherwise shift results are undef. in 32 bit
...
Fixes #1605 .
2012-01-21 19:31:52 -08:00
Niko Matsakis
de2bb2806f
update to use u64; u32 has undefined results
2012-01-21 19:31:52 -08:00
Niko Matsakis
556947c47a
wrap line
2012-01-21 19:31:52 -08:00
Niko Matsakis
85a3298229
unify size_of, align_of into one call (metrics)
...
create some new (xfail'd) tests looking at tag variant alignment
2012-01-21 19:31:52 -08:00
Niko Matsakis
cd1056df78
migrate size_of() and related funcs from trans into shape
2012-01-21 19:31:51 -08:00
Brian Anderson
52b1623089
std: Remove extfmt. Has been moved to core. Closes #1600
2012-01-21 13:51:54 -08:00
Graham Fawcett
fc2ae08b9c
issue #1352 : change param order on {std,core}::extfmt::str_init_elt to mirror vec::init_elt.
2012-01-21 13:33:16 -08:00
Graham Fawcett
7763b40c71
issue #1352 : change param order on vec::init_elt, putting block in final position.
...
To match the init_fn() and init_fn_mut() changes.
2012-01-21 13:33:16 -08:00
Graham Fawcett
35d12be2ce
fix #1352 : change param order on vec::init_fn (and vec::init_fn_mut), putting block in final position.
2012-01-21 13:31:12 -08:00
Brian Anderson
29bebd3e9f
Merge pull request #1598 from elly/cargo
...
[cargo] detect libs properly
2012-01-21 13:24:53 -08:00
Brian Anderson
3a2d52f122
Merge pull request #1599 from startling/master
...
Added `src/etc/vim/ftdetect/rust.vim` for vim filetype detection.
2012-01-21 13:21:39 -08:00
Brian Anderson
8c92ea49d3
core: Shuffle around a #fmt test
2012-01-21 13:20:14 -08:00
Elly Jones
059e243b16
[core] extfmt: support %% to escape a %
2012-01-21 13:12:02 -08:00
tim
1290e4181c
Added a src/etc/vim/ftdetect
directory and file.
...
Previously, in order to get vim's syntax highlighting, you needed
to manually `:setf rust` on every file. Now vim will recognize *.rs
files as rust. This is a little nicer.
2012-01-21 15:02:17 -06:00
Elly Fong-Jones
6c7fbd27c9
[cargo] detect libs properly
...
The change to do build and test in different directories broke library
detection.
2012-01-21 14:59:10 -05:00
Haitao Li
2a59ab8fa5
rustc: Specify lint checks via crate attributes
...
A crate attribute like `#[lint(no_ctypes)]` can now be used to turn off
ctypes checking.
Issue #1543
2012-01-22 01:33:37 +08:00
Haitao Li
4d757b9e9f
Remove keyword multitable generator script
...
The script was used for generating a easy to read Rust keywords table in
texinfo format.
2012-01-21 19:23:52 +08:00
Haitao Li
635e8200e1
rustc: Always resolve reexported names from original def
...
Issue #1501
2012-01-21 18:03:09 +08:00
Brian Anderson
a303fd98c7
cargo: Remove may package list. I am a proud cargo-central user
2012-01-20 23:19:35 -08:00
Brian Anderson
327c8bc733
build: Run tutorial tests
2012-01-20 19:56:06 -08:00
Tim Chevalier
ba5cc236f7
WIP on issue 1426 (exporting all tags)
...
Support Lenny222's proposed syntax for exporting a tag without
its variants, or selected tags from a variant, in the AST and parser.
No support further down the line yet. Tests are xfailed.
2012-01-20 19:48:33 -08:00
Tim Chevalier
e36df0f6c8
Handle fail after return correctly in typestate
...
Previously, typestate would conclude that this function was
correctly diverging:
fn f() -> ! { ret; fail; }
even though it always returns to the caller. It wasn't handling the
i_diverge and i_return bits correctly in the fail case. Fixed it.
Closes #897
2012-01-20 17:26:31 -08:00
Graydon Hoare
f49d781dc0
Fix formatting.
2012-01-20 16:12:25 -08:00
Graydon Hoare
32c9f7e8cf
Merge pull request #1585 from mbrubeck/master
...
Update the keyword lists in rust.md and syntax.vim
2012-01-20 16:13:45 -08:00
Matt Brubeck
155601eefe
Update the keyword lists in rust.md and syntax.vim
...
Add new keywords "enum" and "of", and remove old keywords "auth", "chan",
"log_err", "tag", and "task".
Also add reserved words to the syntax file, to help Vim users avoid using them
as identifiers.
2012-01-20 16:08:51 -08:00
Niko Matsakis
cac46eac4b
revert accidental commits
2012-01-20 09:34:15 -08:00
Niko Matsakis
b7811e613d
small fixes for building dist on windows
2012-01-20 08:59:07 -08:00
Kevin Cantu
62bef762a3
Add a Python script which downloads only the latest Linux snapshots (derived from other scripts here)
2012-01-20 04:23:07 -08:00
Brian Anderson
2d9910383e
rust-mode: tag -> enum. Closes #1577
2012-01-20 01:04:50 -08:00
Tim Chevalier
d242edb57b
Handle predicates that recurse in a check() expression
...
typestate was using the enclosing function ID for the "this function
returns" constraint, which meant confusion and panic in the case
where a predicate p includes "check p()". Fixed it to use a fresh
ID.
Closes #933
2012-01-19 22:53:22 -08:00
Tycho Sci
35cbcbe0c2
Fix cargo install *
fails at assertion.
2012-01-20 14:50:33 +09:00
Graydon Hoare
e3cb1a9e50
Revert accidental change to LLVM submodule.
2012-01-19 21:39:49 -08:00
Ben Striegel
1a295096b1
tutorial.md: spelling corrections for sections 1-5
2012-01-20 00:22:05 -05:00
Graydon Hoare
7b1a8f0a91
Additional ; to , changes, disable "tag" and ";" in parser. Close #1430 . Close #1428 .
2012-01-19 19:29:21 -08:00
Patrick Walton
a23f188bdb
rustc: Stop parsing "tag"
2012-01-19 19:23:47 -08:00
Brian Anderson
fdbe206a76
rustdoc: Make doc::retdoc non-optional
2012-01-19 19:14:29 -08:00
Patrick Walton
6222e98dda
lib: ';' to ',' in enums in more places
2012-01-19 19:08:49 -08:00
Brian Anderson
2d2bdfe845
rustdoc: Write markdown for function signatures
2012-01-19 18:59:02 -08:00
Patrick Walton
d1fe582040
misc: ';' to ',' in enums in cargo, compiletest, and fuzzer
2012-01-19 18:47:30 -08:00
Patrick Walton
59ebe6af18
rustc: Make the pretty printer output commas after enum variants. Update all tests accordingly.
2012-01-19 18:41:06 -08:00
Brian Anderson
c6278e53dc
rustdoc: Remove debug logging
2012-01-19 18:36:20 -08:00
Brian Anderson
2a442f9f8f
rustdoc: Add function signatures to the doc tree
2012-01-19 18:14:17 -08:00
Brian Anderson
991db34b5b
rustc: Fix fun_to_str
2012-01-19 18:14:17 -08:00
Brian Anderson
052340980b
rustdoc: Add function signature field to the doc::fndoc
2012-01-19 18:14:17 -08:00
Patrick Walton
c267821742
rustc: ";" to "," in enums
2012-01-19 18:04:25 -08:00