about summary refs log tree commit diff
path: root/src/libextra/terminfo/searcher.rs
AgeCommit message (Collapse)AuthorLines
2014-02-02Move term, terminfo out of extra.xales-112/+0
cc #8784
2014-01-03libextra: Remove unnecessary `@mut`sPatrick Walton-5/+9
2013-12-04Revert "libstd: Change `Path::new` to `Path::init`."Kevin Ballard-5/+5
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-29libstd: Change `Path::new` to `Path::init`.Patrick Walton-5/+5
2013-11-26Removed unneccessary `_iter` suffixes from various APIsMarvin Löbel-1/+1
2013-11-11Move std::rt::io to std::ioAlex Crichton-2/+2
2013-11-03Fill out the remaining functionality in io::fileAlex 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-03Remove all blocking std::os blocking functionsAlex Crichton-5/+5
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-24Remove std::io once and for all!Alex Crichton-3/+4
2013-10-15path2: Adjust the API to remove all the _str mutation methodsKevin Ballard-8/+8
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-15path2: Replace the path module outrightKevin Ballard-17/+25
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-09-30extra: Remove usage of fmt!Alex Crichton-2/+2
2013-08-03remove obsolete `foreach` keywordDaniel Micay-2/+2
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-2/+2
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-5/+4
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+1
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-12std: convert str::replace to a method.Huon Wilson-1/+1
2013-06-12std: remove substr & str::count_*, methodise char_len, implement slice_chars.Huon Wilson-3/+3
The confusing mixture of byte index and character count meant that every use of .substr was incorrect; replaced by slice_chars which only uses character indices. The old behaviour of `.substr(start, n)` can be emulated via `.slice_from(start).slice_chars(0, n)`.
2013-06-10terminfo: Support more terminfo directory structuresKevin Ballard-2/+13
OS X's terminfo uses the hex representation of the first character of the terminal name as the directory name. Ubuntu seems to use /lib/terminfo instead of /usr/share/terminfo, at least on the one machine I have access to.
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-2/+3
2013-06-03Ignore tests that cannot pass on buildbotCorey Richardson-0/+2
2013-05-31extra::term: better error handling and win32 compatCorey Richardson-2/+2
2013-05-31extra::term overhaulCorey Richardson-0/+87