summary refs log tree commit diff
path: root/src/libstd/lib.rs
AgeCommit message (Collapse)AuthorLines
2014-05-07std: Doc typosBrian Anderson-3/+4
2014-05-07Test fixes and rebase conflictsAlex Crichton-5/+2
2014-05-07core: Move Option::expect to libstd from libcoreAlex Crichton-2/+1
See #14008 for more details
2014-05-07core: Inherit the cell moduleAlex Crichton-1/+1
2014-05-07core: Inhert ~/@/& cmp traits, remove old modulesAlex Crichton-2/+0
This commit removes the std::{managed, reference} modules. The modules serve essentially no purpose, and the only free function removed was `managed::ptr_eq` which can be achieved by comparing references. [breaking-change]
2014-05-07core: Inherit the cmp moduleAlex Crichton-3/+1
This removes the TotalOrd and TotalEq implementation macros, they will be added later to the numeric modules (where the other comparison implementations live).
2014-05-07core: Inherit the iter moduleAlex Crichton-1/+1
2014-05-07core: Inherit the option moduleAlex Crichton-1/+1
2014-05-07core: Inherit the bool moduleAlex Crichton-2/+1
2014-05-07core: Inherit the tuple moduleAlex Crichton-1/+1
2014-05-07core: Inherit the clone moduleAlex Crichton-1/+1
2014-05-07core: Inherit the unit moduleAlex Crichton-1/+0
2014-05-07core: Inherit the default moduleAlex Crichton-0/+1
2014-05-07core: Inherit the raw moduleAlex Crichton-2/+1
2014-05-07core: Inherit the any moduleAlex Crichton-2/+1
2014-05-07core: Inherit the char moduleAlex Crichton-1/+1
2014-05-07core: Inherit the container moduleAlex Crichton-1/+1
2014-05-07core: Inherit the ty moduleAlex Crichton-2/+1
2014-05-07core: Inherit the ops moduleAlex Crichton-1/+1
2014-05-07core: Inherit the kinds moduleAlex Crichton-1/+2
2014-05-07core: Inherit the cast moduleAlex Crichton-1/+1
2014-05-07core: Inherit the ptr moduleAlex Crichton-1/+2
2014-05-07core: Inherit the mem moduleAlex Crichton-2/+1
2014-05-07core: Inherit the intrinsics moduleAlex Crichton-3/+3
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-1/+2
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-04-30Move bitflags module to libstdBrendan Zabarauskas-0/+3
This will allow us to provide type-safe APIs in libstd that are C-compatible.
2014-04-29auto merge of #13772 : brson/rust/cratedocs, r=alexcrichtonbors-26/+78
Also move prelude explanation to the prelude module. This tries to provide a guide to what's in the standard library, organized bottom up from primitives to I/O.
2014-04-27std: Rewrite crate docsBrian Anderson-26/+78
Also move prelude explanation to the prelude module.
2014-04-23Register new snapshotsAlex Crichton-2/+0
These are the first successful snapshots after the LLVM upgrade, built with LLVM that requires C++11
2014-04-22add support for quadruple precision floating pointDaniel Micay-1/+3
This currently requires linking against a library like libquadmath (or libgcc), because compiler-rt barely has any support for this and most hardware does not yet have 128-bit precision floating point. For this reason, it's currently hidden behind a feature gate. When compiler-rt is updated to trunk, some tests can be added for constant evaluation since there will be support for the comparison operators. Closes #13381
2014-04-10libstd: Implement `StrBuf`, a new string buffer type like `Vec`, andPatrick Walton-0/+1
port all code over to use it.
2014-04-08Register new snapshotsAlex Crichton-1/+0
2014-04-06auto merge of #13315 : alexcrichton/rust/libc, r=alexcrichton,mebors-2/+3
Rebasing of #12526 with a very obscure bug fixed on windows.
2014-04-04Register new snapshotsAlex Crichton-3/+1
2014-04-04Remove libc from stdCorey Richardson-2/+3
These wrappers are bound to a specific libc, and they don't need to be part of libstd.
2014-04-04auto merge of #13295 : huonw/rust/gate-concat-idents, r=alexcrichtonbors-1/+2
rustc: feature-gate `concat_idents!`. concat_idents! is not as useful as it could be, due to macros only being allowed in limited places, and hygiene, so lets feature gate it until we make a decision about it. cc #13294
2014-04-04rustc: feature-gate `concat_idents!`.Huon Wilson-1/+2
concat_idents! is not as useful as it could be, due to macros only being allowed in limited places, and hygiene, so lets feature gate it until we make a decision about it. cc #13294
2014-04-03auto merge of #13296 : brson/rust/0.11-pre, r=alexcrichtonbors-1/+1
This also changes some of the download links in the documentation to 'nightly'.
2014-04-03auto merge of #13290 : alexcrichton/rust/rollup, r=alexcrichtonbors-0/+1
Closes #13285 (rustc: Stop using LLVMGetSectionName) Closes #13280 (std: override clone_from for Vec.) Closes #13277 (serialize: add a few missing pubs to base64) Closes #13275 (Add and remove some ignore-win32 flags) Closes #13273 (Removed managed boxes from libarena.) Closes #13270 (Minor copy-editing for the tutorial) Closes #13267 (fix Option<~ZeroSizeType>) Closes #13265 (Update emacs mode to support new `#![inner(attribute)]` syntax.) Closes #13263 (syntax: Remove AbiSet, use one Abi)
2014-04-03Bump version to 0.11-preBrian Anderson-1/+1
This also changes some of the download links in the documentation to 'nightly'.
2014-04-03auto merge of #13286 : alexcrichton/rust/release, r=brsonbors-1/+1
Merging the 0.10 release into the master branch.
2014-04-03std: override clone_from for Vec.Huon Wilson-0/+1
A vector can reuse its allocation (and the allocations/resources of any contained values) when cloning into an already-instantiated vector, so we might as well do so.
2014-04-01auto merge of #13225 : thestinger/rust/num, r=cmrbors-2/+0
The `Float` trait methods will be usable as functions via UFCS, and we came to a consensus to remove duplicate functions like this a long time ago. It does still make sense to keep the duplicate functions when the trait methods are static, unless the decision to leave out the in-scope trait name resolution for static methods changes.
2014-04-01remove the cmath moduleDaniel Micay-2/+0
This is an implementation detail of the `f32` and `f64` modules and it should not be public. It renames many functions and leaves out any provided by LLVM intrinsics, so it is not a sensible binding to the C standard library's math library and will never be a stable target. This also removes the abuse of link_name so that this can be switched to using automatically generated definitions in the future. This also removes the `scalbn` binding as it is equivalent to `ldexp` when `FLT_RADIX` is 2, which must always be true for Rust.
2014-03-31std: Switch field privacy as necessaryAlex Crichton-1/+3
2014-03-31Bump version to 0.10Alex Crichton-1/+1
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-12/+12
Closes #2569
2014-03-24green: Remove the dependence on the crate mapAlex Crichton-1/+1
This is the final nail in the coffin for the crate map. The `start` function for libgreen now has a new added parameter which is the event loop factory instead of inferring it from the crate map. The two current valid values for this parameter are `green::basic::event_loop` and `rustuv::event_loop`.
2014-03-23Register new snapshotsFlavio Percoco-4/+0
2014-03-22make std::managed privateDaniel Micay-1/+1
This removes two tests built on `managed::refcount`, but these issues are well-covered elsewhere for non-managed types.