- 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
-
- 30 May, 2024 1 commit
-
-
Vinicius Jarina authored
-
- 21 Feb, 2024 1 commit
-
-
Joel authored
-
- 03 Feb, 2024 1 commit
-
-
Vinicius Jarina authored
-
- 29 Jan, 2024 2 commits
-
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
- 28 Jan, 2024 6 commits
-
-
Vinicius Jarina authored
-
Mohamadreza Nakhleh authored
* (fix) SetDebugHook returns -1 anyway * (fix) typo
-
yuwei authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
- 04 Jun, 2023 2 commits
-
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
- 20 May, 2023 1 commit
-
-
Vinicius Jarina authored
-
- 19 May, 2023 5 commits
-
-
dcronqvist authored
* Registering functions now only register 1 global, fix #480 * Changed `is not null` to `!= null` for backwards compatibility * Use `IsSubclassOf` instead of newer `IsAssignableTo` * Explicit type for anonymous function in unit test, for pre-C#10 compatibility * Only include test on `NETCOREAPP3_1_OR_GREATER`, added comment for test as well * Removed `NETCOREAPP3_1_OR_GREATER` check because it is unnecessary * Add LuaMemberAttribute, allows registered name in Lua to be different from C#, closes #488 * Explicit typing fix * Tests use IEnumerable<T>.Contains to check for existence instead
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
- 15 Mar, 2023 2 commits
-
-
dcronqvist authored
* Registering functions now only register 1 global, fix #480 * Changed `is not null` to `!= null` for backwards compatibility * Use `IsSubclassOf` instead of newer `IsAssignableTo` * Explicit type for anonymous function in unit test, for pre-C#10 compatibility * Only include test on `NETCOREAPP3_1_OR_GREATER`, added comment for test as well * Removed `NETCOREAPP3_1_OR_GREATER` check because it is unnecessary
-
Vinicius Jarina authored
* Fixing build * Bump Source.Link 1.1.1
-
- 04 Feb, 2023 2 commits
-
-
Vinicius Jarina authored
-
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>
-
- 26 Nov, 2022 2 commits
-
-
Mathyn authored
* Moved Lua _globals to a separate class (this class includes a fix for #468) * Added unit tests and made a small tweak to LuaGlobals * bin and obj for test .net6.0 project are now correctly ignored * Removed Assert.Contains calls because these are not supported on iOS and tvOS
-
Vinicius Jarina authored
-
- 28 Apr, 2022 1 commit
-
-
Vinicius Jarina authored
-
- 14 Apr, 2022 1 commit
-
-
Erik Nilsen Haga authored
-
- 28 Feb, 2022 2 commits
-
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
- 11 Nov, 2021 9 commits
-
-
Vinicius Jarina authored
-
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-
Vinicius Jarina authored
-