Commit Graph

1244 Commits

Author SHA1 Message Date
ThePhD
923c774d5e ability for functions that throw not bound by sol to catch and return lua errors that can be used by a handler function (for protected function). 2016-03-02 20:45:52 -05:00
The Phantom Derpstorm
6c070661a7 Merge pull request #27 from Nava2/fix-examples
Fix examples, closes #26
2016-03-02 10:14:12 -05:00
The Phantom Derpstorm
3534be0641 Merge pull request #25 from Nava2/fix-multisymbol-luajit51
For some reason, on luajit5.1 these needed to be inline
2016-03-02 10:08:47 -05:00
Kevin Brightwell
7bcf0083f1 Fix examples, closes #26 2016-03-02 10:04:41 -05:00
ThePhD
ba36b1a410 Type names 2016-03-02 10:03:00 -05:00
ThePhD
c01f15ca95 g++ makes me sad 2016-03-02 09:51:40 -05:00
ThePhD
17c1dde68e Do exceptions better 2016-03-02 09:36:42 -05:00
ThePhD
b24d17df31 Allow for exceptions to not be used. 2016-03-02 08:44:07 -05:00
Kevin Brightwell
b361780900 For some reason, on luajit5.1 these needed to be inline 2016-03-02 01:11:53 -05:00
ThePhD
c350af8544 Bad #pragma's with Catch shattered my build. =/ 2016-02-29 22:40:20 -05:00
ThePhD
d835b8274e Catch update. And soon, begin reading the docs.... 2016-02-29 21:40:02 -05:00
ThePhD
4ed197f065 formatting 2016-02-27 08:04:02 -05:00
ThePhD
0113fb86b4 fix parse error with g++ 2016-02-27 08:01:48 -05:00
ThePhD
d42efd7fdf Proper trampolines to allow luajit to play nice with all the other kids in sol. 2016-02-27 07:56:28 -05:00
ThePhD
e57ac87868 Unused parameters and all that jazz.... 2016-02-27 02:59:47 -05:00
ThePhD
c07bbd248c Formatting and a few new constants. 2016-02-27 02:49:40 -05:00
ThePhD
95c63565a8 Merge remote-tracking branch 'origin/develop' into develop 2016-02-27 02:44:13 -05:00
ThePhD
251e350539 coroutines \o/ 2016-02-27 02:43:53 -05:00
The Phantom Derpstorm
5fe7791cd6 Merge pull request #21 from Nava2/add-apple-gcc
Add apple-gcc target
2016-02-26 12:56:26 -05:00
Kevin Brightwell
7352ab3fdd Add apple-gcc target, add appleclang target as failure 2016-02-26 12:39:01 -05:00
ThePhD
8dddc4ecf2 appleclang is a shitty compiler 2016-02-25 14:55:15 -05:00
ThePhD
fb53c4b392 Fix luajit osx version 2016-02-25 14:17:35 -05:00
ThePhD
9df8f61164 D'oh, taba 2016-02-25 13:56:12 -05:00
ThePhD
8ecf3c1131 Close #18 with addition for clang 3.5, which should be lowest supported version currently 2016-02-25 13:53:56 -05:00
ThePhD
23c3240d59 All set! Thanks Nav. Merged #18 2016-02-25 13:46:26 -05:00
ThePhD
dd522b16b0 Merge/ fixed up gitignore 2016-02-25 13:44:06 -05:00
Kevin Brightwell
a76d38571d Add usage of LUA_VERSION variable when using --ci
* Adjust finding Lua for Linux and OSX
* Readd `install.deps.sh`
2016-02-25 13:31:00 -05:00
ThePhD
2d845a273d Invert conditional, 'cause I'm a dumb. 2016-02-25 13:29:37 -05:00
ThePhD
5ad612d5fa Bragging is fun. 2016-02-25 13:07:48 -05:00
ThePhD
1341aafa27 Unfortunately, exceptions require some overhead in luajit... overhead we can't always accept on behalf of the user. 2016-02-25 13:04:04 -05:00
ThePhD
3f681eea0d And fixes to bootstrap to properly enable building 2016-02-25 11:13:36 -05:00
ThePhD
7402b1bc95 Clearer names for some of the exposed classes. 2016-02-25 11:07:39 -05:00
ThePhD
c78f8b3292 And finally, proper library control. 2016-02-25 09:26:28 -05:00
ThePhD
f700bbc93d This is a lot harder than it needs to be. 2016-02-25 08:54:58 -05:00
ThePhD
32b9e13e91 Bwuh. Clang version 3.5 is not available on precis either. 2016-02-25 08:43:41 -05:00
ThePhD
48e5601422 Package name is clang-3.5, not clang++3.5... 2016-02-25 08:30:15 -05:00
ThePhD
994095636c Proper luajit testing 2016-02-25 08:28:07 -05:00
ThePhD
3f6de17856 clang and g++ versions we want to target 2016-02-25 08:08:05 -05:00
ThePhD
f9da62a6e3 g++ 4.8 can't handle raw string literals in macros... that's rough. 2016-02-25 03:51:29 -05:00
ThePhD
0bed2a9540 Alll the include files! 2016-02-25 03:45:44 -05:00
ThePhD
9227f25e9c Not very good at argparse... 2016-02-25 03:43:12 -05:00
ThePhD
626f4a7728 Compiling for both! 2016-02-25 03:36:21 -05:00
ThePhD
acead29cd3 lua 5.3 doesn't exist on trusty or precise: have to wait until xenial. 2016-02-25 00:41:04 -05:00
ThePhD
ac916b4b91 Default flags and shiny new badge 2016-02-25 00:08:42 -05:00
ThePhD
1f894fc3b7 Let's.... just keep things simple.... 2016-02-24 22:47:23 -05:00
ThePhD
189a8eea4b Getting used to travis... 2016-02-24 22:38:05 -05:00
ThePhD
2a5cd3bd49 Dependency reduction: just want to test compilers, and we don't explicitly install on the user's machine using shell scripts (configure bootstrap.py to be more flexible instead for that). Only other possible test cases are 2 more for luajit-latest (2.0.4). 2016-02-24 22:29:15 -05:00
Kevin Brightwell
15e91f811f Add build/test support for Travis CI
Tests:

 OS    | Compiler  | Lua Version
 :---- | --------- | -----------
 Linux | gcc-4.9   | lua52, LuaJIT
 Linux | gcc-5     | lua52, LuaJIT
 Linux | clang-3.6 | lua52, LuaJIT
 OSX   | xcode6    | lua52
 OSX   | xcode7    | lua52
 OSX   | gcc-4.9*  | lua52
 OSX   | gcc-5     | lua52

\* On OSX out of the box, gcc-4.9 is actually the gcc wrapper around appleclang
2016-02-24 18:41:23 -05:00
ThePhD
51cd0cb0da Messed up the spacing like a pleb 2016-02-24 14:10:22 -05:00
ThePhD
9c21d11b8c Proper defaults for bootstrap.py
Checks in g++ to make sure things compile
clang++ is a major asshole...
2016-02-24 13:59:17 -05:00