Mike Pall
|
68d807ace1
|
Merge branch 'master' into v2.1
|
2026-01-09 17:27:35 +01:00 |
|
Mike Pall
|
282e1a969d
|
Ignore PDB files for git.
Thanks to Michael Fisher. #1423
|
2026-01-09 17:26:13 +01:00 |
|
Mike Pall
|
2c110b7769
|
Merge branch 'master' into v2.1
|
2026-01-09 17:25:02 +01:00 |
|
Mike Pall
|
6e69e47314
|
Bump copyright date.
|
2026-01-09 17:18:03 +01:00 |
|
Mike Pall
|
7152e15489
|
Fix string.format for limited precision FP conversions.
Enforce round-to-even semantics. #1363
|
2025-12-08 22:18:40 +01:00 |
|
Mike Pall
|
45b771bb2c
|
PPC: Fix soft-float lj_num2u64().
Reported by Doug Crawford. #1411
|
2025-12-06 08:44:03 +01:00 |
|
Mike Pall
|
c7c74ea505
|
ARM64: More fixes for ARM BTI.
Reported by Yuichiro Naito. #1415
|
2025-12-06 08:42:18 +01:00 |
|
Mike Pall
|
b1cd2f83b5
|
DUALNUM: Fix narrowing of unary minus.
Reported by Sergey Kaplun. #1418
|
2025-12-06 08:39:11 +01:00 |
|
Mike Pall
|
53d014fea8
|
Merge branch 'master' into v2.1
|
2025-12-06 08:38:49 +01:00 |
|
Mike Pall
|
406cf69b3a
|
DUALNUM: Add missing type conversion for FORI slots.
Reported by Sergey Kaplun. #1413
|
2025-12-06 08:35:19 +01:00 |
|
Mike Pall
|
6f21cb8ace
|
Remove pointless GCC/MSVC const function attributes.
They are only called from JIT-compiled code and not from C.
Reported by Richard Beckmann. #1414
|
2025-12-01 13:50:32 +01:00 |
|
Mike Pall
|
b973c6243d
|
Fix MSVC LJ_CONSTF declaration.
Reading MS docs is hard. #1412
|
2025-11-27 20:04:42 +01:00 |
|
Mike Pall
|
6b35217b3d
|
Back out MSVC LJ_CONSTF declaration.
The reason for the error message is still unclear. #1412.
|
2025-11-27 20:02:00 +01:00 |
|
Mike Pall
|
1acb204447
|
Remove compiler flag for FP conversions. Now unnecessary.
Undo #1355. #1397 #1411
|
2025-11-27 17:48:44 +01:00 |
|
Mike Pall
|
f80b349d54
|
Unify Lua number to FFI integer conversions.
Phew. #1411
|
2025-11-27 17:45:17 +01:00 |
|
Mike Pall
|
3215838aa7
|
ARM64: Fix disassembly of certain sub-word-size loads/stores.
|
2025-11-27 16:39:15 +01:00 |
|
Mike Pall
|
e17ee83326
|
ELF/Mach-O: Force default visibility for public API functions.
Thanks to Dymphna. #1409
|
2025-11-16 19:41:51 +01:00 |
|
Mike Pall
|
e274fe760d
|
Merge branch 'master' into v2.1
|
2025-11-16 19:36:40 +01:00 |
|
Mike Pall
|
34b59f8aa9
|
x86/x64: Backport fix for math.min()/math.max() argument check.
Reported by puffy.
|
2025-11-16 19:34:11 +01:00 |
|
Mike Pall
|
5c8cee3dff
|
Merge branch 'master' into v2.1
|
2025-11-14 20:22:24 +01:00 |
|
Mike Pall
|
af9763a50d
|
Fix edge cases when generating IR for string.byte/sub/find.
Contributed by XmiliaH. #1407
|
2025-11-14 20:15:44 +01:00 |
|
Mike Pall
|
eba91fceb6
|
Merge branch 'master' into v2.1
|
2025-11-10 18:18:19 +01:00 |
|
Mike Pall
|
c94312d348
|
FFI: Avoid dangling cts->L.
Reported by ZumiKua. #1405
|
2025-11-10 18:15:11 +01:00 |
|
Mike Pall
|
5c647754a6
|
Run VM events and finalizers in separate state.
Reported by Sergey Kaplun. #1403
|
2025-11-10 18:11:26 +01:00 |
|
Mike Pall
|
fdf2379ccb
|
macOS: Change Mach-O object file layout required by XCode 15.0.
Reported by George Zhao. #1404
|
2025-11-08 16:54:00 +01:00 |
|
Mike Pall
|
578c41ceb7
|
ARM64: Enable unaligned accesses if indicated by the toolchain.
If you get a crash in jit_init() then you need to fix your toolchain.
|
2025-11-08 15:41:42 +01:00 |
|
Mike Pall
|
68354f4447
|
Allow mcode allocations outside of the jump range to the support code.
Thank you for your patience. #285
|
2025-11-06 00:42:02 +01:00 |
|
Mike Pall
|
3c7b158b79
|
ARM64: Fix disassembly of >2GB branch targets.
|
2025-11-06 00:30:22 +01:00 |
|
Mike Pall
|
8518c0b40b
|
x64: Fix CET IBT.
Reported by Yuichiro Naito. #1400
|
2025-10-29 09:38:41 +01:00 |
|
Mike Pall
|
5b20d6e305
|
ARM64: Fix ARM BTI.
Reported by Yuichiro Naito. #1400
|
2025-10-29 09:38:31 +01:00 |
|
Mike Pall
|
864e78d66c
|
Windows: Fix lua52compat option for msvcbuild.bat.
Thanks to Alex Orlenko. #1395 #1366
|
2025-10-28 04:59:18 +01:00 |
|
Mike Pall
|
8651ef6df4
|
ARM64: Add support for ARM BTI.
Note: this is not enabled by default, look for CET in lj_arch.h.
Thanks to Yuichiro Naito. #1398
|
2025-10-28 04:46:10 +01:00 |
|
Mike Pall
|
e34a78acf6
|
x64: Various fixes for CET IBT.
Also add ELF notes. #1391
|
2025-10-28 00:27:15 +01:00 |
|
Mike Pall
|
25a61a1821
|
x64: Add support for CET IBT.
Note: this is not enabled by default, look for CET in lj_arch.h
Contributed by Yuichiro Naito. #1391
|
2025-10-16 14:24:52 +02:00 |
|
Mike Pall
|
5c3254d68d
|
Gracefully handle broken custom allocator.
Reported by Alex Orlenko. #1393
|
2025-10-16 13:23:51 +02:00 |
|
Mike Pall
|
a21ba1c9b5
|
Add GNU/Hurd build support.
Note: this is not an officially supported target.
Contributed by Pino Toscano and Samuel Thibault. #1383 #1384
|
2025-10-16 13:17:45 +02:00 |
|
Mike Pall
|
a69aef43fe
|
Fix io.write() of newly created buffer.
Reported by vfprintf. #1386
|
2025-10-16 13:13:51 +02:00 |
|
Mike Pall
|
54a162688e
|
Fix reporting of an error during error handling.
Reported by Sergey Kaplun. #1381
|
2025-10-16 13:11:02 +02:00 |
|
Mike Pall
|
871db2c84e
|
Windows: Add lua52compat option to msvcbuild.bat.
Thanks to Gil Reis. #1366
|
2025-07-24 15:45:24 +02:00 |
|
Mike Pall
|
eed22e9ad9
|
Merge branch 'master' into v2.1
|
2025-07-24 15:41:35 +02:00 |
|
Mike Pall
|
c92d0cb192
|
x86/x64: Don't use undefined MUL/IMUL zero flag.
Reported by VrIgHtEr. #1376
|
2025-07-24 15:38:45 +02:00 |
|
Mike Pall
|
e3fa3c48d8
|
Avoid out-of-range PC for stack overflow error from snapshot restore.
Reported by Sergey Kaplun. #1369
|
2025-07-24 15:35:56 +02:00 |
|
Mike Pall
|
c64020f3c6
|
FFI: Fix dangling CType references (again).
Reported by Sergey Kaplun. Collateral of #1360
|
2025-07-24 15:29:54 +02:00 |
|
Mike Pall
|
f9140a622a
|
Merge branch 'master' into v2.1
|
2025-05-28 21:14:47 +02:00 |
|
Mike Pall
|
048972dbfd
|
Fix JIT slot overflow during up-recursion.
Reported by Sergey Kaplun. #1358
|
2025-05-28 21:13:17 +02:00 |
|
Mike Pall
|
0a8cd58ea1
|
Merge branch 'master' into v2.1
|
2025-05-28 21:06:44 +02:00 |
|
Mike Pall
|
cd4af8ad80
|
Avoid out-of-range PC for stack overflow error from snapshot restore.
Reported by Sergey Kaplun. #1359
|
2025-05-28 21:02:31 +02:00 |
|
Mike Pall
|
852c3a08ae
|
Merge branch 'master' into v2.1
|
2025-05-28 20:39:05 +02:00 |
|
Mike Pall
|
9c8eb7cfe1
|
FFI: Fix dangling CType references.
Reported by Sergey Kaplun. Collateral of #1360
|
2025-05-28 20:36:24 +02:00 |
|
Mike Pall
|
eec7a8016c
|
Prevent Clang UB 'optimization' which breaks integerness checks.
Thanks to Kacper Michajłow. #1351 #1355
|
2025-04-10 22:53:50 +02:00 |
|