gns
2fbe36c976
Merge fd1422f59e
into e0a7ea8a92
2025-04-07 10:53:21 +02:00
Mike Pall
e0a7ea8a92
Merge branch 'master' into v2.1
2025-04-07 10:33:15 +02:00
Mike Pall
e76bb50d44
Fix error generation in load*.
...
Reported by Sergey Kaplun. #1353
2025-04-07 10:27:40 +02:00
Mike Pall
e9e4b6d302
Initialize unused value when specializing to cdata metatable.
...
Reported by jakitliang. #1354
2025-04-07 09:22:07 +02:00
Mike Pall
538a82133a
Change handling of nil value markers in template tables.
...
Reported by Bernhard M. Wiedemann. #1348 #1155
Fixes from Peter Cawley, Christian Clason, Lewis Russell.
2025-03-11 23:04:30 +01:00
Mike Pall
84cb21ffaf
REVERT: Change handling of nil value markers in template tables.
2025-03-10 02:56:07 +01:00
Mike Pall
4f2bb199fe
macOS: Fix Apple hardened runtime support and put behind build option.
...
Reported by vanc. #1334
2025-03-10 02:53:20 +01:00
Mike Pall
e3c70a7d81
macOS: Fix support for Apple hardened runtime.
...
Reported by Christian Clason. #1334
2025-03-10 00:05:08 +01:00
Mike Pall
7db2d1b12a
Fix handling of nil value markers in template tables.
...
Thanks to Peter Cawley. #1348 #1155
2025-03-09 23:11:05 +01:00
Mike Pall
e0551670c9
Merge branch 'master' into v2.1
2025-03-09 23:09:02 +01:00
Mike Pall
85c3f2fb6f
Avoid unpatching bytecode twice after a trace flush.
...
Reported by Sergey Kaplun. #1345
2025-03-09 23:04:23 +01:00
Mike Pall
eee16efa77
Fix state restore when recording __concat metamethod.
...
Reported by Sergey Kaplun. #1338 #1298
2025-03-09 21:28:17 +01:00
Mike Pall
4219efae43
Windows: Allow mixed builds with msvcbuild.bat.
...
Suggested by alex4814. #1341
2025-03-09 21:05:06 +01:00
Mike Pall
0254770582
macOS: Add suport for Apple hardened runtime.
...
Thanks to Peter Cawley. #1334
2025-03-09 20:45:22 +01:00
Mike Pall
f14556234c
Merge branch 'master' into v2.1
2025-03-09 16:25:34 +01:00
Mike Pall
d508715ab6
Add compatibility string coercion for fp:seek() argument.
...
Reported by Magnus Wibeck. #1343
2025-03-09 16:21:29 +01:00
Mike Pall
e27ee68817
Windows: Clarify installation directory layout.
...
Suggested by eabase. #1346
2025-03-09 16:10:22 +01:00
Mike Pall
55a42da36e
Remove Cygwin from docs, since it's not a supported target.
2025-03-09 16:09:36 +01:00
Mike Pall
423ac2144b
Improve CLI signal handling on POSIX.
2025-03-09 15:50:01 +01:00
Mike Pall
54dc2fa5d7
FFI: Add pre-declared int128_t, uint128_t, __int128 types.
...
Note: Only declaration and copy (interpreted only) are implemented.
2025-03-09 15:37:35 +01:00
Mike Pall
b1179ea5f7
Use dylib extension for iOS installs, too.
...
Reported by Andrey Filipenkov. #1336
2025-03-09 15:00:15 +01:00
Mike Pall
5eb9509468
Change handling of nil value markers in template tables.
...
Reported by Bernhard M. Wiedemann. #1348 #1155
2025-03-09 14:44:57 +01:00
gns
fd1422f59e
riscv(interp): strip excessive extended branch (^B+J)
2025-01-23 14:19:18 +08:00
gns
bedd0cf1e1
riscv(support,linux): use HWPROBE for ISE detection
...
Current SIGILL handler appears to have weird issues with libluajit on
some platform. Considering 6.6 kernel is becoming more common, switch
to HWPROBE for better compatibility.
2025-01-23 14:19:16 +08:00
gns
23b5c55e1e
riscv(misc): add support in Makefile
2025-01-23 14:17:28 +08:00
gns
55f24bab73
riscv(misc): add disassmbler support
2025-01-23 14:17:28 +08:00
gns
751c8b6396
riscv(support,linux): make mremap() non-moving due to VA space woes
2025-01-23 14:17:27 +08:00
gns
e2a45eb4bc
riscv(support,linux): add Linux specfic icache sync codepath
2025-01-23 14:17:27 +08:00
gns
dae3b8fc1e
riscv(jit): add GDBJIT support
2025-01-23 14:17:27 +08:00
gns
6a2c877aa8
riscv(interp): add DWARF info
2025-01-23 14:17:27 +08:00
gns
bd6f9fcdb1
riscv(jit): add hooks in interpreter
2025-01-23 14:17:27 +08:00
gns
a4def32503
riscv(misc): add bytecode listing support
2025-01-23 14:17:27 +08:00
gns
843a01e158
riscv(interp): add VM builder support
2025-01-23 14:17:27 +08:00
gns
83f3cc575e
riscv(jit): add IR assembler
2025-01-23 14:17:27 +08:00
gns
160c28acb5
riscv(jit): add insn emitter
2025-01-23 14:17:27 +08:00
gns
e1ce400d1f
riscv(support): add extension detection
2025-01-23 14:17:20 +08:00
gns
9eb94f1afc
riscv(ffi): add call convention and support framework
2025-01-16 02:09:00 +08:00
gns
33d45379ae
riscv(support): add target definition
2025-01-16 02:09:00 +08:00
gns
caeefe25d0
riscv(interp): add base assembly interpreter VM
2025-01-16 02:08:58 +08:00
gns
c27634a26d
riscv(interp): add helper macros and typedefs
2025-01-16 01:44:41 +08:00
gns
e3b19286cd
riscv(interp): add frame definition
2025-01-16 01:44:32 +08:00
gns
5a70472773
riscv(interp): add register definition
2025-01-16 01:44:30 +08:00
gns
865b39a970
riscv(dynasm): add RISC-V support
2025-01-16 01:43:17 +08:00
gns
459094e899
riscv(support): add RISC-V 64 arch base definition
2025-01-16 01:16:29 +08:00
Mike Pall
a4f56a459a
Merge branch 'master' into v2.1
2025-01-13 16:22:22 +01:00
Mike Pall
62e362afbb
Fix recording of BC_VARG.
...
Reported by Bachir Bendrissou.
2025-01-13 16:19:57 +01:00
Mike Pall
9d777346bc
Reject negative getfenv()/setfenv() levels to prevent compiler warning.
...
Thanks to Sergey Kaplun. #1329
2025-01-13 16:16:27 +01:00
Mike Pall
8358eb0cce
Merge branch 'master' into v2.1
2025-01-13 16:15:19 +01:00
Mike Pall
e8236561d4
Bump copyright date.
2025-01-13 15:59:10 +01:00
Mike Pall
f73e649a95
Merge branch 'master' into v2.1
2024-12-16 14:32:07 +01:00