Niko Matsakis
5660b8bfb5
add msgsend.rs to benchmarks
2012-01-23 16:04:14 -08:00
Tim Chevalier
6db688e893
Check that the names mentioned in tag exports are actually types (or variants)
...
Check that in export foo{}, foo is an enum type, and that in export
foo{bar, quux}, foo is an enum type and bar and quux are variants belonging
to foo.
2012-01-23 15:48:08 -08:00
Tim Chevalier
9dc59e1506
Export all enum variants by default; new syntax for selectively exporting variants
...
See issue 1426 for details. Now, the semantics of "export t;" where t is a tag are
to export all of t's variants as well. "export t{};" exports t but not its
variants, while "export t{a, b, c};" exports only variants a, b, c of t.
To do:
- documentation
- there's currently no checking that a, b, c are actually variants of t in the
above example
- there's also no checking that t is an enum type, in the second two examples above
- change the modules listed in issue 1426 that should have the old export
semantics to use the t{} syntax
I deleted the test export-no-tag-variants since we're doing the opposite now,
and other tests cover the same behavior.
2012-01-23 15:48:08 -08:00
Brian Anderson
e515999324
rustdoc: Prune undocumented modules
2012-01-23 15:40:01 -08:00
Brian Anderson
521e58a3c4
rustdoc: Get the crate brief description from the 'desc' attr
2012-01-23 15:16:14 -08:00
Brian Anderson
7857dcb88c
rustdoc: Add a script for running rustdoc output through markdown/pandoc
2012-01-23 15:16:14 -08:00
Brian Anderson
7c1d1d6c9a
doc: Just remove mention of the busted win installer from INSTALL.txt
2012-01-23 14:15:40 -08:00
Brian Anderson
afc3abc317
Merge pull request #1621 from thoughtpolice/install-dot-txt
...
Add an INSTALL.txt
2012-01-23 14:14:32 -08:00
Brian Anderson
088e915fee
Remove mention of Windows installer from tutorial
...
We don't want users to hurt themselves, since the installer has
a bug in 0.1 that could possibly corrupt %PATH%
Conflicts:
doc/tutorial.md
2012-01-23 14:09:21 -08:00
Austin Seipp
62c4d2ce82
Add an INSTALL.txt and make it part of the source distribution
2012-01-23 16:07:01 -06:00
Brian Anderson
0143e52580
Merge pull request #1620 from thoughtpolice/email-fix
...
Fix my email in AUTHORS.txt
2012-01-23 14:01:07 -08:00
Brian Anderson
6cf8ea779b
Add Matthew O'Connor to AUTHORS.txt
2012-01-23 13:59:59 -08:00
Brian Anderson
123d5df723
Merge pull request #1618 from oconnor0/patch-1
...
Point to correct cargo-central.
2012-01-23 13:57:49 -08:00
Brian Anderson
5cb725a890
tutorial: Remove mention of windows installer
2012-01-23 13:52:31 -08:00
Austin Seipp
190dbaa5bb
Fix my email in AUTHORS.txt
2012-01-23 15:40:55 -06:00
Matthew O'Connor
d38000d1f5
Point to correct cargo-central.
2012-01-22 21:33:53 -07:00
Brian Anderson
178d6dffa6
Add Rick Waldron to AUTHORS.txt
2012-01-22 20:26:19 -08:00
Brian Anderson
2a95dd628b
Merge pull request #1614 from rwldrn/1613
...
Corrects order of identifier and type in arguments list in 7.3.3 Constraints example. Fixes #1613
2012-01-22 20:25:06 -08:00
Rick Waldron
c42b52b3fd
Corrects order of identifier and type in arguments list in 7.3.3 Constraints example. Fixes #1613
2012-01-22 23:14:46 -05: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
Brian Anderson
20617ecccc
Add startling to AUTHORS.txt
2012-01-22 14:26:55 -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
98fd120ac1
tutorial: Make the comm examples pass
2012-01-21 15:25:14 -08:00
Brian Anderson
de150e02ae
tutorial: Un-xfail some working examples
2012-01-21 15:06:06 -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
818b646950
Add Taras Shpot to AUTHORS.txt
2012-01-21 13:27:08 -08:00
Brian Anderson
32742d0411
Merge pull request #1594 from mrshpot/master
...
doc: Fix minor typo in tutorial
2012-01-21 13:25:35 -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
Taras Shpot
1bbd97c11f
doc: Fix typo
2012-01-21 16:21:18 +02: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
2aabccc3ba
doc: Remove extract-tests.js and run-tests.sh
...
The tutorial tests are run as part of the test suite now.
2012-01-20 19:57:47 -08:00
Brian Anderson
327c8bc733
build: Run tutorial tests
2012-01-20 19:56:06 -08:00