Commit Graph

14322 Commits

Author SHA1 Message Date
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
197a1f9cfe Merge pull request #4243 from erickt/incoming
Fix a bug in Result::unwrap_err (and minor cleanup)
2012-12-23 13:49:32 -08:00
Tim Chevalier
8ec13a90aa Merge pull request #4239 from tedhorst/mandpipe
update mandelbrot to pipes, a few other updates
2012-12-23 13:48:31 -08:00
Tim Chevalier
b1b0c297a4 Merge pull request #4249 from graydon/0.6-bump
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-23 13:47:11 -08:00
Tim Chevalier
0e35391468 Merge pull request #4250 from thestinger/vim
update after/syntax/rust.vim for removal of <-
2012-12-23 13:45:56 -08:00
Tim Chevalier
79a68ef212 Merge pull request #4251 from erickt/url
std: modernize net_url
2012-12-23 13:45:31 -08:00
Tim Chevalier
50bb838389 Merge pull request #4272 from ejholmes/crates-minimal-example
Fix example in 13.3.
2012-12-23 13:38:48 -08:00
Tim Chevalier
84671e5d75 Add Martin DeMello to AUTHORS 2012-12-23 13:38:13 -08:00
Tim Chevalier
688c5b920a Add Eric Holmes to AUTHORS 2012-12-23 13:34:08 -08:00
Eric J. Holmes
889e560ca5 Fix example. 2012-12-23 13:30:23 -08:00
Tim Chevalier
4752081dc5 Merge pull request #4271 from ejholmes/ffi-crypto
Fix example in FFI tutorial.
2012-12-23 13:30:19 -08:00
Eric J. Holmes
0100b02b3a Fix example. 2012-12-23 13:26:12 -08:00
Ted Horst
2452ee11ab update mandelbrot to pipes, a few other updates 2012-12-23 13:17:42 -06:00
Tim Chevalier
10e8e3e286 Remove xfail-fast from trait-composition-trivial 2012-12-23 00:24:07 -08:00
Tim Chevalier
5c6e928e32 tests: Add test case. Closes #3250 2012-12-22 14:58:30 -08:00
Patrick Walton
3ee1d3ebb8 rustllvm: Fix symbol resolution on Mac for rusti. rs=bugfix 2012-12-22 16:24:19 -05:00
Patrick Walton
9bf87bbf66 rusti: Perform mode computation. Closes #4230. 2012-12-21 22:39:42 -05:00
Daniel Micay
a45e41faaa update after/syntax/rust.vim for removal of <- 2012-12-21 21:37:32 -05:00
Graydon Hoare
dbd36111fe bump 0.5 => 0.6, redirect some URLs in docs. 2012-12-21 15:35:49 -08:00
Erick Tryzelaar
d6faf23ca3 std: modernize net_url
This switches over to using structs and send_maps for
query string parsing.
2012-12-21 07:47:32 -08:00
Brian Anderson
2fd8ebd03a Ignore some time tests 2012-12-20 21:39:11 -08:00
Erick Tryzelaar
beec519316 Switch chain calls to use Option::chain method 2012-12-20 21:16:02 -08:00
Erick Tryzelaar
5e94407a94 Fix Option::unwrap_err. 2012-12-20 21:16:02 -08:00
Brian Anderson
8b98e5a296 doc: Mention argument bindings in manual 2012-12-20 17:01:38 -08:00
Brian Anderson
45e62d0a14 tutorial: Discuss argument patterns 2012-12-20 16:51:37 -08:00
Brian Anderson
d098faa855 tutorial: Clarify description of trait inheritance 2012-12-20 16:36:13 -08:00
Brian Anderson
21c9d0858b tutorial: Fix broken examples 2012-12-20 16:32:44 -08:00
Brian Anderson
f26df46a12 tutorial: Re-remove core:: prefix from some examples 2012-12-20 16:32:44 -08:00
Brian Anderson
d38f784da6 tutorial: Typo 2012-12-20 16:32:44 -08:00
Brian Anderson
b7354f114d tutorial: Clean up language about syntax extensions 2012-12-20 16:32:43 -08:00
Brian Anderson
30fac74bf3 tutorial: Try to fit the early discussion of :: in better 2012-12-20 16:32:43 -08:00
Brian Anderson
cbddd5ed34 tutorial: Remove some trivia about operators 2012-12-20 16:32:43 -08:00
Brian Anderson
2f615dc965 tutorial: Editing 2012-12-20 16:32:43 -08:00
Brian Anderson
e4b3915393 tutorial: Fix example in syntax basics section 2012-12-20 16:32:43 -08:00
Brian Anderson
1983e540e6 tutorial: Update scope 2012-12-20 16:32:43 -08:00
Brian Anderson
072017e5ef tutorial: Mention rusti with other tools 2012-12-20 16:32:43 -08:00
Brian Anderson
201039cf0d tutorial: Discuss the primitive types along with their literals 2012-12-20 16:32:43 -08:00
Brian Anderson
107b2e5348 tutorial: It doesn't matter that Rust identifiers are the same as C 2012-12-20 16:32:43 -08:00
Brian Anderson
36e2c100bf tutorial: Integrate constants into main intro text 2012-12-20 16:32:43 -08:00
Brian Anderson
e06ca65244 tutorial: Remove the section on constants
We can mention that constants are declared with 'const' in one line.
Don't need an entire section.
2012-12-20 16:32:42 -08:00
Brian Anderson
0b0b50aaae tutorial: Remove the entire 'Types' section
It's not interesting

/cc: #4217
2012-12-20 16:32:42 -08:00