Adrian Siekierka ac4d93589a Add Lua 5.4 support, update LuaJ, JNLua, fix everything, break everything.
To say that this has been a long time coming would be an understatement.

This commit changes the following:

 * Updates LuaJ to 3.0.2 with many third-party patches applied. Not that
   it doesn't have obvious breaking bugs still - however, it emulates
   Lua 5.2 that little bit better now.
 * Updates JNLua in every conceivable way:
   * Now compiled with actual optimizations - ~2x better performance!
   * Updates Lua 5.2 with gamax92's backported bugfixes.
   * Updates Lua 5.3 from 5.3.2 to 5.3.6.
   * Adds experimental Lua 5.4 support (Lua 5.4.4).
   * Adds proper support for 64-bit integers (longs) in LuaState.
   * Adds official support for AArch64 on Linux and macOS.
   * Drops support for all architectures on FreeBSD and x86 on macOS.
   * Further minor bugfixes here and there.
 * Adds a Lua 5.4 architecture (behind a config option for now).
 * Updates the Lua copyright date.

Thanks to everyone who has been patient enough to wait over four years
for this to finally get upstreamed.

( No joke! https://github.com/MightyPirates/OpenComputers/pull/2898 )

Let's hope this doesn't break the world. (It probably does, though.)
2022-09-04 21:24:50 +02:00
..