Merge pull request #1181 from premake/release-5.0-alpha13
Release 5.0 alpha13
This commit is contained in:
commit
ed483dd9bc
112
CHANGES.txt
112
CHANGES.txt
@ -5,6 +5,118 @@
|
||||
See https://github.com/premake/premake-core/wiki/What's-New-in-5.0
|
||||
for the complete list of changes from the Premake 4.x series.
|
||||
|
||||
Since 5.0-alpha12:
|
||||
|
||||
* PR #880 Allow tokens to start with a ! to disable making paths relative. (@Blizzard)
|
||||
* PR #882 Allow filtering on host. (@Blizzard)
|
||||
* PR #883 Added basic iOS support to XCode4 (@LORgames)
|
||||
* PR #889 Fix context.mergeFilters (@tdesveaux)
|
||||
* PR #897 Fix c(pp)dialect generating uppercase C(++)xx for Xcode, replace gnu99 with compiler-default (@hsandt)
|
||||
* PR #902 VS fix for projects with multiple manifest files (@Blizzard)
|
||||
* PR #913 Fix subtle bug in table.translate (@Blizzard)
|
||||
* PR #919 Add perfile flags test for gmake backend. (@Blizzard)
|
||||
* PR #920 small fix in self-test module. (@Blizzard)
|
||||
* PR #921 Compiler warnings (@Blizzard)
|
||||
* PR #922 gmake2 bug fix. When generating gmake file with pch headers (@Blizzard)
|
||||
* PR #923 Add Visual Studio ARM64 support. (@Blizzard)
|
||||
* PR #926 Fixes translateCommandsAndPaths, and debugargs. (@Blizzard)
|
||||
* PR #927 bug fix for recursive token expansion (@Blizzard)
|
||||
* PR #928 sometimes due to ordering of test, we're in a rule scope. (@Blizzard)
|
||||
* PR #931 Added synchronous and C-Throw to VS projects. (@CreativeAssembly)
|
||||
* PR #932 Added extra information for Windows platform when copyfile fails. (@pjohalloran)
|
||||
* PR #938 Added `staticruntime` API. (#163) (@premake)
|
||||
* PR #939 Resolve the rule properties for gmake (#162) (@premake)
|
||||
* PR #941 Fix makefile PCH tab problem (@premake)
|
||||
* PR #944 C++0x dialect support (@premake)
|
||||
* PR #945 Natvis files have an item group. (@premake)
|
||||
* PR #948 Fixed a bug in gmake2 with clang and pch. (@Gereld)
|
||||
* PR #949 Added DPI awareness support to VS2010+ projects (@LORgames)
|
||||
* PR #950 Added defaultplatform support to gmake and gmake2 actions (@LORgames)
|
||||
* PR #952 Add support for `targetextension` in xcode4 (@tempura-sukiyaki)
|
||||
* PR #957 fix gmake2 utility (@Blizzard)
|
||||
* PR #958 fix context.addFilter (@Blizzard)
|
||||
* PR #959 Multiple gmake2 fixes (@Blizzard)
|
||||
* PR #960 Improve determinism in sln output. (@Blizzard)
|
||||
* PR #961 add 64-bit support on windows (@Blizzard)
|
||||
* PR #962 fix table.insertkeyed (@Blizzard)
|
||||
* PR #964 Add support for wildcards in mapconfig. (@Blizzard)
|
||||
* PR #965 Move part of the workspace baking up (@premake)
|
||||
* PR #966 utility projects also allow configuration of the executable path. (@Blizzard)
|
||||
* PR #967 return generated fileconfig. (@Blizzard)
|
||||
* PR #969 Fix buildoutput pathvars (@Blizzard)
|
||||
* PR #970 Table fix indexof (@Blizzard)
|
||||
* PR #979 Define _HAS_EXCEPTIONS=0 from vs2010 for exceptionhandling off (@tdesveauxPKFX)
|
||||
* PR #980 src/base and modules: change links to industriousone.com to working HTTPS github links (@catb0t)
|
||||
* PR #988 Fixed a bug with normalizing paths that contain dot folders (@LORgames)
|
||||
* PR #990 Extended Instructions sets (@tdesveauxPKFX)
|
||||
* PR #993 Fix /usr/lib64 being used as search dir before project's libdir (@alexandre-janniaux)
|
||||
* PR #994 added a 'latest' systemversion for vs2017 (@dcourtois)
|
||||
* PR #1005 Fix gmake dependencies (@premake)
|
||||
* PR #1011 Fixes an issue with custom rules tracking files. (@Dandielo)
|
||||
* PR #1018 Added release info badges to the readme (@LORgames)
|
||||
* PR #1019 Remove git submodule commands (@Passw)
|
||||
* PR #1020 Embed luasocket, add mobdebug and --debugger command line option (@redorav)
|
||||
* PR #1021 Clear additional global state between unit test runs (@starkos)
|
||||
* PR #1023 Include library directories in Codelite projects (@Gaztin)
|
||||
* PR #1029 Replace last global state block in api.reset (@starkos)
|
||||
* PR #1030 Fix vstudio symbolspath (@tdesveauxPKFX)
|
||||
* PR #1031 Fix gmake2 Makefile projects callArray (@tdesveauxPKFX)
|
||||
* PR #1033 vstudio staticlib symbolspath (@tdesveauxPKFX)
|
||||
* PR #1034 Add 'modules/android/' from premake-android (@LORgames)
|
||||
* PR #1037 HLSL Shader compilation in Visual Studio (@tdesveauxPKFX)
|
||||
* PR #1040 Get 'compileas' working when using a 'filter "files: ..."' scope. (@ratzlaff)
|
||||
* PR #1041 Fleshed out CI builds (@LORgames)
|
||||
* PR #1042 Add UnsignedChar API (@tdesveauxPKFX)
|
||||
* PR #1043 Add omitframepointer API (@tdesveauxPKFX)
|
||||
* PR #1044 Add Visibility API for gcc/clang toolsets (@tdesveauxPKFX)
|
||||
* PR #1045 Add debuggerflavor API (@tdesveauxPKFX)
|
||||
* PR #1046 Add structmemberalign API (@tdesveauxPKFX)
|
||||
* PR #1048 Add conditional behavior to global variables, add systemversion as first implementation (@redorav)
|
||||
* PR #1049 Add InlinesVisibility API (@tdesveauxPKFX)
|
||||
* PR #1053 Fixed issue with floatingpoint "Strict" causing errors in XCode (@LORgames)
|
||||
* PR #1062 Allow system("android") per configuration (@redorav)
|
||||
* PR #1064 Tiny gcc fix from PR #506. (@tvandijck)
|
||||
* PR #1065 Fixes a few luasocket compile warnings. (@tvandijck)
|
||||
* PR #1066 fix a few compiler warnings. (@tvandijck)
|
||||
* PR #1068 Fix constructing executable path from argv[0] (@lanurmi)
|
||||
* PR #1069 Support successfully bootstrapping on Solaris (OpenIndiana). (@lanurmi)
|
||||
* PR #1070 Support successfully bootstrapping on OpenBSD. (@lanurmi)
|
||||
* PR #1075 Fixed bug with alias tests that caused one to three extra tests to be run (@LORgames)
|
||||
* PR #1077 Do not output colors e.g. into a pipe, unless forced. (@lanurmi)
|
||||
* PR #1078 Added GoogleTest style output for unit tests (@LORgames)
|
||||
* PR #1080 Fix curl compilation on Debian PowerPC. (@lanurmi)
|
||||
* PR #1081 cache results of shouldUseColors() (@tvandijck)
|
||||
* PR #1084 Fix httpbin useragent response format. (@SchmidtD)
|
||||
* PR #1087 Fix missing DebugInformationFormat when symbols are set to full (@rorydriscoll)
|
||||
* PR #1089 Import paths weren't translated properly (@TurkeyMan)
|
||||
* PR #1092 CodeLite workspace folders (groups) (@Gaztin)
|
||||
* PR #1093 Implemented 'debugenvs' for CodeLite (@Gaztin)
|
||||
* PR #1096 gmake2: Fix dependency for pch (@tdesveauxPKFX)
|
||||
* PR #1098 Prevent D module from adding D block in unrelated projects (@tdesveauxPKFX)
|
||||
* PR #1100 gmake2: Remove pch from FORCE_INCLUDE to allow NoPCH per-file (@tdesveauxPKFX)
|
||||
* PR #1103 gmake*: fix shell type identification (@tdesveauxPKFX)
|
||||
* PR #1104 Xcode Fixes (@erincatto)
|
||||
* PR #1105 gmake: Add rules and dependencies for directory creation (@tdesveauxPKFX)
|
||||
* PR #1107 Only set WindowsSDKDesktopARMSupport for windows systems (#172) (@Blizzard)
|
||||
* PR #1108 Fix gmake2 (@Blizzard)
|
||||
* PR #1113 Support buildaction for C++ projects (@Blizzard)
|
||||
* PR #1115 Remove Xbox 360 code from core to move and expand onto a standalone module (@redorav)
|
||||
* PR #1117 Fix Xcode autocompletion with excluded files (@sp-jordi-vilalta)
|
||||
* PR #1118 gmake2: fix cpp perfileflags (@tdesveauxPKFX)
|
||||
* PR #1125 Swap order of applying project specific config (@Blizzard)
|
||||
* PR #1126 vpath android.link fix (@Blizzard)
|
||||
* PR #1132 Refactor path.normalize and handle path ending with . (@tdesveauxPKFX)
|
||||
* PR #1136 Support server paths (@Gaztin)
|
||||
* PR #1137 Fix gmake multiple-output rule issue. (@Blizzard)
|
||||
* PR #1142 Support for CSDialect (@Blizzard)
|
||||
* PR #1143 Fix `targetextension` in xcode4 (@tempura-sukiyaki)
|
||||
* PR #1144 Add `sharedlibtype` in xcode4 (@tempura-sukiyaki)
|
||||
* PR #1145 Add support `kind:Utility` in xcode4 (@tempura-sukiyaki)
|
||||
* PR #1161 Add `xcodesystemcapabilities` in xcode4 (@tempura-sukiyaki)
|
||||
* PR #1164 ! fixed pepper fish to work with lua 5.3.4 (@neo2buha)
|
||||
* PR #1167 Add support for per-file custom build commands in xcode4 (@tempura-sukiyaki)
|
||||
* PR #1176 path.normalize: Fix when call with path surrounded with quotes (@tdesveauxPKFX)
|
||||
|
||||
Since 5.0-alpha11:
|
||||
|
||||
* PR #617 fix switch/separator in rules_xml (@Blizzard)
|
||||
|
@ -3,7 +3,7 @@
|
||||
<img src="https://github.com/premake/premake-core/wiki/windows-widget.jpeg" width="24" height="24"/> [![Build status](https://ci.appveyor.com/api/projects/status/lc9g332y2lqvel8h?svg=true)](https://ci.appveyor.com/project/PremakeOrganization/premake-core)
|
||||
[![Latest release](https://img.shields.io/github/release/premake/premake-core/all.svg)]()
|
||||
[![Release date of last release](https://img.shields.io/github/release-date-pre/premake/premake-core.svg)]()
|
||||
[![Commits since last release](https://img.shields.io/github/commits-since/premake/premake-core/v5.0.0-alpha12.svg)]()
|
||||
[![Commits since last release](https://img.shields.io/github/commits-since/premake/premake-core/v5.0.0-alpha13.svg)]()
|
||||
|
||||
<img src="http://premake.github.io/premake-logo.png" width="200" height="200" />
|
||||
|
||||
|
@ -189,6 +189,7 @@
|
||||
--
|
||||
newoption
|
||||
{
|
||||
category = "compilers",
|
||||
trigger = "dc",
|
||||
value = "VALUE",
|
||||
description = "Choose a D compiler",
|
||||
|
85
scripts/changes.lua
Normal file
85
scripts/changes.lua
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
-- Output a list of merged PRs since last release in the CHANGES.txt format
|
||||
---
|
||||
|
||||
local format_separator = "||"
|
||||
|
||||
local git_command_raw = 'git log '..
|
||||
'%s/master "^%s/release" '..
|
||||
'--merges --first-parent '..
|
||||
'--pretty="%%s%s%%b" '..
|
||||
'--grep="Merge pull request #"'
|
||||
|
||||
local changes_pr_format = "* PR #%s %s (@%s)"
|
||||
|
||||
local function parse_log(line)
|
||||
change = {}
|
||||
for chunk in line:gmatch(string.format("[^%s]+", format_separator)) do
|
||||
table.insert(change, chunk)
|
||||
end
|
||||
assert(#change == 2)
|
||||
|
||||
local _, _, pr_num = change[1]:find("%s#([%d]+)%s")
|
||||
local _, _, pr_author = change[1]:find("from%s([^/]+)")
|
||||
local pr_desc = change[2]
|
||||
|
||||
return {
|
||||
number = tonumber(pr_num),
|
||||
author = pr_author,
|
||||
description = pr_desc
|
||||
}
|
||||
end
|
||||
|
||||
local function gather_changes()
|
||||
local git_command = git_command_raw:format(_OPTIONS["remote"], _OPTIONS["remote"], format_separator)
|
||||
local output = os.outputof(git_command)
|
||||
|
||||
changes = {}
|
||||
|
||||
for line in output:gmatch("[^\r\n]+") do
|
||||
table.insert(changes, parse_log(line))
|
||||
end
|
||||
|
||||
return changes
|
||||
end
|
||||
|
||||
local function format_to_changes(changes)
|
||||
|
||||
changes_copy = changes
|
||||
local function compare_changes(a, b)
|
||||
return a.number < b.number
|
||||
end
|
||||
table.sort(changes, compare_changes)
|
||||
|
||||
for _, change in pairs(changes_copy) do
|
||||
print(string.format(changes_pr_format, change.number, change.description, change.author))
|
||||
end
|
||||
end
|
||||
|
||||
local function generate_changes()
|
||||
changes = gather_changes()
|
||||
|
||||
format_to_changes(changes)
|
||||
end
|
||||
|
||||
newaction {
|
||||
trigger = "changes",
|
||||
description = "Generate a file containing merged pull requests in CHANGES.txt format",
|
||||
execute = generate_changes
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "remote",
|
||||
value = "remoteName",
|
||||
description = "Git remote to operate on.",
|
||||
default = "origin",
|
||||
}
|
||||
|
||||
---
|
||||
-- Check the command line arguments, and show some help if needed.
|
||||
---
|
||||
local usage = 'usage is: --file=<path to this scripts/changes.lua> changes'
|
||||
|
||||
if #_ARGS ~= 0 then
|
||||
error(usage, 0)
|
||||
end
|
@ -1627,6 +1627,7 @@
|
||||
|
||||
newoption
|
||||
{
|
||||
category = "compilers",
|
||||
trigger = "cc",
|
||||
value = "VALUE",
|
||||
description = "Choose a C/C++ compiler set",
|
||||
@ -1638,6 +1639,7 @@
|
||||
|
||||
newoption
|
||||
{
|
||||
category = "compilers",
|
||||
trigger = "dotnet",
|
||||
value = "VALUE",
|
||||
description = "Choose a .NET compiler set",
|
||||
|
@ -50,6 +50,11 @@
|
||||
|
||||
printf(" --%-" .. length .. "s %s", trigger, description)
|
||||
if (option.allowed) then
|
||||
local function compareValue(a, b)
|
||||
return a[1] < b[1]
|
||||
end
|
||||
table.sort(option.allowed, compareValue)
|
||||
|
||||
for _, value in ipairs(option.allowed) do
|
||||
printf(" %-" .. length-1 .. "s %s", value[1], value[2])
|
||||
end
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#define PREMAKE_VERSION "5.0.0-dev"
|
||||
#define PREMAKE_COPYRIGHT "Copyright (C) 2002-2017 Jason Perkins and the Premake Project"
|
||||
#define PREMAKE_COPYRIGHT "Copyright (C) 2002-2018 Jason Perkins and the Premake Project"
|
||||
#define PREMAKE_PROJECT_URL "https://github.com/premake/premake-core/wiki"
|
||||
|
||||
/* Identify the current platform I'm not sure how to reliably detect
|
||||
|
Loading…
Reference in New Issue
Block a user