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
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
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
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
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
int3
97279aa68e
Fix: constructing basic_reference<true> from basic_reference<false>
2019-10-01 02:17:04 -04:00
David P. Sicilia
b545e1bf1b
Enable C++17 features when __cplusplus >= 201703.
...
This will keep them enabled even when compiling with later
standards or experimental standards such as -std=c++2a.
2019-09-15 00:49:53 -04:00
ThePhD
bafac3abbd
Change how proxies are done for the sake of efficiency.
2019-09-15 00:43:44 -04:00
ThePhD
b2c22ea8fe
Fix #864
2019-09-08 19:54:17 -04:00
ThePhD
9294afc082
memory tracker and separate-definition ADL customization points, inspired by Olek and Aurailus
2019-09-01 02:27:58 -04:00
ThePhD
e8649d276b
NOW it's REALLY fixed, super duperly.
2019-08-28 00:17:11 -04:00
ThePhD
12eb1168e2
Burning hatred for unconstrained functions.
2019-08-27 20:04:55 -04:00
ThePhD
a2e01ada2f
More dumb patches for more all-consuming template functions.
2019-08-27 19:59:07 -04:00
ThePhD
683d1393d7
std function can be empty
...
fixes #862
2019-08-27 18:36:45 -04:00
ThePhD
e03f53d4dc
more minor fixes for bad trait usage, wee
2019-08-15 08:14:06 -04:00
ThePhD
12f8f046cc
fix up container handling
2019-08-15 02:28:37 -04:00
ThePhD
cb3acaa97b
add more documentation, add clear() to bytecode, include additional examples and better data
2019-08-15 01:26:52 -04:00
ThePhD
09f5e862b8
Lua 5.4 changes... oh boy!
2019-08-12 14:07:25 -04:00
ThePhD
5799084572
Fix #838 by defining the operators to prevent VS warning
2019-07-25 22:14:24 -04:00
ThePhD
7584e3b9fd
derped in some undef'd code
2019-07-04 22:53:36 -04:00
ThePhD
fd4ba95602
repetition is bad
2019-07-04 16:34:32 -04:00
ThePhD
60332562fd
better numerics errors ?
2019-07-04 09:42:12 -04:00
ThePhD
eb6f425245
fix some derps in overload resolution in cases where it is ambiguous with .call<void>(). Also improve variant handling, going from 0 to variant_siz
2019-07-01 23:30:54 -04:00
ThePhD
52dc19a75a
wew containers and perfect matching ye
2019-07-01 05:44:53 -04:00
ThePhD
1ab57fc11e
fix up variadic_results and change pointer_like traits to not fall prey to implict conversions as easily
2019-07-01 02:13:34 -04:00
ThePhD
b08387d947
sol variadic results to make it easier to convert function results.
2019-06-29 09:51:47 -04:00
ThePhD
ce1396e7db
Derped out. Thanks @PeteHuf
2019-06-10 13:08:06 -04:00
ThePhD
4ca24f9bc7
Handle weird types for number and shit
2019-06-10 04:22:59 -04:00
ThePhD
ef1c0e7a38
fix weird nested shit
2019-06-08 21:48:34 -04:00
ThePhD
d63ba49b0e
fix #826 #824
2019-06-04 14:15:23 -04:00
ThePhD
cbb05759be
Unused warnings...
2019-05-29 22:01:32 -04:00
ThePhD
5a4d7dca7f
pointers just wanna be included in the fun, man
2019-05-29 17:14:35 -04:00
ThePhD
46a2b01f33
[skip ci] formatting fix
2019-05-29 09:33:14 -04:00
ThePhD
e256012de1
pessimizing moves, o boi
2019-05-27 01:49:31 -04:00
ThePhD
e814868a24
inline constexpr to stop odr issues
2019-05-26 16:12:21 -04:00
ThePhD
ca293c723f
add sol::stack::get_traceback convenience function
2019-05-26 15:44:38 -04:00
ThePhD
fe5c71e792
awh yeh
2019-05-26 13:50:29 -04:00