about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2014-05-27auto merge of #14387 : alan-andrade/rust/remove_managed_boxes_and_gc, r=brsonbors-271/+98
My main goals were: - be clear when we talk about "references" and "pointers" - remove Managed boxes completely and the concept of GC. https://github.com/mozilla/rust/issues/13987
2014-05-27auto merge of #14414 : richo/rust/features/nerf_unused_string_fns, ↵bors-12/+12
r=alexcrichton This should block on #14323
2014-05-27std: Rename strbuf operations to stringRicho Healey-11/+11
[breaking-change]
2014-05-27std: Remove String's to_ownedRicho Healey-1/+1
2014-05-27auto merge of #14429 : sanrodari/rust/patch-1, r=sfacklerbors-1/+1
2014-05-26auto merge of #14374 : swgillespie/rust/swgillespie-tutorial, r=alexcrichtonbors-11/+18
The current tutorial says that the only way to get master is to build from source, which isn't true anymore - nightly binaries and an installer for Mac OS X are now available at the install page: http://www.rust-lang.org/install.html . Feedback very much welcome! Addresses issue #13578.
2014-05-25Update tutorial, see issue #13578Sean Gillespie-12/+19
2014-05-25Fix to tutorialSantiago Rodriguez-1/+1
2014-05-25auto merge of #14391 : alexcrichton/rust/more-rustdoc-inline, r=huonwbors-0/+25
As part of the libstd facade (cc #13851), rustdoc is taught to inline documentation across crate boundaries through the usage of a `pub use` statement. This is done to allow libstd to maintain the facade that it is a standalone library with a defined public interface (allowing us to shuffle around what's underneath it). A preview is available at http://people.mozilla.org/~acrichton/doc/std/index.html
2014-05-25rustdoc: Move inlining to its own moduleAlex Crichton-1/+5
2014-05-25guide-runtime.md: Fix a typoAnton Löfgren-1/+1
2014-05-25auto merge of #14370 : cmr/rust/design-faq, r=brsonbors-7/+184
This indends to help quell frequently answered questions about the language design in a single, authoritative place.
2014-05-25doc: add a new language design faqCorey Richardson-7/+184
This indends to help quell frequently answered questions about the language design in a single, authoritative place.
2014-05-25doc: Document the new #[doc(no_inline)] attributeAlex Crichton-0/+21
2014-05-24core: rename strbuf::StrBuf to string::StringRicho Healey-42/+42
[breaking-change]
2014-05-24fix mostly grammar per PR commentsAlan Andrade-20/+18
2014-05-24Get "make check" to work with unused-attributeSteven Fackler-0/+7
There's a fair number of attributes that have to be whitelisted since they're either looked for by rustdoc, in trans, or as needed. These can be cleaned up in the future.
2014-05-24get over bold text madness, changes per PR, brought the "returning pointers" ↵Alan Andrade-26/+67
section back to pointers guide
2014-05-23Cleanup lifetime guideAlan Andrade-304/+92
Clean pointers guide
2014-05-23auto merge of #14362 : zecozephyr/rust/docfixes, r=cmrbors-1/+1
extra::arc -> alloc::arc
2014-05-22auto merge of #14348 : alexcrichton/rust/doc.rust-lang.org, r=huonwbors-73/+180
2014-05-22doc: Touch up the unsafe guideAlex Crichton-52/+144
* Change ~ references to Box * Rewrite examples so they can be compiled an run * Mention libcore * Update wording about compiler-required functions
2014-05-22libcore: Remove all uses of `~str` from `libcore`.Patrick Walton-2/+2
[breaking-change]
2014-05-22Fixed incorrect module pathJonathan Bailey-1/+1
extra::arc -> sync::arc
2014-05-22docs: Add win64 calling conventionRicho Healey-0/+1
2014-05-21Change static.rust-lang.org to doc.rust-lang.orgAlex Crichton-21/+36
The new documentation site has shorter urls, gzip'd content, and index.html redirecting functionality.
2014-05-21auto merge of #14324 : zecozephyr/rust/docfix, r=luqmanabors-1/+1
2014-05-21Updated doc with correct type.Jonathan Bailey-1/+1
2014-05-20auto merge of #14259 : alexcrichton/rust/core-mem, r=brsonbors-2/+2
Excluding the functions inherited from the cast module last week (with marked stability levels), these functions received the following treatment. * size_of - this method has become #[stable] * nonzero_size_of/nonzero_size_of_val - these methods have been removed * min_align_of - this method is now #[stable] * pref_align_of - this method has been renamed without the `pref_` prefix, and it is the "default alignment" now. This decision is in line with what clang does (see url linked in comment on function). This function is now #[stable]. * init - renamed to zeroed and marked #[stable] * uninit - marked #[stable] * move_val_init - renamed to overwrite and marked #[stable] * {from,to}_{be,le}{16,32,64} - all functions marked #[stable] * swap/replace/drop - marked #[stable] * size_of_val/min_align_of_val/align_of_val - these functions are marked #[unstable], but will continue to exist in some form. Concerns have been raised about their `_val` prefix.
2014-05-20core: Stabilize the mem moduleAlex Crichton-2/+2
Excluding the functions inherited from the cast module last week (with marked stability levels), these functions received the following treatment. * size_of - this method has become #[stable] * nonzero_size_of/nonzero_size_of_val - these methods have been removed * min_align_of - this method is now #[stable] * pref_align_of - this method has been renamed without the `pref_` prefix, and it is the "default alignment" now. This decision is in line with what clang does (see url linked in comment on function). This function is now #[stable]. * init - renamed to zeroed and marked #[stable] * uninit - marked #[stable] * move_val_init - renamed to overwrite and marked #[stable] * {from,to}_{be,le}{16,32,64} - all functions marked #[stable] * swap/replace/drop - marked #[stable] * size_of_val/min_align_of_val/align_of_val - these functions are marked #[unstable], but will continue to exist in some form. Concerns have been raised about their `_val` prefix. [breaking-change]
2014-05-20auto merge of #14277 : pczarn/rust/manual-grammar, r=alexcrichtonbors-9/+9
The grammar for use declarations was outdated. Corrected some other mistakes.
2014-05-20Correct EBNF grammar in the manualPiotr Czarnecki-9/+9
The grammar for use declarations was outdated.
2014-05-19Minor doc fixes in various placesPiotr Jawniak-6/+6
2014-05-17auto merge of #14247 : Ryman/rust/minor_ptr_nit, r=alexcrichtonbors-2/+2
Not too hot on the second change, welcome a better suggestion/wording.
2014-05-16doc: Remove all uses of `~str` from the documentation.Patrick Walton-51/+52
2014-05-16guide-pointers: minor nitsKevin Butler-2/+2
2014-05-16auto merge of #14235 : Ryman/rust/simplify_arcs_doc, r=alexcrichtonbors-27/+11
2014-05-15auto merge of #14213 : kballard/rust/str_from_utf8_result, r=cmrbors-1/+1
Change `str::from_utf8_owned()` and `StrBuf::from_utf8()` to return `Result`. This allows the vector to be recovered when it contains invalid UTF-8.
2014-05-16guide-tasks: Simplify Arc usage to match Arc docs.Kevin Butler-27/+11
2014-05-15Add a crate for missing stubs from libcoreAlex Crichton-0/+2
The core library in theory has 0 dependencies, but in practice it has some in order for it to be efficient. These dependencies are in the form of the basic memory operations provided by libc traditionally, such as memset, memcmp, etc. These functions are trivial to implement and themselves have 0 dependencies. This commit adds a new crate, librlibc, which will serve the purpose of providing these dependencies. The crate is never linked to by default, but is available to be linked to by downstream consumers. Normally these functions are provided by the system libc, but in other freestanding contexts a libc may not be available. In these cases, librlibc will suffice for enabling execution with libcore. cc #10116
2014-05-15test: allow the test filter to be a regex.Huon Wilson-7/+27
This is fully backwards compatible, since test names are Rust identifiers + `:`, and hence not special regex characters. Fixes #2866.
2014-05-14Change str::from_utf8_owned() to return ResultKevin Ballard-1/+1
This allows the original vector to be recovered in the event that it is not valid UTF-8. [breaking-change]
2014-05-13add a line to the example to clarify semanticsZooko Wilcox-O'Hearn-1/+1
This is to clarify that match construct doesn't define a new variable, since I observed a person reading the Rust tutorial who seemed to incorrectly think that it did. Fixes https://github.com/mozilla/rust/issues/13571 .
2014-05-13docs: Add a not found pageRicho Healey-0/+20
2014-05-13Replaced ~T by Box<T> in manualAdolfo Ochagavía-9/+9
2014-05-12Remove reference to MutexArcDerek Chiang (Enchi Jiang)-1/+1
2014-05-12doc: Update the linkage documentationAlex Crichton-26/+26
After allowing mixing rlibs and dylibs in #13892, the documentation was not updated accordingly to reflect this new capability.
2014-05-12doc: updates rust manual (loop to continue)Piotr Jawniak-11/+9
Keyword for continue expressions was changed from loop to continue, but the manual was not updated.
2014-05-12Add the patch number to version strings. Closes #13289Brian Anderson-17/+17
2014-05-11auto merge of #14102 : moonglum/rust/slice-clarification-in-readme, r=kballardbors-3/+3
There are no arrays in Rust, they are slices. Especially in the tutorial beginners should not be confused with wrong terminology. It helps to know the right names for things when you want to find something in the documentation. @erickt explained that today to me and it helped me a lot when getting started :wink: Maybe we should also explain what a slice and what a vector is in the tutorial. If you like that, I will try to do that and attach that to the pull request :wink: