about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorLines
2011-12-16implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵Graham Fawcett-2/+2
empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
2011-12-06libstd: Update docsBrian Anderson-0/+1
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-8/+8
2011-12-02doc: added definition of trivial casts to specStefan Plantikow-3/+8
(cf @ignored Expr.Be and #1215 for intended use)
2011-11-25tutorial: Fix typo in the test sectionHaitao Li-1/+1
2011-11-24rustc: Add a path attribute for crate directivesHaitao Li-2/+4
The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906.
2011-11-23doc: Build keywords multitable automaticallyHaitao Li-66/+21
Keywords are now listed in a plain text file. They're sorted in column-major order and rendered as a texinfo multitable in rust.texi. Fixes issue #1216.
2011-11-23Remove last traces of auth keywordMarijn Haverbeke-1/+1
The reference now has an empty hole where the auth keyword used to be. Changing the keyword table seems to require manually sorting the keywords and putting them back into some kind of arcane interleaved order. I'll open an issue to actually fix this. Closes #1211
2011-11-22Add hacks to extract and compile tutorial codeMarijn Haverbeke-14/+119
Not included in the build by default, since it's fragile and kludgy. Do something like this to run it: cd doc/tutorial RUSTC=../../build/stage2/bin/rustc bash test.sh Closes #1143
2011-11-22Clarify escaped newlines in tutorialMarijn Haverbeke-1/+6
Closes #1117
2011-11-21Fix typo in tutorialMarijn Haverbeke-2/+2
2011-11-21Add explanation of kinds to tutorialMarijn Haverbeke-11/+42
2011-11-17tutorial: Fix type mismatch in example FFI codeHaitao Li-1/+1
Compile error: time.rs:13:23: 13:43 error: mismatched types: expected *R[tv_sec=mMltv_usec=mMl] but found *R[tv_sec=Mltv_usec=Ml] (record elements differ in mutability) time.rs:13 libc::gettimeofday(std::ptr::addr_of(x), std::ptr::null()); ^~~~~~~~~~~~~~~~~~~~ error: aborting due to previous errors rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:70 rust: domain main @0x9dfd178 root task failed
2011-11-16tutorial: Close unmatched quote in anchor tagBrian Anderson-1/+1
2011-11-16Update tutorial for native mod changesBrian Anderson-9/+15
2011-11-16tutorial: Update with native module syntax changeHaitao Li-11/+20
2011-11-16Fix small grammar mistake in tutorialMarijn Haverbeke-1/+1
2011-11-15Use libcrypto.so instead of libssl.so in the ffi part of tutorialMarijn Haverbeke-12/+12
2011-11-07Document crate top-level and directory modules. Closes #1097Brian Anderson-1/+8
2011-11-07Fix some more bugs in the tutorialMarijn Haverbeke-6/+6
Tutorial code going out of date is going to be a recurring problem...
2011-11-07Tutorial: 'import std;' should be 'use std;'.Matt Brubeck-1/+1
2011-11-04Fill in the tutorial section on testingMarijn Haverbeke-9/+82
2011-11-03Clarify metadata syntax in manualMarijn Haverbeke-1/+6
Closes #1119
2011-11-02Fix confusing sentence in tutorial.Marijn Haverbeke-5/+6
2011-11-02Expand the tutorial section on functionsMarijn Haverbeke-18/+39
2011-11-02Write briefly about syntax extension in the syntax sectionMarijn Haverbeke-9/+27
The currently existing syntax extension facilities don't really merit their own section.
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-2/+3
2011-11-02Make 'lambda(...) -> ...' parse as a typeMarijn Haverbeke-4/+1
2011-11-01Fix some typos in tutorialMarijn Haverbeke-8/+10
2011-11-01Fix typo in syntax.mdBrian Anderson-1/+1
2011-11-01Fill in the foreign-function part of the tutorialMarijn Haverbeke-2/+191
2011-11-01Tie up some ends in the tutorialMarijn Haverbeke-11/+63
2011-11-01Improve syntax highlighting in tutorialMarijn Haverbeke-8/+13
2011-11-01Fix file timestamp extraction in tutorial builderMarijn Haverbeke-3/+3
2011-11-01Flesh out the module section of the tutorialMarijn Haverbeke-1/+268
2011-11-01Add syntax highlighting to the code snippets in the tutorialMarijn Haverbeke-16/+631
Using the CodeMirror Rust mode.
2011-11-01Clarify tutorial based on feedback, fix some Markdown errorsMarijn Haverbeke-11/+41
2011-11-01doc: Sort keywords alphabeticallyHaitao Li-55/+56
2011-11-01doc: Add missing keywords block and lambdaHaitao Li-0/+2
2011-10-31Add pattern guard docs to language refBrian Anderson-0/+13
2011-10-31Add a first stab at a tutorialMarijn Haverbeke-0/+2672
You build it with `cd doc/tutorial; node build.js`, and then point your browser at doc/tutorial/web/index.html. Not remotely ready for publicity yet.
2011-10-28Remove iter and 'for each' from the documentationMatt Brubeck-97/+7
2011-10-28Document alt record patternsBrian Anderson-6/+35
2011-10-28Document the nullary-variant period in alt patternsBrian Anderson-0/+9
2011-10-28More documentation for alt expressionsMatt Brubeck-0/+11
2011-10-28Document how RUST_LOG worksBrian Anderson-20/+41
2011-10-27Add 'as' (cast) operator to the documentationMatt Brubeck-0/+25
2011-10-26Add more std documentationBrian Anderson-3/+3
2011-10-26Use web-style paragraphs in std docsBrian Anderson-0/+8
2011-10-26Add more std documentationBrian Anderson-0/+1