aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | FFI: Drop finalizer table rehash after GC cycle.Mike Pall2024-08-192-8/+1
| | | | | | | | Reported by Sergey Kaplun. #1247
* | Merge branch 'master' into v2.1Mike Pall2024-08-191-8/+8
|\|
| * Fix another potential file descriptor leak in luaL_loadfile*().Mike Pall2024-08-191-8/+8
| | | | | | | | Reported by Peter Cawley. #1249
* | Merge branch 'master' into v2.1Mike Pall2024-08-193-5/+5
|\|
| * MIPS32: Fix little-endian IR_RETF.Mike Pall2024-08-191-1/+1
| | | | | | | | Thanks to Peter Cawley. #1250
| * Correctly close VM state after early OOM during open.Mike Pall2024-08-191-3/+2
| | | | | | | | Reported by Assumeru. #1248
| * Fix potential file descriptor leak in luaL_loadfile*().Mike Pall2024-08-191-1/+2
| | | | | | | | Reported by Assumeru. #1249
* | Reflect override of INSTALL_LJLIBD in package.path.Mike Pall2024-08-153-3/+9
| | | | | | | | Suggested by GitSparTV. #1239
* | ARM64: Use movi to materialize FP constants.Mike Pall2024-08-153-0/+35
| | | | | | | | Thanks to Peter Cawley. #1245
* | Add more FOLD rules for integer conversions.Mike Pall2024-08-151-4/+5
| | | | | | | | Thanks to Peter Cawley. #1246
* | Merge branch 'master' into v2.1Mike Pall2024-08-154-8/+20
|\|
| * Different fix for partial snapshot restore due to stack overflow.Mike Pall2024-08-152-4/+3
| | | | | | | | Reported by Junlong Li. Fixed by Peter Cawley. #1196
| * Fix IR_ABC hoisting.Mike Pall2024-08-152-4/+6
| | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1194
| * Limit CSE for IR_CARG to fix loop optimizations.Mike Pall2024-08-151-0/+11
| | | | | | | | Thanks to Peter Cawley. #1244
* | Call math.randomseed() without arguments to seed from system entropy.Mike Pall2024-07-044-3/+13
| | | | | | | | Reminder: the math.random() PRNG is NOT SUITABLE FOR CRYPTOGRAPHIC USE.
* | 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