]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
13 years agoRELEASE LuaJIT-2.0.0-rc3 v2.0.0 v2.0.0-rc3
Mike Pall [Thu, 8 Nov 2012 10:05:06 +0000 (11:05 +0100)] 
RELEASE LuaJIT-2.0.0-rc3

13 years agoFFI: Clarify callback docs.
Mike Pall [Wed, 7 Nov 2012 22:20:50 +0000 (23:20 +0100)] 
FFI: Clarify callback docs.

13 years agoImprove iOS install docs.
Mike Pall [Wed, 7 Nov 2012 22:00:05 +0000 (23:00 +0100)] 
Improve iOS install docs.

13 years agoFFI: Mention __thiscall attribute in docs.
Mike Pall [Wed, 7 Nov 2012 17:09:37 +0000 (18:09 +0100)] 
FFI: Mention __thiscall attribute in docs.

13 years agoARM: Fix ordered comparisons for number <=> non-number.
Mike Pall [Wed, 7 Nov 2012 17:05:23 +0000 (18:05 +0100)] 
ARM: Fix ordered comparisons for number <=> non-number.

13 years agoFFI: Fix stack-adjustment for __thiscall callbacks.
Mike Pall [Wed, 7 Nov 2012 17:04:58 +0000 (18:04 +0100)] 
FFI: Fix stack-adjustment for __thiscall callbacks.

13 years agoRELEASE LuaJIT-2.0.0-rc2 v2.0.0-rc2
Mike Pall [Tue, 6 Nov 2012 16:07:58 +0000 (17:07 +0100)] 
RELEASE LuaJIT-2.0.0-rc2

13 years agoFFI: Fix recording of bool call result check on x86/x64.
Mike Pall [Tue, 6 Nov 2012 16:05:37 +0000 (17:05 +0100)] 
FFI: Fix recording of bool call result check on x86/x64.

13 years agoFFI: Fix signedness of bool.
Mike Pall [Tue, 6 Nov 2012 16:04:21 +0000 (17:04 +0100)] 
FFI: Fix signedness of bool.

13 years agoDon't propagate implicitly widened number to index metamethods.
Mike Pall [Tue, 6 Nov 2012 15:58:52 +0000 (16:58 +0100)] 
Don't propagate implicitly widened number to index metamethods.

13 years agoFix CONV.num.int sinking.
Mike Pall [Tue, 6 Nov 2012 15:57:50 +0000 (16:57 +0100)] 
Fix CONV.num.int sinking.

13 years agoDon't create unneeded array part for template tables.
Mike Pall [Tue, 6 Nov 2012 15:56:25 +0000 (16:56 +0100)] 
Don't create unneeded array part for template tables.

13 years agoRELEASE LuaJIT-2.0.0-rc1 v2.0.0-rc1
Mike Pall [Wed, 31 Oct 2012 17:24:10 +0000 (18:24 +0100)] 
RELEASE LuaJIT-2.0.0-rc1

13 years agoUpdate docs for release candidate.
Mike Pall [Wed, 31 Oct 2012 17:14:49 +0000 (18:14 +0100)] 
Update docs for release candidate.

13 years agoUpdate changelog.
Mike Pall [Wed, 31 Oct 2012 17:11:56 +0000 (18:11 +0100)] 
Update changelog.

13 years agoInstall bin/luajit symlink for non-beta releases.
Mike Pall [Wed, 31 Oct 2012 17:10:27 +0000 (18:10 +0100)] 
Install bin/luajit symlink for non-beta releases.

13 years agoFFI: Fix code generation for replay of sunk float fields.
Mike Pall [Mon, 29 Oct 2012 16:21:44 +0000 (17:21 +0100)] 
FFI: Fix code generation for replay of sunk float fields.

13 years agoDocument tonumber() enhancements.
Mike Pall [Sun, 28 Oct 2012 13:20:14 +0000 (14:20 +0100)] 
Document tonumber() enhancements.

13 years agoFix builtin string to number conversion for INT_MIN.
Mike Pall [Wed, 24 Oct 2012 21:46:21 +0000 (23:46 +0200)] 
Fix builtin string to number conversion for INT_MIN.

13 years agoRemove strict.lua.
Mike Pall [Wed, 24 Oct 2012 11:12:37 +0000 (13:12 +0200)] 
Remove strict.lua.

13 years agoRelease planning update.
Mike Pall [Wed, 24 Oct 2012 11:09:06 +0000 (13:09 +0200)] 
Release planning update.

