Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-21 | Support newer versions of lua | Afonso Bordado | |
2016-06-13 | fixing arm64 builds (hopefully) | Soumith Chintala | |
2016-04-11 | Port to PPC64el | Gustavo 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-02 | Add support for Lua 5.3 | Sam Gross | |
2015-11-17 | Fixes for Lua 5.1 | Sam Gross | |
2015-09-16 | Fix LICENSE and PATENTS file | Sam Gross | |
2015-08-04 | Add Facebook LICENSE, PATENTS, and CONTRIBUTING files | Sam Gross | |
2015-05-01 | Support 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-28 | Assume complex number support for now. | Sam Gross | |
Luarocks doesn't compile with std=c99. | |||
2015-04-28 | Dynamic libraries are .dylib on Darwin. | Sam Gross | |
Changed to match luajit. | |||
2015-04-28 | Create complex numbers from lua tables. | Sam Gross | |
For example: ffi.new('complex', real, imag) | |||
2013-11-08 | LuaJIT dlopens ffi libraries with RTLD_LAZY not RTLD_NOW so do the same here | Justin Cormack | |
2012-06-05 | Refactor unsigned types into the signed types with an is_unsigned flag | James R. McKaskill | |
With that relax pointer compatibility to not checked the is_unsigned. Fixes #26 | |||
2012-05-09 | Handle __attribute__((aligned)) | James R. McKaskill | |
2012-04-30 | Refactor function parsing to handle functions returning function pointers. | James R. McKaskill | |
EG the type of signal on unix is void (*signal(int, void (*)(int)))(int); | |||
2012-04-30 | fix parsing of long double with msvc | James R. McKaskill | |
2012-04-25 | Add partial long double support. | James R. McKaskill | |
The parser now won't balk at long double, but you can't compile functions with long double or get/set values in structs. | |||
2012-04-25 | Add gcc mode attribute | James R. McKaskill | |
2012-04-25 | __asm__ should concat consecutive string literals | James R. McKaskill | |
2012-04-23 | Process escapes in __asm strings | James R. McKaskill | |
2012-04-23 | Add support for exported global variables. | James R. McKaskill | |
Fixes #7 | |||
2012-04-22 | __declspec(aligned(#)) should only increase the alignment | James R. McKaskill | |
2012-04-22 | Fix bitfields on linux x86 | James R. McKaskill | |
2012-04-22 | Fixes for lua 5.1 | James R. McKaskill | |
2012-04-22 | Refactor and fixup bitfields. | James R. McKaskill | |
This also adds a whole bunch more bitfield tests which will hopefully cover all the weirdness of bitfields. | |||
2012-04-22 | Add support for complex numbers on X86. | James R. McKaskill | |
2012-04-22 | Add support for __asm() symbol redirection | James R. McKaskill | |
2012-04-22 | Add support for the packed and align attributes. | James R. McKaskill | |
2012-04-22 | Overallocate bitfield structs to the next 8 byte boundary to stop valgrind. | James R. McKaskill | |
Valgrind is rightly complaining as we always access bitfields in 8 byte chunks to simplify the get/set logic. | |||
2012-04-10 | Add support for complex numbers | James R. McKaskill | |
2012-04-07 | Add support for _Bool and fixup bool tests | James R. McKaskill | |
2012-04-07 | Add support for ffi.metatype | James R. McKaskill | |
2012-04-05 | Refactor for callbacks. | James R. McKaskill | |
Changed callbacks into a cdata type and added __call, :set, and :free methods. C functions are still pushed as lua functions. Reworked up upvalues to use a lightuserdata to a static int as the key. Added a callback user data that frees jitted code in the __gc. This is added as an up-value to C functions converted to lua functions so that the code is free'd when the lua function is no longer needed. | |||
2012-04-01 | Don't use _t types, these are reserved by posix | James R. McKaskill | |
2011-08-01 | Split struct parsing into two passes to handle out of order members and ↵ | James R. McKaskill | |
attributes. | |||
2011-08-01 | Add const safety | James R. McKaskill | |
2011-08-01 | Equal metamethod should return false for non-comparable types | James R. McKaskill | |
2011-08-01 | Add license headers | James R. McKaskill | |
2011-07-30 | Add OSX support | James R. McKaskill | |
To build for OSX you should use the macosx makefile target instead of the default. | |||
2011-07-27 | Use LoadLibrary instead of GetModuleHandle on windows so that gdi and user32 ↵ | James R. McKaskill | |
are always loaded. | |||
2011-07-25 | Add ARM CE support. | James McKaskill | |
This also adds support for static builds (define LUA_FFI_BUILD_AS_DLL to get a dll on windows, otherwise a static lib is built). msvcbuild.bat still builds a dll. The build script does not build for CE as this is non-trivial and very dependent on which CE profile (or even a custom one). Instead to build on CE, add generate_call_h.bat as a pre-build event and then build *.c with UNDER_CE defined, whatever defines windows.h requires, and the msvc include directory. The arm support is also only little endian for the moment. | |||
2011-07-18 | Add callback support | James McKaskill | |
2011-07-18 | Cleanup NULL handling | James McKaskill | |
2011-07-18 | Breakup parser.c:parse_record | James McKaskill | |
2011-07-17 | Add support for bitfields | James McKaskill | |
2011-07-17 | Allow functions with a struct* to be called with a table by allocating a ↵ | James McKaskill | |
temp struct | |||
2011-07-16 | Adding support for variable sized arrays and structs | James McKaskill | |
2011-07-16 | Fixes for 32bit, and use jmp stubs only when necessary | James McKaskill | |
2011-07-15 | Got linux 64bit test to pass | James R. McKaskill | |
Had to rework function calls to use a jumptable (of sorts) to handle function calls with a greater than 2GB displacement. Also finished the 64bit vararg support. Windows 64bit is code complete but probably won't work as it hasn't been tested yet. | |||
2011-07-15 | First pass at x64 support - hasn't been tested and vararg support is incomplete | James McKaskill | |