Commit Graph

2651 Commits

Author SHA1 Message Date
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
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
Tom van Dijck
ac2919e74c stringpooling api. (#682)
* stringpooling api.

* add options to msc.lua
2017-02-01 08:47:50 -08:00
Tom van Dijck
aae8917042 Merge pull request #687 from tvandijck/os_regkey
Windows Registry
2017-01-31 13:11:21 -08:00
Tom van Dijck
9336b1d9df rename os_getreg to os_getWindowsRegistry 2017-01-30 09:29:01 -08:00
Tom van Dijck
51be6befcf Merge pull request #679 from TurkeyMan/debug_detect
Better detect debug build
2017-01-27 08:47:12 -08:00
Manu Evans
1d2a8f44c1 Better detect debug build 2017-01-24 14:48:27 +10:00
Tom van Dijck
5f02759402 Merge pull request #678 from macsforme/xcode-string-literals
Escape string literals passed to defines() for Xcode
2017-01-23 09:42:57 -08:00
Joshua Bodine
34c844e14b String literals passed to defines() must be escaped for Xcode. 2017-01-21 18:52:01 -07:00
Tom van Dijck
ebd07a7f0b Merge pull request #675 from Blizzard/update-semver
update semver.lua
2017-01-20 14:16:37 -08:00
Tom van Dijck
c677896dd9 update semver.lua 2017-01-20 11:20:56 -08:00
Tom van Dijck
9ff8668c13 Merge pull request #668 from UmbraSoftware/fixmakej
Fix sporadic failures when using make -j#
2017-01-20 09:34:20 -08:00
Tom van Dijck
be6ecbecf2 Merge pull request #672 from Blizzard/toolset-fix
Fix issue with msc.getlinks and vstudio.getLinks returning different results when 'explicit' is true.
2017-01-20 09:32:55 -08:00
Tom van Dijck
1b776d8f6b Merge pull request #673 from Blizzard/token-fix
Add additional tokens to fileconfig and vs2010+.
2017-01-20 09:32:20 -08:00
Tom van Dijck
0e765b5e2f Merge pull request #644 from macsforme/fix-xcode-dependson
Don't treat "dependson" libraries as "links" libraries in Xcode
2017-01-19 16:47:46 -08:00
Tom van Dijck
dfcabc13f5 Merge pull request #639 from nta/bootstrap-msbuild
Add MSBuild target to Bootstrap.mak
2017-01-19 16:45:10 -08:00
Tom van Dijck
164e86d55b Add additional tokens to fileconfig and vs2010+. 2017-01-19 12:38:32 -08:00