Commit Graph

2077 Commits

Author SHA1 Message Date
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
22ecb743d7 container with pairs had some bad syntax, oops 2018-03-10 22:00:08 -05:00
ThePhD
aad954d2c0 update single 2018-03-10 20:45:46 -05: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
6a6025393f meow 2018-03-09 23:40:37 -05:00
ThePhD
c8bfcd2dc2 update stack docs
fix examples
do not throw std::exception directly: always use std::runtime_error, as it is the only one with a proper exception hole
2018-03-09 23:32:03 -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
0fe9b160b7 update single 2018-03-05 22:56:21 -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
2f220b6eb2 update single 2018-03-04 10:57:28 -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
2e1fcd32dd update single 2018-03-03 13:42:44 -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
b46b106114 update docs and examples 2018-02-28 01:56:11 -05:00
ThePhD
14378e7126 properly specify transcoding behavior 2018-02-24 18:50:23 -05:00
ThePhD
22c41d9482 Update documentation, refactor examples out of docs, fix warning about static entry path
Still need help refactoring out more code from docs...
2018-02-24 17:19:16 -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
32cadc0990 update single 2018-02-22 18:34:07 -05:00
ThePhD
e8a8da0b29 clang chokes on statically casted constant function expressions, thanks clang 2018-02-22 18:33:40 -05:00
ThePhD
24d335085c [ci skip] update docs
Fixes #597
2018-02-22 14:54:18 -05:00
ThePhD
f85a06b31d update single 2018-02-22 14:49:16 -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
a56a890adf update single 2018-02-20 11:45:51 -05:00
ThePhD
d7425dbb9a initializers for arrays are stupid 2018-02-20 00:57:55 -05:00
ThePhD
033f041a50 travis is weird 2018-02-19 22:43:31 -05:00
ThePhD
88f563982a What is going on with travis... 2018-02-19 22:39:50 -05:00
ThePhD
ac3aee3349 properly select latest CI 2018-02-19 22:36:53 -05:00
ThePhD
18981d95ca ci stuff will always confuses me 2018-02-19 22:34:56 -05:00
ThePhD
c377ecebcb more travis stuff, add missing license notice, update license year 2018-02-19 21:15:26 -05:00
ThePhD
e718d094b0 line endings are stupid 2018-02-19 17:17:04 -05:00
ThePhD
a6cf847984 Visual Studio 2015 builds are a nightmare... 2018-02-19 13:06:29 -05:00
ThePhD
a2e2b08ea9 To quote or not to quote... that is the question 2018-02-19 07:09:51 -05:00
ThePhD
c30d097592 Add comment back in. 2018-02-19 06:36:31 -05:00
ThePhD
2c8e4a8313 Update all modules, now that we seem to have gotten the hang of all the little things we need to do to make it work.
One day, OSX builds will Just Work™.
2018-02-19 06:30:44 -05:00
ThePhD
d26f0ea0e5 Some test printouts to help us debug the MinGW x86 explosion 2018-02-17 21:38:29 -05:00
ThePhD
b78d900d05 One day, everything will build proper.
One day.
2018-02-17 11:00:27 -05:00