Commit Graph

2468 Commits

Author SHA1 Message Date
Jörn Heusipp
a0bd1612e4 Add "IA32" to valid vectorextensions values. 2016-08-08 10:59:25 +02:00
Jörn Heusipp
60899329a8 Add vectorextensions "IA32" support for VS>=2012 on x86. (#560) 2016-08-07 13:42:03 +02:00
Tom van Dijck
5d09255425 allow multiple extensions for a custom rule. (#555) 2016-08-01 14:41:25 -07:00
Tom van Dijck
9f67feb923 Add support for kind="list:path" in rule properties. (#553) 2016-08-01 14:40:40 -07:00
Tom van Dijck
48bf0a2b5e Allow an action to initialize itself before user scripts run. (#556)
* Allow an action to initialize itself before user scripts run.
2016-08-01 14:39:50 -07:00
Tom van Dijck
be26dd6faf Merge pull request #549 from starkos/fix/premake5-lua-symbols
Put back the old Symbols flag in premake5.lua
2016-07-22 09:03:14 -07:00
Jason Perkins
d304c05856 Put back the old Symbols flag, until everyone has a chance to catch up with the new APIs. 2016-07-22 10:05:55 -04:00
Tom van Dijck
131cc21f28 Merge pull request #544 from Euclideon/symbols_api
symbols api introduced and working, with tests.
2016-07-19 08:18:48 -07:00
David Ely
d3d8269e7a symbols api introduced and working, with tests. 2016-07-19 16:29:26 +10:00
Jason Perkins
38ddf0b8eb Merge pull request #536 from Euclideon/expandtoken_fix
Fix regression in expandtoken
2016-07-14 12:01:31 -04:00
Jason Perkins
41580049be Merge pull request #532 from Euclideon/group_user_libs
Rearranged --start-group --end-group to enclose only the user libs.
2016-07-14 11:58:31 -04:00
Jason Perkins
c919827351 Revert "Add generated files to vxcproj file." (#539)
This reverts commit a2170a4f9e.
2016-07-14 12:46:20 +10:00
Manu Evans
0ce3015cf0 Fix regression in expandtoken 2016-07-11 17:13:06 +10:00
Manu Evans
a2b5fa727d Rearranged --start-group --end-group to enclose only the user libs. 2016-07-08 14:27:54 +10:00
Tom van Dijck
ab1b4edcb7 Merge pull request #527 from mendsley/removeextravar
Remove extra argument to os.match
2016-06-30 14:54:15 -07:00
Tom van Dijck
b6dc613f24 Merge pull request #526 from mendsley/cachefileattr
Use cached file attributes during matching
2016-06-30 08:54:34 -07:00
Matthew Endsley
dc2651fdd4 Remove extra argument to os.match
This value will always be ignored as os.match only takes a single
argument and is not needed to generate correct results.
2016-06-30 02:41:28 +00:00
Matthew Endsley
bd19650f92 Use cached file attributes during matching
When _DIRENT_HAVE_D_TYPE is defined, struct dirent defines a
d_type member that will indicate if the type of the entry. This
saves an expensive syscall for each entry which can really add
up on slow filesystems (such as VirtualBox's shared folder FS).

We use the same logic as do_isfile, and return a 1 when the entry
is not a directory, and a 0 otherwise.

For our large project this reduced the overall stat syscalls from
118,865 to 39,177 and total premake generation time from 59,977ms
to 20,729ms on vboxsf.

See: https://gist.github.com/mendsley/4b56932056d5c231a94d1cdefd15c027
2016-06-30 00:40:08 +00:00
Tom van Dijck
5719c8f92a Adding 'symbolspath' API to allow specifying where the pdb file goes. (#524) 2016-06-22 09:18:03 -07:00
Tom van Dijck
c947338945 Symbols API. (#523)
* Symbols API.

* presedence bugfix.
2016-06-22 08:36:42 -07:00
Tom van Dijck
6b30ce5908 Print full text in test_assertions (#522)
It makes it easier to see what is wrong.
2016-06-22 08:36:14 -07:00
Jason Perkins
3455d95a19 Merge pull request #518 from tvandijck/generated-files-vcxproj
Add buildable generated files to vxcproj file lists
2016-06-21 13:17:36 -04:00
Tom van Dijck
6f570b4396 Use PremakeOrganization instead of private AppVeyor account. 2016-06-21 09:54:06 -07:00
Tom van Dijck
a2170a4f9e Add generated files to vxcproj file. 2016-06-17 10:22:41 -07:00
Tom van Dijck
453c1eda8e test_runner failed to correctly count failed tests (#515)
https://github.com/premake/premake-core/issues/514
2016-06-15 14:38:47 -07:00
Tom van Dijck
1f5ea6a232 We need to actually compile the context of the rule, so we can propely use the "filter {}" system. (#511)
* We need to actually compile the context of the rule, so we can propely use the "filter {}" system.
2016-06-13 11:14:31 -07:00
Tom van Dijck
9e95d4a4eb Merge pull request #510 from Blizzard/fix-zlib-warning
fix a zlib compile warning.
2016-06-10 11:20:24 -07:00
Tom van Dijck
1bd7a009f1 fix zlib 2016-06-10 11:06:21 -07:00
Jason Perkins
a4a8ee19f8 Merge pull request #507 from Blizzard/rule-cpp-output
Allow rules to generate code that subsequently gets compiled.
2016-06-10 13:58:38 -04:00
Tom van Dijck
397d480a46 Merge pull request #504 from Blizzard/parent-to-classnew
provide the parent to class.new
2016-06-10 10:42:43 -07:00
Tom van Dijck
5b24ad2c94 Merge pull request #503 from Blizzard/linkgroups-api
https://github.com/premake/premake-core/wiki/linkgroups
2016-06-10 10:42:03 -07:00
Tom van Dijck
1153156e0e Merge pull request #508 from Blizzard/shallow-copy
Add table.shallowcopy
2016-06-10 10:00:59 -07:00
Tom van Dijck
cf55c15ff0 Merge pull request #509 from Blizzard/fix-usage-of-bit32
Fix usage of bit32.arshift
2016-06-10 09:10:08 -07:00
Tom van Dijck
2e8a26df5c Fix usage of bit32.arshift
added unit-test
2016-06-09 18:12:06 -07:00
Tom van Dijck
9282ab4f36 Add table.shallowcopy 2016-06-09 18:01:17 -07:00
Tom van Dijck
d6d36c6b18 Allow rules to generate code that subsequently gets compiled. 2016-06-09 17:56:10 -07:00
Tom van Dijck
38f0c6154c provide the parent to class.new 2016-06-08 11:31:13 -07:00
Tom van Dijck
2a67664fda linkgroups api. 2016-06-08 11:27:13 -07:00
Jason Perkins
1d817779df Merge branch 'release-v5.0.0-alpha9' 2016-06-06 19:15:00 -04:00
Jason Perkins
a6a5dbe488 Restore dev version number 2016-06-06 19:14:49 -04:00
Jason Perkins
68b86d4e29 Merge branch 'release-v5.0.0-alpha9' 2016-06-06 18:54:09 -04:00
Jason Perkins
754ac2b9c4 Adjust packaging script to fetch version number from new location 2016-06-06 18:41:14 -04:00
Tom van Dijck
c67782c0e3 Merge pull request #501 from premake/tvandijck-appveyor
Adding appveyor yaml script to build on appveyor.com for windows.
2016-06-06 09:16:53 -07:00
Tom van Dijck
c4e4389f33 Create appveyor.yml
update README.MD to point to appveyor.
2016-06-06 09:15:03 -07:00
Samuel Surtees
5b5ef74331 Merge pull request #499 from mversluys/master
Improvements to http.get and http.download
2016-06-06 13:06:19 +10:00
Jason Perkins
7f0ceff074 Fix crashing bug when --test-only argument is used to select a single ttest 2016-06-03 17:00:06 -04:00
Jason Perkins
1de49ee482 Update version and change log for alpha9 release 2016-05-31 11:22:50 -04:00
Jason Perkins
920c6bb35b Merge pull request #498 from starkos/test-module
Integrate testing module into premake-core
2016-05-31 11:11:31 -04:00
Matthew Versluys
f26c07baee Added timeout option to http.get/download
Allows setting a maximum timeout for a http request.
2016-05-29 10:07:37 -07:00
Mathew Versluys
31b22502b3 Improvements to http.get and http.download
There was an undocumented return code from http.download which was the
numerical CURL error code.

This has been replaced with the HTTP response code. The return for
http.download is now error message, HTTP response code. This could
break code that was relying on the CURL error but my light research is
that users of this call were checking for the error message being “OK”
and that functionality is preserved.

http.get has been updated to have a consistent return signature to
http.download and now returns the result, error message, HTTP response
code. The error message is now set to “OK” to match http.download.

These changes abstract this api from curl and make the focus http.

Cleaned up the code to make it easier to follow and removed some memory
leaks.

http.get and http.download would leak if headers were supplied.

http.get would leak the string buffer if curl_init failed.
2016-05-28 14:05:06 -07:00