aboutsummaryrefslogtreecommitdiff
path: root/doc (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-08-15Limit CSE for IR_CARG to fix loop optimizations.Mike Pall1-0/+11
Thanks to Peter Cawley. #1244
2024-07-04Call math.randomseed() without arguments to seed from system entropy.Mike Pall4-3/+13
Reminder: the math.random() PRNG is NOT SUITABLE FOR CRYPTOGRAPHIC USE.
2024-07-04Restore state when recording __concat metamethod throws an error.Mike Pall1-2/+24
Thanks to Sergey Kaplun. #1234
2024-07-04Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.Mike Pall1-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
2024-07-04Clarify that lj_buf_shrink() does not keep any buffer data.Mike Pall1-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.
2024-07-03OSX: Fix installed luajit.pc.Mike Pall1-0/+1
Reported by leleliu008. #1221
2024-07-03FFI: Fix various issues in recff_cdata_arith.Mike Pall1-4/+6
Thanks to Sergey Kaplun. #1224
2024-07-03Fix predict_next() in parser (for real now).Mike Pall1-4/+2
Reported by Sergey Kaplun. #1226 #1054
2024-07-03FFI: Fix __tostring metamethod access to enum cdata value.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1232
2024-07-03Fix typo.Mike Pall1-1/+1
Reported by Sergey Bronnikov. #1223
2024-07-03Handle partial snapshot restore due to stack overflow.Mike Pall2-4/+9
Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196
2024-05-25Update Nintendo Switch build script.Mike Pall1-6/+7
Thanks to IoriBranford. #1214
2024-05-25Prevent sanitizer warning in snap_restoredata().Mike Pall1-2/+4
Thanks to Sergey Kaplun. #1193
2024-05-25Typo.Mike Pall1-2/+2
2024-05-25Limit number of string format elements to compile.Mike Pall1-0/+2
Reported by pwnhacker0x18. #1203
2024-05-25FFI: Clarify scalar boxing behavior.Mike Pall1-0/+13
Prevent misunderstandings like in #1216
2024-05-25Fix internal link in docs.Mike Pall1-1/+1
Thanks to GitSparTV. #1219
2024-04-22OSX/iOS: Fix SDK incompatibility.Mike Pall1-1/+1
Thanks to Ryan Carsten Schmidt. #1189
2024-04-19Windows/MSVC: Cleanup msvcbuild.bat and always generate PDB.Mike Pall1-8/+12
Thanks to Miku AuahDark. #1127
2024-04-19Fix segment release check in internal memory allocator.Mike Pall1-1/+1
Thanks to Jinji Zeng. #1179 #1157
2024-04-19Fix compiler warning.Mike Pall1-1/+1
2024-04-19FFI: Turn FFI finalizer table into a proper GC root.Mike Pall7-44/+39
Reported by Sergey Bronnikov. #1168
2024-04-19OSX/iOS: Always generate 64 bit non-FAT Mach-O object files.Mike Pall1-121/+34
Reported by Sergey Bronnikov. #1181
2024-04-19Show name of NYI bytecode in -jv and -jdump.Mike Pall3-4/+14
Suggested by Sergey Kaplun. #1176 #567
2024-04-18Use generic trace error for OOM during trace stitching.Mike Pall1-0/+2
Thanks to Sergey Kaplun. #1166
2024-04-18Fix serialization format docs.Mike Pall1-2/+2
Reported by nounwind.
2024-03-10Handle all types of errors during trace stitching.Mike Pall1-5/+16
Thanks to Sergey Kaplun and Peter Cawley. #1166 #720
2024-03-10Fix recording of __concat metamethod.Mike Pall1-2/+6
Thanks to Sergey Kaplun. #1164
2024-03-10Prevent down-recursion for side traces.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1169
2024-03-10Check frame size limit before returning to a lower frame.Mike Pall1-0/+2
Thanks to Sergey Kaplun. #1173
2024-03-10FFI: Treat cdata finalizer table as a GC root.Mike Pall1-0/+3
Thanks to Sergey Bronnikov. #1168
2024-03-10Handle stack reallocation in debug.setmetatable() and lua_setmetatable().Mike Pall1-0/+1
Thanks to Sergey Kaplun. #1172
2024-02-04Rework stack overflow handling.Mike Pall4-21/+57
Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152
2024-01-31Preserve keys with dynamic values in template tables when saving bytecode.Mike Pall1-2/+2
Reported by Lyrthras. Fixed by Peter Cawley. #1155
2024-01-31Prevent include of luajit_rolling.h.Mike Pall2-1/+2
Thanks to Peter Cawley. #1145
2024-01-26Fix documentation bug about '\z' string escape.Mike Pall1-1/+1
2024-01-25Fix zero stripping in %g number formatting.Mike Pall1-1/+2
Reported by pwnhacker0x18. #1149
2024-01-23Fix unsinking of IR_FSTORE for NULL metatable.Mike Pall1-3/+8
Reported by pwnhacker0x18. #1147
2024-01-22DynASM/x86: Add endbr instruction.Mike Pall2-1/+3
Thanks to Dmitry Stogov. #1143 #1142
2024-01-22MIPS64 R2/R6: Fix FP to integer conversions.Mike Pall1-10/+10
Thanks to Peter Cawley. #1146
2024-01-22Add cross-32/64 bit and deterministic bytecode generation.Mike Pall16-128/+302
Contributed by Peter Cawley. #993 #1008
2023-12-23DynASM/x86: Allow [&expr] operand.Mike Pall1-3/+7
Thanks to Dmitry Stogov. #1138
2023-12-23Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.Mike Pall2-0/+3
Thanks to Peter Cawley. #1133
2023-12-23Respect jit.off() on pending trace exit.Mike Pall1-1/+1
Thanks to Sergey Kaplun. #1134
2023-12-23Simplify handling of instable types in TNEW/TDUP load forwarding.Mike Pall1-11/+9
Thanks to Peter Cawley. #994
2023-12-11Only emit proper parent references in snapshot replay.Mike Pall1-4/+8
Thanks to Peter Cawley. #1132
2023-12-10Fix anchoring for string buffer set() method (again).Mike Pall1-7/+4
Thanks to Peter Cawley. #1125
2023-12-10ARM: Fix stack restore for FP slots.Mike Pall1-1/+9
Thanks to Peter Cawley. #1131
2023-12-10Document workaround for multilib vs. cross-compiler conflict.Mike Pall1-1/+4
Reported by igorpupkinable. #1126
2023-12-10Fix anchoring for string buffer set() method.Mike Pall1-0/+9
Thanks to Peter Cawley. #1125