Commit Graph

1174 Commits

Author SHA1 Message Date
Renaud Guillard
d9f15aec7c os.outputof: add a second argument to select which stream to output
local o, e = os.outputof(cmd, streams)

    Where streams could be one of
    - "output" Only return standard output stream content
    - "error" Only return standard error stream content
    - "both" (default) Return both streams content
2021-01-25 19:18:48 +01:00
Joel Linn
0163b86628 msc Fix several flags.
- Link-time optimizations now sets cl and ld flags.
- Run-Time selection now adheres to `runtime` setting.
- Set Subsystem for WindowedApp
2020-11-09 17:27:45 +01:00
starkos
0c792a0ff3 Disable network tests; add --test-all flag to enable
Hides the automated tests that require calls out to the network behind a new `--test-all` flag. Allows for faster TDD iterations for new development, and tests can now be run even when offline.
2020-10-07 09:31:15 -04:00
$continue$
31707a40c4 Update cxx standard; Add C++ latest for gcc; Update GCC tests 2020-08-21 21:40:32 +03:00
starkos
08a19770f8
Merge pull request #1484 from LORgames/ssurtees/symlink
Fixed issue with os.matchfiles and symlinks
2020-07-10 14:56:25 -04:00
Sam Surtees
ce186b1292 Fixed issue with os.matchfiles and symlinks 2020-07-11 02:02:42 +10:00
Sam Surtees
a56be783de Disable redirect test until HTTP endpoint is fixed 2020-07-11 00:03:12 +10:00
Ethan Wallace
acda348b4b Added new 'warning' levels
Added new warning level "Everything" which turns on all available
compiler warnings. Updated "High" and "Extra" to reflect actual
differences in emitted compiler flags.
2020-06-19 14:09:14 -04:00
Ethan Wallace
454a54961b
Merge branch 'master' into vs-warnings 2020-06-18 17:57:28 -04:00
Renaud Guillard
5b6ba6ec27 remove systemversion string validation 2020-06-15 10:29:16 +02:00
Renaud Guillard
c923e04486 macOS deployment target support for gcc and clang
Use the value of systemversion to set the Apple-specific gcc/clang option -mmacosx-version-min=<version>, equivalent of the Xcode setting MACOSX_DEPLOYMENT_TARGET

