Andrew Kelley
1fe1e6eeaf
mingw build: delete unused variable
2017-10-15 14:03:24 -04:00
Andrew Kelley
a98373f144
use correct integer type for windows BOOL
2017-10-15 14:01:55 -04:00
Andrew Kelley
3c19883493
only SetConsoleTextAttribute to do console colors on windows
2017-10-15 12:15:32 -04:00
Andrew Kelley
6fe1c3186f
disable some of the failing tests
...
See #537
2017-10-15 02:04:21 -04:00
Andrew Kelley
3b0fe534bc
fix regression on posix from previous commit
2017-10-15 01:24:58 -04:00
Andrew Kelley
8ab5313043
implement environment variables for windows
2017-10-15 01:23:10 -04:00
Andrew Kelley
55e8bbd167
std.mem.IncrementingAllocator: check for errors
2017-10-15 01:22:36 -04:00
Andrew Kelley
9c44dd7db3
disable byval parameters on windows to work around llvm bug
...
See #536
2017-10-15 01:22:17 -04:00
Andrew Kelley
ba405ed59b
try harder to emit console colors
2017-10-14 20:31:47 -04:00
Andrew Kelley
fd7654e4e8
build-exe allows direct export of WinMainCRTStartup
2017-10-14 20:12:15 -04:00
Andrew Kelley
f54aff4672
implement io.OutStream.openMode for windows
2017-10-14 18:23:16 -04:00
Andrew Kelley
46352f6bfe
std.io: remove unused constants
2017-10-14 18:12:14 -04:00
Andrew Kelley
531f3344dc
implement std.os.rename for windows
2017-10-14 17:56:18 -04:00
Andrew Kelley
61d715d784
implement std.os.symLink for windows
2017-10-14 17:39:44 -04:00
Andrew Kelley
ad6eec9480
fix regressions from previous commit on windows
2017-10-14 17:10:53 -04:00
Andrew Kelley
0307dc0b77
organize windows utility functions
2017-10-14 16:59:43 -04:00
Andrew Kelley
a68dc65327
fix os.makeDir for posix
2017-10-14 15:39:31 -04:00
Andrew Kelley
0bc80411f6
implement os.makeDir for windows
2017-10-14 15:32:29 -04:00
Andrew Kelley
8d3eaab871
implement std.os.ChildProcess for windows
2017-10-14 15:32:18 -04:00
Andrew Kelley
7f9dc4ebc1
fix std.os.getRandomBytes for windows
2017-10-11 23:14:48 -04:00
Andrew Kelley
b61a6ec8a6
implement command line argument parsing for windows
...
See #302
2017-10-11 22:50:16 -04:00
Andrew Kelley
717e791db2
better abort() implementation for windows
...
in debug mode, it spawns the debugger
2017-10-10 20:34:12 -04:00
Andrew Kelley
1f28d641c0
fix std.io.OutStream.close for windows
2017-10-10 19:36:35 -04:00
Andrew Kelley
aa78827db2
add module flag to emit CodeView for COFF object files
...
see #516
2017-10-10 18:04:02 -04:00
Andrew Kelley
1c28631738
use allocator.shrink instead of realloc in os.path.real
2017-10-10 11:31:53 -04:00
Andrew Kelley
e6334fe46d
implement std.io.InStream for windows
...
See #302
2017-10-09 15:59:10 -04:00
Andrew Kelley
055b856f13
fix build on non-windows
...
broken by previous commit
2017-10-09 14:27:14 -04:00
Andrew Kelley
c4262da8de
implement os.path.real for windows and update allocator interface
2017-10-09 14:21:35 -04:00
Andrew Kelley
a4310cf8b4
implement std.os.deleteFile for windows
2017-10-08 23:06:56 -04:00
Andrew Kelley
7f56744320
fix os.path.resolveWindows on non-windows
2017-10-08 21:52:26 -04:00
Andrew Kelley
987e0f5acb
Merge branch 'windows-paths'
2017-10-08 21:45:04 -04:00
Andrew Kelley
9d5f15fe3d
implement os.getCwd for windows
2017-10-08 21:44:24 -04:00
Andrew Kelley
7cfab2fb5f
implement std.os.relative for windows
2017-10-08 21:44:24 -04:00
Andrew Kelley
e15e1e09f0
os.path.basename implementation for windows
2017-10-08 21:44:17 -04:00
Andrew Kelley
dcf5c9074e
more std.os.path work for windows
2017-10-08 21:43:58 -04:00
Andrew Kelley
08ee69dac3
implement os.path.dirname for windows
2017-10-08 21:43:43 -04:00
Andrew Kelley
968ff38cad
better support table
2017-10-08 21:42:59 -04:00
Andrew Kelley
b4e42042cf
fix compiler crash when invalid value used
...
closes #527
2017-10-06 12:41:14 -04:00
Andrea Orru
569cf286ff
Fix for LLD on linker scripts with empty sections
2017-10-04 15:24:06 +02:00
Snorre
522b431057
fix isatty for macOS and libc ( #523 )
2017-10-03 09:33:30 -04:00
Andrew Kelley
3af35fc1df
fix mingw build
2017-10-03 09:32:38 -04:00
Andrew Kelley
f86684f410
fix duplicated symbols in compiler-rt tests
2017-10-03 01:26:07 -04:00
Andrew Kelley
8d4668231a
compiler-rt tests pass with and without libc
2017-10-03 01:15:07 -04:00
Andrew Kelley
3c6eff465d
fix tests on linux and macos
2017-10-03 01:14:29 -04:00
Andrew Kelley
402b03c4a9
Merge branch 'windows-alignment'
2017-10-03 00:58:57 -04:00
Andrew Kelley
6a0c428997
use __chkstk_ms compiler-rt functions for __chkstk
...
I had to revert the target native features thing because there
is still some incorrect behavior with f128.
Reopens #508
partially reverts b505462509
See #302
2017-10-03 00:57:02 -04:00
Andrew Kelley
b505462509
replace __chkstk function with a stub that does not crash
...
Closes #508
See #302
2017-10-03 00:29:41 -04:00
Andrew Kelley
f1bd02e6f4
add @setAlignStack builtin
2017-10-03 00:29:27 -04:00
Andrew Kelley
c180ef86af
fix travis
2017-10-02 10:48:20 -04:00
Andrew Kelley
ec40542c44
windows: alignstack=16 on every function
...
See #302
2017-10-02 09:55:49 -04:00