about summary refs log tree commit diff
path: root/src/libextra
AgeCommit message (Collapse)AuthorLines
2013-07-03auto merge of #7518 : graydon/rust/stats-improvements, r=catamorphismbors-18/+830
2013-07-03auto merge of #7474 : Seldaek/rust/clean-iter, r=thestingerbors-0/+328
I think it's WIP - but I wanted to ask for feedback (/cc @thestinger) I had to move the impl of FromIter for vec into extra::iter because I don't think std can depend on extra, but that's a bit messed up. Similarly some FromIter uses are gone now, not sure if this is fixable or if I made a complete mess here..
2013-07-01Compare values in TreeMap's 'lt' functionAlex Crichton-6/+8
Closes #5194
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-65/+70
2013-06-30auto merge of #7487 : huonw/rust/vec-kill, r=cmrbors-53/+50
Continuation of #7430. I haven't removed the `map` method, since the replacement `v.iter().transform(f).collect::<~[SomeType]>()` is a little ridiculous at the moment.
2013-06-30extra: docs, tests and new functionality for the extra::stats moduleGraydon Hoare-18/+830
2013-07-01Move most iter functionality to extra, fixes #7343Jordi Boggiano-0/+328
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-30Specialize to_str_common for floats/integers in strconvAlex Crichton-5/+11
This allows the integral paths to avoid allocations on the heap Closes #4424, #4423
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-18/+17
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-30Convert vec::{grow, grow_fn, grow_set} to methods.Huon Wilson-2/+1
2013-06-30Convert vec::{reverse, swap} to methods.Huon Wilson-23/+23
2013-06-30Convert vec::{rposition, rposition_elem, position_elem, contains} to methods.Huon Wilson-6/+4
2013-06-30Remove vec::[r]position_between, replaced by slices & iterators.Huon Wilson-4/+5
2013-06-30auto merge of #7468 : cmr/rust/great_renaming, r=pcwaltonbors-514/+420
2013-06-29Removing a lot of usage of '&const'Alex Crichton-14/+14
2013-06-29Warning cleanupCorey Richardson-7/+7
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-511/+417
2013-06-29'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵Ben Blum-22/+25
for making them noncopyable.
2013-06-29Change taskgroup key type to fn:Copy in prep for noncopyable stack closures.Ben Blum-1/+1
2013-06-29libextra: unused import fix for android AGAINYoung-il Choi-1/+4
2013-06-29Smarter warning in extra::term::Terminal.reset()Kevin Ballard-2/+4
Don't spew a warn!() in reset() if num_colors is 0, because non-color-supporting terminals are legit. Use debug!() there instead. Continue spewing warn!() if we believe the terminal to support colors. Use a better warning when the `op` capability can't be found.
2013-06-29Rename #[mutable] to #[no_freeze]Brian Anderson-3/+6
2013-06-29Rename #[non_sendable] to #[no_send]Brian Anderson-2/+2
2013-06-28auto merge of #7451 : cmr/rust/rewrite-each-path, r=pcwaltonbors-267/+304
2013-06-28Fix merge falloutCorey Richardson-5/+0
2013-06-28libextra: Fix even more merge fallout.Patrick Walton-7/+2
2013-06-28librustc: Fix more merge fallout.Patrick Walton-5/+15
2013-06-28librustc: Fix merge fallout and test cases.Patrick Walton-3/+4
2013-06-28Rewrite each_path to allow performance improvements in the future.Patrick Walton-1/+1
Instead of determining paths from the path tag, we iterate through modules' children recursively in the metadata. This will allow for lazy external module resolution.
2013-06-28librustc: Rewrite reachability and forbid duplicate methods in type ↵Patrick Walton-141/+145
implementations. This should allow fewer symbols to be exported.
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-50/+72
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-5/+14
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-54/+54
2013-06-28librustc: Rename Const to FreezePatrick Walton-14/+14
2013-06-28librustc: Rename Owned to Send in the compilerPatrick Walton-1/+2
2013-06-28auto merge of #7436 : kballard/rust/term-dumb, r=cmrbors-4/+7
Unlike fg() and bg(), we haven't already checked for the presence of "op" in the terminfo when we call reset(), so we need to handle the case where it's missing. Also update the warn!() lines to avoid double-quoting the output. Fixes #7431.
2013-06-27rc: add missing `#[unsafe_no_drop_flag]`Daniel Micay-0/+2
The destructors were updated in d9f6dd263c16a21108c27dbf15a3d59a43a5b490 but this was accidentally left out.
2013-06-27extra: unused import fix for androidYoung-il Choi-1/+7
2013-06-27auto merge of #7430 : huonw/rust/vec-kill, r=thestingerbors-123/+95
2013-06-27Teach extra::term::Terminal.reset() to handle missing opKevin Ballard-4/+7
Unlike fg() and bg(), we haven't already checked for the presence of "op" in the terminfo when we call reset(), so we need to handle the case where it's missing. Also update the warn!() lines to avoid double-quoting the output. Fixes #7431.
2013-06-28extra: silence some test warnings.Huon Wilson-43/+22
2013-06-28Convert vec::{reserve, reserve_at_least, capacity} to methods.Huon Wilson-10/+9
2013-06-28Convert vec::{partition, partitioned} to methods.Huon Wilson-1/+1
2013-06-28Convert vec::{pop, shift, unshift, insert, remove, swap_remove} to methods.Huon Wilson-2/+1
2013-06-27Convert vec::{head, tail, init, last} (and similar fns) to methods.Huon Wilson-1/+1
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-66/+61
2013-06-27auto merge of #7361 : brson/rust/incoming, r=brsonbors-14/+14
2013-06-26auto merge of #7420 : mozilla/rust/rollup, r=thestingerbors-79/+217
2013-06-26Fix deque testsCorey Richardson-4/+5