about summary refs log tree commit diff
path: root/src/lib/win32_os.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-133/+0
2011-12-02stdlib: Actually write the word 'fail' instead of just thinking itBrian Anderson-0/+1
2011-12-02stdlib: Add issue number to win32 fsync FIXMEBrian Anderson-1/+1
2011-12-02stdlib: Win32 fsync is just failBrian Anderson-3/+1
No fsync function on windows. Needs custom implementation.
2011-12-02Added cross-platform fsync api to io; win32 impl needs to be refinedStefan Plantikow-0/+8
No tests, need mktmpfile first
2011-12-01fix name of SetCurrentDirectoryNiko Matsakis-1/+1
2011-12-01libstd: add fs::change_dir()Elly Jones-0/+1
2011-11-22stdlib: win32 fixes for dir handlingBrian Anderson-3/+3
2011-11-22Add fs::rmdir() and tempfile/gen_str() tests.Elly Jones-0/+1
2011-11-22std: add fs::mkdir(), rng.gen_str(), tempfile::mkdtemp()Elly Jones-0/+4
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16correct signed-ness and long lineNiko Matsakis-1/+1
2011-11-16fix win32 types, make close() use i32 as return typeNiko Matsakis-35/+36
2011-11-16Use attributes for native module ABI and link nameHaitao Li-3/+7
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-16rustc: Use link_name attribute for native functionHaitao Li-2/+4
Fixes issue #906
2011-11-15stdlib: Turn function calls into constants. Fix win32 breakageBrian Anderson-2/+2
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-19/+13
Fixes issue #1165
2011-11-09Rename "c-stack-stdcall" ABI to "stdcall"Brian Anderson-1/+1
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-2/+2
2011-11-09Convert last use of "x86stdcall" ABI to "c-stack-stdcall"Brian Anderson-1/+1
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-1/+9
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-1/+1
2011-10-24move more native "rust" to native "c-stack-cdecl"Niko Matsakis-1/+1
2011-10-04Add std::os::get_exe_pathBrian Anderson-0/+21
Need this to correctly determine sysroot in rustc
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-1/+1
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-12/+8
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-6/+6
2011-09-01Convert rust_getcwd to istrs. Issue #855Brian Anderson-2/+2
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-8/+11
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-4/+6
2011-08-20ReformatBrian Anderson-7/+8
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-12Remove all usages of std::vec::vbufBrian Anderson-12/+4
2011-08-03Add some hacks to get stdin piping working more correctly in windowsBrian Anderson-2/+12
The way pipes work in windows is not the same as unix, though I'm not entirely clear on the differences. This patch changes the windows pipe method to return non-inheritable fds, and the windows rust_run_program method to duplicate them before spawning the new process. This allows make-check-pretty to work on windows.
2011-07-27Reformat for new syntaxMarijn Haverbeke-34/+34
2011-07-26Fix win tinderbox breaking typoMarijn Haverbeke-1/+1
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-4/+4
2011-07-21Use correct win file open constants, per MinGWBrian Anderson-6/+6
2011-07-18Add setenv to standard libraryBrian Anderson-1/+5
2011-07-17Revert "Add setenv to standard library"Brian Anderson-2/+1
This reverts commit 6fb168b3dbd733f6fccebd01c2e5416f800a5566.
2011-07-17Add setenv to standard libraryBrian Anderson-1/+2
2011-07-13Feeble attempt at putting out the win tinderboxMarijn Haverbeke-2/+2
2011-07-12stdlib: Make pipe and waitpid use interior vectorsPatrick Walton-5/+5
2011-07-10stdlib: Implement an interior-vector version of the io modulePatrick Walton-0/+7
2011-06-28Use "" in the native_name as an indication that no extra options have toRafael Ávila de Espíndola-1/+1
be passed to the "linker". Use that for libc.
2011-06-27Record and link with used native libraries.Rafael Ávila de Espíndola-1/+1
2011-06-17stdlib: added getcwd and a convenience function to make relative paths ↵Eric Holk-0/+4
absolute. This will be helpful for #441.
2011-06-15Fix a bunch of compile-command lines to use RBUILDGraydon Hoare-1/+1
2011-06-15Attempt to put out windows tinderbox.Graydon Hoare-4/+4
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-37/+29
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-4/+4
Except for _task, which is still a keyword.