ThePhD
6869ad35a3
Update single and fix shitty proxy documentation!
2020-07-04 04:43:29 -04:00
ThePhD
7d8532b5f8
Merge branch 'develop' of github.com:ThePhD/sol2 into develop
...
# Conflicts:
# single/include/sol/forward.hpp
# single/include/sol/sol.hpp
2020-07-04 04:01:11 -04:00
ThePhD
862c01019a
Use invoke_result_t to get rid of deprecated result_of_t ( Fixes #986 ).
...
Make thread local keyword optional by using a config macro SOL_NO_THREAD_LOCAL (off by default) (Fixes #979 ).
Cannot do anything for #985 ; that's an architecture issue.
2020-07-04 03:58:24 -04:00
Brent Davis
428767b8cd
Reduce binary bloat from static_trampoline and check_metatable
2020-07-03 12:04:02 -04:00
Brent Davis
a21fef97e9
Fix formatting in previous commit
2020-07-03 12:04:02 -04:00
Brent Davis
37c61eb16b
Move code that doesn't need to be in a template, out of the template, to reduce duplicated binary code
2020-07-03 12:04:02 -04:00
Brent Davis
1ce551e9ee
Normalize all the paths so string replacement for 'Beginning of'/'End of' comments works in more cases
2020-07-03 12:04:02 -04:00
Peter Brady
62a831cda7
correct dot product in example
2020-06-11 06:37:56 -04:00
ThePhD
874c8e5f09
Update version to crap out a release to deal with Visual Studio doin' the derps.
2020-06-06 12:05:49 -04:00
ThePhD
e09d2ffef8
Fix up protected function returns and fix/use the horrible size
extension point derp. Fixes #973
2020-05-26 20:08:38 -04:00
ThePhD
465b472b2c
Fix #968 , #969 (nice).
2020-05-22 09:38:53 -04:00
ThePhD
d9c034d672
Protections for MoonJit, explicitly.
2020-05-17 23:21:32 -04:00
ThePhD
c5f6680bf4
Add an additional configuration parameter to make it so automagic usertypes can be turned off, and document it.
...
Thanks @EliasDaler
2020-05-17 18:17:14 -04:00
ThePhD
5022c4d8f6
Improve container handling and the vec[#vec] = nil idiom from Lua
2020-05-06 22:17:02 -04:00
ThePhD
890cdd38b4
Fix up all the funding/donation links. Again!
2020-05-03 09:50:30 -04:00
espkk
670ea9b405
Allow open_libraries() to accept any value category.
2020-04-08 20:01:29 -04:00
ThePhD
e82af463c1
Update contributors names.
2020-04-04 16:24:43 -04:00
ThePhD
053a7fdcb1
Fix #949 , #935 , #948 , #945 , and #933 .
...
We will need a new feature to fix #941 , which is related to #872 .
2020-03-31 00:24:23 -04:00
voidProc
e7559e91d8
fix coroutine example: use thread state
2020-03-31 00:24:11 -04:00
Amir Masoud Abdol
077301092f
fixed a broken link
2020-03-12 11:29:11 -04:00
Amir Masoud Abdol
cba93593d7
fixed formatting
2020-03-12 11:29:11 -04:00
ThePhD
82812c56d9
__mt is the wrong name.
2020-03-09 21:33:41 -04:00
ThePhD
f1ad1de70a
Note requirements in documentation about pairs generation.
2020-02-16 19:44:11 +01:00
ThePhD
bc96c1d7b2
Fix some more derps in the code. Also, std::iterator
is a zombie!
2020-02-16 16:52:39 +01:00
ThePhD
47fbab369f
Consistent Readme.
2020-02-03 01:22:29 -05:00
ThePhD
5d7d1329fa
New example.
2020-01-28 14:01:34 -05:00
ThePhD
11d6e8c8d4
Where did the checkers for sol::nested go...? Maybe a casualty of refactoring?
2020-01-28 13:44:35 -05:00
ThePhD
903f4db02b
Fix up the tutorial.
2020-01-27 14:13:22 -05:00
ThePhD
0c38fd1a57
Lua stream example!
2020-01-25 13:09:16 -05:00
ThePhD
2beb13b9b2
Found the problem.
2020-01-25 00:13:08 -05:00
ThePhD
c5863c8c31
Improve comments and example code.
2020-01-24 20:24:50 -05:00
ThePhD
ba9507107b
Index adjustments from derping around.
2020-01-24 20:16:37 -05:00
ThePhD
5301bc1d4c
New base object customization point management example, derived directly form @NullCascade. Thanks!
2020-01-24 19:58:12 -05:00
ThePhD
c77b5b432e
Update catch, move yielding check up one level to avoid problems with trampoline and exception handling, and add a new test/example from an issue. Closes #906 . Closes #917 .
2020-01-17 05:22:52 -05:00
ThePhD
1c89390356
Explicitly unsafe.
2020-01-08 10:46:22 -05:00
ThePhD
b9acaddd78
Stack aligned function should be safe, if possible.
2020-01-08 06:40:33 -05:00
ThePhD
43f215c27d
Fix #913
2019-12-25 13:24:21 -05:00
ThePhD
36972a994b
mmm double trampolining is not good
...
add new ways to shoot myself in the foot with CMake
2019-12-23 09:09:23 -05:00
ThePhD
1f27149239
Fix usage of the traits, rename them to say more directly what they are.
2019-12-02 15:54:58 -05:00
ThePhD
38d979209d
Rework variant checks and other things to prevent hard failures.
2019-12-01 19:27:49 -05:00
ThePhD
b0c74207d8
Force constness on ostream operator.
...
Automatically disable magic for variant types.
2019-12-01 17:40:16 -05:00
ThePhD
e26475e75b
Some minor fixes until I get on smr's level....
2019-11-29 19:21:14 -05:00
ThePhD
83a656ae61
Break all the behaviors. _All_ of them.
2019-11-29 13:08:41 -05:00
ThePhD
21c030933f
Clean up exceptions checking. Fixes #901
2019-11-24 18:06:52 -05:00
ThePhD
fd9e282b21
Sigh, appveyor.
2019-11-13 05:44:03 +01:00
ThePhD
bc1106cdea
Tackle bug in indexing on Lua Version < 5.3
...
Figure out LuaJIT bug for allocations on x64 on Version < 2.1.x
2019-11-13 05:18:02 +01:00
ThePhD
2ca27eede3
Please read the docs. Pretty please.
2019-11-12 18:53:17 +01:00
ThePhD
ce32549bc6
Remove as many of the std::string error handlers as possible to avoid memory leaks in C mode
...
Add some checks for container usertypes that masquerade as convertible from tables
Make sure shared_ptr-like types that are copyable are returned directly (but do not do this for move-only types)
2019-11-09 04:53:48 +00:00
ThePhD
88355fcdf8
fix derp for checked calls
2019-10-02 04:43:44 -04:00
ThePhD
908074e696
wew lad
2019-10-02 02:38:12 -04:00