Commit Graph

2157 Commits

Author SHA1 Message Date
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
RaptorFactor
cee7d16412 Fix building tests with Catch v1.7.2.
From the Catch docs:
Please note that the THROW family of assertions expects to be passed a single
expression, not a statement or series of statements. If you want to check a
more complicated sequence of operations, you can use a C++11 lambda function.

https://github.com/philsquared/Catch/blob/master/docs/assertions.md

In current versions of Catch violating this causes a build error.
2017-02-17 18:40:51 -08:00
ThePhD
23e3f2c26d make sure member functions for simple usertypes propogate their desired type. 2017-02-17 05:46:39 -05:00
ThePhD
37420dcdc0 Documentation update about functions and new typedefs. 2017-02-16 02:05:49 -05:00
ThePhD
4aee6d3ed9 size checks don't really work out well with LuaJIT's memory patterns, so we'll leave them there but commented out in most cases 2017-02-15 06:27:48 -05:00
ThePhD
85194e0135 Fix leak issues and some ordering in state(view) move operations. Closes #336. 2017-02-15 05:42:44 -05:00
ThePhD
fe8b1c1c10 Bug in not properly keeping the observed valid table on the stack. 2017-02-01 06:54:30 -05:00
ThePhD
8d6f304bad Update the name table and make sure there are pairs and next metamethod entries. 2017-02-01 06:29:45 -05:00
ThePhD
c7deb82535 Improve performance by making wstring_convert objects static. Closes #326
Temporary warnings against alignment padding nonsense. Closes #325
Still need to test #324 and find out what's wrong with #327
2017-01-30 21:40:58 -05:00