Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore state when recording __concat metamethod throws an error. | Mike Pall | 2024-07-04 | 1 | -2/+24 |
| | | | | Thanks to Sergey Kaplun. #1234 | ||||
* | Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation. | Mike Pall | 2024-07-04 | 1 | -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 Pall | 2024-07-04 | 1 | -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 Pall | 2024-07-03 | 1 | -0/+1 |
| | | | | Reported by leleliu008. #1221 | ||||
* | Merge branch 'master' into v2.1 | Mike Pall | 2024-07-03 | 4 | -10/+10 |
|\ | |||||
| * | FFI: Fix various issues in recff_cdata_arith. | Mike Pall | 2024-07-03 | 1 | -4/+6 |
| | | | | | | | | Thanks to Sergey Kaplun. #1224 | ||||
| * | Fix predict_next() in parser (for real now). | Mike Pall | 2024-07-03 | 1 | -4/+2 |
| | | | | | | | | Reported by Sergey Kaplun. #1226 #1054 | ||||
| * | FFI: Fix __tostring metamethod access to enum cdata value. | Mike Pall | 2024-07-03 | 1 | -1/+1 |
| | | | | | | | | Thanks to Sergey Kaplun. #1232 | ||||
| * | Fix typo. | Mike Pall | 2024-07-03 | 1 | -1/+1 |
| | | | | | | | | Reported by Sergey Bronnikov. #1223 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-07-03 | 1 | -1/+3 |
|\| | |||||
| * | Handle partial snapshot restore due to stack overflow. | Mike Pall | 2024-07-03 | 2 | -4/+9 |
| | | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196 | ||||
* | | Update Nintendo Switch build script. | Mike Pall | 2024-05-25 | 1 | -6/+7 |
| | | | | | | | | Thanks to IoriBranford. #1214 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-05-25 | 1 | -2/+4 |
|\| | |||||
| * | Prevent sanitizer warning in snap_restoredata(). | Mike Pall | 2024-05-25 | 1 | -2/+4 |
| | | | | | | | | Thanks to Sergey Kaplun. #1193 | ||||
* | | Typo. | Mike Pall | 2024-05-25 | 1 | -2/+2 |
| | | |||||
* | | Limit number of string format elements to compile. | Mike Pall | 2024-05-25 | 1 | -0/+2 |
| | | | | | | | | Reported by pwnhacker0x18. #1203 | ||||
* | | FFI: Clarify scalar boxing behavior. | Mike Pall | 2024-05-25 | 1 | -0/+13 |
| | | | | | | | | Prevent misunderstandings like in #1216 | ||||
* | | Fix internal link in docs. | Mike Pall | 2024-05-25 | 1 | -1/+1 |
| | | | | | | | | Thanks to GitSparTV. #1219 | ||||
* | | OSX/iOS: Fix SDK incompatibility. | Mike Pall | 2024-04-22 | 1 | -1/+1 |
| | | | | | | | | Thanks to Ryan Carsten Schmidt. #1189 | ||||
* | | Windows/MSVC: Cleanup msvcbuild.bat and always generate PDB. | Mike Pall | 2024-04-19 | 1 | -8/+12 |
| | | | | | | | | Thanks to Miku AuahDark. #1127 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-04-19 | 1 | -1/+1 |
|\| | |||||
| * | Fix segment release check in internal memory allocator. | Mike Pall | 2024-04-19 | 1 | -1/+1 |
| | | | | | | | | Thanks to Jinji Zeng. #1179 #1157 | ||||
* | | Fix compiler warning. | Mike Pall | 2024-04-19 | 1 | -1/+1 |
| | | |||||
* | | FFI: Turn FFI finalizer table into a proper GC root. | Mike Pall | 2024-04-19 | 7 | -44/+39 |
| | | | | | | | | Reported by Sergey Bronnikov. #1168 | ||||
* | | OSX/iOS: Always generate 64 bit non-FAT Mach-O object files. | Mike Pall | 2024-04-19 | 1 | -121/+34 |
| | | | | | | | | Reported by Sergey Bronnikov. #1181 | ||||
* | | Show name of NYI bytecode in -jv and -jdump. | Mike Pall | 2024-04-19 | 3 | -4/+14 |
| | | | | | | | | Suggested by Sergey Kaplun. #1176 #567 | ||||
* | | Use generic trace error for OOM during trace stitching. | Mike Pall | 2024-04-18 | 1 | -0/+2 |
| | | | | | | | | Thanks to Sergey Kaplun. #1166 | ||||
* | | Fix serialization format docs. | Mike Pall | 2024-04-18 | 1 | -2/+2 |
| | | | | | | | | Reported by nounwind. | ||||
* | | Handle all types of errors during trace stitching. | Mike Pall | 2024-03-10 | 1 | -5/+16 |
| | | | | | | | | Thanks to Sergey Kaplun and Peter Cawley. #1166 #720 | ||||
* | | Fix recording of __concat metamethod. | Mike Pall | 2024-03-10 | 1 | -2/+6 |
| | | | | | | | | Thanks to Sergey Kaplun. #1164 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-03-10 | 3 | -1/+7 |
|\| | |||||
| * | Prevent down-recursion for side traces. | Mike Pall | 2024-03-10 | 1 | -1/+1 |
| | | | | | | | | Thanks to Sergey Kaplun. #1169 | ||||
| * | Check frame size limit before returning to a lower frame. | Mike Pall | 2024-03-10 | 1 | -0/+2 |
| | | | | | | | | Thanks to Sergey Kaplun. #1173 | ||||
| * | FFI: Treat cdata finalizer table as a GC root. | Mike Pall | 2024-03-10 | 1 | -0/+3 |
| | | | | | | | | Thanks to Sergey Bronnikov. #1168 | ||||
| * | Handle stack reallocation in debug.setmetatable() and lua_setmetatable(). | Mike Pall | 2024-03-10 | 1 | -0/+1 |
| | | | | | | | | Thanks to Sergey Kaplun. #1172 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-02-04 | 4 | -21/+62 |
|\| | |||||
| * | Rework stack overflow handling. | Mike Pall | 2024-02-04 | 4 | -21/+57 |
| | | | | | | | | Reported by pwnhacker0x18. Fixed by Peter Cawley. #1152 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-01-31 | 1 | -3/+3 |
|\| | |||||
| * | Preserve keys with dynamic values in template tables when saving bytecode. | Mike Pall | 2024-01-31 | 1 | -2/+2 |
| | | | | | | | | Reported by Lyrthras. Fixed by Peter Cawley. #1155 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-01-31 | 2 | -1/+2 |
|\| | |||||
| * | Prevent include of luajit_rolling.h. | Mike Pall | 2024-01-31 | 2 | -1/+2 |
| | | | | | | | | Thanks to Peter Cawley. #1145 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-01-26 | 1 | -1/+1 |
|\| | |||||
| * | Fix documentation bug about '\z' string escape. | Mike Pall | 2024-01-26 | 1 | -1/+1 |
| | | |||||
* | | Fix zero stripping in %g number formatting. | Mike Pall | 2024-01-25 | 1 | -1/+2 |
| | | | | | | | | Reported by pwnhacker0x18. #1149 | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2024-01-23 | 1 | -3/+8 |
|\| | |||||
| * | Fix unsinking of IR_FSTORE for NULL metatable. | Mike Pall | 2024-01-23 | 1 | -3/+8 |
| | | | | | | | | Reported by pwnhacker0x18. #1147 | ||||
* | | DynASM/x86: Add endbr instruction. | Mike Pall | 2024-01-22 | 2 | -1/+3 |
| | | | | | | | | Thanks to Dmitry Stogov. #1143 #1142 | ||||
* | | MIPS64 R2/R6: Fix FP to integer conversions. | Mike Pall | 2024-01-22 | 1 | -10/+10 |
| | | | | | | | | Thanks to Peter Cawley. #1146 | ||||
* | | Add cross-32/64 bit and deterministic bytecode generation. | Mike Pall | 2024-01-22 | 16 | -128/+302 |
| | | | | | | | | Contributed by Peter Cawley. #993 #1008 | ||||
* | | DynASM/x86: Allow [&expr] operand. | Mike Pall | 2023-12-23 | 1 | -3/+7 |
| | | | | | | | | Thanks to Dmitry Stogov. #1138 |