about summary refs log tree commit diff
path: root/src/libcore/path.rs
AgeCommit message (Collapse)AuthorLines
2013-05-13Remove re-exports from libcore/core.rcAlex Crichton-0/+4
Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude.
2013-05-11auto merge of #6389 : sonwow/rust/issue-3356, r=bstriebors-8/+8
Fix for #3356
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-8/+8
2013-05-09improve MIPS backend and implement segmented stacksJyun-Yan You-1/+30
2013-04-29auto merge of #6107 : catamorphism/rust/mkdir_recursive, r=brsonbors-0/+40
r? @brson This hopefully addresses your concerns about the termination condition, and adds more tests. With a bonus documentation commit.
2013-04-29librustc: Forbid type implementations on typedefs.Patrick Walton-16/+5
2013-04-28core: Document core::path::GenericPath's trait methodsTim Chevalier-0/+40
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-4/+5
2013-04-24Removed ascii functions from other modulesMarvin Löbel-2/+7
Replaced str::to_lowercase and str::to_uppercase
2013-04-22auto merge of #5966 : alexcrichton/rust/issue-3083, r=graydonbors-1/+1
Closes #3083. This takes a similar approach to #5797 where a set is present on the `tcx` of used mutable definitions. Everything is by default warned about, and analyses must explicitly add mutable definitions to this set so they're not warned about. Most of this was pretty straightforward, although there was one caveat that I ran into when implementing it. Apparently when the old modes are used (or maybe `legacy_modes`, I'm not sure) some different code paths are taken to cause spurious warnings to be issued which shouldn't be issued. I'm not really sure how modes even worked, so I was having a lot of trouble tracking this down. I figured that because they're a legacy thing that I'd just de-mode the compiler so that the warnings wouldn't be a problem anymore (or at least for the compiler). Other than that, the entire compiler compiles without warnings of unused mutable variables. To prevent bad warnings, #5965 should be landed (which in turn is waiting on #5963) before landing this. I figured I'd stick it out for review anyway though.
2013-04-22libcore: Add `is_absolute()` to paths. Closes #5851.Patrick Walton-3/+13
2013-04-20core: remove unused 'mut' variablesAlex Crichton-1/+1
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-35/+25
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-35/+35
2013-03-26Switched over a bunch of splitting funktions to non-allocating iteratorsMarvin Löbel-11/+22
2013-03-23core: derive Clone for core typesAndrew Paseltiner-2/+2
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-64/+64
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-3/+3
2013-03-22core: replace uses of old deriving attribute with new oneAndrew Paseltiner-2/+2
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-8/+8
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-8/+8
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-44/+50
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-57/+57
2013-03-04De-implicit-self libcoreBen Striegel-57/+57
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+1
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-4/+4
2013-02-19Added is_restricted() to pathArmin Ronacher-0/+26
2013-02-19Improved windows path handling supportArmin Ronacher-18/+100
2013-02-18Refactored make_absolute into functionality on the PathArmin Ronacher-0/+30
2013-02-15libcore: Get rid of `move`.Luqman Aden-25/+25
2013-02-14libcore: Remove ptr::mut_addr_of since &mut is coerced to *mutLuqman Aden-2/+2
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-4/+4
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-2/+2
2013-01-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-13/+12
2013-01-13Support ARM and Androidkyeongwoon-0/+2
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-8/+12
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+6
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-6/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+6
module scope. r=tjc
2013-01-04core: fix windows breakage, r=burningtree.Graydon Hoare-0/+1
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-1/+4
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+13
contain at least two components. r=graydon
2012-12-13Change some uses of static methods to use the trait pathBrian Anderson-2/+2
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-18/+2
2012-12-05librustc: Hook borrow check loan checking up to the moves-based-on-type ↵Patrick Walton-2/+2
infrastructure. rs=helps-unbreak-the-build
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-0/+3
2012-11-28Register snapshotsBrian Anderson-24/+0