Commit Graph

197 Commits

Author SHA1 Message Date
Jason Perkins
d465949a9a Merged in goughy/premake-dev-d2 (pull request #48)
Fix Lua compilation error on *nix due to getline macro
2013-05-21 13:30:29 -04:00
Jason Perkins
ff8d8029fd Fix error result handling in os.rmdir() 2013-05-20 11:06:53 -04:00
Andrew Gough
4e88917ba4 Fix Lua compilation error on *nix due to getline macro 2013-05-17 21:01:37 +10:00
Jason Perkins
d8308eb454 Allow API functions to be flagged as deprecated 2013-04-09 10:11:27 -04:00
Pino Toscano
cf9fb335b7 Initial support for GNU/Hurd.
Identify the platform as "hurd", and make use of stuff already used for Linux or *BSD when possible.
The location of the premake binary (premake_locate) is not implemented, since there is currently no way to do that on GNU/Hurd.
2013-04-19 23:00:47 +02:00
Jason Perkins
053703078b Initial support for IBM AIX (David Norton) 2013-03-27 11:26:31 -04:00
Jason Perkins
0fdb4d4768 Fix VC build error on recent getrelative() changes 2013-03-07 10:44:47 -05:00
Jason Perkins
8d8a3e3574 Fix: path.getrelative() gives incorrect results for paths containing "//" 2013-03-06 10:06:45 -05:00
Liam Devine
6c6dd4c99e Adds OS X 10.8 detection yet in a different way than currently as I believe Gestalt has been deprecated in 10.8 and generates warnings. I have never tested this code on 10.8 yet have on other versions. 2013-01-09 22:30:36 +00:00
Liam Devine
06aea5ebd0 Adds Windows Server 2012 and Windows 8 detection to os_getversion as per the details from http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx 2013-01-09 22:06:49 +00:00
Jason Perkins
a69b7501e7 Port path.getrelative() and path.translate() from Lua to C 2013-01-04 11:32:52 -05:00
Jason Perkins
c94073fc7e Port path.getabsolute() from Lua to C 2013-01-04 10:18:47 -05:00
Jason Perkins
b25c12f2b6 Ported old stress test; moved path.join() to C 2013-01-03 11:11:31 -05:00
Jason Perkins
7abfc991ae Make deterministic UUID code friendly to non-C99 compilers; update change log 2012-12-19 09:29:52 -05:00
Jason Perkins
4c7fc6881b Add support for solution groups 2012-12-18 11:09:50 -05:00
Jason Perkins
b88b606f33 Add ability to generate a deterministic UUID from a string value 2012-12-16 16:41:55 -05:00
Jason Perkins
5e48d05e3d Pull 25: Add Unix support to os.getversion() (wfgleper) 2012-11-12 10:54:54 -05:00
Jason Perkins
815f89b8bf Patch 3441850: Use debug.traceback() as error handler (Konstantin Tokarev) 2012-10-17 18:59:55 -04:00
Jason Perkins
e65962166e Patch 3485071: Fixed _PREMAKE_COMMAND fallback when premake4 is not in PATH (Konstantin Tokarev) 2012-09-27 17:07:32 -04:00
Jason Perkins
a2aa2f83e1 path.isabsolute() now recognizes quoted shell variables 2012-03-19 18:57:45 -04:00
Jason Perkins
10f0798789 Remove…() now properly removes flags; fixed Visual Studio typecast warning in CoCreateGuid() 2012-02-02 18:09:02 -05:00
Jason Perkins
ba36bd6834 Updated copyrights; added #ifdef around Objbase.h include 2012-01-05 14:15:27 -05:00
Jason Perkins
a4b2152e85 Removed dynamic loading of Ole32 on Windows (see patch #3456407) 2012-01-04 15:01:22 -05:00
Jason Perkins
1350e205fd Patch 3440466: Fixed compiler warnings on Mac (Konstantin Tokarev) 2011-12-08 16:11:51 -05:00
Jason Perkins
974468375b Patch 3429777: Support for DragonFly BSD (Joachim de Groot) and 3445049: Build fix for FreeBSD (Konstantin Tokarev) 2011-12-06 15:42:05 -05:00
Jason Perkins
ccb34aab78 Patch 3351583: _PREMAKE_COMMAND variable (Konstantin Tokarev) 2011-11-28 17:01:44 -05:00
Jason Perkins
2a8b81ac8d Merge latest changes from premake-dev 2011-11-13 09:27:27 -05:00
Jason Perkins
3e8ee40315 Added new function os.stat to fetch information about a file 2011-08-26 16:10:02 -04:00
Liam Devine
7d1207a7cf * Bug 3277343: SM_SERVERR2 is not always defined by default
Also maybe running under WoW
2011-08-23 12:50:08 +01:00
liamDevine
75b488d63a * Bug 3277343: SM_SERVERR2 is not always defined by default
Also maybe running under WoW
2011-08-22 12:52:42 +01:00
liamDevine
7c3dfa82c7 First member of SYSTEM_INFO is a union. MSCV allows {}, codeblocks with mingw does not. Prevent warning on both by using {{0}} syntax. 2011-08-22 11:32:18 +01:00
Jason Perkins
3737111c68 Some cleanup for is64bit() to make it look a bit like the other os functions 2011-04-04 16:49:55 -04:00
Jason Perkins
b2e7af94cf Replaced host.windowsversion with os.getversion 2011-03-26 17:12:10 -04:00
Jason Perkins
8e538baa6d Fixed Windows version fetching to build under VS2008 2011-03-25 16:17:34 -04:00
Liam Devine
48fdd10f4d renamed host.is_64bit to host.is64bit
renamed host.windows_version to host.windowsversion
2011-03-12 21:11:59 +00:00
Liam Devine
c68dd29153 added host.windows_version 2011-03-12 17:42:49 +00:00
Liam Devine
a8d274d397 did not do a diff on premake.lua and instead used code from another download, In other words I messed it up. 2011-03-12 17:09:55 +00:00
Liam Devine
ecd8d1ae34 added define _CRT_SECURE_NO_DEPRECATE for visual studio build in premake4.lua. Old versions of vs2005 use this define.
added host.c for detecting if the process is running under wow, uses code provided on msdn where we lookup the function at runtime, which fails gracefully if a 32 bit machine.
add host.is_64bit function in host.lua
2011-03-12 17:03:10 +00:00
Jason Perkins
a69bcbfb58 Added support for Haiku OS (Yuriy O'Donnell) 2011-02-10 12:24:51 -05:00
Jason Perkins
d199b951fb Updated copyright date 2011-01-02 15:46:43 -05:00
Jason Perkins
80cb617918 Removed scripts.c from the repository 2010-12-23 14:06:11 -05:00
Jason Perkins
4c5a0a1057 Properly pass return codes back to shell in release builds 2010-12-12 17:49:17 -05:00
Liam Devine
200f0d6c4b Sets ONLY_ACTIVE_ARCH = YES in Xcode debug builds to mirror Xcode created projects 2010-12-09 23:47:47 +00:00
Liam Devine
6a251c8577 adds GCC_SYMBOLS_PRIVATE_EXTERN = NO; which should be the default for builds. This fixes a Release build yet not Debug as Xcode itself is broken. Bug 2920784 and Feature 3118000 2010-12-09 23:08:54 +00:00
Liam Devine
e4fb04b09c fixes ClCompile blocks with PCH's in Vs10 generator 2010-12-01 13:10:44 +00:00
liamDevine
910edfdc31 embed scripts 2010-11-01 02:42:37 +00:00
liamDevine
ed6fa01f91 embeds scripts 2010-11-01 00:39:39 +00:00
liamDevine
7e1e211156 embeded scripts 2010-10-30 11:57:22 +01:00
Jason Perkins
781f1cf792 Improved portability of Premake's Mac OS X binaries (William Burnson) 2010-10-11 12:25:55 -04:00
Jason Perkins
6c5022bf39 Patch 3063804: Set CompileAs flag for VS200x C projects (rjmyst3) 2010-09-14 06:36:40 -04:00