Commit Graph

2941 Commits

Author SHA1 Message Date
Tom van Dijck
d2bfb1595f Allow filtering on host.
for example:
```lua
filter { 'host:windows' }
   postbuildcommand { 'robocopy *.dll c:\dlls' }
```
2017-08-28 16:58:23 -07:00
adamkay
a0902594c1 Add lua error handling to curlProgressCallback (#875)
* add error reporting to curlProgressCallback

* Refactor lua error handling

* Fix doc in os_compile.c

* Fix João's name

Visual Studio messed up the encoding I guess..

* Fixed error_handler_index calculation

error_handler_index is no longer valid after pcall. use positive index
2017-08-28 08:31:50 -07:00
Jason Perkins
fa28c63f07 Merge branch 'release-5.0-alpha12' 2017-08-23 11:06:37 -04:00
Jason Perkins
cb6a5363b5 Restore dev version 2017-08-23 11:06:12 -04:00
Jason Perkins
2ebc345462 Fix package.lua os.execute return value checks for Lua 5.3 2017-08-22 10:50:30 -04:00
Jason Perkins
e1af3ed695 Update support files for alpha12 release 2017-08-21 11:44:47 -04:00
Tom van Dijck
1b8bb77d96 Update lua_auxlib.c
fix minor typo.
2017-08-18 10:49:37 -07:00
Jason Perkins
c501f53a04 Fix error reporting for missing core scripts (#876) 2017-08-18 10:48:12 -07:00
Samuel Surtees
5a75b7e488 Merge pull request #872 from starkos/quiet-binmodule-test-output
Rework binmodule example to silence unit test console output
2017-08-11 12:48:34 +10:00
Samuel Surtees
852043b461 Merge pull request #874 from starkos/disable-macos-findheaders-test
Disable failing `os.findheader()` unit test on macOS
2017-08-11 12:48:17 +10:00
Jason Perkins
e2a49986ee Disable failing os.findheader() unit test on macOS 2017-08-10 14:55:16 -04:00
Jason Perkins
c3b0da7894 Rework binmodule example to silence unit test console output 2017-08-10 14:40:45 -04:00
Tom van Dijck
82f04b8b1d Merge pull request #866 from Blizzard/fix-istarget-ishost
fix os.istarget and os.ishost to use the systemTags table as well.
2017-08-10 08:25:32 -07:00
Tom van Dijck
3fad4dd0d3 Merge pull request #867 from Blizzard/fix-path-translate
Fix path translate
2017-08-10 08:25:11 -07:00
Tom van Dijck
970f1e4689 Merge pull request #868 from Blizzard/fix-filter-vs201x
Filters always have to use \ regardless of target platform.
2017-08-10 08:24:46 -07:00
Tom van Dijck
55a2fc22b2 Merge pull request #870 from Blizzard/fix-oven
Fix prj.system bug in oven.
2017-08-10 08:24:23 -07:00
Tom van Dijck
a0cbd33b66 Merge pull request #824 from Blizzard/fix-default-toolset
Set default toolsets for vs2005 and vs2008.
2017-08-09 09:23:34 -07:00
Tom van Dijck
cb1cbe5c4f Merge pull request #865 from Blizzard/remove-prints
Remove "test.print" calls.
2017-08-09 09:21:01 -07:00
Tom van Dijck
4a500dbb7d Fix prj.system bug in oven. 2017-08-08 12:49:38 -07:00
Tom van Dijck
2916fc44b8 Filters always have to use \ regardless of target platform. 2017-08-07 17:54:18 -07:00
Tom van Dijck
cf45d30f5b call "path.getDefaultSeparator" allowing it to be overridden. 2017-08-07 17:51:15 -07:00
Tom van Dijck
d1af0157a0 fix os.istarget and os.ishost to use the systemTags table as well. 2017-08-07 10:20:53 -07:00
Tom van Dijck
31353fbc56 Fix tests. 2017-08-07 09:44:48 -07:00
Tom van Dijck
571d6ae371 Set default toolsets for vs2005 and vs2008. 2017-08-07 09:34:16 -07:00
Tom van Dijck
dce5e604dc Merge pull request #861 from Blizzard/binary-embed
Allow embedding of binary resources.
2017-08-07 09:26:32 -07:00
Tom van Dijck
e0cbecd100 Remove "test.print" calls. 2017-08-07 09:26:07 -07:00
Tom van Dijck
133856c0ef Update embed.lua 2017-08-07 08:52:18 -07:00
Tom van Dijck
18b9383d98 Merge pull request #862 from Blizzard/minor-optimization-oven
small optimization in oven.
2017-08-07 08:49:50 -07:00
Tom van Dijck
076b9565bc Merge pull request #863 from Blizzard/bug-api-addallowed
fix for duplicate 'allowed'.
2017-08-07 08:48:36 -07:00
Tom van Dijck
72bc2bb426 Merge pull request #864 from Blizzard/global-access-systemtags
move tags into globally accessible table, so we don't have to overload…
2017-08-07 08:48:16 -07:00
Tom van Dijck
7b3b2fa31b move tags into globally accesible table, so we don't have to overload the getSystemTags method all over the place. 2017-08-04 09:27:05 -07:00
Tom van Dijck
f232a1e829 fix for duplicate 'allowed'. 2017-08-04 09:25:44 -07:00
Tom van Dijck
d4b8c34e63 small optimization in oven. 2017-08-04 09:24:41 -07:00
Tom van Dijck
9f33db3ba7 Allow embedding of binary resources. 2017-08-04 09:22:57 -07:00
Tom van Dijck
bf1ea2445f Merge pull request #860 from Blizzard/patch-1
fix for build failure on macOS in debug.
2017-08-02 11:01:23 -07:00
Tom van Dijck
2edb25de33 Merge pull request #859 from aleksijuvani/nuget-cache
Use NuGet package cache instead of the API if possible
2017-08-02 11:01:10 -07:00
Tom van Dijck
32a130b503 Merge pull request #858 from tritao/nuget-unix-paths
Fix Nuget package handling to support Unix-style paths
2017-08-02 11:00:46 -07:00
Tom van Dijck
124a11f3ad fix for build failure on macOS in debug. 2017-08-02 08:46:47 -07:00
Aleksi Juvani
52ef256ef9 Use NuGet package cache instead of the API if possible 2017-08-02 13:35:39 +03:00
Aleksi Juvani
8046b030d6 Fix io.readfile erroring when running tests 2017-08-02 13:35:39 +03:00
Aleksi Juvani
8eaecd1278 vs2010_nuget.lua: fix indentation 2017-08-02 13:35:39 +03:00
Joao Matos
2ba09656f8 Fix Nuget package file path regex matching to support Unix-style path separators. 2017-08-01 21:39:56 +01:00
Tom van Dijck
74819eb945 Merge pull request #854 from Blizzard/high-warning
[core] Add High as a new warning level
2017-08-01 11:09:40 -07:00
Tom van Dijck
d4dd8dd585 Merge pull request #857 from Blizzard/fix-action-override-targetos
Fix action override targetos
2017-08-01 11:03:17 -07:00
Tom van Dijck
f3f738370c Merge pull request #856 from Blizzard/fix-get-relative-windows
Fix path_getrelative for Windows
2017-08-01 11:02:32 -07:00
Tom van Dijck
607353cf3d Merge pull request #855 from Blizzard/image-filter-vstudio
Add filter for <Image> files (#135)
2017-08-01 11:01:57 -07:00
Tom van Dijck
6ce1562867 fix xcode tests as well. 2017-08-01 10:18:33 -07:00
Tom van Dijck
ab4e2b94c0 Merge pull request #840 from tvandijck/binary-modules
Proof of concept for binary modules.
2017-08-01 10:14:26 -07:00
Tom van Dijck
e430bdfef9 I've seen this test fail a few times in the past, but only on CI...
adding prints to see what we get, so we may find the issue in the future.
2017-08-01 10:09:32 -07:00
Tom van Dijck
041d01bb21 Fix action (#138)
* Fix unit-test correctly setting action.
2017-08-01 10:01:01 -07:00