add tests for gcc and clang
2020-06-11 21:39:23 +02:00
Nick Clark
572e4036b9
Added gnu++20 option
* Update vcxproj.lua
* Update dmd.lua
* Update ldc.lua
* Update gcc.lua
* Update test_gcc.lua
2020-06-02 11:52:44 -04:00
nickclark2016
4a627cc764 Add C++20 cppdialect for C++ projects 2020-06-01 19:49:55 -04:00
Ethan Wallace
ae26a6f41f Added /Wall to possible warning levels for Visual Studio
The 'warnings' keyword now accepts a value of 'High' to generate the /W4 MSVC compiler flag as well as 'Extra' to generate the /Wall flag.
2020-05-15 15:01:29 -04:00
starkos
ae5d93a1a8 Enable enablewarnings() for MSC 2020-04-06 18:01:36 -04:00
tempura-sukiyaki
40e3fbf5ea Change deferred join delimiter to non-printable character
This is a squashed and rebased version of #1384, authored by @tempura-sukiyaki. Changes the deferred join path delimiter to a non-printable character to avoid conflicts with the pipe symbol in paths.
2020-02-25 18:53:26 -05:00
Sam Surtees
f8a88c362c Fixed bug with linkgroups only working on Premake projects 2020-02-09 01:10:07 +10:00
Sam Surtees
9128498bf9 Fixed edge case in path.normalize 2020-02-02 16:30:44 +10:00
Jordi Vilalta Prat
75ceeb50c6 Fix the return values of os.rmdir() and os.remove() 2019-10-31 18:11:25 +01:00
Petr Kalandra
95fb306b2b New 'listWindowsRegistry' OS API method for enumerating content of single Windows registry subkey 2019-10-14 21:35:13 +02:00
Samuel Surtees
5913b0ebaa
Merge pull request #1244 from LORgames/ssurtees/detokenFix
Fixed issue with detoken not handling deferred joins correctly
2019-04-30 22:01:24 +10:00
Samuel Surtees
a413f904d7
Merge pull request #1240 from WorldofBay/patch-1
allow linking of mixed c++ assemblies
2019-03-12 21:09:33 +10:00
Joao Matos
4464c4291b Default to Roslyn-based csc compiler on all platforms. 2019-02-18 16:36:09 +00:00
Joao Matos
d0ab1edf67 Added support for csversion API to dotnet toolset. 2019-02-18 12:37:21 +00:00
Sam Surtees
1d24f9994b Fixed issue with detoken not handling deferred joins correctly 2019-02-14 23:14:34 +10:00
WorldofBay
213057ff2e
2 new tests for canLink 2019-02-07 15:10:58 +01:00
Ross Brackstone
c0ceb0f26d Added support & tests for XCTest sharedlibtype 2019-01-09 14:12:44 +10:00
tdesveaux
a1d7e8657c Host path.normalize: Fix normalization for paths containing tokens 2018-11-04 18:01:29 +01:00
Thomas Desveaux
f68c386341 path.normalize: Fix when call with path surrounded with quotes 2018-10-11 14:21:42 +02:00
Mihai Sebea
541958e4d2 ! fixed pepper fish to work with lua 5.3.4 2018-09-08 23:12:44 +02:00
Samuel Surtees
dfef8e4766
Merge pull request #1132 from tdesveauxPKFX/host/normalize
Refactor path.normalize and handle path ending with .
2018-08-13 20:30:02 +10:00
tdesveaux
439a1b373d Path normalize: Add test for server path (//) 2018-08-12 15:17:20 +02:00
tempura-sukiyaki
ea4f03c4cd Fix OSXFramework bundlepath 2018-08-01 12:28:32 +09:00
Thomas Desveaux
051ed6a1ab Path normalize: Add test with trailing dot 2018-07-19 18:34:36 +02:00
Sebastian Kylander
3fec411a54
Merge branch 'master' into server-paths 2018-07-18 16:37:19 +02:00
Sebastian Kylander
b618a94d7c Add tests for server paths 2018-07-17 23:41:22 +02:00
Emilio López
1cb240dbe5 Remove Xbox 360 code from core to move and expand onto a standalone module 2018-06-08 22:55:59 +01:00
Daniel Schmidt
30d22de0b6 Fix httpbin useragent response format. 2018-05-11 10:49:15 +02:00
Tom van Dijck
a493421c0c
Merge pull request #1049 from tdesveauxPKFX/visibility-inlines-hidden
Add InlinesVisibility API
2018-05-07 10:19:27 +02:00
Sam Surtees
138a443b3c Fixed issues with duplicate tests
- Test suite will now fail when test names are reused
- Fixed several unit tests that reused test names
2018-04-30 17:01:20 +02:00
Sam Surtees
eb71045c38 Fixed bug with alias tests that caused one to three extra tests to be run 2018-05-01 00:14:41 +10:00
Tom van Dijck
267e67d90f Tiny gcc fix from PR #506. 2018-04-21 11:17:15 +02:00
thomas desveaux
259f11846b Add inlinesvisibility API + implement for gcc 2018-04-18 14:15:08 +02:00
Thomas Desveaux
aff871abfc Merge remote-tracking branch 'origin/master' into visibility-hidden 2018-04-17 14:46:11 +02:00
Thomas Desveaux
4d8ba3d086 Merge remote-tracking branch 'origin/master' into visibility-hidden 2018-04-17 11:58:27 +02:00
thomas desveaux
9eb81bd228 Update msc tools to new omitframepointer API 2018-04-15 18:13:56 +02:00
thomas desveaux
c629c4a1c1 Merge remote-tracking branch 'origin/master' into omit-frame-pointer 2018-04-15 17:56:41 +02:00
thomas desveaux
15829d5967 Merge remote-tracking branch 'premake/master' into fix-mergeFilters 2018-04-12 23:34:25 +02:00
thomas desveaux
204a129eb7 Add test for omitframepointer Default 2018-04-12 19:51:08 +02:00
thomas desveaux
66e3576871 Remove visibility-inlines-hidden from visibility api 2018-04-12 19:30:32 +02:00