13 years agoReplace error with PANIC for callbacks from JIT-compiled code.
Mike Pall [Sun, 21 Oct 2012 17:15:03 +0000 (19:15 +0200)] 
Replace error with PANIC for callbacks from JIT-compiled code.

13 years agoFix detection of immutable upvalues.
Mike Pall [Sun, 21 Oct 2012 11:51:12 +0000 (13:51 +0200)] 
Fix detection of immutable upvalues.

13 years agoFix recording of equality comparisons with __eq metamethods.
Mike Pall [Fri, 19 Oct 2012 15:03:41 +0000 (17:03 +0200)] 
Fix recording of equality comparisons with __eq metamethods.

13 years agoExtended Android build instructions.
Mike Pall [Wed, 17 Oct 2012 12:23:29 +0000 (14:23 +0200)] 
Extended Android build instructions.

13 years agoFix Android/x86 build.
Mike Pall [Wed, 17 Oct 2012 12:22:26 +0000 (14:22 +0200)] 
Fix Android/x86 build.

13 years agoRELEASE LuaJIT-2.0.0-beta11 v2.0.0-beta11
Mike Pall [Tue, 16 Oct 2012 18:13:01 +0000 (20:13 +0200)] 
RELEASE LuaJIT-2.0.0-beta11

13 years agoUpdate changelog.
Mike Pall [Tue, 16 Oct 2012 17:44:48 +0000 (19:44 +0200)] 
Update changelog.

13 years agoMIPS: Compile math.sqrt() to sqrt.d instruction.
Mike Pall [Mon, 15 Oct 2012 19:28:10 +0000 (21:28 +0200)] 
MIPS: Compile math.sqrt() to sqrt.d instruction.

13 years agoPPC: Compile math.sqrt() to fsqrt instruction.
Mike Pall [Mon, 15 Oct 2012 19:23:20 +0000 (21:23 +0200)] 
PPC: Compile math.sqrt() to fsqrt instruction.

13 years agoARM: Drop hard-fp variants of floor/ceil/trunc.
Mike Pall [Mon, 15 Oct 2012 14:53:03 +0000 (16:53 +0200)] 
ARM: Drop hard-fp variants of floor/ceil/trunc.

Soft-fp variants are faster on a Cortex-A9. Duh.

13 years agoDynASM/ARM: Fix conditional VFP instruction encoding.
Mike Pall [Mon, 15 Oct 2012 14:52:18 +0000 (16:52 +0200)] 
DynASM/ARM: Fix conditional VFP instruction encoding.

13 years agoARM, MIPS: Fix workaround for argument GPRs vs. FPR remat.
Mike Pall [Mon, 15 Oct 2012 13:47:15 +0000 (15:47 +0200)] 
ARM, MIPS: Fix workaround for argument GPRs vs. FPR remat.

13 years agoWorkaround for broken Android sprintf("%g", -0.0).
Mike Pall [Sun, 14 Oct 2012 23:31:56 +0000 (01:31 +0200)] 
Workaround for broken Android sprintf("%g", -0.0).

13 years agoUpdate Android install docs.
Mike Pall [Sun, 14 Oct 2012 23:09:56 +0000 (01:09 +0200)] 
Update Android install docs.

13 years agoAdd note to recalcitrant distro maintainers.
Mike Pall [Sun, 14 Oct 2012 19:52:35 +0000 (21:52 +0200)] 
Add note to recalcitrant distro maintainers.

13 years agoDocumentation cleanup and reorganization.
Mike Pall [Sun, 14 Oct 2012 19:48:04 +0000 (21:48 +0200)] 
Documentation cleanup and reorganization.

13 years agoDocumentation layout changes.
Mike Pall [Sat, 13 Oct 2012 22:47:26 +0000 (00:47 +0200)] 
Documentation layout changes.

13 years agoFrom Lua 5.2: Add package.loadlib(libname, "*").
Mike Pall [Fri, 12 Oct 2012 12:42:40 +0000 (14:42 +0200)] 
From Lua 5.2: Add package.loadlib(libname, "*").

13 years agoFrom Lua 5.2: Add format options to io.lines().
Mike Pall [Fri, 12 Oct 2012 12:11:41 +0000 (14:11 +0200)] 
From Lua 5.2: Add format options to io.lines().

13 years agoFix assertion.
Mike Pall [Thu, 11 Oct 2012 19:40:46 +0000 (21:40 +0200)] 
Fix assertion.

