ThePhD
bd09f8e853
Remove UB with proper conditional
2020-12-06 00:41:32 -05:00
ThePhD
b8aa189e32
Revert to using 1 for lua_newuserdatauv
...
- This needs to be addressed in the future
- Prevents failures when "attaching" a free-standing table.
2020-11-02 05:53:57 -05:00
ThePhD
651b90ba24
Fix boost build and optimize for lua_newuserdatauv
2020-10-23 18:59:07 -04:00
ThePhD
e5e6466e09
Fix configuration macros
...
- Enable all necessary configuration macros to be deliberately shut off, appropriately
- Fix version macro headings
2020-10-15 01:18:12 -04:00
ThePhD
48eea7b573
New Unsafe Feature: Function Pointers!
...
- Not at all type safe: there should be some investigation into making it less unsafe to work with these things (albeit it looks like it would cost +1 pointer to serialize a string name for each callable in Lua, at LEAST)
- Must be opted into - see the documentation
- Fixes #1015
- A few drive-by fixes here and there
- New configuration test harness with CMake
2020-09-26 09:46:11 -04:00
Intrets
0e1aafe4df
fix bug in checking for const in push_reference
...
std::is_const<T> will always be false if std::is_lvalue_reference<T> is true, we first have to strip off the reference to look at the const-ness. See https://en.cppreference.com/w/cpp/types/is_const
2020-09-26 03:45:20 -04:00
ThePhD
63df43e061
Get rid of MSVC problems and improve state API.
...
- Just let MSVC have crap codegen. The compiler sucks anyways. Fixes
- Add incremental GC power. Fixes #997 .
- Add non-null offset manipulation. Did I mention I hate VC++ and how it implemented _Aligned? Fixes #1017 .
2020-09-05 17:25:15 -04:00
ThePhD
de87bec171
Even better Regression Testing™
2020-08-13 10:42:37 -04:00
ThePhD
5bbc095396
Improve configuration macros and other things while trying to track down ways to make MSVC stop being a butt on its latest iterations.
2020-08-09 17:17:47 -04:00
ThePhD
053a7fdcb1
Fix #949 , #935 , #948 , #945 , and #933 .
...
We will need a new feature to fix #941 , which is related to #872 .
2020-03-31 00:24:23 -04:00
ThePhD
5301bc1d4c
New base object customization point management example, derived directly form @NullCascade. Thanks!
2020-01-24 19:58:12 -05:00
ThePhD
c77b5b432e
Update catch, move yielding check up one level to avoid problems with trampoline and exception handling, and add a new test/example from an issue. Closes #906 . Closes #917 .
2020-01-17 05:22:52 -05:00
ThePhD
1f27149239
Fix usage of the traits, rename them to say more directly what they are.
2019-12-02 15:54:58 -05:00
ThePhD
38d979209d
Rework variant checks and other things to prevent hard failures.
2019-12-01 19:27:49 -05:00
ThePhD
5a4d7dca7f
pointers just wanna be included in the fun, man
2019-05-29 17:14:35 -04:00
ThePhD
f701fd2de7
HEAVILY improve the entire infrastructure and documentation along with all the examples
2019-05-21 19:17:31 -04:00
ThePhD
5dee45cd9e
Rework table internals for more performance in more cases and handle additional cases of update_if_empty and create_if_nil
2019-05-21 02:13:56 -04:00
ThePhD
83f702be12
Funny, people push state_view and stuff into the system and everything goes to hell and high water...
2019-04-04 21:33:32 -04:00
ThePhD
e8467334f6
Completley overhaul tests
...
Add unregister funcationality
Make sure clearing is stack-size-safe.
2019-03-22 16:28:17 -04:00
ThePhD
b63d7af060
Add lua_table and lua_value abstractions
...
Improve dump handler, bytecode, and base traits
Fix tolua on bad calls, fix interop handler changes
We are now truly done with all feature requests...
2019-03-18 07:41:51 -04:00
ThePhD
c1a8cb1dc5
Update copyright year, add dump function
2019-03-13 05:18:06 -04:00
ThePhD
466e21bf7c
omegalul MSVC
2019-03-10 11:09:52 -04:00
ThePhD
ee13a7812f
Full fixes for everything.
2019-03-09 20:57:49 -05:00
ThePhD
b938e42af6
SUPER DUPER UPDATE WOO
2019-02-14 02:40:57 -05:00
ThePhD
fbf5b48dc8
void support
2019-01-28 12:33:21 -05:00
ThePhD
5b3ca9343c
update single
...
update forward declaration
update container traits usage
fix vector of pair as a usertype
2019-01-13 21:46:53 -05:00
ThePhD
59174e76af
Update patrons
...
Reduce compile-times by removing lambda shenanigans and moving data that is already serialized into runtime systems to runtime
Fix bugs with precedence ordering related to index and new_index
Prepare to add 20000 more if constexpr to reduce compile-times even further.
2019-01-05 05:48:51 -05:00
ThePhD
9760a400cd
testing and test matrix improvements
2018-12-23 13:18:14 -05:00
ThePhD
a6abc0a0d9
update everything
2018-12-22 15:36:42 -05:00
ThePhD
88cafb281f
improve all tests, fix all tests, and improve metatable for GCC builds
2018-12-21 01:07:05 -05:00
ThePhD
bbd5bd7fa1
Fix Linux build as best as possible while size issues still remain with MinGW.
2018-12-19 23:17:15 -05:00
ThePhD
d15709d85a
Merge branch 'develop' into sol3
...
# Conflicts:
# include/single/sol/sol.hpp
# include/single/sol/sol_forward.hpp
# include/sol/coroutine.hpp
# include/sol/stack_core.hpp
# sol/usertype_metatable.hpp
2018-11-21 08:19:26 -05:00
ThePhD
094ace3c7b
freeze changes
2018-11-20 11:59:36 -05:00
ThePhD
9b47849110
update tests (which compile, but now all fail)
2018-11-18 13:06:01 -05:00
ThePhD
0a9dc24f1f
first big sol3 push... tests not updated yet
2018-09-27 22:27:38 -07:00