summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2013-03-21rustc: Comments only - explain the invariant about ty_err and ty_bot a littleTim Chevalier-0/+10
2013-03-21auto merge of #5457 : pcwalton/rust/xcpsm, r=pcwaltonbors-17/+46
r? @catamorphism
2013-03-21librustc: Forbid access to cross-crate private static methodsPatrick Walton-17/+46
2013-03-21auto merge of #5464 : luqmana/rust/const-pat, r=pcwaltonbors-16/+93
r? @pcwalton
2013-03-21libcore: Remove a few possibly-cyclic imports in an effort to unbreak the ↵Patrick Walton-3/+3
tree on Linux
2013-03-21auto merge of #5466 : Kimundi/rust/view-slice-rename, r=bstriebors-161/+151
A slice now always refers to something that returns an borrowed pointer, views don't exist anymore. If you want to have an explictit copy of a slice, use `to_owned()`
2013-03-21auto merge of #5470 : sanxiyn/rust/remove-oldmap-2, r=sanxiynbors-33/+38
Referencing #4986.
2013-03-21Switch impls_seen from oldmapSeo Sanghyeon-4/+4
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-124/+124
slice_unique
2013-03-21Switch CoherenceInfo from oldmapSeo Sanghyeon-10/+9
2013-03-21removed str::slice_DBG_UNIQMarvin Löbel-66/+42
2013-03-21test: XFAIL test issue-4120 due to Valgrind complaints.Patrick Walton-0/+4
2013-03-21Time type checking passes separatelySeo Sanghyeon-8/+14
2013-03-21Move the function to time passes to utilSeo Sanghyeon-11/+11
2013-03-21auto merge of #5465 : sanxiyn/rust/remove-oldmap, r=sanxiynbors-37/+37
Improves resolve by 20% as measured by time-passes on rustc.
2013-03-21Switch Module.import_resolutions from oldmapSeo Sanghyeon-13/+13
2013-03-21Test for cross-crate const in match pattern.Luqman Aden-0/+22
2013-03-21librustc: Fix path-qualified and cross-crate constants in match patterns.Luqman Aden-16/+71
2013-03-21Switch Module.children from oldmapSeo Sanghyeon-24/+24
2013-03-21rt: Increase C_STACK_SIZE to 2MB to get JIT/rusti working again (dlopen ↵Zack Corr-1/+1
segfaults)
2013-03-20auto merge of #5458 : pcwalton/rust/valgrind-suppress, r=pcwaltonbors-0/+15
2013-03-20Make typechecker compositionalTim Chevalier-495/+814
The typechecker previously passed around a boolean return flag to indicate whether it saw something with type _|_ (that is, something it knows at compile-time will definitely diverge) and also had some manual checks for the `ty_err` pseudo-type that represents a previous type error. This was because the typing rules implemented by the typechecker didn't properly propagate _|_ and ty_err. I fixed it. This also required changing expected error messages in a few tests, as now we're printing out fewer derived errors -- in fact, at this point we should print out no derived errors, so report any that you see (ones that include "[type error]") as bugs.
2013-03-20auto merge of #5456 : graydon/rust/fixups, r=pcwaltonbors-28/+39
Stage markers for stage3 and a trivial prelude fix.
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-148/+162
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-20auto merge of #5455 : pcwalton/rust/framework, r=catamorphismbors-21/+15
r? @catamorphism
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-296/+251
2013-03-20auto merge of #5447 : erickt/rust/incoming, r=graydonbors-105/+297
This normalizes the how we call reverse iteration functions. It also adds a char_len method, and a method to iterate backwards over a string.
2013-03-20etc: Suppress Linux valgrind issues for new schedulerPatrick Walton-0/+15
2013-03-20auto merge of #5453 : catamorphism/rust/issue-4120, r=catamorphismbors-0/+17
2013-03-20librustc: Fix bug preventing `-framework Foo` from working cross-crate.Patrick Walton-5/+1
2013-03-20libsyntax: Never use `::<>` in the type grammarPatrick Walton-16/+14
2013-03-20add stage3 markers where necessary for dist-snapGraydon Hoare-0/+8
2013-03-20core: add Reader, Writer, ReaderUtil, WriterUtil to prelude. Close #4182.Graydon Hoare-28/+31
2013-03-20testsuite: Add test for #4210Tim Chevalier-0/+17
2013-03-20add assert_eq! macroJohn Clements-0/+28
the assert_eq! macro compares its arguments and fails if they're not equal. It's more informative than fail_unless!, because it explicitly writes the given and expected arguments on failure.
2013-03-20auto merge of #5445 : nikomatsakis/rust/issue-3678-refactor-trans_call, ↵bors-34/+26
r=graydon Refactor trans_call to separate out the translation of the arguments, environment, and return pointer. Towards #3678. r? @brson
2013-03-20auto merge of #5450 : pcwalton/rust/warnings, r=graydonbors-3/+10
r? @graydon
2013-03-20librustc: Remove debug code and add scary warnings for rusti/rustpkgPatrick Walton-3/+10
2013-03-20core: add str::each{,i}_reverseErick Tryzelaar-89/+221
2013-03-20core: add char_len methodErick Tryzelaar-1/+5
2013-03-20core: add char_at_reverseErick Tryzelaar-1/+34
2013-03-20auto merge of #5434 : apasel422/rust/deriving, r=nikomatsakisbors-1271/+1358
This is the first step in refactoring the deriving code in libsyntax. No code is changed, just rearranged.
2013-03-20auto merge of #5435 : nikomatsakis/rust/issue-4846-refactor-self_info, ↵bors-86/+53
r=nikomatsakis Refactor the self-info so that the def-id is carried in ty_self()and the fn_ctxt doesn't need any self_info field at all. Pull out explicit self transformation into `check_method`. Step towards fixing `fn(&self)` to have a distinct lifetime. (cc #4846) r? @catamorphism
2013-03-20Apply explicit self transformation before we enter check_fnNiko Matsakis-50/+21
2013-03-20Refactor the self-info so that the def-id is carried in ty_self()Niko Matsakis-38/+34
and the fn_ctxt doesn't need any self_info field at all. Step towards fixing `fn(&self)` (cc #4846) to have a distinct lifetime.
2013-03-20auto merge of #5443 : alexcrichton/rust/less-bad-copy, r=catamorphismbors-472/+469
Removes a lot of instances of `/*bad*/ copy` throughout libsyntax/librustc. On the plus side, this shaves about 2s off of the runtime when compiling `librustc` with optimizations. Ideally I would have run a profiler to figure out which copies are the most critical to remove, but in reality there was a liberal amount of `git grep`s along with some spot checking and removing the easy ones.
2013-03-19auto merge of #5432 : ILyoan/rust/arm_use_ndk_rebase, r=sanxiynbors-26/+73
Partial Fix for #5265 - Enabling LLVM ARM ehabi option. - Add ARM debug information manually for ccall.s - Compile object file using Android-NDK. Current LLVM trunk version can generate ARM debug information for assembly files but it is incomplete for object files. Unwinding on ARM can be done with LLVM trunk(the LLVM submodule of rust has problem on generating ARM debug information). See #5368 The Android-NDK detour(0f89eab) can be removed after LLVM has complete feature of generating ARM debug information for object file.
2013-03-20rustc: Remove some bad copies throughoutAlex Crichton-404/+400
2013-03-19auto merge of #5442 : pcwalton/rust/extern-block-restriction, r=pcwaltonbors-188/+411
r? @graydon
2013-03-19test: Fix test. rs=testPatrick Walton-1/+1