Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/facebook/luaffifb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-01Add test for callbacks with arguments on the stackHEADmasterSam Gross
2021-03-01Fixed a defect in callback parameter passing mechanism for __amd64__ … (#38)Sudheer Hebbale
2017-07-21Merge pull request #35 from afonso360/masterSoumith Chintala
Support newer versions of lua
2017-07-21Support newer versions of luaAfonso Bordado
2016-10-28Merge pull request #25 from luketwitter/masterSam Gross
Fix invalid >2GB relative jumps to shared global functions.
2016-10-27Fix invalid >2GB relative jumps to shared global functions.Luke Alonso
If the code pages for the shared global functions happen to be allocated more than 2GB away from other generated code, malformed jumps will be emitted, and crashes ensue. This fixes the issue by turning the global functions into macros. They were all quite small, so this should have minimal impact on code size.
2016-06-29Merge pull request #18 from xHasKx/masterSoumith Chintala
Fixing memleak: jit->pages not free'd
2016-06-27Fixing memleak: jit->pages not free'dAlexander Kiranov
Without this fix (run in directory with ffi.so): valgrind --trace-children=yes --leak-check=full --show-leak-kinds=all lua -e "package.cpath='./?.so';require('ffi')" ... ==29982== 8 bytes in 1 blocks are definitely lost in loss record 1 of 5 ==29982== at 0x4C28C20: malloc (vg_replace_malloc.c:296) ==29982== by 0x4C2AFCF: realloc (vg_replace_malloc.c:692) ==29982== by 0x5AEDA37: reserve_code (call.c:134) ==29982== by 0x5AED7C6: compile (call.c:75) ==29982== by 0x5AEB5F4: compile_globals (call_x64.h:269) ==29982== by 0x5AFA4F9: setup_upvals (ffi.c:3362) ==29982== by 0x4078F3: luaD_precall (in /home/.../test-ffi-leak) ==29982== by 0x407CC2: luaD_call (in /home/.../test-ffi-leak) ==29982== by 0x407D20: luaD_callnoyield (in /home/.../test-ffi-leak) ==29982== by 0x40553B: lua_callk (in /home/.../test-ffi-leak) ==29982== by 0x5AFB3AB: luaopen_ffi (ffi.c:3693) ==29982== by 0x4078F3: luaD_precall (in /home/.../test-ffi-leak)
2016-06-17Update version requirements in README.mdSam Gross
Fixes #14
2016-06-17Add travis-ci build statusSam Gross
2016-06-17Merge pull request #17 from xHasKx/masterSam Gross
- Refactor TO_NUMBER macro - Remove generate_call_h.sh
2016-06-17Changed cdata to native Lua 5.3 numbersAlexander Kiranov
2016-06-13Merge pull request #16 from soumith/patch-1Soumith Chintala
fixing arm64 builds (hopefully)
2016-06-13fixing arm64 builds (hopefully)Soumith Chintala
2016-06-06Merge pull request #15 from PPC64/ppc64_portSam Gross
Port to PPC64el
2016-04-14Make default target when running test_includes.shSam Gross
2016-04-11Port to PPC64elGustavo Serra Scalet
A LuaJIT port to PPC64 is available on this official PR: https://github.com/LuaJIT/LuaJIT/pull/54 It compiles, but I can't test as well as I can't in X64... well, let's see afterwards.
2016-01-24Improve parserSam Gross
Fixes #4 * Ignore inline specifiers on functions * Support __attribute__ before and after static/inline/etc. attributes * Supports hdf5 on Lua 5.2
2016-01-19Merge pull request #7 from colesbury/armSam Gross
Add ARM header files
2016-01-19Add ARM header filesSam Gross
Update call_arm.dasc to fix compile errors, although it's still not functional.
2016-01-02Add support for Lua 5.3Sam Gross
2015-11-17Fixes for Lua 5.1Sam Gross
2015-11-17Fix path to Lua 5.1 sourceSam Gross
2015-11-15Merge pull request #3 from colesbury/travisSam Gross
Add Travis CI build for Lua 5.1 and 5.2
2015-11-15Add Travis CI build for Lua 5.1 and 5.2Sam Gross
2015-11-13Fix out-of-bounds access in test.luaSam Gross
2015-11-13Convert io.* file handles to FILE* pointers.Sam Gross
Fixes #2
2015-11-04Merge pull request #1 from soumith/patch-1Sam Gross
Update README.md
2015-11-04Update README.mdSoumith Chintala
2015-10-06Fix source URL in rockspecSam Gross
2015-09-16Fix LICENSE and PATENTS fileSam Gross
2015-08-17Update README.mdSam Gross
2015-08-17Use UNIX line endingsSam Gross
2015-08-17Fix compiler warningSam Gross
2015-08-17Add ffi.NULL as a copy of ffi.C.NULLSam Gross
The ffi.NULL constant is preferable to ffi.C.NULL because it can be used in both LuaJIT and LuaFFI code. (In LuaJIT it's just nil)
2015-08-12Allow FFI number types as sizes to ffi.stringSam Gross
For example: ffi.string(buf, ffi.new('long', 10))
2015-08-04Add Facebook LICENSE, PATENTS, and CONTRIBUTING filesSam Gross
2015-07-21Remove reference flag when ereferencing a pointer in a structSam Gross
This fixes the access of something like: struct Foo { int bar[3]; } struct Foo foo; foo.bar[0] = 1;
2015-05-13Include uservalue for complex numbers returned from C functions.Sam Gross
Complex numbers have uservalues because we enabled setting metatables on complex numbers.
2015-05-13Fix alignment of integers on x64.Sam Gross
2015-05-06TEMP: Don't free the JIT-compiled binding code.Sam Gross
The order in which finalizers are callled on exit in Lua can cause the binding code to be freed before the last use of the function.
2015-05-01Additional support for references.Sam Gross
2015-05-01Support casting ffi.C functions to cdata numbers.Sam Gross
For example, ffi.cast('intptr_t', ffi.C.malloc) gives the address of the malloc function.
2015-04-29Match LuaJIT format for complex numbersSam Gross
2015-04-28Align 64-bit ints on 8-byte boundaries when on the stack.Sam Gross
2015-04-28Don't delete call_*.h on clean.Sam Gross
2015-04-28Assume complex number support for now.Sam Gross
Luarocks doesn't compile with std=c99.
2015-04-28Add luarocks spec file for package.Sam Gross
Also include call_*.h files to make it easy to build with luarocks.
2015-04-28Overload type() to return "cdata" for cdata.Sam Gross
2015-04-28Complex numbers may have metatypes.Sam Gross