about summary refs log tree commit diff
path: root/src/libcargo
AgeCommit message (Collapse)AuthorLines
2013-02-15Rename cargo to rustpkg and start over freshZack Corr-2110/+0
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-1/+1
slipped through. r=tjc
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-1/+1
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15libcargo: Get rid of `move`.Luqman Aden-3/+3
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-1/+1
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-17/+17
2013-02-09auto merge of #4854 : thestinger/rust/oldmap, r=catamorphismbors-9/+9
2013-02-09auto merge of #4848 : nikomatsakis/rust/issue-4821-bad-kind-computation, ↵bors-5/+5
r=catamorphism ...ear values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821. r? @catamorphism
2013-02-08oldmap: get rid of legacy _ref suffixesDaniel Micay-9/+9
2013-02-08Fix subtle error in caching during kind computation that could cause linearNiko Matsakis-5/+5
values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821.
2013-02-07auto merge of #4839 : catamorphism/rust/rm-structural-records, r=catamorphismbors-1/+1
2013-02-07core: Remove structural records from the rest of core, except pipesTim Chevalier-1/+1
That will, sadly, require one more snapshot.
2013-02-07implement BaseIter for LinearMapDaniel Micay-1/+1
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-3/+3
2013-02-05oldmap: use &K instead of K in find and getPatrick Walton-9/+9
This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure.
2013-02-05Revert "oldmap: use &K instead of K in find and get"Graydon Hoare-9/+9
This reverts commit 8e643525d4e5bca993dada43615916c382a0645b.
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-9/+9
2013-02-03oldmap: &K instead of K for the remove parameterDaniel Micay-3/+3
2013-02-03oldmap: remove legacy each methodDaniel Micay-17/+17
2013-02-03oldmap: get rid of the legacy each_key methodDaniel Micay-3/+3
2013-02-03oldmap: remove the legacy each_value methodDaniel Micay-3/+3
2013-02-03oldmap: implement core::container::ContainerDaniel Micay-2/+2
2013-02-03oldmap: get rid of the legacy contains_key methodDaniel Micay-2/+2
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-5/+5
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1Brian Anderson-1/+1
2013-01-31cleanup for make checkJohn Clements-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-18/+18
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-10/+8
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-30librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and ↵Patrick Walton-94/+88
librustdoc. rs=deexporting
2013-01-29librustc: De-implicit-self the visitor. r=graydonPatrick Walton-0/+1
2013-01-28get rid of LinearMap's find_copy methodDaniel Micay-23/+23
2013-01-26cargo: remove structural recordsTim Chevalier-5/+5
2013-01-23Merge pull request #4594 from thestinger/mapTim Chevalier-15/+15
more work on the map trait and TreeMap/LinearMap
2013-01-23switch LinearMap to current constructor conventionDaniel Micay-3/+3
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-16/+18
2013-01-23rename hashmap find/get -> find_copy/get_copyDaniel Micay-11/+11
2013-01-23rename send_map to hashmapDaniel Micay-1/+1
This makes the module much more discoverable, and is in line with the 'treemap' naming.
2013-01-20Revert "Fix options passed to gpg in cargo init"Tim Chevalier-1/+1
As per https://github.com/mozilla/rust/pull/4253 This reverts commit 6c056976678e103f23fd29557174d7718b75a617.
2013-01-17Add a license check to tidy. #4018Brian Anderson-1/+0
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-1/+1
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-2/+4
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08arrange core::os::constsILyoan-1/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+3
contain at least two components. r=graydon
2012-12-24bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-5/+5
2012-12-21Fix options passed to gpg in cargo initMartin DeMello-1/+1
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-15/+14