Commit Graph

11020 Commits

Author SHA1 Message Date
Brian Anderson
2d1ca984eb rustdoc: Filter some characters that aren't valid pandoc header ids 2012-07-09 14:59:36 -07:00
Graydon Hoare
cfd3d2e1be Fix snapshot datestamp. 2012-07-09 14:58:08 -07:00
Graydon Hoare
c36d4bc1b1 Switch snapshots to the later builds. Something off with the earlier ones. 2012-07-09 14:49:31 -07:00
Graydon Hoare
638036fe55 Remove 'cont' from parser/lexer. 2012-07-09 14:47:45 -07:00
Graydon Hoare
f210deae3d Merge branch 'incoming' of github.com:/mozilla/rust into incoming
Conflicts:
	src/snapshots.txt
2012-07-09 14:38:37 -07:00
Graydon Hoare
c26d02557e Switch 'cont' to 'again' everywhere. Close #2229. 2012-07-09 14:37:48 -07:00
Graydon Hoare
9afc8be04b Register snapshots. 2012-07-09 14:25:36 -07:00
Niko Matsakis
f72487d196 Remove xfail-test from (now functional) test. Fixes #2323. 2012-07-09 14:24:25 -07:00
Niko Matsakis
e1fd131ab9 register new snapshot b5f5676 2012-07-09 14:24:25 -07:00
Michael Sullivan
5c914e4a9d Add clear methods to the tests that make maps. 2012-07-09 14:16:24 -07:00
Brian Anderson
b7a418e194 rustc: Conditionally compile view items. #2357 2012-07-09 14:09:03 -07:00
Brian Anderson
3b399afa89 Merge pull request #2847 from ben0x539/incoming
Tiny documentation fixes in rust.md and src/libcore/task.rs
2012-07-09 13:59:03 -07:00
Brian Anderson
547bf7c350 test: xfail-fast extern-crosscrate 2012-07-09 13:41:32 -07:00
Brian Anderson
aa232a5269 Merge pull request #2846 from gwillen/1c882842e06431767676887f97f9dcc0ee50a7b9
Add map::clear
2012-07-09 13:26:48 -07:00
Josh Matthews
a7f6e00944 Fix metadata serialization of foreign functions. Properly take the value of foreign functions from other crates to fix #1840. 2012-07-09 13:13:49 -07:00
Patrick Walton
f3b50ae348 test: Remove failing parts of the failing test (requires intertwining of resolve and typechecking) 2012-07-09 12:55:00 -07:00
Brian Anderson
f54b767013 tutorial: pointer -> box 2012-07-09 11:44:45 -07:00
Patrick Walton
4d8113725d rustc: Add some changes I missed 2012-07-09 11:05:48 -07:00
Ben Blum
8ffab392ab change borrowck error msg: 'declared in outer block' -> 'captured in a closure' (properly this time) 2012-07-09 14:01:39 -04:00
Patrick Walton
e41029d236 rustc: Switch to the new resolution pass 2012-07-09 10:27:13 -07:00
Benjamin Herr
4ac7159536 core: New closure syntax for comm.rs/task.rs docs 2012-07-09 13:46:32 +02:00
Benjamin Herr
b91358458b core: Formatting fix in documentation for task::unkillable 2012-07-09 05:02:05 +02:00
Benjamin Herr
2dae18234d docs: In rust.md, replace 'print' with 'println' to match points example 2012-07-09 05:02:05 +02:00
Benjamin Herr
abd0de5d5c docs: In rust.md, replace inert @dfn{foo} formatting with _foo_ 2012-07-09 05:02:05 +02:00
Benjamin Herr
cf4d5f4e4c core: Give task::spawn_with the documentation from task::run_with 2012-07-09 05:02:05 +02:00
Benjamin Herr
97a76b8eec core: Remove spurious newline in task::run_with documentation 2012-07-09 05:02:04 +02:00
Glenn Willen
1c882842e0 Add clear() to the map interface.
Add clear to the map interface, and implement it in hashmap and smallintmap.
2012-07-08 16:06:48 -07:00
Brian Anderson
d95ab538c1 tutorial: Fix a test-failure due to typo 2012-07-08 15:11:32 -07:00
Ryan Scheel
fb7f0a4ae1 It's hard to type when the cursor is not where you are actually typing. 2012-07-08 14:19:30 -07:00
Ryan Scheel
7e5b64bafe elt -> element 2012-07-08 14:11:14 -07:00
Ryan Scheel
552c164a46 Parameter/Variable names for for_rev and map extended. 2012-07-08 13:58:37 -07:00
Brian Anderson
e4a3b9ac69 tutorial: Fill out bounded type test case 2012-07-08 01:12:43 -07:00
Brian Anderson
b95a4daa60 Add Ryan Scheel to AUTHORS.txt 2012-07-08 00:52:09 -07:00
Brian Anderson
5dd5a9ab89 core: Ignore to_str::test_vectors. It's busted 2012-07-08 00:50:46 -07:00
Ryan Scheel
69c2a9c26a Add test attributes to test functions missing test attributes. 2012-07-08 00:42:23 -07:00
Brian Anderson
1cefbf3c78 tutorial: Make class example compile 2012-07-08 00:15:42 -07:00
Brian Anderson
ea03315cf4 Revert "change borrowck error msg: 'declared in outer block' -> 'captured in a closure'"
This change requires some tests to be updated.

This reverts commit b5b8f5efcc.
2012-07-08 00:07:15 -07:00
Brian Anderson
d0e69a9df7 tutorial: Fix capitalization of header 2012-07-08 00:04:49 -07:00
Brian Anderson
4a342ad79f tutorial: Describe blockquotes in the 'Conventions' section 2012-07-07 23:50:30 -07:00
Brian Anderson
53bb4192d8 tutorial: Use a more tasteful blockquote style 2012-07-07 23:45:28 -07:00
Brian Anderson
de1de68b82 tutorial: Put class warning in a blockquote
Style it like other such asides
2012-07-07 23:34:28 -07:00
Tim Chevalier
dbc47176ac Add Glenn Willen to AUTHORS 2012-07-07 23:13:44 -07:00
Tim Chevalier
9284829b3b Merge pull request #2838 from gwillen/tutorial-class
tutorial: add classes
2012-07-07 23:11:39 -07:00
Glenn Willen
417fa4ba7f tutorial: Add section on classes. 2012-07-07 23:01:04 -07:00
Brian Anderson
02ef651f95 Increase the difficulty of chameneos-redux under 'make perf' 2012-07-07 22:39:23 -07:00
Kevin Cantu
638ee23fcf Add improvements suggested by erickt and bblum 2012-07-07 22:27:00 -07:00
Kevin Cantu
2bd482ef11 Add the Alioth chameneos-redux benchmark
This adds a Rust implementation of the Alioth chameneos-redux benchmark:
http://shootout.alioth.debian.org/u64q/performance.php?test=chameneosredux

This version already seems faster than Clojure, Ruby, and OCaml. I'm running
with N=6,000,000 in about 1m 50s.  Further optimization would be good, though.

I'm talking right now with @eholk about how pipes could be used (this is 1:many)...
2012-07-07 22:27:00 -07:00
Brian Anderson
8f9744d92d tutorial: Cleanup 2012-07-07 18:39:58 -07:00
Brian Anderson
c243c11058 Add Benjamin Herr to AUTHORS.txt 2012-07-07 18:33:57 -07:00
Brian Anderson
f3669dfc5d Merge remote-tracking branch 'ben0x539/incoming'
Conflicts:
	doc/tutorial.md
2012-07-07 18:30:54 -07:00