ThePhD
c61a434561
weeee gating things
2018-11-21 15:32:46 -05:00
ThePhD
4906e43918
beep boop fixes
2018-11-21 15:03:45 -05:00
ThePhD
55e92056c1
Fiiiiixes.
2018-11-21 07:34:32 -05:00
ThePhD
157db07a56
C and C++ strings are ass
2018-11-20 22:09:43 -05:00
ThePhD
2cfbc8c0ea
Fix up the remaining sol2 issues, prepare for more sol3 stuff
2018-11-10 06:41:06 -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
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
Jeffrey Quesnelle
2ebbe5de86
Pop the correct element that was pushed
2018-10-17 14:40:18 -04:00
Jeffrey Quesnelle
511765c734
Pop stack element used as argument of lua_topointer
2018-10-17 14:29:30 -04:00
isvogor
f438284a47
fmt rename to fmt_ to avoid naming conflict with the spdlog library
2018-09-03 15:36:37 +02:00
ThePhD
92fa032ff4
fix arity accumulation
2018-08-04 11:00:31 -04:00
peterbell10
06dfed4204
Fix build when SOL_STRINGS_ARE_NUMBERS is set
2018-08-04 15:01:44 +01:00
ThePhD
71847ff64a
some traits changes
2018-07-29 13:20:01 -04:00
Orfeas Zafeiris
4c7a8663b5
Fix size trait detection for containers
2018-07-23 17:50:50 +03:00
ThePhD
254466eb4b
add pointer()
method
2018-06-27 11:34:40 -04:00
ThePhD
3935dc497c
fix #673
...
fix #670
2018-06-27 07:14:02 -04:00
ThePhD
301547f260
fix #674
...
fix #673
make a full decision on #672 ; not worth the implementation effort
2018-06-26 15:57:55 -04:00
ThePhD
968989bef7
Fix for LuaJIt issues
2018-06-15 20:24:11 -04:00
ThePhD
c6bb3c6ce5
fix all warnings on GCC and get new tests and old tests back to 100%
2018-06-15 17:33:09 -04:00
ThePhD
ccba856216
Fiinaly remember the right keyword to place for a dependent typename...
2018-06-15 16:37:44 -04:00
ThePhD
964f8e19cd
typename on the right side
2018-06-15 16:03:25 -04:00
ThePhD
fd52cc1aa9
forward declare more things to make gcc/clang happier
2018-06-15 15:54:43 -04:00
ThePhD
92f3330e03
fix #668
...
update single
2018-06-15 15:50:51 -04:00
The Phantom Derpstorm
15fe28c57f
Merge branch 'develop' into vc140-fixes
2018-06-15 13:27:58 -04:00
ThePhD
8039dd22a6
update documentation with additional information about resolve and overload ( fixes #664 and fixes #665 )
...
add new shared_ptr differentiation mechanism that persists between DLLs (fixes #661 )
change valid Lua version to handle Lua 5.4.0-work1 (fixes #649 )
remove upper limit on MSVC version: they're not fixing it anytime soon (fixes #655 )
add integer value for definition (fixes #651 )
2018-06-15 13:19:09 -04:00
Orfeas Zafeiris
efef730ee8
Fix compilation issue with alignment (possibly)
2018-05-30 08:58:18 +03:00
ThePhD
ac709111e8
ensure index_adjustment is applied everywhere
...
add safety config everywhere
2018-05-22 15:42:38 -04:00
ThePhD
03f17d41eb
ensure optional returns are un-engaged upon none/nil -- nil does NOT count
2018-05-20 15:25:50 -04:00
ThePhD
9cf393abb0
I really ought to consolidate how I handle optional, but there's optimizations I miss if I do.... bwuh.
2018-05-14 13:21:41 -04:00
ThePhD
f8ee7abe52
tfw no common_type for ternary...
2018-05-12 18:04:33 -06:00
ThePhD
db5494ee37
Fix #641
2018-05-12 09:16:34 -06:00
ThePhD
9106597663
ensure constness does not infect unique usertypes
...
fix #644
2018-05-12 01:57:55 -06:00
ThePhD
fd58e7fcd1
fix #638
...
bump microsoft version check up (fx #639 )
2018-05-10 05:30:51 -06:00
ThePhD
c72a012927
Fix Visual Studio 2015 builds, fix error handling printouts / exceptions, fix constexpr usage that trips up Visual Studio 2015.
2018-04-17 20:08:07 -04:00
ThePhD
818f766066
Trying to clean up all the macros. One day, I'll finish the configuration layer and everything will be beautiful.
2018-04-17 15:04:17 -04:00
ThePhD
7d7b542325
commit and see if we can get the build going again
2018-04-17 13:04:35 -04:00
ThePhD
479575c0ca
This update allows for many more definition macros and teh use of a configuration header to be combined with the single.py
...
Allow for configuration macros to aid in fixing #631
2018-04-17 12:29:03 -04:00
hzwar
2de6447e73
Compile fix for std::variant detection on Apple clang 9.1.0 (Xcode 9.3) ( #628 )
...
* Compile fix for std::variant detection on Apple clang 9.1.0 (Xcode 9.3)
* Update single
* Consistently check SOL_CXX17_FEATURES, SOL_STD_VARIANT
* Update single
2018-04-13 14:46:05 -04:00
ThePhD
80df3fc915
Fix #626
...
Fix #625
Fix #624
2018-04-12 13:58:25 -04:00
ThePhD
612c1232e2
add reference to stack here
2018-04-01 21:38:21 -04:00
ThePhD
0c380da637
in place modification function there, but it won't be documented because it's a BAD IDEA
2018-03-30 04:51:29 -04:00
ThePhD
035c2f8fad
[ci skip] allow for pointer properties in non-checked-args builds
2018-03-29 09:24:41 -04:00
ThePhD
0b4548bed3
allow pointers to be used with property defines
2018-03-21 17:52:28 -04:00
ThePhD
2bd1cdccf0
return_type duplication
2018-03-19 00:20:08 -04:00
ThePhD
f50d8e271f
VC++ actually doesn't respect array reference return types through decltype. Kek. It's obscure, but... goodness, how does GCC and Clang get these things right consistently while VC++ keeps fumbling at it?
2018-03-18 23:41:03 -04:00
ThePhD
d14345f016
MSVC is an ass and will probably continue to be an ass for a while to come.
2018-03-17 09:09:37 -04:00
ThePhD
947945d098
Full documentation overhaul. Add a billion more examples. Fix r-values getting stuck as r-value references in proxy keys.
2018-03-16 16:47:09 -04:00
ThePhD
6c40c559e3
prepare for new usertype
...
change how type T is gleaned from destructors and constructors in case of new syntax
add a hell of a lot more examples, update and clean documentation
2018-03-15 17:16:28 -04:00