Commit Graph

2403 Commits

Author SHA1 Message Date
Mike Pall
4c6b669c41 String buffers, part 1: object serialization.
Sponsored by fmad.io.
2021-03-25 02:21:31 +01:00
Mike Pall
836fb5bbd3 Reorganize lightuserdata interning code. 2021-03-25 02:15:26 +01:00
Mike Pall
da20ea45c4 Upgrade docs to HTML5. It's about time. 2021-03-25 02:09:15 +01:00
Mike Pall
ad65934fa0 FFI: Handle zero-fill of struct-of-NYI. 2021-03-23 02:35:07 +01:00
Mike Pall
ebc4919aff ARM64: Improve generation of immediates. 2021-03-23 02:08:44 +01:00
Mike Pall
a4c9fc3d6c Merge branch 'master' into v2.1 2021-03-23 00:48:27 +01:00
Mike Pall
33e3f4badf Detect inconsistent renames even in the presence of sunk values.
Reported by Igor Munkin.
2021-03-23 00:43:07 +01:00
Mike Pall
a32aeadc68 Handle on-trace OOM errors from helper functions. 2021-03-23 00:39:50 +01:00
Mike Pall
ddd0fd8f37 Use weak guards for on-trace allocations. 2021-03-23 00:33:34 +01:00
Mike Pall
de89c602c2 PPC: Fix GG_State loads. 2021-03-23 00:28:03 +01:00
Mike Pall
dbb7863016 MIPS: Fix handling of long-range spare jumps. 2021-03-23 00:26:08 +01:00
Mike Pall
e131936133 Cleanup and enable external unwinding for more platforms. 2021-03-23 00:22:34 +01:00
Mike Pall
ce9faf2e0d Merge branch 'master' into v2.1 2021-03-11 15:33:44 +01:00
Mike Pall
5ccfe94f4e Remove specific version numbers from the docs. 2021-03-11 15:32:28 +01:00
Mike Pall
787736990a iOS: Don't use getentropy() since it's disallowed in the App Store.
Reported by MoNTE48.
2021-03-10 20:19:04 +01:00
Mike Pall
67dbec82f4 Linux/ARM64: Make mremap() non-moving due to VA space woes.
This reduces overall performance on ARM64, but we have no choice.
Linux kernel default userspace VA is 48 bit, but we'd need 47 bit.
mremap() ignores address hints due to a kernel API issue. The mapping
may move to an undesired address which will cause an assert or crash.

Reported by Raymond W. Ko.
2021-03-10 19:58:31 +01:00
Mike Pall
ec6edc5c39 Merge branch 'master' into v2.1 2021-01-12 13:00:48 +01:00
Mike Pall
9b000309cc Clarify macOS build instructions. 2021-01-12 12:59:54 +01:00
Mike Pall
1e66d0f9e6 Merge branch 'master' into v2.1 2021-01-02 21:56:07 +01:00
Mike Pall
f47c864b01 Bump copyright date. 2021-01-02 21:49:41 +01:00
Mike Pall
3134359734 Fix trace exit register dump for some archs. 2021-01-02 21:37:51 +01:00
Mike Pall
ebc3503813 Merge branch 'master' into v2.1 2021-01-02 21:32:09 +01:00
Mike Pall
ee855749a1 Documentation cleanup. 2021-01-02 21:17:01 +01:00
Mike Pall
65378759f3 Merge branch 'master' into v2.1 2020-12-28 12:40:20 +01:00
Mike Pall
56c04accf9 FFI: Fix recording of union initialization.
Thanks to Alex Shpilkin.
2020-12-28 12:37:36 +01:00
Mike Pall
351bb43a07 Merge branch 'master' into v2.1 2020-12-04 11:17:45 +01:00
Mike Pall
d67ff15a5c x64: Fix __call metamethod return dispatch.
Reported by Igor Munkin.
2020-12-04 11:16:55 +01:00
Mike Pall
377a8488b6 Fix binary number literal parsing.
Reported by Egor Skriptunoff.
2020-11-30 15:48:34 +01:00
Mike Pall
a50262c490 Fix warning. 2020-11-30 15:47:14 +01:00
Mike Pall
652f71bb1d Merge branch 'master' into v2.1 2020-11-30 15:46:56 +01:00
Mike Pall
7aa3e313a3 Fix warning. 2020-11-30 15:46:07 +01:00
Mike Pall
1d8b747c16 Merge branch 'master' into v2.1 2020-10-12 16:18:02 +02:00
Mike Pall
050466552b Minor changes and https-ify links. 2020-10-12 16:11:32 +02:00
Mike Pall
675e08cf06 Merge branch 'master' into v2.1 2020-10-12 15:51:31 +02:00
Mike Pall
5c46f47736 Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.
Reported by Arseny Vakhrushev.
Fix contributed by Peter Cawley.
2020-10-12 15:45:05 +02:00
Mike Pall
4bb2e4a547 Merge branch 'master' into v2.1 2020-10-12 15:43:18 +02:00
Mike Pall
de6b1a11dd Ensure full init of IR_NOP instructions. 2020-10-12 15:40:28 +02:00
Mike Pall
e9af1abec5 Add support for full-range 64 bit lightuserdata. 2020-09-30 01:34:49 +02:00
Mike Pall
e67e2040be ARM64: Followup fix for exit branch patching. 2020-09-28 18:17:58 +02:00
Mike Pall
2e55a42c07 Merge branch 'master' into v2.1 2020-09-27 17:20:37 +02:00
Mike Pall
e8ec6fe996 Prevent patching of the GC exit check branch.
Reported by Arseny Vakhrushev.
2020-09-27 16:44:13 +02:00
Mike Pall
03a7ebca4f x64: Fix 64 bit shift code generation.
Reported by Philipp Kutin.
Fix contributed by Peter Cawley.
2020-09-25 22:49:23 +02:00
Mike Pall
dd0f09f95f Another fix for lua_yield() from C hook.
Reported by Jason Carr.
2020-09-22 23:37:43 +02:00
Mike Pall
518e8cbeb4 Merge branch 'master' into v2.1 2020-09-22 12:01:09 +02:00
Mike Pall
881d02d311 Mark CONV as non-weak, to prevent elimination of its side-effect.
An unused guarded CONV int.num cannot be omitted in general.
2020-09-22 11:56:06 +02:00
Mike Pall
dd5032ed84 Fix lua_yield() from C hook.
Reported by Jason Carr.
2020-09-15 01:02:24 +02:00
Mike Pall
cc44642cf8 Merge branch 'master' into v2.1 2020-09-12 17:36:04 +02:00
Mike Pall
412d5a4039 DynASM/x86: Fix VREG support. 2020-09-12 17:32:30 +02:00
Mike Pall
7e94e1c4f1 Merge branch 'master' into v2.1 2020-09-05 20:05:44 +02:00
Mike Pall
90e65514dd Limit path length passed to C library loader. 2020-09-05 20:02:54 +02:00