about summary refs log tree commit diff
path: root/src/libstd/bitv.rs
AgeCommit message (Collapse)AuthorLines
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.
2012-09-28std: More demodingBrian Anderson-12/+12
2012-09-28De-export std::{bitv, cell, timer}. Part of #3583.Graydon Hoare-7/+5
2012-09-28std: Eliminate deprecated patternsBrian Anderson-31/+30
2012-09-25Demode dvecTim Chevalier-1/+1
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-1/+1
an explicit variable name. (Step one to changing the defaults) First step to #3535
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-19std: Demode bitvBrian Anderson-1/+4
2012-09-18Replace uses of 'unchecked' with 'unsafe'Brian Anderson-1/+1
2012-09-11Make moves explicit in argumentsTim Chevalier-1/+1
2012-09-10Make remaining moves explicit in libstdTim Chevalier-1/+1
2012-09-04Use struct+impl syntax instead of the (deprecated) struct with embedded ↵Gareth Daniel Smith-151/+185
methods syntax. Also standardise the comment indentation and add some whitespace between items.
2012-09-04fix two issues with the exports: Gareth Daniel Smith-22/+1
1. from_bytes, from_bools and from_fn were not exported but should have been. 2. lots of stuff that either didnt exist or didnt need exporting was being exported.
2012-09-04add additional Bitv constructors (as proposed in issue #2964)Gareth Daniel Smith-0/+99
2012-09-04libstd: "import" -> "use"Patrick Walton-1/+1
2012-09-02Camel case core::opsBrian Anderson-1/+1
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-1/+0
2012-08-28CamelCasify lots of stdBen Striegel-102/+107
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-21fix a bug in bitv where the undefined bits in small/big bitv values could ↵Gareth Daniel Smith-45/+116
cause operations to return incorrect results.
2012-08-21fix a logic bug in small_bitv.setGareth Daniel Smith-1/+9
2012-08-17Remove the class keywordBrian Anderson-3/+3
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-3/+3
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-16/+16
2012-08-05Switch alts to use arrowsBrian Anderson-60/+38
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-1/+1
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-2/+1
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-11/+11
2012-07-29Rewrite bitv to use classes and optimize its representationTim Chevalier-330/+484
Rewrote bitv as a class that uses a 32-bit int as its representation for bit vectors of 32 bits or less, and a vector (the old representation) otherwise. I didn't benchmark very much, but a bit of informal benchmarking suggested this is a win. Closes #2341
2012-07-27core: Trait-ify various overloaded operatorsPatrick Walton-2/+8
2012-07-17Fixing coherence error in bitvEric Holk-1/+23
2012-07-17Added liveness analysis for protocols, and removed warnings about empty states.Eric Holk-0/+8
2012-07-17Modernize bitv somewhatEric Holk-20/+41
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-5/+5
#2907.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-63/+63
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498