Commit Graph

2308 Commits

Author SHA1 Message Date
Jason Perkins
46c1df4e61 Disable editorintegration() by default 2016-01-17 16:47:37 -05:00
Jason Perkins
0656a3ccc8 Merge pull request #403 from starkos/fix-vs-sln-indentation
Updating VS solutions to new output APIs; fix indentation of ExtensibilityGlobals block
2016-01-17 16:41:20 -05:00
Tom van Dijck
0146d7473a add macro to bootstrap to override the visual studio version. 2016-01-17 13:39:48 -08:00
Jason Perkins
0573e4f4b6 Update unit tests to match new VS solution output 2016-01-17 16:39:30 -05:00
Jason Perkins
d03ab85aa7 Merge pull request #402 from starkos/fix-buffered-write-realloc
Fix buffer overflow in buffered I/O dowrite()
2016-01-17 16:32:07 -05:00
Jason Perkins
0cd0a96463 Finish updating VS solution exporter to the new output APIs; fix indentation of ExtensibilityGlobals block 2016-01-17 16:29:27 -05:00
Jason Perkins
bff68f1ea8 Fix buffer overflow in buffered I/O dowrite()
If the string to be written is larger than the buffer's resize increment (capacity * 3 / 2), not enough space would be allocated and an overflow occurs when the string is copied. This fix keeps incrementing the buffer size until there is enough room to hold the incoming string.
2016-01-17 15:34:59 -05:00
Jason Perkins
fb93e43649 Update the stress test to work with the latest APIs 2016-01-17 12:30:32 -05:00
Tom van Dijck
99bf0bc8cd Merge pull request #398 from Blizzard/premake-extension-support
add premake extension data.
2016-01-14 13:45:54 -08:00
Tom van Dijck
c9dd90f4b7 Merge pull request #370 from Blizzard/detoken-explicit-absolute
Allow the pathVars to return a table that specifies explicitly that a token represents a relative or absolute path.
2016-01-14 13:23:53 -08:00
Tom van Dijck
dfadfa5aa3 Merge pull request #399 from Blizzard/http-memory-leak
free memory from http requests.
2016-01-14 10:59:53 -08:00
Tom van Dijck
8f5bf73192 free memory from http requests. 2016-01-14 10:51:24 -08:00
Tom van Dijck
febdf0b271 Merge pull request #394 from Blizzard/location-fix
remove 'location' calls from the contrib libraries, so they correctly follow the 'to' command line option.
2016-01-14 08:48:04 -08:00
Tom van Dijck
de38b921e3 Use call array, and move the 'if wks.editorintegration then'. 2016-01-14 08:42:07 -08:00
Tom van Dijck
00aff301b2 added 'editorintegration' flag
added tests
use p.push/pop api.
2016-01-12 08:27:42 -08:00
Tom van Dijck
294ff5e827 add premake extension data. 2016-01-11 15:29:37 -08:00
Tom van Dijck
2a6505d3f8 remove 'location' calls from the contrib libraries, so they correctly follow the 'to' command line option. 2016-01-05 13:19:14 -08:00
Jason Perkins
8f0683d823 Merge pull request #390 from starkos/fix-vs-warnings
Fix VS warnings
2015-12-30 14:53:55 -05:00
Samuel Surtees
4ca66a9c65 Merge pull request #391 from starkos/validation-call-arrays
Split validation checks into individual tests and call arrays
2015-12-30 15:10:30 +10:00
Jason Perkins
4102c9dd7f Split validation checks into individual tests and call arrays 2015-12-28 18:27:06 -05:00
Jason Perkins
dfe5610878 Remove unused variables 2015-12-28 12:06:40 -05:00
Jason Perkins
8c7d97001f Fix size_t/off_t size warnings 2015-12-28 12:05:21 -05:00
Jason Perkins
7d8af16ca0 Fix deprecated Posix function warnings 2015-12-28 12:03:22 -05:00
Jason Perkins
7408010dcc Fix string-to-Unicode casting warnings 2015-12-28 11:58:54 -05:00
Jason Perkins
c74e8d12ee Merge pull request #367 from Blizzard/semver
make "premake.checkVersion" use Semantic Versioning
2015-12-28 11:11:43 -05:00
Jason Perkins
d5bd88c76b Merge pull request #386 from manxorist/fix-largeaddressaware-vs200x
Add largeaddressaware support for VS200x.
2015-12-27 15:07:33 -05:00
Jason Perkins
febb313eaa Merge pull request #387 from stream009/fix-cc
Fix "--cc" command line option
2015-12-27 15:06:54 -05:00
Jason Perkins
9f0d2d721a Merge pull request #388 from stream009/fix-pch
Fix: Write pchheader to Makefile as reletive path
2015-12-27 15:06:16 -05:00
stream
3b7e983eca Write pchheader to Makefile as reletive path 2015-12-27 03:26:29 +09:00
stream
fef741eebb Support "--cc" command line option 2015-12-27 03:22:51 +09:00
Jörn Heusipp
e8c1ffeea5 Add largeaddressaware support for VS200x. 2015-12-26 15:14:51 +01:00
Jason Perkins
e440d1d8a5 Merge pull request #377 from starkos/fix-vs-unicode-default
Add new API characterset(); make Premake match Visual Studio default behavior
2015-12-21 19:11:49 -05:00
Jason Perkins
16b62f0877 Add new API characterset(); make Premake match Visual Studio default behavior
Visual Studio has been defaulting its projects to Unicode since at least 2008. Premake has been defaulting to MBCS to maintain backward compatibility with earlier Premake versions. This PR tries to set things right by switching Premake's default to Unicode.

