Commit Graph

1492 Commits

Author SHA1 Message Date
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
ThePhD
ee8716f6bd [ci skip] update docuemtnation about iterators 2017-01-28 19:51:14 -05:00
The Phantom Derpstorm
4957a6ee5d Merge pull request #323 from RaptorFactor/develop
Work around clang-cl compilation issue.
2017-01-26 10:18:04 -05:00
RaptorFactor
c58d27e58d Work around clang-cl compilation issue. 2017-01-26 03:32:17 -08:00
The Phantom Derpstorm
5b12924d9e Merge pull request #322 from mrgeorg/patch-1
Variable.rst: correct typos
2017-01-24 11:31:07 -05:00
mrgeorg
0a4721aa7a Variable.rst: correct typos 2017-01-23 19:42:00 +01:00
ThePhD
039331e163 Make sure docs compile 2017-01-14 07:45:45 -05:00
Kim Byungsun
30feacb04e Fixed typo: luaxlib.h -> lauxlib.h 2017-01-14 07:44:23 -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
490194f767 allow va_args to work with overloading, albeit things can get... bad, with it. Need to observe this more to make sure things don't go poorly. 2017-01-09 16:38:23 -05:00
ThePhD
969615fb86 coroutine example 2017-01-07 15:44:50 -05:00
ThePhD
658a11a2be forgot return type: update single 2017-01-07 01:11:03 -05:00
ThePhD
38ba4415b0 update version and single 2017-01-07 00:46:16 -05:00
ThePhD
764b2ad7b2 thread and state awareness: update single 2017-01-07 00:42:18 -05:00
ThePhD
3baa99f941 thread and state awareness in all sol lua types 2017-01-07 00:40:44 -05:00
ThePhD
01aeaf6492 [ci skip] update docs for iteration notes 2017-01-04 09:48:23 -05:00