| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-01-04 | etc: licenseck: don't hardcode a specific year | Adrien Tétar | -2/+2 | |
| 2013-12-11 | std::io: Add Buffer.lines(), change .bytes() api | klutzy | -5/+1 | |
| - `Buffer.lines()` returns `LineIterator` which yields line using `.read_line()`. - `Reader.bytes()` now takes `&mut self` instead of `self`. - `Reader.read_until()` swallows `EndOfFile`. This also affects `.read_line()`. | ||||
| 2013-12-04 | Revert "libstd: Change `Path::new` to `Path::init`." | Kevin Ballard | -2/+2 | |
| This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs | ||||
| 2013-11-29 | libstd: Change `Path::new` to `Path::init`. | Patrick Walton | -2/+2 | |
| 2013-11-26 | test: Remove non-procedure uses of `do` from compiletest, libstd tests, | Patrick Walton | -6/+6 | |
| compile-fail tests, run-fail tests, and run-pass tests. | ||||
| 2013-11-26 | libsyntax: Remove the old-style borrowed closure type syntax from the | Patrick Walton | -1/+1 | |
| language. | ||||
| 2013-11-26 | Removed unneccessary `_iter` suffixes from various APIs | Marvin Löbel | -1/+1 | |
| 2013-11-11 | Move std::rt::io to std::io | Alex Crichton | -2/+2 | |
| 2013-11-03 | Fill out the remaining functionality in io::file | Alex Crichton | -2/+2 | |
| This adds bindings to the remaining functions provided by libuv, all of which are useful operations on files which need to get exposed somehow. Some highlights: * Dropped `FileReader` and `FileWriter` and `FileStream` for one `File` type * Moved all file-related methods to be static methods under `File` * All directory related methods are still top-level functions * Created `io::FilePermission` types (backed by u32) that are what you'd expect * Created `io::FileType` and refactored `FileStat` to use FileType and FilePermission * Removed the expanding matrix of `FileMode` operations. The mode of reading a file will not have the O_CREAT flag, but a write mode will always have the O_CREAT flag. Closes #10130 Closes #10131 Closes #10121 | ||||
| 2013-11-03 | Remove all blocking std::os blocking functions | Alex Crichton | -3/+2 | |
| This commit moves all thread-blocking I/O functions from the std::os module. Their replacements can be found in either std::rt::io::file or in a hidden "old_os" module inside of native::file. I didn't want to outright delete these functions because they have a lot of special casing learned over time for each OS/platform, and I imagine that these will someday get integrated into a blocking implementation of IoFactory. For now, they're moved to a private module to prevent bitrot and still have tests to ensure that they work. I've also expanded the extensions to a few more methods defined on Path, most of which were previously defined in std::os but now have non-thread-blocking implementations as part of using the current IoFactory. The api of io::file is in flux, but I plan on changing it in the next commit as well. Closes #10057 | ||||
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -2/+2 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-16 | path2: Update for latest master | Kevin Ballard | -1/+1 | |
| Also fix some issues that crept into earlier commits during the conflict resoution for the rebase. | ||||
| 2013-10-16 | path2: Remove some API functions | Kevin Ballard | -1/+1 | |
| Delete the following API functions: - set_dirname() - with_dirname() - set_filestem() - with_filestem() - add_extension() - file_path() Also change pop() to return a boolean instead of an owned copy of the old filename. | ||||
| 2013-10-15 | path2: Adjust the API to remove all the _str mutation methods | Kevin Ballard | -1/+1 | |
| Add a new trait BytesContainer that is implemented for both byte vectors and strings. Convert Path::from_vec and ::from_str to one function, Path::new(). Remove all the _str-suffixed mutation methods (push, join, with_*, set_*) and modify the non-suffixed versions to use BytesContainer. | ||||
| 2013-10-15 | path2: Replace the path module outright | Kevin Ballard | -2/+2 | |
| Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process. | ||||
| 2013-10-10 | Remove some users of io::file_reader | Alex Crichton | -7/+11 | |
| 2013-09-30 | compiletest: Remove usage of fmt! | Alex Crichton | -2/+2 | |
| 2013-09-03 | Correctly determine OS to xfail in cross build | Seo Sanghyeon | -4/+4 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -1/+1 | |
| cc #5898 | ||||
| 2013-08-03 | replace all remaining `for` with `foreach` or `do` | Daniel Micay | -10/+14 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -1/+1 | |
| 2013-07-04 | Bring compiletest/rustpkg/driver up to date on std vs core | Alex Crichton | -4/+2 | |
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -1/+0 | |
| 2013-06-11 | fix tests, remove some warnings | Huon Wilson | -1/+0 | |
| 2013-06-11 | std: replace str::{starts,ends}_with with the method. | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: remove str::contains in favour of the method | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: replace str::find_str* with a method | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: remove str::{len, slice, is_empty} in favour of methods. | Huon Wilson | -2/+2 | |
| 2013-06-10 | std: replace str::all/any fns and methods with iterators | Huon Wilson | -0/+1 | |
| 2013-06-10 | std: replace str::each_split* with an iterator | Huon Wilson | -2/+2 | |
| 2013-05-30 | Remove a bunch of unnecessary allocations and copies | Björn Steinbrink | -2/+2 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -1/+5 | |
| 2013-05-23 | cleanup warnings from compiletest | Erick Tryzelaar | -4/+3 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-14 | compiletest: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -17/+22 | |
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-10 | renamed str::from_slice to str::to_owned | Youngsoo Son | -1/+1 | |
| 2013-05-01 | compiletest: stop ignoring all tests. | Graydon Hoare | -1/+1 | |
| 2013-05-01 | remove some warnings | Erick Tryzelaar | -2/+1 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -7/+0 | |
| 2013-04-14 | test: remove unnecessary unsafe blocks/functions | Alex Crichton | -10/+8 | |
| 2013-03-26 | Fixed all use sites and tests | Marvin Löbel | -1/+2 | |
| 2013-03-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -1/+1 | |
| slice_unique | ||||
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -2/+2 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -1/+1 | |
| 2013-03-03 | replace option::iter with a BaseIter impl | Daniel Micay | -2/+2 | |
| 2013-03-02 | librustc: Forbid chained imports and fix the logic for one-level renaming ↵ | Patrick Walton | -4/+5 | |
| imports | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-09 | Add debug info tests | Brian Leibig | -4/+30 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -1/+1 | |