13 years agoFFI: Update docs on FFI semantics.
Mike Pall [Wed, 10 Oct 2012 17:57:00 +0000 (19:57 +0200)] 
FFI: Update docs on FFI semantics.

13 years agoFFI: Compile ffi.gc().
Mike Pall [Wed, 10 Oct 2012 16:56:16 +0000 (18:56 +0200)] 
FFI: Compile ffi.gc().

13 years agoFFI: Compile ffi.sizeof(), ffi.alignof() and ffi.offsetof().
Mike Pall [Wed, 10 Oct 2012 16:16:18 +0000 (18:16 +0200)] 
FFI: Compile ffi.sizeof(), ffi.alignof() and ffi.offsetof().

13 years agoFFI: Compile array/struct copies.
Mike Pall [Tue, 9 Oct 2012 19:50:09 +0000 (21:50 +0200)] 
FFI: Compile array/struct copies.

13 years agoFFI: Optimize ffi.copy() and ffi.fill().
Mike Pall [Tue, 9 Oct 2012 19:49:08 +0000 (21:49 +0200)] 
FFI: Optimize ffi.copy() and ffi.fill().

13 years agoAdd LJ_TARGET_UNALIGNED.
Mike Pall [Tue, 9 Oct 2012 19:42:42 +0000 (21:42 +0200)] 
Add LJ_TARGET_UNALIGNED.

13 years agoAdd FOLD rules for CONV.int.i8/u8/i16/u16 of KINT.
Mike Pall [Tue, 9 Oct 2012 19:36:56 +0000 (21:36 +0200)] 
Add FOLD rules for CONV.int.i8/u8/i16/u16 of KINT.

13 years agoDon't use stack unwinding for lua_yield().
Mike Pall [Tue, 9 Oct 2012 11:19:57 +0000 (13:19 +0200)] 
Don't use stack unwinding for lua_yield().

13 years agoFFI: Add support for copy constructors.
Mike Pall [Mon, 8 Oct 2012 15:14:18 +0000 (17:14 +0200)] 
FFI: Add support for copy constructors.

13 years agoPPC: Fix string.sub() range check.
Mike Pall [Sun, 7 Oct 2012 15:12:28 +0000 (17:12 +0200)] 
PPC: Fix string.sub() range check.

13 years agoFrom Lua 5.2: Add string.rep(s, n, sep).
Mike Pall [Sun, 7 Oct 2012 15:11:39 +0000 (17:11 +0200)] 
From Lua 5.2: Add string.rep(s, n, sep).

13 years agoFrom Lua 5.2: Add math.log(x, base).
Mike Pall [Sun, 7 Oct 2012 13:47:11 +0000 (15:47 +0200)] 
From Lua 5.2: Add math.log(x, base).

13 years agoClarify comments in Makefile on -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Thu, 4 Oct 2012 11:55:34 +0000 (13:55 +0200)] 
Clarify comments in Makefile on -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFix scope for resolving break labels.
Mike Pall [Wed, 3 Oct 2012 09:53:18 +0000 (11:53 +0200)] 
Fix scope for resolving break labels.

13 years agoFix x64 build.
Mike Pall [Tue, 2 Oct 2012 14:50:13 +0000 (16:50 +0200)] 
Fix x64 build.

13 years agoFrom Lua 5.2: '%s' option to string.format() behaves like tostring().
Mike Pall [Tue, 2 Oct 2012 09:59:32 +0000 (11:59 +0200)] 
From Lua 5.2: '%s' option to string.format() behaves like tostring().

13 years agoFrom Lua 5.2: Return nil for bad position in string.find().
Mike Pall [Tue, 2 Oct 2012 09:56:33 +0000 (11:56 +0200)] 
From Lua 5.2: Return nil for bad position in string.find().

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoMove a GC macro.
Mike Pall [Tue, 2 Oct 2012 07:57:49 +0000 (09:57 +0200)] 
Move a GC macro.

13 years agoFrom Lua 5.2: Add luaL_traceback().
Mike Pall [Mon, 1 Oct 2012 18:45:30 +0000 (20:45 +0200)] 
From Lua 5.2: Add luaL_traceback().

13 years agoUpdate dependencies.
Mike Pall [Fri, 28 Sep 2012 17:32:39 +0000 (19:32 +0200)] 
Update dependencies.

