about summary refs log tree commit diff
path: root/doc/tutorial-tasks.md
AgeCommit message (Collapse)AuthorLines
2014-01-05Convert sub tutorials into Guides #10838Alan Andrade-515/+0
Ensure configure creates doc/guides directory Fix configure makefile and tests Remove old guides dir and configure option, convert testing to guide Remove ignored files Fix submodule issue prepend dir in makefile so that bor knows how to build the docs S to uppercase
2013-12-16Test fallout from std::comm rewriteAlex Crichton-27/+19
2013-11-26librustc: Make `||` lambdas not infer to `proc`sPatrick Walton-2/+2
2013-11-26test: Remove all remaining non-procedure uses of `do`.Patrick Walton-2/+2
2013-11-24Remove linked failure from the runtimeAlex Crichton-111/+1
The reasons for doing this are: * The model on which linked failure is based is inherently complex * The implementation is also very complex, and there are few remaining who fully understand the implementation * There are existing race conditions in the core context switching function of the scheduler, and possibly others. * It's unclear whether this model of linked failure maps well to a 1:1 threading model Linked failure is often a desired aspect of tasks, but we would like to take a much more conservative approach in re-implementing linked failure if at all. Closes #8674 Closes #8318 Closes #8863
2013-11-18librustc: Convert `~fn()` to `proc()` everywhere.Patrick Walton-1/+1
2013-11-14auto merge of #10018 : fhahn/rust/check-inferred-ints, r=alexcrichtonbors-1/+1
I've started working on this issue and pushed a small commit, which adds a range check for integer literals in `middle::const_eval` (no `uint` at the moment) At the moment, this patch is just a proof of concept, I'm not sure if there is a better function for the checks in `middle::const_eval`. This patch does not check for overflows after constant folding, eg: let x: i8 = 99 + 99;
2013-11-13doc: disable parser error highlighting + a few fixesAdrien Tétar-2/+2
CodeMirror parser errors are related to #9873.
2013-11-12Check inferred integer literals for overflows, closes #4220Florian Hahn-1/+1
2013-10-24Test fixes and merge conflictsAlex Crichton-1/+0
2013-10-21doc: fix links to comply with the new rustdocAdrien Tétar-7/+7
Closes #9911.
2013-10-01remove the `float` typeDaniel Micay-8/+8
It is simply defined as `f64` across every platform right now. A use case hasn't been presented for a `float` type defined as the highest precision floating point type implemented in hardware on the platform. Performance-wise, using the smallest precision correct for the use case greatly saves on cache space and allows for fitting more numbers into SSE/AVX registers. If there was a use case, this could be implemented as simply a type alias or a struct thanks to `#[cfg(...)]`. Closes #6592 The mailing list thread, for reference: https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-09-30tutorial: Remove usage of fmt!Alex Crichton-6/+5
2013-09-23Fix signature of Result in tasks tutorial. Closes #8343Jimmy Zelinskie-1/+1
2013-09-19Modernize extra::future APISteven Fackler-2/+2
2013-09-15Remove references to std::pipes from task tutorialSteven Fackler-4/+2
This module was removed a while ago, but the tasks tutorial wasn't updated, and the old docs page for pipes was never deleted so the link confusingly still worked!
2013-08-28doc: Remove statement about scheduling randomnessBrian Anderson-15/+0
The new scheduler is not currently that random.
2013-08-07Disable linked failure testsBrian Anderson-8/+8
The implementation currently contains a race that leads to segfaults.
2013-08-07doc: Fix deadlocks in tutorial due to yield bustageBrian Anderson-3/+6
2013-08-06remove `extra::iter`Daniel Micay-2/+2
This module provided adaptors for the old internal iterator protocol, but they proved to be quite unreadable and are not generic enough to handle borrowed pointers well. Since Rust no longer defines an internal iteration protocol, I don't think there's going to be any reuse via these adaptors.
2013-08-03remove obsolete `foreach` keywordDaniel Micay-5/+5
this has been replaced by `for`
2013-08-02replace `range` with an external iteratorDaniel Micay-8/+4
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-2/+2
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-1/+1
2013-07-27Change concurrency primitives to standard naming conventionsSteven Stewart-Gallus-17/+17
To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()`
2013-06-22Merge pull request #7270 from thestinger/docDaniel Micay-1/+1
accumulated doc pull requests from the queue
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-1/+1
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-21fix text of tutorialsJoris Rehm-1/+1
2013-06-16fix benchmark and the tutorialsDaniel Micay-1/+1
2013-06-14rm MutableIterDaniel Micay-1/+1
replaced with mutable implementations of Iterator
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-11std: convert pow, hypot, atan2, log to take arguments by reference.Huon Wilson-2/+2
2013-06-09std: remove foldr and alli methods in vecHuon Wilson-0/+1
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-2/+24
2013-05-26Add a short section on ARCOlivier Saut-1/+72
2013-05-23more testing fallout from core->std/std->extra moveTed Horst-45/+45
2013-05-17Add a small section on futures to the tutorialOlivier Saut-13/+60
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-04-03doc: Rewrite task tutorial introBrian Anderson-39/+28
It doesn't quite reflect reality
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-6/+6
2013-03-28Removing unused importsAlex Crichton-3/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-8/+8
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-23/+22
imports
2013-02-26Fix unused imports in the tutorialsAlex Crichton-2/+0
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-10/+10
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-10/+10
2013-02-14remove die definition and use in doc testsNick Desaulniers-8/+8