Commit Graph

1365 Commits

Author SHA1 Message Date
ThePhD
4094ba3e7a New feature: nested getter for complex nested tables, plus docs and example 2017-03-30 14:11:43 -04:00
ThePhD
92d31b39b7 update single 2017-03-30 04:21:11 -04:00
ThePhD
4f72880cd5 sigh, Lua 5.1 2017-03-30 04:20:09 -04:00
ThePhD
791aecbcd0 New documentation for as_table and some container examples 2017-03-30 01:31:55 -04:00
ThePhD
6bc034c5a9 [ci-skip] update usertype docs so I have somewhere to point users when they make a derp 2017-03-28 22:13:08 -04:00
ThePhD
b835e7d2c7 update Unreal's check mechanism 2017-03-26 11:28:32 -04:00
ThePhD
e27922e844 Fix a latent herpderp from when I added new constructors to protected_function that resolves an ambigious implicit conversion. 2017-03-25 20:28:22 -04:00
ThePhD
3342e65b38 fixes to a lot of tests and proper subclassing for internal metatable data and work done to all of the usertypes to make them behave as expected 2017-03-23 21:13:46 -04:00
ThePhD
7c29964339 allow personal indexing function to catch rewrites to itself in usertypes statically and dynamically 2017-03-23 10:19:23 -04:00
ThePhD
6ceb715912 Ownership documentation. 2017-03-22 22:34:24 -04:00
ThePhD
9daf52e8df update single 2017-03-22 07:54:19 -04:00
ThePhD
a9644d0956 valid checks should be used only for non-stack-based objects: otherwise, stack things should appropriately trigger none of them and let the checker handle that portion of the code 2017-03-22 07:53:57 -04:00
ThePhD
8938c54404 update version, update single 2017-03-21 16:56:25 -04:00
The Phantom Derpstorm
8a8499945b Merge pull request #370 from OrfeasZ/doc-search
Fixed broken links in search results when performing a local search
2017-03-20 13:13:46 -04:00
OrfeasZ
da11202bf1 Ensure we're running in an RTD environment to prevent local doc builds from breaking. 2017-03-20 04:53:09 +02:00
OrfeasZ
b1b121d8d0 Fixed (hopefully) broken links in search results when performing a local search. 2017-03-20 04:39:40 +02:00
ThePhD
4b58b4ace3 update single 2017-03-19 20:58:35 -04:00
ThePhD
4a851699d9 This would work better, actually...! 2017-03-19 19:16:20 -04:00
ThePhD
6520f1bc8e This references thing is really going to hurt me from VC++ one day in production 2017-03-19 19:13:50 -04:00
ThePhD
c2b8a9cc57 unused variable warnings turned errors killing all the tests 2017-03-19 18:41:52 -04:00
ThePhD
44b4045343 change expression code so that it evalautes to a reference properly when throwing, otherwise VC++ will return a reference to a value it creates (thanks, VC++ extensions...) 2017-03-19 18:06:46 -04:00
The Phantom Derpstorm
35761bdd0b Merge pull request #366 from kluete/petah
typo fix
2017-03-18 10:40:00 -04:00
Peter Laufenberg
7f7783e158 Merge branch 'develop' into petah 2017-03-17 19:03:56 -07:00
LSK
3ba03beeae typo fix 2017-03-17 18:56:42 -07:00
ThePhD
42aa55db8f update single 2017-03-16 16:01:42 -04:00
ThePhD
144892c633 The way exceptions are handled is borderline sadface in C++ on various platforms. I wish DLL boundaries and crap weren't so fragile. 2017-03-16 15:53:51 -04:00
ThePhD
ed6ae23d2e Accidentally put a critical check inside of a SOL_SAFE_USERTYPE define... Buh. 2017-03-16 10:12:17 -04:00
ThePhD
21bc3ef789 update all the examples 2017-03-16 08:51:19 -04:00
ThePhD
31b4dd820c silence some crap warnings and fix the inversion of the branches in the usertype metatable because I'm a dumb 2017-03-16 03:36:15 -04:00
ThePhD
21f59a997a The new constructor syntax was very easy to implement... 2017-03-16 03:07:20 -04:00
ThePhD
82482bfe3e one fix at a time... 2017-03-13 18:08:32 -04:00
ThePhD
b46901903d missed one 2017-03-13 18:03:01 -04:00
ThePhD
72fe0a5a31 remove std::move from items 2017-03-13 17:45:54 -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
84554c90ea VC++'s late instantiation killing me on things being used technically before they're defined, but being inside templates makes it bad... 2017-03-12 21:42:43 -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
ab9126d892 update customization points and track un-specialized structs to trigger some safe-guards as a back-compatible safety net 2017-02-20 18:07:02 -05:00
ThePhD
889a45d0b3 update single 2017-02-20 03:45:47 -05: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
dde4aa64fc simple_usertype now responds with nil on bad lookups and sets items into place properly when new_index'd 2017-02-19 05:00:11 -05:00
ThePhD
0c8ec828d5 Unused parameter warnings will be the death of me someday 2017-02-18 22:20:52 -05:00
ThePhD
295bc3a911 update single 2017-02-18 21:59:53 -05:00
ThePhD
a9cfe4b980 Fix ability to use call constructors for simple usertypes in a more systematic and thorough fashion (still some missing holes, but unlikely to ever encounter)
Add tests to make sure it never happens again
2017-02-18 21:59:31 -05:00
The Phantom Derpstorm
bc889065dc Merge pull request #343 from OrfeasZ/doc-search
Fixed search form path for non-root pages.
2017-02-18 15:57:51 -05:00
OrfeasZ
5825fa4741 Fixed search form path for non-root pages. 2017-02-18 22:54:52 +02:00
ThePhD
ce072e8506 [ci-skip] docs for default parameters and the like 2017-02-18 15:54:41 -05:00
The Phantom Derpstorm
18169b2b65 Merge pull request #342 from OrfeasZ/doc-search
Added a search bar to the header of the documentation layout template.
2017-02-18 14:36:02 -05:00
OrfeasZ
6943304a80 Added a search bar to the header of the documentation layout template. 2017-02-18 19:36:29 +02:00
ThePhD
bf7ddd7bde Update catch internally and make sure there's no errors in the tests for unused variables 2017-02-18 05:05:33 -05:00
The Phantom Derpstorm
1c5ea757c8 Merge pull request #339 from RaptorFactor/develop
Fix building tests with Catch v1.7.2.
2017-02-18 03:51:11 -05:00