Commit Graph

1550 Commits

Author SHA1 Message Date
ThePhD
769faeec64 e.e weak standards suck 2017-08-13 13:17:04 -04:00
ThePhD
7d2665e4b5 update benchmark timing 2017-08-13 01:19:21 -04:00
ThePhD
5683216e26 thread_local weee 2017-08-12 09:42:44 -04:00
ThePhD
180ba5687e update travis 2017-08-11 23:22:30 -04:00
ThePhD
d5c4991e3e fine-tune travis 2017-08-11 23:08:57 -04:00
ThePhD
533ec5b6f9 update travis 2017-08-11 23:05:19 -04:00
ThePhD
b81483a406 shift travis test to run the luaJIT on the most updated
block windows macro crap
update single
2017-08-11 22:27:05 -04:00
ThePhD
2486d6a067 [ci-skip] support tag target update 2017-08-11 18:32:18 -04:00
ThePhD
023e23f9a4 update single 2017-08-11 18:26:13 -04:00
ThePhD
7af8b4e80a make sure tests don't throw where possible
edit stack checks
update container_usertype_as_container examples
2017-08-11 18:12:13 -04:00
Diana
2e5d31983a Fix typos and grammar in documentation (#481)
* Typos

* Typo

* Typo

* words

* Typos, grammar

* extra space

* Typo

* Fix typos
2017-08-11 11:43:40 -04:00
mrgreywater
372db6f6ab large integer 2017-08-11 11:39:46 -04:00
ThePhD
5e109c2c37 clang keeps complaining about overload issues... 2017-08-11 10:36:11 -04:00
ThePhD
4f7f1af515 trying to pin this error down... 2017-08-11 10:21:15 -04:00
ThePhD
644a5c549b modifying tests to find out where crash is... 2017-08-11 09:59:42 -04:00
ThePhD
10a59b2036 better .travis.yml 2017-08-11 09:45:14 -04:00
ThePhD
e0f6b636f1 now we start making a half-dozen commits trying to appease the various forms of clang++ and g++ 2017-08-11 09:40:56 -04:00
ThePhD
eb1560d12a add as_container documentation
improve exception documentation
improve state_view default handlers
add SAFE_PROPAGATION defines for compiling C++ as Lua
add examples for automatic operator registrations and as_container
fix tutorial code
change tests to not throw unless absolutely necessary
provide synchronization for file writing in tests
provide thread safety around thread tests for REQUIRE
add ostream automatic support
change 5.1 compat to only kick in luaL_loadbufferx and luaL_loadfilex when LuaJIT is version 2.0.1 and lower
2017-08-11 03:24:17 -04:00
ThePhD
eef1a32eef do not need to test lua53 on multiple archs 2017-08-07 16:13:45 -04:00
ThePhD
ae0605f38a Drop 3.5 from the supported list due to the bug 2017-08-07 16:10:41 -04:00
ThePhD
b1f7d81acb immunize as_table from std::reference_wrapper and pointer types. 2017-08-07 15:10:05 -04:00
ThePhD
c4b13b2b73 modify table push operations 2017-08-07 14:54:17 -04:00
ThePhD
c8728af5b5 throwing is unreliable... sigh 2017-08-07 14:22:56 -04:00
ThePhD
6eaa277860 bootstrap update to link pthreads, on top of container_traits improvement because of clang++ bounds-checking 2017-08-07 13:58:06 -04:00
ThePhD
5ce8c9f9ba add pthreads to linking libraries because AAHAHAHAAA gcc. 2017-08-07 09:36:47 -04:00
ThePhD
092fec7afb improve traits 2017-08-07 08:47:17 -04:00
ThePhD
62b242bc96 unused parameter, accidental string 2017-08-07 07:59:13 -04:00
ThePhD
f1ff3d6492 improve tests
change the default chunk name (and make it trail off if chunk name is too small)
minor changes to appease g++'s and clang++'s many warnings
2017-08-07 07:54:43 -04:00
ThePhD
b86d90f0e5 std::cend doesn't exist in C++11
remove unused variables detected by clang and g++
appease the parenthesis monster that was put into g++ 5.0
2017-08-07 02:27:08 -04:00
ThePhD
ca685e01c9 gcc plagues me , and will continue to, for a while to come
BUT IT WOOORKS!
2017-08-07 02:07:21 -04:00
ThePhD
03c229b25b overhaul examples and add 2 new ones in preparation for the coming hell
fix how `stack_aligned_protected_function` and its friends behave
add new internal handler details to allow for stack-based handlers with maximum performance
update `string_shim` typedef to simply be called `string_view` and use `string_view` in all public-facing APIs.
2017-08-06 12:20:32 -04:00
ThePhD
50040dec36 update single, prepare for tests 2017-08-05 19:35:16 -04:00
ThePhD
ee67f88985 Merge remote-tracking branch 'origin/develop' into develop 2017-08-05 19:21:31 -04:00
ThePhD
104485bebd this mega commit prepares to fix all of the issues listed in the repository for the past 3 weeks 2017-08-05 19:20:28 -04:00
Stephen Lane-Walsh
f8d896f2a7 Corrected semi-colon ';' to colon ':' in usertype documentation 2017-07-22 11:15:55 -04:00
ThePhD
16fc7d87ff update single 2017-07-09 19:05:32 -04:00
ThePhD
2d65f6caa5 vetting for C++17 2017-07-09 19:04:51 -04:00
ThePhD
0744cc4e4a [ci skip] documentation polish and explicitness 2017-07-09 14:50:54 -04:00
ThePhD
48fc90bacb update single 2017-07-09 14:03:37 -04:00
ThePhD
038ae3b99b minor fixes 2017-07-09 13:52:02 -04:00
ThePhD
afaecbad2c in_place will be the death of me 2017-07-09 13:44:28 -04:00
ThePhD
930f82cd5b missed some comment markers 2017-07-09 12:59:28 -04:00
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
Rohlem
077448bfc8 enable move semantics when pushing rvalue optional
add forward_like-style cast to stack::pusher<optional<O>>
2017-07-06 20:13:09 -04:00
Rohlem
958fd037ab add test case for moving on rvalue-optional push 2017-07-06 20:13:09 -04:00
ThePhD
504f49f3c7 update state to use default handler 2017-07-04 04:41:32 -04:00
ThePhD
345a398cdc [ci-skip] doc polish 2017-07-01 11:20:39 -04:00
ThePhD
aea873a485 update single 2017-07-01 11:04:16 -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
1a6937e24e Revert previous change of not pushing nil when we encounter a nullptr from special usertypes. If people want to check, they'll need to use optional or a raw pointer: messing with the raw usertype can also lead to some surprising problems, so we don't need to specialize for that use case. 2017-06-30 18:18:25 -04:00