Commit Graph

388 Commits

Author SHA1 Message Date
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
The Phantom Derpstorm
e046435b49 Merge pull request #16 from Nava2/frespect-cxx
Change bootstrap.py to respect `CXX` variable
2016-02-24 11:21:02 -05:00
Kevin Brightwell
3263e67979 Change bootstrap.py to respect CXX variable 2016-02-24 10:36:12 -05:00
ThePhD
3d7a93ae1c Put detail classes not part of the interface into deeper namespaces to clear up the to level. 2016-02-23 23:39:46 -05:00
ThePhD
16c6f62fe3 Remove strerror deprecation remark 2016-02-22 02:44:27 -05:00
ThePhD
166771ae8d Proper support for mixed types of overloads. 2016-02-21 21:27:05 -05:00
ThePhD
a6a2e67dc6 Git had a sneeze and couldn't properly remove this file... 2016-02-21 19:28:30 -05:00
ThePhD
019c7b037b Huge improvements to the library and fixes to compile in g++.
usertype now respects factory functions and does not make default constructors/destructors unless the compiler says its okay
new and __gc functions can be overridden for usertypes to provide handle-like creation and deletion functions
Overloading match fixes
RAII improvements for all usertypes
Added tests to make sure these features stay
2016-02-21 19:26:58 -05:00
ThePhD
b2b73db5cb overloading searching improvements and general refactoring for cleaner implementation. 2016-02-18 22:17:52 -05:00
ThePhD
0ee92c0142 This is hard.... 2016-02-16 21:22:07 -05:00
ThePhD
8a7f4e6586 Update Catch 2016-02-15 09:25:43 -05:00
ThePhD
f62c53f155 x64 build fixes 2016-02-15 09:24:59 -05:00
ThePhD
1293213775 Several improvements to tunnneling for the library, with included tests
Some stack size tests are also included to prevent stack overflow as well.
2016-02-13 20:14:31 -05:00
ThePhD
17c8f8e04d Mo' problems, mo' tests. 2016-02-12 12:56:32 -05:00
ThePhD
228609ee17 Addresses derp from refactoring and #12 2016-02-12 12:47:05 -05:00
ThePhD
a71c9737d4 Fixed usertype checking for overloading resolution (and for userdata in general) 2016-02-11 02:28:38 -05:00