Commit Graph

2253 Commits

Author SHA1 Message Date
ThePhD
a2f86d88dc
optimize get/traverse_get and set/traverse_set items
consider potential optimizations for new_enum to reduce compiler churn
consider potential optimizations for proxy
2019-01-17 08:28:34 -05:00
ThePhD
b1dd40ebe8
move forward.hpp back to where it belongs 2019-01-14 10:12:09 -05:00
ThePhD
88a089c4ae
proxy testing 2019-01-14 07:27:55 -05:00
ThePhD
5b3ca9343c
update single
update forward declaration
update container traits usage
fix vector of pair as a usertype
2019-01-13 21:46:53 -05:00
Phil Tolland
d9909584ab Invert boolean check in proxy::force() 2019-01-13 15:20:07 -05:00
ThePhD
91faa7a014
Update single, fix more CMakeLists stuff to work with Local and Not-From-Source builds of Lua 2019-01-05 13:56:21 -05:00
ThePhD
d9f973e5cd
update packaged single 2019-01-05 05:50:07 -05:00
ThePhD
59174e76af
Update patrons
Reduce compile-times by removing lambda shenanigans and moving data that is already serialized into runtime systems to runtime
Fix bugs with precedence ordering related to index and new_index
Prepare to add 20000 more if constexpr to reduce compile-times even further.
2019-01-05 05:48:51 -05:00
ThePhD
0a21fbf3f0
clean up more warnings, wew 2018-12-27 13:02:31 -05:00
ThePhD
e21614d7f6
I n t e r f a c e l i b r a r i e s a r e r e a l l y g o o d 2018-12-27 12:41:43 -05:00
ThePhD
f6e6398f64
Be consistent with the use of target_link_libraries...
I really dislike CMake
2018-12-27 12:37:56 -05:00
ThePhD
486086ffe0
fix up CMake files once more, and hopefully prepare for a new test coverage paradigm
notably, test normal + single + generated + Lua 5.3.5 only once,
then only run the runtime_test and compile_test for normal for all other permutations to help increase text matrix throughput
2018-12-27 02:17:25 -05:00
ThePhD
9760a400cd
testing and test matrix improvements 2018-12-23 13:18:14 -05:00
ThePhD
a6abc0a0d9
update everything 2018-12-22 15:36:42 -05:00
ThePhD
88cafb281f
improve all tests, fix all tests, and improve metatable for GCC builds 2018-12-21 01:07:05 -05:00
ThePhD
c35c66baf7
update all tests and fix all the small derps and typos 2018-12-20 01:18:07 -05:00
ThePhD
823de66e43
oops deleted one too many things
Man managing all this build stuff is way too much effort. When will Peter Bindels save us all...
2018-12-20 00:46:53 -05:00
ThePhD
bbd5bd7fa1
Fix Linux build as best as possible while size issues still remain with MinGW. 2018-12-19 23:17:15 -05:00
ThePhD
9b292770df
Merge branch 'develop' into sol3 2018-12-03 08:46:29 -05:00
ThePhD
248fd71193
Add the new patrons -- thank you so much!! 2018-12-03 08:45:27 -05:00
ThePhD
26a1db449f
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-28 04:39:08 -05:00
ThePhD
902ceaf8a1
unchanged variable screwing us in certain debug modes 2018-11-28 03:50:45 -05:00
ThePhD
1e514f145f
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-27 22:20:59 -05:00
ThePhD
9b782ff6d3
fix table iterators 2018-11-27 22:19:18 -05:00
ThePhD
6ff83c6657
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-27 10:25:07 -05:00
ThePhD
4a0f382412
update check/get for variant to loop properly 2018-11-27 10:20:36 -05:00
ThePhD
8f73b92109
Merge commit 'c61a434561b863bab870873992c4ab23f963ca6c' into sol3
# Conflicts:
#	include/sol/types.hpp
2018-11-21 15:45:17 -05:00
ThePhD
f40439500b
update single 2018-11-21 15:33:38 -05:00
ThePhD
c61a434561
weeee gating things 2018-11-21 15:32:46 -05:00
ThePhD
7e5f2837a8
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-21 15:06:23 -05:00
ThePhD
a6186c4666
update single / tag 2018-11-21 15:05:08 -05:00
ThePhD
4906e43918
beep boop fixes 2018-11-21 15:03:45 -05:00
ThePhD
d15709d85a
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
#	include/sol/coroutine.hpp
#	include/sol/stack_core.hpp
#	sol/usertype_metatable.hpp
2018-11-21 08:19:26 -05:00
ThePhD
55e92056c1
Fiiiiixes. 2018-11-21 07:34:32 -05:00
ThePhD
1a3f989eba
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
#	include/sol/stack_push.hpp
2018-11-20 22:18:20 -05:00
ThePhD
157db07a56
C and C++ strings are ass 2018-11-20 22:09:43 -05:00
ThePhD
094ace3c7b
freeze changes 2018-11-20 11:59:36 -05:00
ThePhD
9b47849110
update tests (which compile, but now all fail) 2018-11-18 13:06:01 -05:00
ThePhD
e74ce68163
freeze and test 2018-11-11 13:40:28 -08:00
ThePhD
93db30d200
update single for 2.20.5 2018-11-10 11:02:36 -08:00
ThePhD
593dfc08ef
Fix up metatable 2018-11-10 10:55:39 -08:00
ThePhD
162746dac9
Merge branch 'develop' into sol3
# Conflicts:
#	docs/source/tutorial/variables.rst
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
#	include/sol/proxy.hpp
#	sol/usertype_metatable.hpp
2018-11-10 07:12:13 -08:00
ThePhD
2cfbc8c0ea
Fix up the remaining sol2 issues, prepare for more sol3 stuff 2018-11-10 06:41:06 -08:00
ThePhD
a7048aea45
fix up variables tutorial 2018-11-09 14:36:27 -08:00
ThePhD
091ca39438
update call 2018-11-09 10:53:46 -08:00
ThePhD
1f90b049f2
cut off containers if they are not specialization 2018-11-09 09:41:44 -08:00
ThePhD
f75d335988
Merge remote-tracking branch 'origin/develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-09 08:26:27 -08:00
Patryk Czachurski
47bbe98e20 Regenerate the single header file 2018-10-28 14:11:27 -07:00
Patryk Czachurski
bd10d0e6c4 Add the clang check to load_result.hpp as well 2018-10-28 14:11:27 -07:00
Patryk Czachurski
2d47fc09c3 Inside sol::proxy::call, check if we're building with clang
If building with clang on Windows, it tries to imitate MSVC by specifying reasonable _MSC_VER defines.
This makes sol2 compile MSVC version of sol::proxy::call (without the "template" preffix) that is nevertheless not accepted by clang.

This commit fixes the problem by also checking if "__clang__" is defined.
2018-10-28 14:11:27 -07:00