aboutsummaryrefslogtreecommitdiff
path: root/contrib/lua
Commit message (Collapse)AuthorAgeFilesLines
* contrib/lua: update to 5.4.2Kyle Evans2021-01-1469-6807/+12727
| | | | Merge commit '0ea45b9cd43ce1247eb3eee9bfd5cee3d19068e7' into main
* MFC r366760: lua: update to 5.3.6Kyle Evans2020-10-1616-52/+104
| | | | | | | | | | | | | | | This release contains some minor bugfixes; notably: - 2x minor Makefile fixes (not used in base) - Long brackets with a huge number of '=' overflow some internal buffer arithmetic. - Joining an upvalue with itself can cause a use-after-free crash. See here for examples: http://www.lua.org/bugs.html#5.3.5 MFC after: 2 weeks Notes: svn path=/head/; revision=366769
* Fix -Wundef warnings when building libluaAlex Richardson2020-08-251-1/+9
| | | | | | | | | | | | We need to define the LUA_FLOAT_INT64 macro even if we don't use it (copied from stand/luaconf.h). While touching luaconf.h.dist also sync it with the the 5.3.5 release version (matches the one in lib/liblua). Reviewed By: kevans Differential Revision: https://reviews.freebsd.org/D25977 Notes: svn path=/head/; revision=364767
* MFV r337586: lua: Update to 5.3.5Kyle Evans2018-08-1465-165/+208
| | | | | | | | | | Bugfix release, nothing too major. Tested with: lualoader via userboot, lualoader live Differential Revision: https://reviews.freebsd.org/D16665 Notes: svn path=/head/; revision=337810
* When the LUA floating point model is INT64, we don't need to do theWarner Losh2018-08-141-1/+1
| | | | | | | | | | overflow dance. This avoids compile errors on latter-day gcc compilers as well as simplifies the generated code. Reviewed by: kevans@ Notes: svn path=/head/; revision=337808
* Prevent a wanring about checkdp being unused. It's not needed when weWarner Losh2018-08-141-1/+2
| | | | | | | | | have INT64 floats and somehow snuck through unused until now. Reviewed by: kevans@ Notes: svn path=/head/; revision=337807
* When the LUA_FLOAT_TYPE != LUA_FLOAT_INT64, we can't reference floatWarner Losh2018-02-232-1/+19
| | | | | | | | | | | | or double so ifdef that code out when the numbers aren't float at all. There's still references in the lmathlib.c, but we don't compile that for the loader yet. Differential Revision: https://reviews.freebsd.org/D14472 Notes: svn path=/head/; revision=329858
* Gross hack to omit printing hex floating point when the lua numberWarner Losh2018-01-261-0/+4
| | | | | | | | | type is int64. While lua is setup for the representation, it's not setup to properly print the numbers as ints. This is the least-gross way around that, and won't affect the bootloader where we do this. Notes: svn path=/head/; revision=328443
* Preserve the original luaconf.h in a convenient place. Clients willWarner Losh2018-01-261-0/+0
| | | | | | | | almost certainly need to override this, so reinforce that. If that's not hte case, clients can always do a #include luaconf.h.dist. Notes: svn path=/head/; revision=328440
* Import lua 5.3.4 to contribWarner Losh2017-11-2974-0/+36828
Notes: svn path=/head/; revision=326353