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
ThePhD
3f65ad43d8
Remove unused variant typedef
2018-03-11 20:12:23 -04:00
ThePhD
a83091cba4
implement visible c:pairs() and c:at() functions for the user
...
adjust metatable types
add example with a std::pair-containing container
2018-03-10 20:45:01 -05:00
ThePhD
623a38e80e
add exception trampoline support to sol2 and add an example on how to use it
2018-03-09 22:27:49 -05:00
ThePhD
560b5b2673
ᕕ༼ •̀︿•́༽ᕗ VC++ COMING THROUGH WAHAAAY ᕕ༼ •̀︿•́༽ᕗ
2018-03-06 17:36:33 -05:00
ThePhD
68738cdc83
improve docs
...
refactor default state additions to let user do the same thing with less effort
prepare for sol::upvalues tinkering
2018-03-05 22:54:31 -05:00
ThePhD
e8119ec9a3
Fix semantics of check_get for objects obtained by proxy
2018-03-04 10:56:05 -05:00
ThePhD
e8e5ddc890
fix overpop from stack_check_get tracking
2018-03-04 05:40:57 -05:00
ThePhD
ab5b417fb0
update single, change optional semantics with nullable references
2018-03-03 15:39:41 -05:00
ThePhD
cd13f2dc0d
Hammer down function behavior and provide an example to show how it works
2018-03-03 13:42:13 -05:00
ThePhD
1e5c256394
specify poly as the desired type
2018-03-02 10:09:30 -05:00
ThePhD
94a63902a7
fix order of is_specialization_of, since mpark and arthur and friends convinced me of The One True Way
...
add workaround for VC++ /std:c++17 and /std:c++latest bugs
try to add MD/MDd flags, pray it works...
update single
2018-03-01 22:08:27 -05:00
ThePhD
9bddce66f8
Visual C++ introduced a regression in all frontends that were not /std:c++14.
...
Kind of tired, don't want to file the bug....
2018-02-28 19:20:20 -05:00
ThePhD
14378e7126
properly specify transcoding behavior
2018-02-24 18:50:23 -05:00
ThePhD
6b2e282ab0
oops, the logic for the define was wrong :<
2018-02-23 16:59:48 -05:00
ThePhD
b60132ef71
Fix boost/C++17 hash mismatch
2018-02-23 11:30:34 -05:00
ThePhD
12139b8cfb
stop myself from derping out
2018-02-22 21:31:28 -05:00
ThePhD
e8a8da0b29
clang chokes on statically casted constant function expressions, thanks clang
2018-02-22 18:33:40 -05:00
ThePhD
f7f94a4f74
adjust default registration use
2018-02-22 14:48:37 -05:00
ThePhD
8d62fbaf5d
add handle for potentially overloaded size()
definitions (pray it works with noexcept anyhow).
2018-02-22 12:26:46 -05:00
ThePhD
6c6c89132b
fix #593
2018-02-21 02:02:18 -05:00
ThePhD
d7425dbb9a
initializers for arrays are stupid
2018-02-20 00:57:55 -05:00
ThePhD
c377ecebcb
more travis stuff, add missing license notice, update license year
2018-02-19 21:15:26 -05:00
ThePhD
3ad438ac01
bad fallthrough, missed specialization
2018-02-17 01:09:30 -05:00
FYP
92f4c4c053
Fix thread::status() incorrect returning value
2018-02-17 00:18:59 -05:00
ThePhD
67116a67f9
Fixes #588
...
Tentatively supports (?) #589 with sol::yielding and sol::yielding_t
Added Catch as a cmake module
2018-02-17 00:18:26 -05:00
ThePhD
1d0683a53e
add all examples for all interop types
...
Implements #578
2018-02-10 16:24:17 -05:00
ThePhD
af7b46864a
unicode array initializers zzz
2018-02-08 23:22:17 -05:00
ThePhD
2e648638ef
Fixes #580
...
Adds some code for #579 to warn of bad errors
Update documentation and examples, as well as fix fPIC with static builds on Linux
2018-02-08 23:19:45 -05:00
ThePhD
22127fa6fa
woops
2018-02-04 19:55:11 -05:00
ThePhD
c9980bfc28
Add push function, update single
2018-02-04 19:23:24 -05:00
ThePhD
5029751569
add inline, make string_view arrays const, and make sure the templated conversion routines use template on it
2018-02-03 10:26:17 -05:00
ThePhD
f48ba8b101
Add shiny new unicode methods to replace shitty codecvt. It needs some work to be safer but this will work for now
...
string_view to avoid allocations added to a few more places
stack proxy's unused members were removed
container_traits now has the index_adjustment function added onto it.
Fixes #571
Fixes #574
Fixes #575
2018-02-03 01:29:06 -05:00
ThePhD
49d99d1b48
make sure right overload of create
is called to make the target table.
2018-01-30 21:05:08 -05:00
ThePhD
165b387ddb
Change bind_traits
to work better for 32-bit __stdcall
2018-01-30 11:02:46 -05:00
ThePhD
54003df3c9
as usual, herpin' that derp with the spelling errors...
2018-01-28 22:58:56 -05:00