Commit Graph

1702 Commits

Author SHA1 Message Date
ThePhD
228df2630d apple platforms use XSI-style strerror_r 2017-09-30 23:00:40 -04:00
ThePhD
5c9e8e2e45 is_stringable trait 2017-09-28 19:07:33 -04:00
ThePhD
e31ed4f81c [ci skip] update single 2017-09-24 16:51:14 -04:00
ThePhD
2eb53ac545 [ci skip] version bump 2017-09-24 16:49:24 -04:00
ThePhD
f9c93fc2bc update examples and documentation 2017-09-24 16:36:45 -04:00
ThePhD
0027ce6c84 make sure default userdata_getter does not error everything horribly
update single
2017-09-24 16:04:10 -04:00
ThePhD
0c20d066b9 LuaBridge and luwra interop examples as well, to give people a good idea 2017-09-24 03:12:50 -04:00
ThePhD
469be6670f should probably not include all of kaguya with sol2's examples, aha. 2017-09-23 20:40:37 -04:00
ThePhD
50f749640c update single 2017-09-23 20:26:54 -04:00
ThePhD
6d879f571a add code to steal guts and grab stuff from other frameworks. 2017-09-23 20:26:03 -04:00
ThePhD
2b2c222bf0 gcc warnings 2017-09-22 23:17:37 -04:00
ThePhD
8f3699bea5 initializer_list support and tests, waiting for the day when we can use some kind of lua_any to store any value into Lua and thus have initializer lists become the new hot stuff 2017-09-22 18:54:49 -04:00
Nicolas Cornu
96fc84b4ef tests files have been moved 2017-09-22 17:16:48 -04:00
Nicolas Cornu
46e05b92e8 Add options to disable build of tests and examples
Add a source gorup for headers.
Detect all cases for "LuaJit"
2017-09-22 17:16:48 -04:00
Nicolas Cornu
242ed15777 Use glob 2017-09-22 17:16:48 -04:00
Nicolas Cornu
bb41196048 Last changes? 2017-09-22 17:16:48 -04:00
Kevin Brightwell
0d2c125cbb Add FindLua/FindLuaJIT that behave better
Better FindLua modules as per CMake devs
2017-09-22 17:16:48 -04:00
Nicolas Cornu
cbe7d765ca Generate single_sol in source dir 2017-09-22 17:16:48 -04:00
Nicolas Cornu
2d1abc9ae7 doing shit to create sol.hpp in single directory. 2017-09-22 17:16:48 -04:00
Nicolas Cornu
412df84d58 Add message for single_sol target generation or not. 2017-09-22 17:16:48 -04:00
Nicolas Cornu
0234385f7b Fix, it was for testing purpose 2017-09-22 17:16:48 -04:00
Nicolas Cornu
98b65e6c27 Make use of python3 optionnal and generating single_sol too 2017-09-22 17:16:48 -04:00
Nicolas Cornu
084bbc0fb8 Fix different things 2017-09-22 17:16:48 -04:00
Nicolas Cornu
bba8b3fdbd Continue fixing things 2017-09-22 17:16:48 -04:00
Nicolas Cornu
368f575084 Stop globbing and add flags 2017-09-22 17:16:48 -04:00
Nicolas Cornu
a0eb0b4313 Rework CMakeLists.txt following comments 2017-09-22 17:16:48 -04:00
Nicolas Cornu
e834646dfb [WIP] Add a CMakeLists.txt 2017-09-22 17:16:48 -04:00
ThePhD
290a67134a Make sure nil_t is still available, even if nil is defined.
One day, there'll be a time when I get nearly everything right
2017-09-22 11:04:46 -04:00
ThePhD
0114882e13 force usage of lua_nil across everything and add a proper macro / feature-test for it 2017-09-22 07:30:41 -04:00
ThePhD
1b23ad8b4f attempt to silence warnings about array usage and keep a definition check for nil
add some "max size" checks in other places.
2017-09-21 21:32:52 -04:00
ThePhD
61d610bb70 make minor changes for XCode and Visual Studio Warning Level 4. 2017-09-21 19:24:21 -04:00
ThePhD
76d7195e64 test new compat mode (we only test text, but I don't really generate binary files, and it seems to play ball both ways, so...) 2017-09-16 14:18:45 -04:00
ThePhD
2aecb11e97 update single 2017-09-14 08:51:12 -04:00
ThePhD
1fc00278d5 repair all constructors, expand type recognition 2017-09-14 08:45:44 -04:00
ThePhD
ed341e00aa clang error on some proxy stuff 2017-09-14 00:46:38 -04:00
ThePhD
d3620c9279 [ci skip] config 'n' safety 2017-09-14 00:39:00 -04:00
ThePhD
8d828ac47b implement main_reference as per @eliasdaler's suggestions 2017-09-14 00:35:40 -04:00
ThePhD
72143a494b don't forget to pop! 2017-09-13 11:45:31 -04:00
ThePhD
a068c4e6e6 update single and bump version number for new release 2017-09-13 11:37:28 -04:00
ThePhD
7ff3a390b1 final lua_xmove fixes 2017-09-13 11:29:32 -04:00
ThePhD
dcff5cdaa0 re-implement xmove implicit transfers and hope it works proper this time 2017-09-13 10:20:24 -04:00
ThePhD
5816c6c34b .clang-format the crap out of everything, I guess...! 2017-09-13 02:46:56 -04:00
ThePhD
66eb025f25 add clang format.... we'll figure out how to run it later 2017-09-12 23:30:01 -04:00
ThePhD
e3bd984062 cannot do automatic lua_xmove because of state differences 2017-09-12 22:01:29 -04:00
ThePhD
0325e27454 update single and add unused parameter checks to thread 2017-09-12 19:52:09 -04:00
ThePhD
e201f85a4c [ci skip] update benchmark graphs 2017-09-12 19:24:19 -04:00
ThePhD
fcdb471167 update docs and benchmarks to include images directly to cut down on doc build warnings
add coroutine tests for new xmove copy and move constructors
cry tears because Lua does not kill the variables on the thread before killing the thread
2017-09-12 19:15:23 -04:00
ThePhD
8643dec9e5 with the xmove constructors, we finally are forced to do safety checks. 2017-09-11 16:44:02 -04:00
ThePhD
074b9ae655 add xmove constructors for function, (light )userdata, table, reference and object
add additional coroutine example
improve traits
add tests for thread transfers
update single
2017-09-11 16:12:23 -04:00
ThePhD
85c81f618c ignore test files
fix using wrong mode in the improper place
2017-09-11 13:25:05 -04:00