13 years agoFrom Lua 5.2: Allow mixed metamethods for ordered comparisons.
Mike Pall [Fri, 28 Sep 2012 17:30:08 +0000 (19:30 +0200)] 
From Lua 5.2: Allow mixed metamethods for ordered comparisons.

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: Remove error for ambiguous function call syntax.
Mike Pall [Fri, 28 Sep 2012 16:12:43 +0000 (18:12 +0200)] 
From Lua 5.2: Remove error for ambiguous function call syntax.

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: Return file object for io.write() and file:write().
Mike Pall [Fri, 28 Sep 2012 15:54:18 +0000 (17:54 +0200)] 
From Lua 5.2: Return file object for io.write() and file:write().

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: Add table.pack(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Fri, 28 Sep 2012 15:29:17 +0000 (17:29 +0200)] 
From Lua 5.2: Add table.pack(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFFI: ctypeid of ctype object is immutable.
Mike Pall [Thu, 27 Sep 2012 12:48:13 +0000 (14:48 +0200)] 
FFI: ctypeid of ctype object is immutable.

13 years agoFold KPTR + offset in SPLIT pass.
Mike Pall [Thu, 27 Sep 2012 12:39:16 +0000 (14:39 +0200)] 
Fold KPTR + offset in SPLIT pass.

13 years agox86: Fix register allocation for calls returning register pair.
Mike Pall [Thu, 27 Sep 2012 12:16:18 +0000 (14:16 +0200)] 
x86: Fix register allocation for calls returning register pair.

13 years agoFrom Lua 5.2: Extended results from os.execute() and pipe:close().
Mike Pall [Mon, 24 Sep 2012 17:00:54 +0000 (19:00 +0200)] 
From Lua 5.2: Extended results from os.execute() and pipe:close().

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: Add debug.getuservalue() and debug.setuservalue().
Mike Pall [Mon, 24 Sep 2012 15:52:32 +0000 (17:52 +0200)] 
From Lua 5.2: Add debug.getuservalue() and debug.setuservalue().

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: Add rawlen(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Mon, 24 Sep 2012 15:33:32 +0000 (17:33 +0200)] 
From Lua 5.2: Add rawlen(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoRearrange library functions to get a fixed FF_next.
Mike Pall [Mon, 24 Sep 2012 15:13:53 +0000 (17:13 +0200)] 
Rearrange library functions to get a fixed FF_next.

13 years agoRemove some library functions for no-JIT/no-FFI builds.
Mike Pall [Mon, 24 Sep 2012 14:56:07 +0000 (16:56 +0200)] 
Remove some library functions for no-JIT/no-FFI builds.

13 years agoAllow conditional inclusion of builtin library functions.
Mike Pall [Mon, 24 Sep 2012 14:55:10 +0000 (16:55 +0200)] 
Allow conditional inclusion of builtin library functions.

13 years agoFrom Lua 5.2: Add mode and env arguments to load*().
Mike Pall [Fri, 21 Sep 2012 14:33:14 +0000 (16:33 +0200)] 
From Lua 5.2: Add mode and env arguments to load*().

13 years agoMove load/dump functions to lj_load.c. Add load modes.
Mike Pall [Fri, 21 Sep 2012 14:32:24 +0000 (16:32 +0200)] 
Move load/dump functions to lj_load.c. Add load modes.

13 years agoFix package.searchpath().
Mike Pall [Fri, 21 Sep 2012 14:14:17 +0000 (16:14 +0200)] 
Fix package.searchpath().

13 years agoFix last commit.
Mike Pall [Thu, 20 Sep 2012 15:41:32 +0000 (17:41 +0200)] 
Fix last commit.

13 years agoFrom Lua 5.2: Add debug.upvalueid() and debug.upvaluejoin().
Mike Pall [Thu, 20 Sep 2012 15:36:15 +0000 (17:36 +0200)] 
From Lua 5.2: Add debug.upvalueid() and debug.upvaluejoin().

Ditto for lua_upvalueid() and lua_upvaluejoin().

13 years agoFrom Lua 5.2: debug.getinfo(..., "u") returns nparams and isvararg.
Mike Pall [Thu, 20 Sep 2012 13:50:20 +0000 (15:50 +0200)] 
From Lua 5.2: debug.getinfo(..., "u") returns nparams and isvararg.

13 years agoFix 'f' and 'L' options for debug.getinfo() and lua_getinfo().
Mike Pall [Thu, 20 Sep 2012 13:19:48 +0000 (15:19 +0200)] 
Fix 'f' and 'L' options for debug.getinfo() and lua_getinfo().

13 years agoDisable LUA_COMPAT_GFIND and LUA_COMPAT_MOD in Lua 5.2 mode.
Mike Pall [Wed, 19 Sep 2012 16:14:00 +0000 (18:14 +0200)] 
Disable LUA_COMPAT_GFIND and LUA_COMPAT_MOD in Lua 5.2 mode.

13 years agoFrom Lua 5.2: debug.setmetatable() returns object.
Mike Pall [Wed, 19 Sep 2012 14:33:50 +0000 (16:33 +0200)] 
From Lua 5.2: debug.setmetatable() returns object.

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: 'break' allowed anywhere.
Mike Pall [Wed, 19 Sep 2012 14:30:46 +0000 (16:30 +0200)] 
From Lua 5.2: 'break' allowed anywhere.

Needs -DLUAJIT_ENABLE_LUA52COMPAT.

13 years agoFrom Lua 5.2: debug.getlocal() accepts function arg, too.
Mike Pall [Wed, 19 Sep 2012 10:08:35 +0000 (12:08 +0200)] 
From Lua 5.2: debug.getlocal() accepts function arg, too.

13 years agoFrom Lua 5.2: debug.getlocal()/setlocal() treats slot < 0 as vararg.
Mike Pall [Wed, 19 Sep 2012 10:06:56 +0000 (12:06 +0200)] 
From Lua 5.2: debug.getlocal()/setlocal() treats slot < 0 as vararg.

13 years agoFrom Lua 5.2: debug.getupvalue() returns "" for C function upvalues.
Mike Pall [Wed, 19 Sep 2012 10:03:03 +0000 (12:03 +0200)] 
From Lua 5.2: debug.getupvalue() returns "" for C function upvalues.

13 years agoFrom Lua 5.2: Add goto and ::label:: statements.
Mike Pall [Sun, 16 Sep 2012 16:46:04 +0000 (18:46 +0200)] 
From Lua 5.2: Add goto and ::label:: statements.

13 years agoFix despecialization of ITERN when already running.
Mike Pall [Wed, 12 Sep 2012 14:58:47 +0000 (16:58 +0200)] 
Fix despecialization of ITERN when already running.

13 years agoUse 0/1 macro for Lua 5.2 compatibility.
Mike Pall [Wed, 12 Sep 2012 09:20:47 +0000 (11:20 +0200)] 
Use 0/1 macro for Lua 5.2 compatibility.

13 years agoAdd more assertions for stack consistency during recording.
Mike Pall [Wed, 12 Sep 2012 09:02:19 +0000 (11:02 +0200)] 
Add more assertions for stack consistency during recording.

13 years agoFFI: Correctly propagate alignment when interning nested types.
Mike Pall [Mon, 10 Sep 2012 16:05:54 +0000 (18:05 +0200)] 
FFI: Correctly propagate alignment when interning nested types.

13 years agoFFI: Always resolve metamethods for pointers to structs.
Mike Pall [Sat, 8 Sep 2012 19:03:40 +0000 (21:03 +0200)] 
FFI: Always resolve metamethods for pointers to structs.

13 years agoFFI: Handle __pairs/__ipairs metamethods for cdata objects.
Mike Pall [Mon, 3 Sep 2012 19:10:10 +0000 (21:10 +0200)] 
FFI: Handle __pairs/__ipairs metamethods for cdata objects.

13 years agoFix recording of ctype() constructors for pointers.
Mike Pall [Mon, 3 Sep 2012 19:08:37 +0000 (21:08 +0200)] 
Fix recording of ctype() constructors for pointers.

13 years agoPreserve snapshot #0 PC for all traces (potential gcstep exit).
Mike Pall [Fri, 31 Aug 2012 22:58:00 +0000 (00:58 +0200)] 
Preserve snapshot #0 PC for all traces (potential gcstep exit).

13 years agoAdd check for unsupported MIPS soft-float targets.
Mike Pall [Thu, 30 Aug 2012 08:31:26 +0000 (10:31 +0200)] 
Add check for unsupported MIPS soft-float targets.

13 years agoLimit recursion depth in string.match() et al.
Mike Pall [Tue, 28 Aug 2012 19:22:23 +0000 (21:22 +0200)] 
Limit recursion depth in string.match() et al.

13 years agoDon't constify upvalues that may retain large amounts of memory.
Mike Pall [Tue, 28 Aug 2012 13:24:53 +0000 (15:24 +0200)] 
Don't constify upvalues that may retain large amounts of memory.

13 years agoFFI: Detect type punning through unions.
Mike Pall [Mon, 27 Aug 2012 18:52:15 +0000 (20:52 +0200)] 
FFI: Detect type punning through unions.