summary refs log tree commit diff
path: root/src/libstd/bitv.rs
AgeCommit message (Collapse)AuthorLines
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
2012-07-01Convert to new closure syntaxBrian Anderson-11/+11
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-46/+46
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-28/+28
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-5/+4
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-08std: Typo fix in docs.Lindsey Kuper-1/+1
2012-05-31Some fixes to bitv. Close #2342.Graydon Hoare-13/+34
2012-05-27std: Fix bitv each() method (issue 2363)Benjamin Kircher-0/+10
2012-05-26core: Make range follow the for loop protocolBrian Anderson-5/+5
2012-05-03Annotate FIXMEs in std::bitv, and remove a FIXMETim Chevalier-8/+3
Changed a while loop into a for loop in std::bitv::equal. Yay!
2012-03-27Move some code over to iterator-for to see how it performs.Marijn Haverbeke-3/+9
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-7/+7