Commit Graph

2264 Commits

Author SHA1 Message Date
Jason Perkins
309ef32ff8 Move character set command line flags from switch lists to defines 2016-01-18 14:11:50 -05:00
Jason Perkins
84cb655069 Add missing Unicode/MBCS defines to MSC command line
Note that the defines are showing up in CFLAGS rather than DEFINES. The tool adapter API needs to be modified before they can be placed in the defines list where they should be.
2016-01-18 13:13:37 -05:00
Jason Perkins
5d9c70ed74 Merge pull request #405 from starkos/disable-editorintegration
Disable editorintegration() by default
2016-01-18 12:36:57 -05:00
Jason Perkins
57a5a44732 Merge pull request #407 from pra85/2016
Update license year range to 2016
2016-01-18 11:42:27 -05:00
Prayag Verma
c41bcc10d7 Happy New Year 2016-01-18 21:39:55 +05:30
Tom van Dijck
642aa2dc20 Merge pull request #406 from tvandijck/readme-update
Readme update
2016-01-17 14:27:16 -08:00
Tom van Dijck
259dcdff69 Update README.md 2016-01-17 14:22:59 -08:00
Tom van Dijck
1068d0a6ba Merge pull request #404 from tvandijck/fix-nmake-vs2015
add macro to bootstrap to override the visual studio version.
2016-01-17 13:47:43 -08:00
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
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