Commit Graph

1443 Commits

Author SHA1 Message Date
ThePhD
85a72a9ae0 add additional bit to resolve docs. 2016-11-13 03:28:32 -05:00
The Phantom Derpstorm
c3cc39f116 Merge pull request #271 from aaiyer/develop
LuaJIT C++ Exception Full Interoperability Support & Missing ';' when SOL_NO_EXCEPTIONS is defined
2016-11-13 03:26:01 -05:00
Anand Aiyer
6e6cb675e2 SOL_LUAJIT_FULL_INTEROPERABILITY - If you are using a platform and
compiler that has full c++ exception interoperability
(http://luajit.org/extensions.html#exceptions), define
SOL_LUAJIT_FULL_INTEROPERABILITY. This will prevent sol from catching
(...) errors - in platforms & compilers than have full c++ exception
interoperability Lua errors can be caught with catch (...) in C++ - in
these cases sol inaccurately prevents Lua errors from being propagated
correctly.
2016-11-13 12:02:29 +05:30
Anand Aiyer
951b821272 missing ';' when SOL_NO_EXCEPTIONS is enabled 2016-11-13 11:22:54 +05:30
ThePhD
72af3c6264 [ci skip] I can write, I promise. 2016-11-11 12:52:36 -05:00
ThePhD
02bbe0c528 improve docs heavily 2016-11-11 12:44:34 -05:00
ThePhD
f16a9f4ed5 update single 2016-11-09 07:46:08 -05:00
ThePhD
4116db8c89 Add heavy support for all things array and list and stuff 2016-11-09 07:42:45 -05:00
ThePhD
3b4dd52caf Fix is_container derp that triggered fault construction of pointer types 2016-11-07 13:52:20 -05:00
ThePhD
29f10c4041 [ci skip] doc update 2016-11-07 13:09:44 -05:00
ThePhD
f8705202e2 Update single and update safe usertype checking 2016-11-06 16:34:05 -05:00
ThePhD
34fe8a1ace update single 2016-11-05 23:43:21 -04:00
ThePhD
1c73fb054b std::cend doesn't exist in older compiler versions... 2016-11-05 23:25:46 -04:00
ThePhD
db7b4f22f2 Prepare for release. 2016-11-05 23:17:31 -04:00
ThePhD
3e77a77ddc fix container usertype metatables 2016-11-05 23:04:32 -04:00
ThePhD
52f69a2653 Heavily improve documentation and add new container functions. 2016-11-05 20:08:07 -04:00
ThePhD
bd83b3bb65 [ci skip] read only documentation 2016-11-04 19:56:48 -04:00
ThePhD
76bed7a09c [ci skip] tfw you forget to add it to the table of contents 2016-11-04 19:44:51 -04:00
ThePhD
d1c203b0c5 Update teh docs, woooo. 2016-11-04 19:41:16 -04:00
ThePhD
d863a56760 Weee, script return value tests 2016-11-02 19:00:16 -04:00
ThePhD
9836aba51d octal constants suck =/ 2016-11-01 19:24:59 -04:00
ThePhD
0a165dc5b4 Sometimes? You just don't like C++. At all. 2016-11-01 06:03:54 -04:00
ThePhD
c2c9ccf89c constexpr? More like LULexpr. 2016-11-01 05:57:48 -04:00
ThePhD
d3cb9042c3 Heey, no more submodules needed now. 2016-11-01 05:39:44 -04:00
ThePhD
0fcb62a725 Gone. 2016-11-01 05:32:24 -04:00
ThePhD
1213c8959a Ditch the dependency on the optional submodule, nobody's ever gonna care about it... 2016-11-01 05:31:59 -04:00
ThePhD
8c8c7d1ee1 update single 2016-10-30 05:59:37 -04:00
ThePhD
c9728b7e27 do_string / do_file synonyms. I have to document all this... 2016-10-30 05:56:56 -04:00
ThePhD
0859af3203 Fix comparisons done of improper types 2016-10-30 04:40:17 -04:00
ThePhD
76cae575e8 update single 2016-10-29 15:13:25 -04:00
ThePhD
f896a9ea16 Pop errors off the stack if they're present. 2016-10-29 15:12:47 -04:00
ThePhD
5193db55c3 allow for not-containers to be specified
Make sure tables of various sizes are kept working
2016-10-28 04:36:04 -04:00
ThePhD
31fe82fc2d update single 2016-10-23 19:29:48 -04:00
ThePhD
85329ca183 Mmn. Always making lots and lots of small changes. 2016-10-23 19:17:33 -04:00
ThePhD
2ac711b7f8 fix static initializer bugs from crap -- and remember to hunt down and get rid of all non-constexpr things like it in the future... 2016-10-21 17:32:27 -04:00
ThePhD
8c3ae42137 update single 2016-10-21 07:06:43 -04:00
ThePhD
4d45f0cde7 Merge remote-tracking branch 'origin/develop' into develop 2016-10-21 07:06:08 -04:00
ThePhD
a65f795b79 ipairs and pairs improved support, folding the registration table down to avoid duplicated code 2016-10-21 07:05:58 -04:00
The Phantom Derpstorm
ce05b1d5b4 Merge pull request #251 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-10-21 06:45:55 -04:00
The Gitter Badger
4d8774884e Add Gitter badge 2016-10-21 10:40:00 +00:00
ThePhD
661e361b26 inline pls 2016-10-15 18:53:42 -04:00
ThePhD
8f7433fbeb [ci skip] And now the presentation is online. Which is nice, I guess. Reads a bit funky in the repo, though...! 2016-10-15 18:41:54 -04:00
ThePhD
391f29afb1 Oh boy, new compatibility files...! 2016-10-15 18:36:30 -04:00
ThePhD
ebc8d0ffc3 D'oh. Goofed the copy/paste: now the test is proper. 2016-10-15 18:16:30 -04:00
ThePhD
940f44db55 Add presentation from Lua Workshop 2016
Have proper detection for numbers (even if it comes at a higher cost)
2016-10-15 18:14:19 -04:00
ThePhD
f3fbd24226 [ci skip] docs update 2016-10-11 20:44:24 -04:00
ThePhD
d315edefbf Update single. 2016-10-11 06:53:23 -04:00
ThePhD
866a2973ac [ci skip ] Updates to documentation for function arguments and some clarifications in usertype_memory specification.
That's... that's it, really. Also, there's a new warning in `sol::as_table`, because people kept trying to slap it on class bindings and that's not what it was for, damnit.
2016-10-11 06:44:36 -04:00
ThePhD
c2d219ea7d Reworked the architecture of usertype functions to include a shim table between it and the actual metatables.
This means that usertype tables visible in the code and bound to the name specified with `new_usertype` and friends will be normal tables, and those tables delegate their responsibilities to the 3 backend tables of `sol.unique_usertype<T>`, `sol.T`, and `sol.T*`. This separation allows for a few caveats for updating and overriding members of `new_simple_usertype` tables to 'just work' without any serious hassle, and to have a single point that lets up decide how to perform updates properly. It also restores an optimization we had to turn off by ham-fisting whether ot not indexing was turned on the usertype metatables themselves.

o wow wow wow it's such a nice commit message look at how organized it is
PFFFFFFFFFF.
2016-10-11 05:58:49 -04:00
ThePhD
007fd19b8d [ci skip] docs, like the last commit 2016-10-10 04:44:06 -04:00