Commit Graph

1327 Commits

Author SHA1 Message Date
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
ThePhD
010b6bb101 allow for switch to change Lua configuration and build with assumptions to C++ handling 2017-01-02 09:36:04 -05:00
ThePhD
bacd93ad08 [ci-skip] update resolve docs 2016-12-26 15:06:41 -05:00
ThePhD
77a7bf12a0 update single 2016-12-26 14:02:32 -05:00
The Phantom Derpstorm
a2691c6570 Merge pull request #304 from davedissian/develop
Correct the LuaJIT 2.1.0 condition
2016-12-26 14:01:08 -05:00
ThePhD
26b85c8136 Make sure resolve works and provide some protection against deleting the handler that originates from a specific sol::state. sol::state_view users will be left out in the dark, though. 2016-12-26 13:50:08 -05:00
David Avedissian
9382ceb1b5 Correct the LuaJIT 2.1.0 condition 2016-12-25 13:21:13 +00:00
ThePhD
3aa42c5db8 update single 2016-12-16 05:31:32 -05:00
The Phantom Derpstorm
87f845606b Merge pull request #301 from THE-FYP/thread-status-dead-fix
fix thread_status::dead value for luajit
2016-12-16 05:16:45 -05:00
FYP
b1af00f048 fix thread_status::dead value for luajit 2016-12-16 12:20:28 +03:00
ThePhD
428adf706f optional impl alignment requirements?? Thanks, Emscripten. 2016-12-16 01:00:49 -05:00
ThePhD
e1329d244a Fix alignment issues with optional implementation
Update single.py to look at toplevel file rather than listing out all base sources
string_shim didn't have the proper header
Improve gitignore
2016-12-16 00:31:45 -05:00
ThePhD
bbcbd41efe Write the test properly! 2016-12-10 06:15:39 -05:00
ThePhD
ad010adcad Goddamn unused parameters... 2016-12-10 05:56:10 -05:00
ThePhD
f4f3bffe2f Oh boy, more simplicity functions...! 2016-12-10 01:19:23 -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