Commit Graph

4103 Commits (169a789b343e9070b4658de9c8bd96c6736c6edc)

Author SHA1 Message Date
Andrew Kelley 67fbb0434f
ir: remove redundant casting code 2018-11-11 12:48:55 -05:00
Andrew Kelley ef5d7ce463
array type syntax implies comptime 2018-11-09 19:26:54 -05:00
emekoi 8e69a18d8c made colored output more consistent (#1706)
* made colored output more consistent
* added os.supportsAnsiEscapeCodes
2018-11-08 00:36:36 -05:00
Andrew Kelley ac8898e681
std.build.Builder: mutable env_map 2018-11-07 21:23:09 -05:00
Andrew Kelley d9fe38789b macos: use the same code as linux to determine libc include path
this fixes .h file locating on macos 10.14
2018-11-06 17:59:44 -05:00
Andrew Kelley 63f636e7b7
limit integer types to maximum bit width of 65535
closes #1541
2018-11-06 11:09:14 -05:00
Andrew Kelley a08b65720b
README: update CI badges 2018-11-06 09:55:54 -05:00
Andrew Kelley eba90cdc41
ci: remove accidental .lib files from windows zip 2018-11-05 16:55:16 -05:00
Andrew Kelley 86e3b51565
ci: 7-zip instead of info-zip for windows
I'm guessing this is why 0.3.0 is 21.5MiB while
master is 27.6MiB
2018-11-05 13:26:46 -05:00
kristopher tate 3ec58b8e0b ci/azure: set wget to non-verbose mode to make logs easier to read;
Over 5000 lines of wget download process updates are stored to the logs: `2018-11-05T15:12:23.7724039Z 296000K .......... .......... .......... .......... .......... 99% 83.9M 0s`
2018-11-05 12:59:35 -05:00
Andrew Kelley 973e0abe79
ci: full test suite 2018-11-05 10:10:27 -05:00
Andrew Kelley e64e8d62dd
ci: display environment variables 2018-11-05 09:46:31 -05:00
Andrew Kelley 9b0fb8a912
ci: fix paths 2018-11-05 01:51:28 -05:00
Andrew Kelley dc2dfef0a2
ci: upload a src tarball too 2018-11-05 01:32:21 -05:00
Andrew Kelley caf1ec9474
ci: fix shasum commands 2018-11-04 23:26:23 -05:00
Andrew Kelley eb1c769404
ci: add missing steps field 2018-11-04 22:38:23 -05:00
Andrew Kelley c2df9236c4
ci: use azure for all CI
* appveyor and travis are removed
 * add a job to update the download page when all
   targets pass. closes #1046
2018-11-04 22:32:59 -05:00
kristopher tate 5d014d4b37 os.crypto: support for HmacBlake2s256 variety; 2018-11-03 15:03:48 -04:00
Andrew Kelley c7b79284ef
azure: build static macos 2018-11-02 00:54:34 -04:00
Andrew Kelley 1554dd9697
support building static self hosted compiler on macos
* add a --system-linker-hack command line parameter to work around
   poor LLD macho code. See #1535
 * build.zig correctly handles static as well as dynamic dependencies
   when building the self hosted compiler.
   - no more unnecessary libxml2 dependency
   - a static build on macos produces a completely static self-hosted
     compiler for macos (except for libSystem as intended).
2018-11-02 00:54:34 -04:00
Andrew Kelley 5c97aff627
readme: MSVC 2017 is the supported one now
also add note about pre-built master branch
2018-11-01 15:21:41 -04:00
Andrew Kelley 5b1b072d8d
Merge branch 'winksaville-add-test-for-atomic-Queue-dump' 2018-10-31 10:44:25 -04:00
Andrew Kelley 0f3e7387bf
cleanups 2018-10-31 10:44:05 -04:00
Andrew Kelley b04c6cee60
Merge branch 'add-test-for-atomic-Queue-dump' of https://github.com/winksaville/zig into winksaville-add-test-for-atomic-Queue-dump 2018-10-31 10:29:49 -04:00
Andrew Kelley 4e12f909df
simplify logic of pass1 ir for while on error unions 2018-10-31 10:00:51 -04:00
Andrew Kelley 7405bc7618
remove implicit cast from number literal to enum
I missed this code when removing explicit cast syntax.
2018-10-30 17:28:03 -04:00
Andrew Kelley ca71373da1
remove another implicit cast to const pointer
* remove implicit cast from *T to ?*const T
 * remove implicit cast from T to ?*const T when T is a struct/union
2018-10-29 16:41:30 -04:00
Andrew Kelley 0921a93c1c
Merge pull request #1686 from emekoi/comment-fix
fixed comments
2018-10-27 14:07:08 -04:00
emekoi c7799ff2b2 fixed comments 2018-10-27 12:58:40 -05:00
emekoi 395f3d946a fixed mingw compilation 2018-10-27 11:35:01 -04:00
Andrew Kelley 2b395d4ede
remove @minValue,@maxValue; add std.math.minInt,maxInt
closes #1466
closes #1476
2018-10-26 15:01:51 -04:00
Andrew Kelley 40b7652a6d
fix stack pointer register name on i386 2018-10-25 18:25:53 -04:00
Andrew Kelley eb0b1d38ff
remove 3 more implicit casts to const pointers
see #1465
2018-10-25 12:52:12 -04:00
Ryan Saunderson 73ab0afadd Bug fixes in WinSDK detection (#1665)
* fixed detecting the latest installed version of the windows sdk & related tests
2018-10-24 16:14:16 -04:00
tgschultz 63f9769e80 fix "std" not found error in meta/trait 2018-10-24 01:47:52 -04:00
tgschultz 65b9fae4f8 fix error where "std" isn't found in meta/trait 2018-10-24 01:47:52 -04:00
Andrew Kelley b4801186b7
langref: dark style. easier on the eyes 2018-10-23 22:11:31 -04:00
emekoi d7cec5b37c fixes #1667 2018-10-23 21:29:04 -04:00
Andrew Kelley 96923edc53
travis: don't use newer cli args of s3cmd 2018-10-23 18:48:34 -04:00
Andrew Kelley 08c5f7d059
travis: add missing http headers for docs 2018-10-23 17:06:37 -04:00
Josh Wolfe 6fe7dd93cb that's not a keyword 2018-10-22 20:44:59 -04:00
Jimmi Holst Christensen 65b7d85524 Fixed code still using old ptr syntax 2018-10-20 17:59:06 +02:00
tgschultz 58610a4427 Add std.meta to deployment (#1670) 2018-10-20 11:40:26 -04:00
Greg V f3bc1c38bf Specify 16-byte stack alignment in _start on FreeBSD 2018-10-20 15:21:35 +03:00
Greg V 6a8fb06006 Split at zero byte in SplitIterator
To avoid extra zeros in buffers
2018-10-20 15:21:35 +03:00
Greg V e5627f8e63 Support more of std on FreeBSD 2018-10-20 15:21:35 +03:00
Greg V 831bb66895 Set up libc/rtld paths for FreeBSD 2018-10-20 15:21:35 +03:00
Greg V a983a0a59b Add /usr/local/lib path for libxml2 and link libc++ on FreeBSD 2018-10-20 15:21:32 +03:00
Greg V d6cab0d4b6 Various fcntl flags are also machine-independent on FreeBSD 2018-10-20 15:15:01 +03:00
Greg V afe26bbcbd System call numbers on FreeBSD are machine-independent
But e.g. sbrk is only removed in new architectures (aarch64, riscv),
so keep it in x86_64
2018-10-20 15:15:01 +03:00