This might set a record for most broken projects.
2015-12-18 16:59:13 -05:00
Tom van Dijck
6becbafa66 Add utility and makefile type in gmake. 2015-12-18 12:46:04 -08:00
Tom van Dijck
7181799760 Merge pull request #374 from Blizzard/zero-termination-bug-unix
Fix 0-termination.
2015-12-18 12:06:15 -08:00
Tom van Dijck
3ee51b9e14 Fix 0-termination. 2015-12-18 12:01:26 -08:00
Tom van Dijck
a0a96edbcd Merge pull request #373 from Blizzard/fix-homedir-bug
Fix a bug in 'premake_init'
2015-12-18 09:56:50 -08:00
Tom van Dijck
b01dde9889 Prevent a null pointer from being pushed, which will causes issues later on
in 'build_premake_path' on this line 'lua_concat(L, lua_gettop(L) - top);'.
2015-12-18 09:51:43 -08:00
Samuel Surtees
ae2e8e585e Merge pull request #369 from Blizzard/fix-scripts-c
Move scripts.c one up, so bootstrap.mak doesn't include it.
2015-12-18 15:16:26 +10:00
Samuel Surtees
bd944bf86d Merge pull request #368 from Blizzard/travis-osx
build on travis osx.
2015-12-18 13:59:27 +10:00
Tom van Dijck
535e40db5f Allow the pathVars to return a table that specifies explicitly that a token represents a relative or absolute path. 2015-12-17 16:13:35 -08:00
Jason Perkins
3c1f106ebb Restore development version 2015-12-17 17:37:07 -05:00
Jason Perkins
3cae827c3d Update version number for release 2015-12-17 17:37:07 -05:00
Jason Perkins
9edfe480bc Captured changes since alpha6 2015-12-17 17:37:07 -05:00
Tom van Dijck
91f477aae6 Move scripts.c one up, so bootstrap.mak doesn't include it. 2015-12-17 12:56:56 -08:00
Tom van Dijck
89242f125c build on travis osx. 2015-12-17 12:43:36 -08:00
Tom van Dijck
9f7ebdced2 make "premake.checkVersion" use Semantic Versioning
http://semver.org/
2015-12-17 10:55:43 -08:00
starkos
4f8551b7d0 Merge pull request #366 from starkos/vs-target-machine-take-3
Adds the missing resource file test on PR #365
2015-12-16 19:53:47 -05:00
Jason Perkins
a7fa9b9142 Adds the missing resource file test on PR #365 2015-12-16 19:50:37 -05:00
Tom van Dijck
d056c744a7 Merge pull request #365 from starkos/vs-target-machine-take-2
LGTM
2015-12-16 13:58:54 -08:00