Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into v2.1 | Mike Pall | 7 days | 1 | -1/+1 |
|\ | |||||
| * | Add compatibility string coercion for fp:seek() argument. | Mike Pall | 7 days | 1 | -1/+1 |
| | | | | | | | | Reported by Magnus Wibeck. #1343 | ||||
* | | FFI: Add missing coercion when recording 64-bit bit.*(). | Mike Pall | 2024-08-20 | 1 | -1/+1 |
| | | | | | | | | Thanks to Peter Cawley. #1252 | ||||
* | | Call math.randomseed() without arguments to seed from system entropy. | Mike Pall | 2024-07-04 | 1 | -1/+2 |
| | | | | | | | | Reminder: the math.random() PRNG is NOT SUITABLE FOR CRYPTOGRAPHIC USE. | ||||
* | | Add randomized register allocation for fuzz testing. | Mike Pall | 2023-08-30 | 1 | -1/+1 |
| | | | | | | | | | | This must be explicitly enabled with: -DLUAJIT_RANDOM_RA Thanks to Peter Cawley. #1062 | ||||
* | | Print errors from __gc finalizers instead of rethrowing them. | Mike Pall | 2023-04-16 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | | | | | | | | Finalizers are not supposed to throw errors -- this is undefined behavior. Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly breaks some unrelated code that just happens to do an allocation. Bad. Lua 5.4 catches the error and emits a warning instead. But warnings are not enabled by default, so it fails silently. Even worse. LuaJIT (now) catches the error and emits a VM event. The default event handler function prints "ERROR in finalizer: ...". Set a custom handler function with: jit.attach(handler, "errfin") | ||||
* | | String buffers, part 3d: Compile string buffer methods and functions. | Mike Pall | 2021-07-19 | 1 | -6/+6 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Fix dependencies. | Mike Pall | 2021-06-03 | 1 | -1/+1 |
| | | |||||
* | | String buffers, part 2d: basic string buffer methods. | Mike Pall | 2021-06-01 | 1 | -14/+15 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | String buffers, part 2c: abstract out string.format. | Mike Pall | 2021-06-01 | 1 | -1/+2 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | String buffers, part 1: object serialization. | Mike Pall | 2021-03-25 | 1 | -15/+21 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Use a securely seeded global PRNG for the VM. | Mike Pall | 2020-06-15 | 1 | -23/+27 |
| | | | | | | | | It's not 2005 anymore. | ||||
* | | Improve assertions. | Mike Pall | 2020-06-15 | 1 | -8/+9 |
| | | |||||
* | | Add some more extensions from Lua 5.2/5.3. | Mike Pall | 2017-01-17 | 1 | -2/+2 |
| | | | | | | | | Contributed by François Perrad. | ||||
* | | MIPS: Fix build failures and warnings. | Mike Pall | 2016-05-29 | 1 | -2/+2 |
| | | |||||
* | | Add IR_FLOAD with REF_NIL for field loads from GG_State. | Mike Pall | 2016-05-21 | 1 | -2/+2 |
| | | | | | | | | Contributed by Peter Cawley. | ||||
* | | Fix dependencies. | Mike Pall | 2016-05-19 | 1 | -13/+13 |
| | | |||||
* | | Use internal implementation for converting FP numbers to strings. | Mike Pall | 2016-02-26 | 1 | -1/+3 |
| | | | | | | | | Contributed by Peter Cawley. | ||||
* | | Cleanup of frame handling. No functional changes. | Mike Pall | 2014-12-15 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2014-06-12 | 1 | -1/+1 |
|\| | |||||
| * | FFI: Fix frame traversal for backtraces with FFI callbacks. | Mike Pall | 2014-06-12 | 1 | -1/+1 |
| | | |||||
* | | Add table.clear(). | Mike Pall | 2013-11-25 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2013-10-24 | 1 | -2/+2 |
|\| | |||||
| * | Check for failure to mark memory as executable (restricted kernels). | Mike Pall | 2013-10-24 | 1 | -4/+4 |
| | | |||||
* | | Add table.new(). | Mike Pall | 2013-10-09 | 1 | -1/+1 |
| | | |||||
* | | Fix build with profiler but without JIT compiler. | Mike Pall | 2013-09-18 | 1 | -3/+3 |
| | | |||||
* | | Protect g->hookmask with lock when using profiler thread. | Mike Pall | 2013-09-16 | 1 | -3/+3 |
| | | |||||
* | | Fix non-FFI build. | Mike Pall | 2013-09-10 | 1 | -5/+5 |
| | | |||||
* | | Low-overhead profiler, part 4: JIT compiler support. | Mike Pall | 2013-09-08 | 1 | -4/+4 |
| | | |||||
* | | Add low-overhead profiler. Part 1: interpreter, low-level C API. | Mike Pall | 2013-09-02 | 1 | -16/+20 |
| | | |||||
* | | Compile bit.tohex(). | Mike Pall | 2013-05-15 | 1 | -3/+3 |
| | | |||||
* | | FFI: Load FFI library on-demand for -jdump. | Mike Pall | 2013-05-13 | 1 | -3/+3 |
| | | |||||
* | | Big renaming of string buffer/formatting/conversion functions. | Mike Pall | 2013-05-13 | 1 | -27/+27 |
| | | |||||
* | | Refactor raw object to pointer or string conversions. | Mike Pall | 2013-05-13 | 1 | -2/+2 |
| | | |||||
* | | Refactor internal string formatting. | Mike Pall | 2013-05-12 | 1 | -16/+19 |
| | | |||||
* | | Refactor bit.tohex(). | Mike Pall | 2013-05-12 | 1 | -2/+3 |
| | | |||||
* | | Refactor string.format(). | Mike Pall | 2013-05-12 | 1 | -14/+16 |
| | | |||||
* | | Refactor table.concat(). | Mike Pall | 2013-04-27 | 1 | -1/+1 |
| | | |||||
* | | Compile string.reverse(), string.lower(), string.upper(). | Mike Pall | 2013-04-26 | 1 | -3/+3 |
| | | |||||
* | | Refactor string.reverse(), string.lower(), string.upper(). | Mike Pall | 2013-04-26 | 1 | -4/+4 |
| | | |||||
* | | Compile string concatenations (BC_CAT). | Mike Pall | 2013-04-21 | 1 | -10/+10 |
| | | |||||
* | | Use string buffer for os.date(). | Mike Pall | 2013-03-20 | 1 | -1/+2 |
| | | |||||
* | | Use string buffer for table.concat(). | Mike Pall | 2013-03-20 | 1 | -2/+2 |
| | | |||||
* | | FFI: Add 64 bit bitwise operations. | Mike Pall | 2013-03-14 | 1 | -4/+5 |
| | | |||||
* | | String buffer refactoring, part 2. | Mike Pall | 2013-02-27 | 1 | -19/+20 |
| | | | | | | | | | | Switch to pointers for start/pos/end of buffer. Abstract out some buffer writers. | ||||
* | | String buffer refactoring, part 1. | Mike Pall | 2013-02-27 | 1 | -49/+52 |
| | | | | | | | | | | Move string buffer handling to lj_buf.*. Use common buffer resizing function. | ||||
* | | Add special bytecodes for builtins. | Mike Pall | 2013-02-23 | 1 | -9/+9 |
| | | | | | | | | | | BC_ISTYPE, BC_ISNUM: fast type checks/coercions. BC_TGETR, BC_TSETR: fast rawgeti/rawseti, no type checks for table/key. | ||||
* | | Add support for embedding LuaJIT bytecode for builtins. | Mike Pall | 2013-02-22 | 1 | -2/+4 |
|/ | |||||
* | FFI: Load FFI library on-demand for bytecode with cdata literals. | Mike Pall | 2013-01-15 | 1 | -1/+1 |
| | |||||
* | From Lua 5.2: Add format options to io.lines(). | Mike Pall | 2012-10-12 | 1 | -2/+2 |
| |