- 31 May, 2024 1 commit
-
-
Stephen Toub authored
* Fix finalizability of Lua instances Lua instances end up being permanently rooted until Dispose is explicitly called, because the ctor roots the Lua instance into a static singleton of ObjectTranslatorPool. This fixes it by replacing the ConcurrentDictionary with a ConditionalWeakTable, in order to avoid the pool keeping a strong reference to the LuaState / Lua objects. * Try an alternate approach Instead of having the ObjectTranslatorPool store weak references, which means LuaState objects might get collected when still referenced by native code, have the ObjectTranslator store a weak rather than strong reference to the Lua object, which is what has the finalizer. * Disable test on mono
-
- 15 Mar, 2023 1 commit
-
-
Vinicius Jarina authored
* Fixing build * Bump Source.Link 1.1.1
-
- 04 Feb, 2023 1 commit
-
-
Roberto Iffland authored
* Added support for multiple return values via ValueTuple * Fixed .net46 build by conditionally removing tuple support --------- Co-authored-by:Roberto Iffland <roberto.iffland@spektra-dresden.com>
-
- 31 Jan, 2023 1 commit
-
-
Roberto Iffland authored
Changed the handling of variadic arguments. A Table doesn't work as a range of values anymore. (#476) Co-authored-by:Roberto Iffland <roberto.iffland@spektra-dresden.com>
-
- 11 Nov, 2021 1 commit
-
-
Vinicius Jarina authored
-
- 09 Nov, 2021 1 commit
-
-
MegaPiggy authored
* Added Threads * Allowed userdata to be pushed. * Added a few more methods XMove: Exchange values between different threads of the same state (i.e. threads and interpreters). NewThread: basically just coroutine.create Reset: removes function from the thread * Added Thread Test * Added UserData Test. * remove optional index * Add thread properties * Added Operators & Overrides * Added 2 more methods * improve * Add thread equality test * Remove hash code override that I added. Added this earlier. I realized it shouldn't have been because LuaBase returns reference here. * Add base hash code * base equals
-
- 18 Oct, 2020 1 commit
-
-
Vinicius Jarina authored
-
- 03 May, 2020 1 commit
-
-
Vinicius Jarina authored
* Fixes #375 Possible bug not detecting constructor(.ctor) argument match
-
- 18 Jan, 2020 1 commit
-
-
Vinicius Jarina authored
* Lua.Error() will call setjmp and this can cause a crash with CLR on Linux, it seems that calling the setjmp longjmp twice will crash on *nix systems. This should make this issue work a bit better: https://github.com/NLua/NLua/issues/344
-
- 23 Aug, 2019 1 commit
-
-
Vinicius Jarina authored
-
- 21 Aug, 2019 1 commit
-
-
Vinicius Jarina authored
* Cache invalid method call * Fixed array of byte, sbyte, uint, ulong, short, ushort * Fixed explicity interface calling.
-
- 27 Jul, 2019 1 commit
-
-
Vinicius Jarina authored
-
- 29 Mar, 2019 1 commit
-
-
Vinicius Jarina authored
* Added support to Lua integers. * Operator [] and `GetNumber` will still return the `double` regardless of the value for backward compatibility LuaTable.GetObject may have breaks if your code is assuming the value will be always a double boxed. To get long from Lua object use `GetLong` and to get an integer `GetInteger`.
-
- 13 Feb, 2019 1 commit
-
-
Vinicius Jarina authored
* Fixed cleanup of Lua objects on LuaBase finalizer.
-
- 10 Feb, 2019 2 commits
-
-
Vinicius Jarina authored
* weak ref * Dont dispose LuaBase on Finalizer.
-
Vinicius Jarina authored
* Avoid call GetExtensionMethod twice. * `LuaMethodWrapper.Call` cleanup.
-
- 09 Feb, 2019 1 commit
-
-
Vinicius Jarina authored
LuaState.ToString calls luaL_tolstring which can add something to the stack. using lua_tostring.
-
- 08 Feb, 2019 1 commit
-
-
Vinicius Jarina authored
* WIP cleanup * Trying fixing iPhoneSimTests. * More cleanups * Minified initLua loadCLRpackage
-
- 28 Jan, 2019 1 commit
-
-
Vinicius Jarina authored
* * Giant cleanup/reshuffle of all files. * * Update upstream `KeraLua` to `0.1.14` * Fixed .NET Core build. * Add runsettings file * * Fixed nuspec `dependencies` node * Ignore _ in branch names for package names. * * Fixed nuspec.
-