Commit Graph

2875 Commits

Author SHA1 Message Date
Mike Pall
093759d528 Fix for last commit: also remove symlink on uninstall. 2023-08-22 11:46:12 +02:00
Mike Pall
748ab9d90a Switch to rolling releases: mark v2.1 as production. 2023-08-22 11:13:45 +02:00
Mike Pall
54ef81f864 Merge branch 'master' into v2.1 2023-08-21 13:09:52 +02:00
Mike Pall
ed21acd863 Fix Windows build scripts for rolling releases.
Reported by Miku AuahDark.
2023-08-21 13:08:00 +02:00
Mike Pall
3c290f817f Merge branch 'master' into v2.1 2023-08-21 04:03:25 +02:00
Mike Pall
6351abc78f Switch MSVC and console build scripts to rolling releases. 2023-08-21 03:59:03 +02:00
Mike Pall
2090842410 Merge branch 'master' into v2.1 2023-08-21 03:18:35 +02:00
Mike Pall
50e0fa03c4 Switch build system to rolling releases. 2023-08-21 03:06:26 +02:00
Mike Pall
f0ff869bc2 Merge branch 'master' into v2.1 2023-08-21 02:38:56 +02:00
Mike Pall
c345946819 Update documentation for switch to rolling releases. 2023-08-21 02:28:49 +02:00
Mike Pall
ef587afb2c Merge branch 'master' into v2.1 2023-08-20 21:33:37 +02:00
Mike Pall
158a284cc9 Bump copyright date. 2023-08-20 21:25:30 +02:00
Mike Pall
cbb187aea5 Remove work-in-progress notice in string buffer docs. 2023-08-20 21:14:37 +02:00
Mike Pall
72efc42ef2 MIPS: Fix "bad FP FLOAD" assertion.
Reported by Sergey Kaplun. #1043
2023-08-13 03:02:25 +02:00
Mike Pall
119fd1fab0 Ensure forward progress on trace exit to BC_ITERN.
Also use a safer way to force a static dispatch for BC_RET*.
Reported by Bartel Eerdekens. Analyzed by Peter Cawley. #1000 #1045
2023-08-13 02:25:12 +02:00
Mike Pall
27af72e66f ARM64: Add support for ARM64e pointer authentication codes (PAC).
Contributed by Peter Cawley. #559
2023-08-12 22:25:40 +02:00
Mike Pall
117ddf35e6 DynASM/ARM64: Add instructions for ARM64e PAC.
Contributed by Peter Cawley. #559
2023-08-12 22:24:00 +02:00
Mike Pall
dbed79ea5c Merge branch 'master' into v2.1 2023-08-12 22:20:33 +02:00
Mike Pall
abb27c7771 Fix maxslots when recording BC_VARG, part 3.
Thanks to Peter Cawley. #1046
2023-08-12 20:16:56 +02:00
Mike Pall
caf7cbc57c Fix predict_next() in parser.
Reported by Sergey Kaplun. #1033
2023-08-12 16:21:41 +02:00
Mike Pall
9b544c25ef MIPS32: Declare that the assembler part uses the FR=0 model.
Thanks to Peter Cawley. #1040
2023-08-12 15:02:51 +02:00
Mike Pall
93ce12ee15 ARM64: Fix assembly of HREFK (again).
Thanks to Peter Cawley. #1026
2023-08-12 14:52:48 +02:00
Mike Pall
d5bbf9cdb4 Fix frame for more types of on-trace error messages.
Thanks to Maxim Kokryashkin. #1034
2023-08-12 14:48:34 +02:00
Mike Pall
165ea18b0e Add workaround for bytecode dump of builtins.
Reported by Hang Zhou. Thanks to Sergey Kaplun. #1038
2023-08-12 14:37:35 +02:00
Mike Pall
91914b23f6 DynASM: Fix regression due to warning fix.
Thanks to Dmitry Stogov. #1041 #970
2023-08-12 14:29:02 +02:00
Mike Pall
8635cbabf3 Merge branch 'master' into v2.1 2023-07-12 22:34:46 +02:00
Mike Pall
aa2db7ebd1 Fix base register coalescing in side trace.
Thanks to Sergey Kaplun, NiLuJe and Peter Cawley. #1031 #1016
2023-07-12 21:56:17 +02:00
Mike Pall
8fbd576fb9 ARM64: Fix assembly of HREFK.
Reported by caohongqing. #1026
Fix contributed by Peter Cawley.
2023-07-09 21:15:01 +02:00
Mike Pall
bd55d3023f Merge branch 'master' into v2.1 2023-07-09 21:09:21 +02:00
Mike Pall
a01cba9d2d Fix maxslots when recording BC_VARG, part 2.
Analyzed by Sergey Kaplun. #1024
2023-07-09 21:08:12 +02:00
Mike Pall
0cc5fdfbc0 Fix maxslots when recording BC_TSETM.
Analyzed by Sergey Kaplun. #1025
2023-07-08 19:44:48 +02:00
Mike Pall
69dadad6c3 Merge branch 'master' into v2.1 2023-07-08 19:43:08 +02:00
Mike Pall
94ada59628 Fix maxslots when recording BC_VARG.
Analyzed by Sergey Kaplun. #1024
2023-07-08 19:40:12 +02:00
Mike Pall
b7a8c7c184 Fix register mask for stack check in head of side trace.
Analyzed by Sergey Kaplun. #1016
2023-07-08 19:36:24 +02:00
Mike Pall
4c35a42d9c FFI: Fix ffi.metatype() for non-raw types.
Reported by 999pingGG. #1005
2023-07-08 19:30:56 +02:00
Mike Pall
9493acc1a2 ARM64: Fix LDP code generation.
Thanks to Zhongwei Yao. #1028
2023-07-08 12:10:18 +02:00
Mike Pall
ff6c496ba1 MIPSr6: Add missing files to Makefile install target.
Reported by FractalU.
2023-06-12 09:19:58 +02:00
Mike Pall
51fb2f2c3a DynASM: Fix warnings.
Reported by Ilija Tovilo.
2023-06-02 12:54:46 +02:00
Mike Pall
2d8300c194 Fix frame for on-trace out-of-memory error.
Reported by ruidong007.
2023-06-02 11:42:58 +02:00
Mike Pall
8e53ccc686 Merge branch 'master' into v2.1 2023-06-02 11:42:24 +02:00
Mike Pall
9f452bbef5 Fix handling of instable types in TNEW/TDUP load forwarding.
Analyzed by Sergey Kaplun. #994
2023-06-02 11:38:45 +02:00
Mike Pall
8c20c3b1a3 Fix compiler warning.
Reported by Myriachan.
2023-06-02 11:36:24 +02:00
Mike Pall
224129a8e6 Fix last commit.
Reported by PluMGMK.
2023-04-30 13:38:29 +02:00
Mike Pall
1c27912705 Print errors from __gc finalizers instead of rethrowing them.
Finalizers are not supposed to throw errors -- this is undefined behavior.
Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly
breaks some unrelated code that just happens to do an allocation. Bad.
Lua 5.4 catches the error and emits a warning instead. But warnings are
not enabled by default, so it fails silently. Even worse.
LuaJIT (now) catches the error and emits a VM event. The default event
handler function prints "ERROR in finalizer: ...".
Set a custom handler function with: jit.attach(handler, "errfin")
2023-04-16 18:13:48 +02:00
Mike Pall
8bbd58e534 Merge branch 'master' into v2.1 2023-04-16 13:29:58 +02:00
Mike Pall
c7db8255e1 Fix TDUP load forwarding after table rehash.
Reported by Sergey Kaplun. #980
2023-04-16 13:26:18 +02:00
Mike Pall
96fc114a7a Fix canonicalization of +-0.0 keys for IR_NEWREF.
Reported by Sergey Kaplun. #981
2023-04-16 13:24:08 +02:00
Mike Pall
505e2c03de Merge branch 'master' into v2.1 2023-02-21 17:07:37 +01:00
Mike Pall
8135de2a02 Improve error reporting on stack overflow.
Thanks to Nicolas Lebedenco.
2023-02-21 17:05:12 +01:00
Mike Pall
eccdf6d6f8 Merge branch 'master' into v2.1 2023-02-21 16:54:04 +01:00