summary refs log tree commit diff
path: root/src/libstd/sha1.rs
AgeCommit message (Collapse)AuthorLines
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
2012-08-23Rename str::bytes to str::to_bytesTim Chevalier-1/+1
Closes #3245
2012-08-08Remove obsolete FIXMEs, close #2345.Graydon Hoare-4/+0
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-01Convert ret to returnBrian Anderson-6/+6
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-14/+14
#2907.
2012-07-13Make push_str overallocate. Use it in some places that were still doing +=.Michael Sullivan-1/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-26/+26
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-01Convert to new closure syntaxBrian Anderson-5/+5
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-27/+27
2012-06-27Replace more vector additions (issue #2719)Eric Holk-1/+1