aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Restore state when recording __concat metamethod throws an error.Mike Pall2024-07-041-2/+24
| | | | Thanks to Sergey Kaplun. #1234
* Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.Mike Pall2024-07-041-0/+4
| | | | | | Only use this for debugging purposes. NEVER set it for regular builds or distro builds! In Lua, tailcalls are a language guarantee. Suggested by Steve Vermeulen. #1220
* Clarify that lj_buf_shrink() does not keep any buffer data.Mike Pall2024-07-041-3/+1
| | | | | https://www.freelists.org/post/luajit/lj-buf-shrink-may-truncate-the-data-and-sbw-point-over-the-end-of-the-buffer,1 Thanks to Junlong li.
* OSX: Fix installed luajit.pc.Mike Pall2024-07-031-0/+1
| | | | Reported by leleliu008. #1221
* Merge branch 'master' into v2.1Mike Pall2024-07-034-10/+10
|\
| * FFI: Fix various issues in recff_cdata_arith.Mike Pall2024-07-031-4/+6
| | | | | | | | Thanks to Sergey Kaplun. #1224
| * Fix predict_next() in parser (for real now).Mike Pall2024-07-031-4/+2
| | | | | | | | Reported by Sergey Kaplun. #1226 #1054
| * FFI: Fix __tostring metamethod access to enum cdata value.Mike Pall2024-07-031-1/+1
| | | | | | | | Thanks to Sergey Kaplun. #1232
| * Fix typo.Mike Pall2024-07-031-1/+1
| | | | | | | | Reported by Sergey Bronnikov. #1223
* | Merge branch 'master' into v2.1Mike Pall2024-07-031-1/+3
|\|
| * Handle partial snapshot restore due to stack overflow.Mike Pall2024-07-032-4/+9
| | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196
* | Update Nintendo Switch build script.Mike Pall2024-05-251-6/+7
| | | | | | | | Thanks to IoriBranford. #1214
* | Merge branch 'master' into v2.1Mike Pall2024-05-251-2/+4
|\|
| * Prevent sanitizer warning in snap_restoredata().Mike Pall2024-05-251-2/+4
| | | | | | | | Thanks to Sergey Kaplun. #1193
* | Typo.Mike Pall2024-05-251-2/+2
| |
* | Limit number of string format elements to compile.Mike Pall2024-05-251-0/+2
| | | | | | | | Reported by pwnhacker0x18. #1203
* | FFI: Clarify scalar boxing behavior.Mike Pall2024-05-251-0/+13
| | | | | | | | Prevent misunderstandings like in #1216
* | Fix internal link in docs.Mike Pall2024-05-251-1/+1
| | | | | | | | Thanks to GitSparTV. #1219
* | OSX/iOS: Fix SDK incompatibility.Mike Pall2024-04-221-1/+1
| | | | | | | | Thanks to Ryan Carsten Schmidt. #1189
* | Windows/MSVC: Cleanup msvcbuild.bat and always generate PDB.Mike Pall2024-04-191-8/+12
| | | | | | | | Thanks to Miku AuahDark. #1127
* | Merge branch 'master' into v2.1Mike Pall2024-04-191-1/+1
|\|
| * Fix segment release check in internal memory allocator.Mike Pall2024-04-191-1/+1
| | | | | | | | Thanks to Jinji Zeng. #1179 #1157
* | Fix compiler warning.Mike Pall2024-04-191-1/+1
| |
* | FFI: Turn FFI finalizer table into a proper GC root.Mike Pall2024-04-197-44/+39
| | | | | | | | Reported by Sergey Bronnikov. #1168
* | OSX/iOS: Always generate 64 bit non-FAT Mach-O object files.Mike Pall2024-04-191-121/+34
| | | | | | | | Reported by Sergey Bronnikov. #1181
* | Show name of NYI bytecode in -jv and -jdump.Mike Pall2024-04-193-4/+14
| | | | | | | | Suggested by Sergey Kaplun. #1176 #567
* | Use generic trace error for OOM during trace stitching.Mike Pall2024-04-181-0/+2
| | | | | | | | Thanks to Sergey Kaplun. #1166
* | Fix serialization format docs.Mike Pall2024-04-181-2/+2
| | | | | | | | Reported by nounwind.
* | Handle all types of errors during trace stitching.Mike Pall2024-03-101-5/+16
| | | | | | | | Thanks to Sergey Kaplun and Peter Cawley. #1166 #720
* | Fix recording of __concat metamethod.Mike Pall2024-03-101-2/+6
| | | | | | | | Thanks to Sergey Kaplun. #1164
* | Merge branch 'master' into v2.1Mike Pall2024-03-103-1/+7
|\|
| * Prevent down-recursion for side traces.Mike Pall2024-03-101-1/+1
| | | | | | | | Thanks to Sergey Kaplun. #1169
| * Check frame size limit before returning to a lower frame.Mike Pall2024-03-101-0/+2
| | | | | | | | Thanks to Sergey Kaplun. #1173
| * FFI: Treat cdata finalizer table as a GC root.Mike Pall2024-03-101-0/+3
| | | | | | | | Thanks to Sergey Bronnikov. #1168
| * Handle stack reallocation in debug.setmetatable() and lua_setmetatable().Mike Pall2024-03-101-0/+1
| | | | | | | | Thanks to Sergey Kaplun. #1172
* | Merge branch 'master' into v2.1Mike Pall2024-02-044-21/+62
|\|
| * Rework stack overflow handling.Mike Pall2024-02-044-21/+57
| | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152
* | Merge branch 'master' into v2.1Mike Pall2024-01-311-3/+3
|\|
| * Preserve keys with dynamic values in template tables when saving bytecode.Mike Pall2024-01-311-2/+2
| | | | | | | | Reported by Lyrthras. Fixed by Peter Cawley. #1155
* | Merge branch 'master' into v2.1Mike Pall2024-01-312-1/+2
|\|
| * Prevent include of luajit_rolling.h.Mike Pall2024-01-312-1/+2
| | | | | | | | Thanks to Peter Cawley. #1145
* | Merge branch 'master' into v2.1Mike Pall2024-01-261-1/+1
|\|
| * Fix documentation bug about '\z' string escape.Mike Pall2024-01-261-1/+1
| |
* | Fix zero stripping in %g number formatting.Mike Pall2024-01-251-1/+2
| | | | | | | | Reported by pwnhacker0x18. #1149
* | Merge branch 'master' into v2.1Mike Pall2024-01-231-3/+8
|\|
| * Fix unsinking of IR_FSTORE for NULL metatable.Mike Pall2024-01-231-3/+8
| | | | | | | | Reported by pwnhacker0x18. #1147
* | DynASM/x86: Add endbr instruction.Mike Pall2024-01-222-1/+3
| | | | | | | | Thanks to Dmitry Stogov. #1143 #1142
* | MIPS64 R2/R6: Fix FP to integer conversions.Mike Pall2024-01-221-10/+10
| | | | | | | | Thanks to Peter Cawley. #1146
* | Add cross-32/64 bit and deterministic bytecode generation.Mike Pall2024-01-2216-128/+302
| | | | | | | | Contributed by Peter Cawley. #993 #1008
* | DynASM/x86: Allow [&expr] operand.Mike Pall2023-12-231-3/+7
| | | | | | | | Thanks to Dmitry Stogov. #1138