about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2013-03-26rustdoc: Handle impl method visibility correctly. #5533Brian Anderson-13/+161
2013-03-26rustdoc: Build the crate config correctly. Fixes #5011Brian Anderson-1/+1
2013-03-26rustdoc: Sanitize links harderBrian Anderson-0/+15
2013-03-26auto merge of #5553 : pnkfelix/rust/doc-fixes-for-0.6-incoming, r=sanxiynbors-6/+7
2013-03-26Added missing lifetime annotations, doc and whitespace cleanupsMarvin Löbel-66/+66
2013-03-26Fixed all use sites and testsMarvin Löbel-176/+204
2013-03-26Isolated bug, static vector seems to behave differently than fixed sized oneMarvin Löbel-31/+1
2013-03-26Switched over a bunch of splitting funktions to non-allocating iteratorsMarvin Löbel-98/+135
2013-03-26pre-rebase commitMarvin Löbel-101/+119
2013-03-26Moved float str buffer constants to the strconv moduleMarvin Löbel-11/+10
2013-03-26auto merge of #5546 : nikomatsakis/rust/ty_region-useful-span, r=catamorphismbors-11/+18
r? @catamorphism
2013-03-26Cleanup wording around the awkward "and so on is . ." in the README.txt.Felix S. Klock II-2/+2
2013-03-26Spelling fixes; replaced `size` with `capacity` in few places.Felix S. Klock II-3/+3
2013-03-26Fixes mozilla/rust#3612.Felix S. Klock II-1/+2
2013-03-26auto merge of #5542 : catamorphism/rust/issue-4983, r=catamorphismbors-1/+1
2013-03-26auto merge of #5539 : apasel422/rust/kate, r=brsonbors-3/+1
2013-03-26auto merge of #5536 : sanxiyn/rust/doc-purity, r=brsonbors-23/+17
Fix #3804.
2013-03-25auto merge of #5528 : thestinger/rust/find_mut, r=brsonbors-9/+135
This currently requires workarounds for the borrow checker not being flow-sensitive for `LinearMap` and `TrieMap`, but it can already be expressed for `TreeMap` and `SmallIntMap` without that.
2013-03-25auto merge of #5525 : dbaupp/rust/minor_fixups, r=graydonbors-26/+9
Kills some warnings, and implements str::each_char_reverse so that it actually iterates. The test case wasn't detecting a failure, since the loop body was never executed.
2013-03-25auto merge of #5524 : luqmana/rust/repeat-loop, r=pcwaltonbors-16/+51
`let v = [24, ..1000];` now more or less emits the same IR as: ```Rust let mut i = 0; while i < 1000 { v[i] = 24; i += 1; } ``` LLVM will still turn it into a memset if possible with optimization on.
2013-03-25auto merge of #5513 : apasel422/rust/deriving, r=luqmanabors-68/+13
This removes some explicit implementations of `Eq` in favor of `#[deriving(Eq)]` and derives `Clone` for a few core types.
2013-03-25auto merge of #5509 : thestinger/rust/oldmap, r=brsonbors-347/+42
The reasoning for doing it this way is that it's much easier to transition method-by-method to the `Map` API than trying to do the migration all at once. I found an issue unrelated to my changes in one of the run-fail tests - if it uses `LinearMap`, it still fails but exits with 0. I xfailed it for now and opened [an issue](https://github.com/mozilla/rust/issues/5512), because it's not caused by these changes.
2013-03-25Expand on cleanups in trans for expr_repeat and add to tests.Luqman Aden-0/+12
2013-03-25make ty_region give a useful span when it failsNiko Matsakis-11/+18
2013-03-25auto merge of #5409 : brson/rust/rt, r=brsonbors-1082/+1803
r? There are a lot of commits here, but not all that much substance. Mostly just refactoring. I started sketching out the beginnings of a very simple I/O API in `core::rt::io` that represents I/O streams as a single `Stream` trait instead of `Reader` / `Writer` pairs. This seems to be the more common pattern (at least this is how the .NET BCL does it) and it seems to me that separate readers and writers would make duplex streams very awkward. Regardless, I don't intend to go very far down the I/O API design road without some mailing list discussion. I've also started on the uv bindings for file I/O but haven't gotten very far. Also hooked up the new scheduler to `rust_start` and the compiletest driver. 70% of run-pass test cases already pass, but I wouldn't read too much into that. I also split the direct, low-level uv bindings in two so that the scheduler can have its own set, leaving `std::net` on its own.
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-1082/+1803
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-25auto merge of #5424 : luqmana/rust/inline-rt, r=brsonbors-124/+217
As per #2521. Inlining seems to improve performance slightly: Inlined Not Inlined x86: 13.5482 14.4112 x86_64: 17.4712 18.0696 (Average of 5 runs timed with `time`) ```Rust fn foo() -> int { int::from_str(~"28098").unwrap() } fn main() { for 1000000.times { foo(); foo(); foo(); foo(); foo(); } } ``` All run on: Linux 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.35-2~bpo60+1 x86_64 GNU/Linux The MIPS and ARM bits I didn't inline since I'm not as familiar with them and I also can't test them. All green on try.
2013-03-25core: Fix doc comment error, as per #4983Tim Chevalier-1/+1
2013-03-25kate: remove `const`, `log`, and `pure` keywords, add `super` keywordAndrew Paseltiner-3/+1
2013-03-25rustdoc: Show puritySeo Sanghyeon-23/+17
2013-03-25trie: improve docstringDaniel Micay-1/+1
2013-03-24expose find_mut in the Map traitDaniel Micay-36/+38
2013-03-24smallintmap: add find_mut methodDaniel Micay-2/+28
2013-03-24trie: add find_mut methodDaniel Micay-1/+32
2013-03-24hashmap: add find_mut methodDaniel Micay-1/+34
2013-03-24librustc: clean-up expr_repeat loop generation: use native integersHuon Wilson-7/+5
2013-03-24treemap: add a find_mut methodDaniel Micay-4/+38
2013-03-25libcore: implement `str::each_char_reverse` correctly.Huon Wilson-10/+9
Previously, `each_char_reverse` was not iterating at all, so the testcase never ran properly.
2013-03-25Kill some warnings: unused imports and old #[deny(..)]s.Huon Wilson-16/+0
2013-03-24librustc: emit loop for expr_repeat instead of 2n instructions in [x, ..n]Luqman Aden-16/+41
2013-03-23make crates with the same name sort consistentlyDaniel Micay-5/+9
2013-03-23auto merge of #5515 : nikomatsakis/rust/issue-5514-flexible-coherence-rules, ↵bors-46/+49
r=pcwalton See issue #5514 r? @pcwalton
2013-03-23libsyntax: Fix `static` in pretty printer. rs=burningtreePatrick Walton-10/+0
2013-03-23Update coherence rules to be more flexible for `impl Trait for Type`Niko Matsakis-46/+49
2013-03-23replace impls with `deriving` where applicableAndrew Paseltiner-63/+7
2013-03-23core: derive Clone for core typesAndrew Paseltiner-5/+6
2013-03-23turn std::oldmap into a wrapper around LinearMapDaniel Micay-342/+33
2013-03-22libcore: Fix obsolete syntax in extfmtPatrick Walton-20/+19
2013-03-22libsyntax: Stop parsing old lifetime syntaxPatrick Walton-4/+5
2013-03-22test: Add lifetime binders and new-style lifetime parameters to the test suitePatrick Walton-47/+47