Sam Surtees
164fadc857
Properly deprecate WinMain flag
2017-04-14 13:09:15 +10:00
Samuel Surtees
21c3c3d290
Merge pull request #743 from industriousone/fix-missing-deprecation-messages
...
Clean up the deprecated APIs
2017-04-14 12:59:25 +10:00
Jason Perkins
d1f5c333b0
Clean up the deprecated APIs
...
- Add "Use … instead." messages to any deprecations that did not have one
- Change deprecation date on APIs without a message to current date
- Remove APIs that have been deprecated for more than a year
h/t to @samsinsane for original PR on which this is based (#741 )
2017-04-13 15:37:49 -04:00
Samuel Surtees
957287643d
Merge pull request #686 from Blizzard/language-api
...
Refactor language flags to go through the language API.
2017-04-13 21:21:49 +10:00
Tom van Dijck
d285fa68a6
Refactor language flags to go through the language API.
...
So you can use 'language "C++11"' instead of 'flags { "C++11" }'
2017-04-11 12:43:58 -07:00
Samuel Surtees
9bd2678408
Merge pull request #735 from LORgames/ssurtees/floatingPointFix
...
Fixed issue with Clang not actually supporting floatingpoint 'strict'
2017-04-11 22:09:41 +10:00
Samuel Surtees
ba9c89e5d6
Merge pull request #736 from LORgames/ssurtees/vs2010FloatingPointFix
...
Fixed issue where VS2010+ projects didn't support floatingpoint 'Default'
2017-04-11 22:02:43 +10:00
Jason Perkins
00f6f0547b
Merge pull request #737 from aleksijuvani/string-escape
...
Add string.escapepattern function
2017-04-10 13:53:45 -04:00
Aleksi Juvani
c619314a01
Add tests for string.escapepattern
2017-04-10 14:37:47 +03:00
Aleksi Juvani
87e001d4e9
Add string.escapepattern function
2017-04-10 13:52:40 +03:00
Sam Surtees
a24f5c1e9b
Fixed issue where VS2010+ projects didn't support floatingpoint 'Default'
2017-04-10 01:51:30 +10:00
Sam Surtees
690dee0405
Fixed issue with Clang not actually supporting floatingpoint 'strict'
2017-04-10 01:41:18 +10:00
Tom van Dijck
ad6e49c136
Merge pull request #732 from jstewart-amd/master
...
Fix VS2013 and older always rebuilding when debug symbols explicitly …
2017-04-06 13:06:10 -07:00
Jason Perkins
24860783a3
Merge branch 'master' into master
2017-04-06 15:01:24 -04:00
Tom van Dijck
5afa9c4452
Merge pull request #733 from LORgames/ssurtees/locationFix
...
Generated project files are now correctly located beside script
2017-04-06 09:30:32 -07:00
Sam Surtees
d2da31bbcc
Generated project files are now correctly located beside script
2017-04-07 00:10:43 +10:00
Jason Stewart
f3dae94aca
Fix VS2013 and older always rebuilding when debug symbols explicitly disabled
...
Visual Studio versions 2013 and older have an issue with
DebugInformationFormat set to None. The project will always be out of
date and thus always rebuild. The workaround is to leave the
DebugInformationFormat field blank.
https://connect.microsoft.com/VisualStudio/feedback/details/833494/project-with-debug-information-disabled-always-rebuilds
VS2015 and newer do not have this issue.
2017-04-06 07:51:04 -04:00
Tom van Dijck
21184d47d9
Merge pull request #728 from DrLynix/unicode_file_operations
...
Add support of UTF-8 for Windows
2017-04-04 11:00:54 -07:00
Aleksi Juvani
a079f1cd10
Update .gitignore
2017-04-04 09:04:56 -07:00
Aleksi Juvani
479d51af81
Add JSON API ( #729 )
...
* Add JSON API
2017-04-04 09:02:59 -07:00
Lynix
9c4c998a2b
Rework unicode encoding/decoding (Windows)
2017-04-04 09:03:29 +02:00
Lynix
d83689d7ee
Fix Lua stack corruption with os.isdir
2017-04-03 09:15:59 +02:00
Lynix
0cc98c5f66
Fix problematic assert
2017-04-02 17:06:09 +02:00
Lynix
443536d514
Merge remote-tracking branch 'refs/remotes/premake/master' into unicode_file_operations
2017-04-02 16:59:11 +02:00
Lynix
98c381468b
Add support of unicode to all file operations
2017-04-02 16:57:50 +02:00
Lynix
00aa7e3673
Merge remote-tracking branch 'refs/remotes/premake/master'
2017-04-02 15:39:03 +02:00
Jason Perkins
896d61e3ab
Merge pull request #721 from Blizzard/codelite-fixes
...
Fix CodeLite linking issues
2017-03-28 13:20:01 -04:00
Tom van Dijck
21bcefe892
Fixes to codelite module.
2017-03-27 08:51:22 -07:00
Tom van Dijck
4670158d85
A few C# fixes ( #717 )
...
* small C# fixes (#87 )
* three small c# bug fixes
- hint paths now work with extended assembly names
- shared lib projects can now include App files (purely for editing)
- explict error message is output when attempting to generate
a C# + StaticLib project.
* Fix typo.
* added perfile support for clr, exceptionhandling and basicruntimechecks for vs (#89 )
2017-03-27 08:45:37 -07:00
Tom van Dijck
5a3593a824
Sort categories in --help, ( #719 )
...
better align options when they get longer then 15 characters.
Compact options if no 'allowed' table is there.
2017-03-27 08:39:16 -07:00
Tom van Dijck
71f3bce53d
Refactor curl code a bit, to be more in line with all the other code. ( #716 )
2017-03-26 10:25:44 -07:00
Tom van Dijck
cc2444ac7a
Allow require("modulename") from a http server. ( #620 )
...
* Allow require("modulename") from a http server.
* Some requested cleanup.
2017-03-24 08:23:03 -07:00
Damien Courtois
7d7266656e
fixed debugargs to allow duplicated arguments ( #712 )
2017-03-17 08:34:03 -07:00
Zeenobit
c200b08a53
Treat *.inl files as headers ( #710 )
...
This addresses issues with Visual Studio and Intellisense when using
*.inl files. If they're not treated as headers or source files,
Intellisense fails to parse them correctly.
2017-03-13 09:10:34 -07:00
Jason Perkins
ce49456fac
Merge pull request #707 from Jusonex/master
...
Fix missing CA certs on Windows
2017-03-12 17:15:07 -04:00
Jusonex
e2dbba7e63
Revert changes in contrib/mbedtls/premake5.lua
2017-03-09 23:04:08 +01:00
Jusonex
b0a8186b0d
Don't build and link mbedtls on Windows/Mac
2017-03-09 20:07:32 +01:00
Jusonex
386a7f0ab2
Fix failing 'https_get_verify_peer' test on Mac
2017-03-09 12:42:34 +01:00
Jusonex
b2ec8b1b9a
Use Schannel instead of mbedtls on Windows to avoid bundling CA certs
...
Also added a test that fails on the previous commit
2017-03-08 22:48:40 +01:00
Nikola Sprljan
d80e174774
Replaced Windows registry locations with the ones that should exist for all users, including the System one. This is to support running of unit tests in CI environments. ( #697 )
2017-02-21 09:16:22 -08:00
Rory
6cb6f4a678
Add support for changing the debug information for Visual Studio 2017 files to DebugFull. The default for VS2017 (i.e. when debug information is set to 'true') is to use fastlink. There is a new option to use a full pdb file. For older versions of Visual Studio, the new 'Full' symbols option behaves like 'On'. ( #694 )
2017-02-13 09:02:02 -08:00
Tom van Dijck
566936cbe7
Fix a bunch of compile warnings. ( #691 )
2017-02-10 09:03:26 -08:00
Jason Perkins
3230f8ccf1
Merge pull request #690 from Blizzard/buffered-io
...
make buffered_io available for c code too.
2017-02-10 07:17:09 -05:00
Tom van Dijck
fda1845688
make buffered_io available for c code too.
2017-02-09 10:47:03 -08:00
Tom van Dijck
5a4ad51aec
Define _HAS_EXCEPTIONS=0 when exceptionhandling is "off". ( #674 )
...
* Define _HAS_EXCEPTIONS=0 when exceptionhandling is "off".
* Fix unit-test.
* It should be for VS2013 and later only.
* update & add unit-test.
2017-02-03 07:05:23 -08:00
Tom van Dijck
0a7b45ce17
bring os.getversion() on par with the present ( #688 )
...
* bring os.getversion() on par with the present
* Use non-deprecated API's for Windows.
* Use Apple official names for MacOSX.
2017-02-01 09:19:13 -08:00
Tom van Dijck
6f7d0c16da
intrinsics api. ( #683 )
...
* intrinsics api.
* add options to msc.lua
2017-02-01 09:06:31 -08:00
Tom van Dijck
8015673f40
functionlevellinking api. ( #681 )
...
* functionlevellinking api.
* add options to msc.lua
2017-02-01 08:57:32 -08:00
Tom van Dijck
b76bef918d
floatingpointexceptions api. ( #684 )
...
* floatingpointexceptions api.
* generate options for msc
2017-02-01 08:53:49 -08:00
Tom van Dijck
94a5bb08a0
Fix for issue https://github.com/premake/premake-core/issues/669 ( #689 )
2017-02-01 08:49:38 -08:00