aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v2.1Mike Pall2024-12-161-1/+1
|\
| * Force fallback source name for stripped bytecode.Mike Pall2024-12-161-1/+1
| | | | | | | | Reported by Lyrth. #1319
* | Remove dependency on <limits.h>.Mike Pall2024-12-162-2/+1
| | | | | | | | Reported by yupengda002. #1318
* | Restore state when recording __concat metamethod throws OOM.Mike Pall2024-11-281-18/+33
| | | | | | | | Reported by Sergey Kaplun. #1298 #1234
* | MIPS64: Fix pcall() error case.Mike Pall2024-11-281-2/+3
| | | | | | | | Thanks to Sergey Kaplun. #1308
* | Merge branch 'master' into v2.1Mike Pall2024-11-281-2/+2
|\|
| * Fix detection of inconsistent renames due to sunk values.Mike Pall2024-11-281-2/+2
| | | | | | | | Thanks to Sergey Kaplun. #1295 #584
* | Windows: Allow amalgamated static builds with msvcbuild.bat.Mike Pall2024-11-141-3/+10
| | | | | | | | Reported by Naman Dixit. #1289
* | Always close profiler output file.Mike Pall2024-11-141-3/+1
| | | | | | | | Reported by Guilherme Batalheiro. #1304
* | Fix override of INSTALL_LJLIBD in the presence of DESTDIR.Mike Pall2024-11-141-4/+5
| | | | | | | | Reported by faithanalog. #1239 #1303
* | Fix bit op coercion for shifts in DUALNUM builds.Mike Pall2024-11-131-1/+1
| | | | | | | | Reported by Junlong Li. Followup to #1273
* | macOS: Remove obsolete -single_module flag.Mike Pall2024-10-021-2/+2
| | | | | | | | Thanks to dundargoc. #1284
* | macOS: Workaround for buggy XCode 15.0 - 15.2 linker.Mike Pall2024-10-021-0/+4
| | | | | | | | Thanks to Carlo Cabrera. #1283
* | macOS: Fix macOS 15 / Clang 16 build.Mike Pall2024-10-023-3/+0
| | | | | | | | | | Note: The -Wl,-no_deduplicate workaround is NOT needed anymore. Thanks to fxcoudert, corsix, clason, baconpaul, mvf. #1275 #1266
* | Fix bit op coercion in DUALNUM builds.Mike Pall2024-09-291-3/+1
| | | | | | | | Thanks to Sergey Kaplun. #1273
* | Merge branch 'master' into v2.1Mike Pall2024-09-292-9/+3
|\|
| * Fix compiliation of getmetatable() for UDTYPE_IO_FILE.Mike Pall2024-09-291-3/+3
| | | | | | | | Reported by Sergey Bronnikov. #1279
| * Remove ancient RtlUnwindEx workaround for MinGW64.Mike Pall2024-09-291-6/+0
| | | | | | | | Thanks to Kacper Michajłow. #1272
* | Drop unused function wrapper.Mike Pall2024-09-042-10/+0
| | | | | | | | Follow-up to #1247.
* | Merge branch 'master' into v2.1Mike Pall2024-08-242-2/+3
|\|
| * Fix limit check in narrow_conv_backprop().Mike Pall2024-08-241-1/+2
| | | | | | | | Thanks to Sergey Kaplun. #1262
| * Always use IRT_NIL for IR_TBAR.Mike Pall2024-08-241-1/+1
| | | | | | | | Thanks to Peter Cawley. #1258
* | ARM64: Use ldr literal to load FP constants.Mike Pall2024-08-212-6/+12
| | | | | | | | Thanks to Peter Cawley. #1255
* | FFI: Add missing coercion when recording 64-bit bit.*().Mike Pall2024-08-202-11/+22
| | | | | | | | Thanks to Peter Cawley. #1252
* | ARM64: Make tobit conversions match JIT backend behavior.Mike Pall2024-08-201-14/+6
| | | | | | | | Thanks to Peter Cawley. #1253
* | Merge branch 'master' into v2.1Mike Pall2024-08-201-1/+12
|\|
| * ARM: Make hard-float tobit conversions match JIT backend behavior.Mike Pall2024-08-201-1/+12
| | | | | | | | Reported by Peter Cawley. #1253
* | 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