Setting "n" inside a numbered list was only fully supported up until Lua 5.0,
and was fully removed by Lua 5.2 (which is the lowest version we support).
To improve performance and memory usage a little, remove setting it across
the OpenComputers Lua world (including in our fork of LuaJ).
In addition, more unused LuaJ code was removed, saving about ~100-130KB after
JAR compression.
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.)
Compile dependencies are placed on the runtime classpath by Gradle.
Because the compile configuration is set to extend from the provided
config, all of those dependencies are put on the runtime classpath as
well.
In this patch, provided is instead made a separate configuration, and
explicitly added to ONLY the compile classpath of the main sourceset.
As git ref hash can't be used to order versions it should be only used to denote differences between them.
By using plus sign instead of hyphen many version compression scripts and similar will stop confusing custom build versions.
It is also then compatible with SemVer version 2 ordering rules as for point 10 and 11.
It also was moved at the end so it is more obvious that it a metadata.
http://semver.org
Fixed crash caused by invalid `block:` image definitions.
Fixed `mods` dir being included in builds... with a part of the RC API... wherever the heck that comes from...