summary refs log tree commit diff
path: root/src/libstd/bitv.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-114/+114
2013-03-27Autoref the argument to the index operator (#4920)Niko Matsakis-4/+6
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-1/+1
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-22/+22
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-5/+5
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-3/+3
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-3/+3
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-2/+2
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-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-15/+15
2013-03-07test: Fix tests.Patrick Walton-1/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-114/+114
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-4/+4
2013-02-19std: update rand-using tests, r=burningtreeGraydon Hoare-2/+2
2013-02-18Add benchmarks to measure differences in bit vectorsAlex Crichton-0/+92
2013-02-17Implement Set container on top of a bit vectorAlex Crichton-40/+470
2013-02-17Favor local closures instead of global functionsAlex Crichton-8/+4
2013-02-17Remove the 'uint_bits' constant in bitvAlex Crichton-11/+9
2013-02-17Change SmallBitv to use uint instead of u32Alex Crichton-8/+8
2013-02-17Modernize bitv mut fields and explicit selfAlex Crichton-134/+132
2013-02-15libstd: Get rid of `move`.Luqman Aden-5/+5
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-2/+2
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
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-04auto merge of #4784 : alexcrichton/rust/bitv-clear-fix, r=graydonbors-1/+19
I think that the inversion of `op(&mut w)` may have just been a mistake?
2013-02-04Fix the each_storage() iterator on big bit vectorsAlex Crichton-1/+19
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-4/+4
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-30Repair RIMOV damage to libstdBen Striegel-2/+2
2013-01-30RIMOV, round 10Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \;
2013-01-30RIMOV, round 7Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/ mut \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-20/+18
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-3/+5
2013-01-23core: Rename to_mut and from_mut to cast_to_mut and cast_from_mutTrinick-3/+3
2013-01-19Fix the difference method on bit vectorsAlex Crichton-5/+32
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-4/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2012-12-28libstd: Fix tests. rs=bustagePatrick Walton-0/+1
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-1/+4
contain at least two components. r=graydon
2012-12-09Remove transitional codeBrian Anderson-8/+0
2012-12-04librustc: Implement explicit self for Add and Index; add a hack in the ↵Patrick Walton-0/+8
borrow checker to support this. r=nmatsakis
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-27core: Add Clone traitBrian Anderson-16/+19
2012-10-12Make moves explicit in std testsTim Chevalier-3/+3
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-2/+2
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-03Remove uses of + mode from libstdTim Chevalier-2/+2
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.