about summary refs log tree commit diff
path: root/src/libstd/sha1.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-414/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-1/+1
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-10/+10
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-3/+3
2013-05-09auto merge of #6349 : thestinger/rust/explicit_copy, r=thestingerbors-3/+3
I removed some of the copies, but most are just made explicit. The usage in `libcore` was already fixed, but the attribute was only set to warn (not removed).
2013-05-09remove vecs_implicitly_copyable from libstd/libcoreDaniel Micay-3/+3
2013-05-09libstd: rename vec::each(var) to var.eachYoungmin Yoo-3/+3
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-8/+0
2013-04-20std: remove unused 'mut' variablesAlex Crichton-2/+2
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-1/+1
pub mod or pub fn).
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-116/+114
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-11/+11
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-3/+3
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-7/+7
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-1/+1
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-2/+2
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-1/+1
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-11/+11
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-2/+2
2013-02-27Fix: now sha1 result_str() return correct valueJihyun Yu-1/+21
2013-02-15libstd: Get rid of `move`.Luqman Aden-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-1/+1
2013-02-13RIMOV core::vecBen Striegel-34/+34
Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04std: Stamp out structural recordsTim Chevalier-2/+2
See #4665
2013-02-03Converted libcore/uint-template.rs to the new string functions.Marvin Löbel-1/+1
- Moved ToStr implementation of unsigned integers to uint-template.rs. - Marked the `str()` function as deprecated. - Forwarded all conversion functions to `core::num::to_str_common()` and `core::num::from_str_common()`. - Fixed most places in the codebase where `to_str()` is being used. - Added uint-template to_str and from_str overflow tests.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-4/+1
2013-01-24convert most of libstd over to structsErick Tryzelaar-40/+60
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-82/+84
2013-01-23core: Rename to_mut and from_mut to cast_to_mut and cast_from_mutTrinick-3/+3
2013-01-02remove apparently-superfluous extra parens from typesTim Chevalier-2/+2
2013-01-02std: Constify the bytes sent to Sha1::inputPeter Williams-4/+4
We are of course never going to modify the data, and this change allows us to accept data from to_bytes::IterBytes types.
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+5
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+4
contain at least two components. r=graydon
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-09-28std: Eliminate deprecated patternsBrian Anderson-1/+0
2012-09-27De-export std::{dbg,sha1,md4,tempfile,term}. Part of #3583.Graydon Hoare-2/+1
2012-09-21libcore: De-mode strPatrick Walton-1/+4
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-3/+5
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-7/+5
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-5/+7
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-1/+1
also, change DVec() to work with imm vectors rather than mut ones
2012-09-11Make moves explicit in argumentsTim Chevalier-1/+1
2012-09-10Make remaining moves explicit in libstdTim Chevalier-1/+1
2012-08-29Camel case more std typesBrian Anderson-12/+12
2012-08-25Remove deprecated modes from SHA1 and MD4 in libstdKevin Cantu-33/+39
2012-08-23More complete fix to #3162 (borrowck bug related to access to rec fields)Niko Matsakis-1/+2