summary refs log tree commit diff
path: root/src/libstd/std.rs
AgeCommit message (Collapse)AuthorLines
2013-09-25rustdoc: Strip hidden docs by default.Alex Crichton-2/+1
2013-09-23libsyntax: Introduce routines and remove all `@fn`s from libsyntax save the ↵Patrick Walton-1/+1
old visitor
2013-09-21Update version numbers to 0.8Brian Anderson-2/+2
2013-09-20Implement a web backend for rustdoc_ngAlex Crichton-0/+4
This large commit implements and `html` output option for rustdoc_ng. The executable has been altered to be invoked as "rustdoc_ng html <crate>" and it will dump everything into the local "doc" directory. JSON can still be generated by changing 'html' to 'json'. This also fixes a number of bugs in rustdoc_ng relating to comment stripping, along with some other various issues that I found along the way. The `make doc` command has been altered to generate the new documentation into the `doc/ng/$(CRATE)` directories.
2013-09-18Register new snapshotsAlex Crichton-6/+0
2013-09-16Add an SendStr typeMarvin Löbel-0/+1
A SendStr is a string that can hold either a ~str or a &'static str. This can be useful as an optimization when an allocation is sometimes needed but the common case is statically known. Possible use cases include Maps with both static and owned keys, or propagating error messages across task boundaries. SendStr implements most basic traits in a way that hides the fact that it is an enum; in particular things like order and equality are only determined by the content of the wrapped strings. Replaced std::rt:logging::SendableString with SendStr Added tests for using an SendStr as key in Hash- and Treemaps
2013-09-09auto merge of #9005 : alexcrichton/rust/rusty-log, r=brsonbors-0/+1
Also redefine all of the standard logging macros to use more rust code instead of custom LLVM translation code. This makes them a bit easier to understand, but also more flexibile for future types of logging. Additionally, this commit removes the LogType language item in preparation for changing how logging is performed.
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-1/+1
The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general.
2013-09-05Remove the __log function for __log_levelAlex Crichton-0/+1
Also redefine all of the standard logging macros to use more rust code instead of custom LLVM translation code. This makes them a bit easier to understand, but also more flexibile for future types of logging. Additionally, this commit removes the LogType language item in preparation for changing how logging is performed.
2013-08-30auto merge of #8820 : alexcrichton/rust/no-io-writer, r=brsonbors-0/+6
At the same time, this updates the TyVisitor to use a mutable self because it's probably going to be mutating state as it goes along anyway.
2013-08-28Remove @io::Writer from sys/repr/reflectAlex Crichton-0/+6
At the same time, this updates the TyVisitor to use a mutable self because it's probably going to be mutating state as it goes along anyway.
2013-08-29Remove the iter module.Jason Fager-2/+0
Moves the Times trait to num while the question of whether it should exist at all gets hashed out as a completely separate question.
2013-08-26Add a Default trait.Corey Richardson-1/+1
2013-08-21std/extra: changing XXX to FIXME; cleanupTim Chevalier-1/+1
* Get rid of by-value-self workarounds; it works now * Remove type annotations, they're not needed anymore
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-0/+1
2013-08-14Methodyfied the string ascii extionsion functionsMarvin Löbel-1/+1
Added into_owned() method for vectors Added DoubleEnded Iterator impl to Option Renamed nil.rs to unit.rs
2013-08-12Reorganise Select traits to not expose internal runtime types. Close #5160. ↵Ben Blum-0/+1
Pending #8215.
2013-08-09auto merge of #8296 : erickt/rust/remove-str-trailing-nulls, r=ericktbors-0/+1
This PR fixes #7235 and #3371, which removes trailing nulls from `str` types. Instead, it replaces the creation of c strings with a new type, `std::c_str::CString`, which wraps a malloced byte array, and respects: * No interior nulls * Ends with a trailing null
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-2/+0
2013-08-08Merge remote-tracking branch 'remotes/origin/master' into ↵Erick Tryzelaar-0/+3
remove-str-trailing-nulls
2013-08-07Add initial support for a new formatting syntaxAlex Crichton-0/+3
The new macro is available under the name ifmt! (only an intermediate name)
2013-08-06Merge commit 'd89ff7eef969aee6b493bc846b64d68358fafbcd' into ↵Erick Tryzelaar-2/+0
remove-str-trailing-nulls
2013-08-04std: replace str::as_c_str with std::c_strErick Tryzelaar-0/+1
2013-08-03std: Remove gc and stackwalkBrian Anderson-2/+0
These are both obsoleted by the forthcoming new GC.
2013-07-27Remove unnecessary #[path = "***/mod.rs"] lines.OGINO Masanori-3/+0
Fixes #7922. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2013-07-22std: add #[cfg(test)] reference to extra so we can benchmark libstd.Graydon Hoare-0/+3
2013-07-19std: Remove old magic core modBrian Anderson-10/+0
2013-07-14Make TLS keys actually take up spaceAlex Crichton-0/+1
If the TLS key is 0-sized, then the linux linker is apparently smart enough to put everything at the same pointer. OSX on the other hand, will reserve some space for all of them. To get around this, the TLS key now actuall consumes space to ensure that it gets a unique pointer
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+230