1. 31 May, 2024 1 commit
    • Stephen Toub's avatar
      Fix finalizability of Lua instances (#531) · 012d69a7
      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
      012d69a7
  2. 15 Mar, 2023 1 commit
  3. 31 Jan, 2023 1 commit
  4. 14 Apr, 2022 1 commit
  5. 11 Nov, 2021 1 commit
  6. 08 Sep, 2021 1 commit
  7. 18 Oct, 2020 2 commits
  8. 03 May, 2020 1 commit
  9. 19 Apr, 2020 2 commits
  10. 24 Feb, 2020 1 commit
    • Vinicius Jarina's avatar
      Fixed #355 new Guid · 35dcffb0
      Vinicius Jarina authored
      * Guid has a lot of ctor overload, the `byte[]` was being used instead the `string`.
      Reorder ctor info before trying to match the parameters.
      35dcffb0
  11. 19 Jan, 2020 1 commit
  12. 18 Jan, 2020 1 commit
  13. 13 Dec, 2019 1 commit
  14. 11 Dec, 2019 1 commit
  15. 14 Sep, 2019 1 commit
  16. 11 Sep, 2019 1 commit
  17. 21 Aug, 2019 1 commit
    • Vinicius Jarina's avatar
      * Fixed array index (#317) · a6721a31
      Vinicius Jarina authored
      * Cache invalid method call
      * Fixed array of byte, sbyte, uint, ulong, short, ushort
      * Fixed explicity interface calling.
      a6721a31
  18. 29 Mar, 2019 1 commit
    • Vinicius Jarina's avatar
      Lua integer support (#290) · e51e3598
      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`.
      e51e3598
  19. 10 Feb, 2019 1 commit
  20. 09 Feb, 2019 1 commit
  21. 08 Feb, 2019 1 commit
    • Vinicius Jarina's avatar
      WIP cleanup (#275) · 5e9a190a
      Vinicius Jarina authored
      * WIP cleanup
      
      * Trying fixing iPhoneSimTests.
      
      * More cleanups
      
      * Minified initLua loadCLRpackage
      5e9a190a
  22. 05 Feb, 2019 1 commit
  23. 28 Jan, 2019 1 commit
    • Vinicius Jarina's avatar
      * Giant cleanup/reshuffle of all files. (#265) · 1cc74393
      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.
      1cc74393