- 23 1月, 2014 1 次提交
-
-
由 Florian Hahn 提交于
-
- 21 1月, 2014 1 次提交
-
-
由 Huon Wilson 提交于
-
- 08 1月, 2014 2 次提交
-
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
- 25 12月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
This prevents usage of the win32 utf-16 helper functions from outside of libstd. Closes #9053
-
由 Alex Crichton 提交于
Previously this functionality was located in std::rt::util, but there's no real reason for it to be located in there.
-
- 19 12月, 2013 3 次提交
-
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
There's no need for the restrictions of a closure with the above methods.
-
- 15 12月, 2013 2 次提交
-
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
- 11 12月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
cells.
-
- 08 12月, 2013 1 次提交
-
-
由 Kiet Tran 提交于
-
- 05 12月, 2013 1 次提交
-
-
由 Kevin Ballard 提交于
This reverts commit c54427dd. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs
-
- 30 11月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 29 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 27 11月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 26 11月, 2013 1 次提交
-
-
由 Marvin Löbel 提交于
-
- 20 11月, 2013 1 次提交
-
-
由 Patrick Walton 提交于
-
- 19 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
A the same time this purges all runtime support needed for statically initialized mutexes, moving all users over to the new Mutex type instead.
-
- 12 11月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
These two attributes are no longer useful now that Rust has decided to leave segmented stacks behind. It is assumed that the rust task's stack is always large enough to make an FFI call (due to the stack being very large). There's always the case of stack overflow, however, to consider. This does not change the behavior of stack overflow in Rust. This is still normally triggered by the __morestack function and aborts the whole process. C stack overflow will continue to corrupt the stack, however (as it did before this commit as well). The future improvement of a guard page at the end of every rust stack is still unimplemented and is intended to be the mechanism through which we attempt to detect C stack overflow. Closes #8822 Closes #10155
-
- 11 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
-
- 09 11月, 2013 1 次提交
-
-
由 Corey Richardson 提交于
-
- 05 11月, 2013 1 次提交
-
-
由 Alex Crichton 提交于
This renames the `file` module to `fs` because that more accurately describes its current purpose (manipulating the filesystem, not just files). Additionally, this adds an UnstableFileStat structure as a nested structure of FileStat to signify that the fields should not be depended on. The structure is currently flagged with #[unstable], but it's unlikely that it has much meaning. Closes #10241
-
- 04 11月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
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
-
由 Alex Crichton 提交于
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
-
- 25 10月, 2013 3 次提交
-
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Big fish fried here: extra::json most of the compiler extra::io_util removed extra::fileinput removed Fish left to fry extra::ebml
-
由 Alex Crichton 提交于
This removes the PathLike trait associated with this "support module". This is yet another "container of bytes" trait, so I didn't want to duplicate what already exists throughout libstd. In actuality, we're going to pass of C strings to the libuv APIs, so instead the arguments are now bound with the 'ToCStr' trait instead. Additionally, a layer of complexity was removed by immediately converting these type-generic parameters into CStrings to get handed off to libuv apis.
-
- 23 10月, 2013 2 次提交
- 22 10月, 2013 2 次提交
-
-
由 Alex Crichton 提交于
Who doesn't like a massive renaming?
-
由 Georges Dubus 提交于
Fixes #9468.
-
- 20 10月, 2013 1 次提交
-
-
由 LEE Wondong 提交于
This make these functions use wchar_t version of APIs, instead of char version.
-
- 17 10月, 2013 3 次提交
-
-
由 Kevin Ballard 提交于
Also fix some issues that crept into earlier commits during the conflict resoution for the rebase.
-
由 Kevin Ballard 提交于
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.
-
由 Kevin Ballard 提交于
Standardize the is_sep() functions to be the same in both posix and windows, and re-export from path. Update extra::glob to use this. Remove the usage of either, as it's going away. Move the WindowsPath-specific methods out of WindowsPath and make them top-level functions of path::windows instead. This way you cannot accidentally write code that will fail to compile on non-windows architectures without typing ::windows anywhere. Remove GenericPath::from_c_str() and just impl BytesContainer for CString instead. Remove .join_path() and .push_path() and just implement BytesContainer for Path instead. Remove FilenameDisplay and add a boolean flag to Display instead. Remove .each_parent(). It only had one caller, so just inline its definition there.
-
- 16 10月, 2013 2 次提交
-
-
由 Kevin Ballard 提交于
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.
-
由 Kevin Ballard 提交于
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.
-