Commit Graph

119 Commits

Author SHA1 Message Date
ThePhD
e69e7c79fa C++17 additions: std::variant, string_views of all types, checker for if we have the right version
added variadic_results, to return a variable number of arguments to Lua
added variadic_results and as_results
added improved function examples (for multiple results and split overloading out)
added tests for variadics
added tests for C++17 utilities
added a forwarding header
added a specific `unsafe_function` header
added and improved documetation pages
2017-07-09 12:54:52 -04:00
ThePhD
345a398cdc [ci-skip] doc polish 2017-07-01 11:20:39 -04:00
ThePhD
da28527421 prepare for container_traits to be a thing
update large parts of the documentation and add a new section to streamline information about functions
2017-07-01 11:02:15 -04:00
ThePhD
874a14f2d9 [ci skip] update documentation 2017-06-29 12:31:38 -04:00
ThePhD
17271c84cb BREAKING CHANGE: std::pair for regular containers that are not marked as as_table_t or as_nested will now behave like regular containers and not force themselves to be key-value pairs. table-style serialization is still unaffected. 2017-06-23 18:07:24 -04:00
ThePhD
7168c3177b Add some additional documentation to aid in understanding 2017-05-31 18:58:24 -04:00
ThePhD
6047f48343 vet container_usertype and wrap for the proper traits regarding assignment and checking of said assignments
update documentation with more tips and other similar things
2017-05-20 20:01:04 -04:00
ThePhD
58003669fb this_environment is now live 2017-05-09 13:24:56 -04:00
Carlos Carrasco
e13711ed84 add find method to containers to make fast lookups into set/unordered_set 2017-05-03 18:54:38 -04:00
ThePhD
2acc8bee14 get_environment, documentation updates, and tests 2017-04-18 20:23:20 -04:00
ThePhD
8c94cb730b Fix static initialization order fiasco with meta_function_names 2017-04-04 16:16:22 -04:00
Stefan Bühler
0563d9e124 fix return type of call operator in function.rst
without result type specification it returns `function_result`
2017-04-03 08:13:07 -04:00
ThePhD
fd507d87bb [ci skip] doc updates 2017-04-03 00:30:20 -04:00
ThePhD
07cee03a8b [ci skip] state doc updates 2017-04-03 00:08:56 -04:00
squeek
cff6ff99ea Minor environment doc fixes [ci skip] 2017-04-02 23:05:33 -04:00
ThePhD
bbb7aafd4b [ci skip] I'll stop derping one day of my life....
But that's not today :v
2017-04-02 22:48:26 -04:00
ThePhD
1f98a86a27 [ci skip] almost left something out of the docs 2017-04-02 22:47:02 -04:00
ThePhD
185f5ecc05 new travis environments to be tested out for osx stuff, plus new_table docs and environments on function calls 2017-04-02 22:37:01 -04:00
ThePhD
5f1bdf84c8 [ci-skip] forgot the link to the examples in the docs. Oops. 2017-04-02 16:15:24 -04:00
ThePhD
309325d0f5 New feature: environment plus documentation about the environment table and its usage with scripts. 2017-04-02 16:10:00 -04:00
ThePhD
59b196a1db add a new kind of error handling script call, updating docs and examples 2017-03-31 17:38:04 -04:00
ThePhD
1e367ab80c [ci-skip] docs 2017-03-30 14:14:31 -04:00
ThePhD
4094ba3e7a New feature: nested getter for complex nested tables, plus docs and example 2017-03-30 14:11:43 -04:00
ThePhD
791aecbcd0 New documentation for as_table and some container examples 2017-03-30 01:31:55 -04:00
ThePhD
6ceb715912 Ownership documentation. 2017-03-22 22:34:24 -04:00
ThePhD
c2b8a9cc57 unused variable warnings turned errors killing all the tests 2017-03-19 18:41:52 -04:00
ThePhD
21bc3ef789 update all the examples 2017-03-16 08:51:19 -04:00
ThePhD
30ecd7127a Tracking LuaJIT deletion bug, but it seems to be connected to the Hash Map iterator level...? Something is wrong, here... 2017-03-13 15:05:02 -04:00
ThePhD
dce8053248 Time to break everything.
Added the ability to extend all usertypes at runtime. The performance implications need to be examined closely.
variadic_args documentation was updated with the desired example demonstrating proper usage
usertype examples were updated demonstrating Lua runtime and C++ runtime updating of a usertype table
SOL_SAFE_FUNCTIONS is now part of the definitions and defined (thanks @eliasdaler)
2017-03-12 21:35:19 -04:00
ThePhD
b7b63668c8 Ensure construction of special types in simple_usertype is working, and for regular usertype as well. 2017-02-20 03:44:41 -05:00
ThePhD
ce072e8506 [ci-skip] docs for default parameters and the like 2017-02-18 15:54:41 -05:00
ThePhD
37420dcdc0 Documentation update about functions and new typedefs. 2017-02-16 02:05:49 -05:00
ThePhD
ee8716f6bd [ci skip] update docuemtnation about iterators 2017-01-28 19:51:14 -05:00
ThePhD
66ad189797 add functionality to have functions properly detected and the amount shifted over properly based on being a call constructor or not 2017-01-09 23:25:28 -05:00
ThePhD
01aeaf6492 [ci skip] update docs for iteration notes 2017-01-04 09:48:23 -05:00
ThePhD
bacd93ad08 [ci-skip] update resolve docs 2016-12-26 15:06:41 -05:00
ThePhD
edeb81a7e1 Add registry constructors to tug things right out of the registry, and add a main_thread getter to aid in Joynet dev 2016-12-10 00:25:25 -05:00
ThePhD
16152c7faf Make various arguments push based on the Lua state passed, not on the Lua state they have (avoids a small class of errors and makes the panic function call tiself more regularly). 2016-12-06 10:51:14 -05:00
ThePhD
d46f2aa1b0 [ci skip] as_args docs 2016-11-26 14:04:44 -05:00
ThePhD
433e34cd9b as_args and threading API cleanliness. 2016-11-26 13:58:06 -05:00
ThePhD
f5930bfa48 constexpr resolve 2016-11-14 13:58:55 -05:00
ThePhD
fbc0fc5f93 Properly word the exception documentation and made some proper links.
Update single and use proper wording.
2016-11-13 03:48:22 -05:00
ThePhD
85a72a9ae0 add additional bit to resolve docs. 2016-11-13 03:28:32 -05:00
ThePhD
29f10c4041 [ci skip] doc update 2016-11-07 13:09:44 -05: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
f3fbd24226 [ci skip] docs update 2016-10-11 20:44:24 -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