about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2013-01-30Repair RIMOV damage to libstdBen Striegel-10/+9
2013-01-30RIMOV, round 10Ben Striegel-15/+15
find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \;
2013-01-30RIMOV, round 8Ben Striegel-2/+2
find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
2013-01-30RIMOV, round 7Ben Striegel-2/+2
find ./ -type f -name "*.rs" -exec sed -i "s/ mut \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
2013-01-30RIMOV, round 5Ben Striegel-22/+22
find ./ -type f -name "*.rs" -exec sed -i "s/\&\[mut /\&mut \[/g" {} \;
2013-01-30RIMOV, round 4Ben Striegel-10/+10
find ./ -type f -name "*.rs" -exec sed -i "s/let mut \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30RIMOV, round 3Ben Striegel-30/+30
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-5/+5
2013-01-30rustc: make integral type inference transactional, close #3211, close #4401, ↵Graydon Hoare-3/+3
close #3398.
2013-01-29Merge pull request #4682 from thestinger/treemapTim Chevalier-32/+23
Set trait improvements + minor treemap cleanup
2013-01-29std: Stop using oldcommBrian Anderson-449/+429
2013-01-29De-capitalize "note" to get rid of spurious tidy warningsTim Chevalier-1/+1
2013-01-29add intersection and union to the Set traitDaniel Micay-16/+16
2013-01-29add difference and symmetric_difference to SetDaniel Micay-17/+17
2013-01-29add is_disjoint to the Set traitDaniel Micay-27/+27
2013-01-29add is_subset and is_superset to the Set traitDaniel Micay-37/+37
2013-01-29update comments documenting issue #4492 workaroundDaniel Micay-9/+2
2013-01-29treemap: rm a bit of redundant codeDaniel Micay-4/+2
2013-01-29Merge pull request #4676 from thestinger/fuzzyTim Chevalier-3/+3
fix FuzzyEq
2013-01-29fix FuzzyEqDaniel Micay-3/+3
2013-01-29Fix licenseck to allow 2012-2013 as the year rangeTim Chevalier-2/+2
2013-01-29Merge pull request #4664 from thestinger/fuzzyTim Chevalier-12/+30
FuzzyEq improvements
2013-01-29implement fuzzy_eq with fuzzy_eq_epsDaniel Micay-4/+4
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-252/+230
2013-01-29librustc: De-implicit-self the visitor. r=graydonPatrick Walton-0/+1
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-38/+49
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-70/+53
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-28Add #[legacy_records] crate attributeTim Chevalier-0/+4
In rustc, rustdoc, rusti, syntax, and std.
2013-01-28add a FuzzyEq method that accepts an epsilon valueDaniel Micay-1/+20
2013-01-28Revert "Revert "Merge pull request #4633 from thestinger/treemap""Tim Chevalier-19/+10
This reverts commit d73077f82dc0f074f7abcb017bd73f4d70a685e9.
2013-01-28update FuzzyEq to explicit selfDaniel Micay-11/+10
2013-01-28fix std::cmp docstringDaniel Micay-1/+1
2013-01-28TidyBrian Anderson-6/+9
2013-01-28Greatly improve performance for TcpSocketBuf.readMichael Neumann-35/+77
For every call to the read() function the internal buffer was copied into a new buffer (minus the bytes copied into the result buffer). When the internal buffer is large enough, this severely affects performance, especially when read_line() is used which calls read_byte() (which calls read()) for each read byte. For line oriented I/O this wasn't all that bad, because the internal buffers usually never were very big. The effect is much more visible once the buffer grows larger. Now we always first look into the internal buffer and copy as many bytes as possible (and desired) into the result buffer. If we need more, we call the socket read function and use the result as the new internal buffer, then continue to copy from the (new) internal buffer, and so on.
2013-01-28Convert log(debug, ...) to debug!(...)Michael Neumann-69/+62
2013-01-28Merge remote-tracking branch 'thestinger/hashmap' into derivingBrian Anderson-6/+18
2013-01-28Merge remote-tracking branch 'codeblack08/treemap-ord' into derivingBrian Anderson-4/+82
2013-01-28get rid of LinearMap's find_copy methodDaniel Micay-6/+18
2013-01-28Remove bounds from type decl of smallintmapNiko Matsakis-2/+2
r=brson
2013-01-26std: implement lexicographical Ord for TreeMap/TreeSetCody Schroeder-4/+82
2013-01-26Merge remote-tracking branch 'brson/nocommupstream2'Brian Anderson-503/+558
2013-01-25Fix Option camel case in xfailed/ignored testsTyler Bindon-1/+1
2013-01-25Fix Option camel case in commentsTyler Bindon-9/+9
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-503/+558
Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs
2013-01-25Declare std::arc::unwrap to be pubCody Schroeder-1/+1
2013-01-25register snapshotsGraydon Hoare-58/+0
2013-01-25Revert "Merge pull request #4633 from thestinger/treemap"Tim Chevalier-10/+19
I was too hasty in merging -- this needs a snapshot. This reverts commit 4a7e1ab3745f519536ef6e0377427fc41e47f7c6, reversing changes made to e447521c1ca2dbead5b485ddc43060b282840817.
2013-01-25Merge pull request #4625 from thestinger/containerTim Chevalier-15/+6
more little container improvements
2013-01-25use mut function argument syntax in priority_queueDaniel Micay-8/+4
2013-01-25use mutable function argument syntax in treemapDaniel Micay-11/+6