Commit Graph

88 Commits (master)

Author SHA1 Message Date
Mike Pall 50936d7844 Merge branch 'master' into v2.1 2022-07-13 00:37:14 +02:00
Mike Pall 36b2962d40 FFI: Fix ffi.alignof() for reference types.
Reported by Eric Gouyer.
2022-07-13 00:32:04 +02:00
Mike Pall 27a6fee82e FFI: Allow ffi.metatype() for typedefs with attributes.
Reported by Eric Gouyer.
2022-07-13 00:30:23 +02:00
Mike Pall 7306ba78d6 Merge branch 'master' into v2.1 2022-01-15 19:42:30 +01:00
Mike Pall c4dfb625ba Bump copyright date. 2022-01-15 19:30:54 +01:00
Mike Pall 94a40bb238 FFI: Ensure returned string is alive in ffi.typeinfo().
Reported by zhuizhuhaomeng.
2021-09-23 19:07:30 +02:00
Mike Pall 1e66d0f9e6 Merge branch 'master' into v2.1 2021-01-02 21:56:07 +01:00
Mike Pall f47c864b01 Bump copyright date. 2021-01-02 21:49:41 +01:00
Mike Pall d5e12d5174 Merge branch 'master' into v2.1 2020-05-08 14:00:07 +02:00
Mike Pall cc4bbec483 FFI: Always fall back to metamethods for cdata length/concat.
Thanks to Egor Skriptunoff.
2020-05-08 13:50:41 +02:00
Mike Pall 87b111f0fe Merge branch 'master' into v2.1 2020-01-20 23:34:21 +01:00
Mike Pall 38a5ed4b43 Bump copyright date. 2020-01-20 23:26:51 +01:00
Mike Pall 70f4b15ee4 FFI: Eliminate hardcoded string hashes. 2019-12-08 20:53:31 +01:00
Mike Pall c3c54ce1ae Windows: Add UWP support, part 1.
Contributed by Ben Pye.
2018-06-05 17:03:08 +02:00
Mike Pall 74c544d68c Merge branch 'master' into v2.1 2018-01-29 12:53:42 +01:00
Mike Pall b03a56f28e FFI: Don't assert on #1LL (5.2 compatibility mode only).
Reported by Denis Golovan.
2018-01-29 12:47:08 +01:00
Mike Pall d3e36e7920 Merge branch 'master' into v2.1 2017-03-08 23:04:46 +01:00
Mike Pall 3ab9f5a18d Remove internal __mode = "K" and replace with safe check. 2017-03-08 22:03:17 +01:00
Mike Pall 71ff7ef8a7 Merge branch 'master' into v2.1 2017-01-17 12:41:05 +01:00
Mike Pall b93a1dd0c8 Bump copyright date to 2017. 2017-01-17 12:35:03 +01:00
Mike Pall f4231949b5 Merge branch 'master' into v2.1 2016-03-03 12:11:37 +01:00
Mike Pall db1b399af1 Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
Mike Pall 20f4141b1a FFI: Properly unsink non-standard cdata allocations. 2015-12-28 13:02:35 +01:00
Mike Pall 962d2aaa9f LJ_GC64: Return true for ffi.abi("gc64"). 2015-01-07 21:14:43 +01:00
Mike Pall 0a5045c34e Merge branch 'master' into v2.1 2015-01-06 00:12:45 +01:00
Mike Pall 86913b9bbf Bump copyright date to 2015. 2015-01-05 23:59:31 +01:00
Mike Pall 054e6abe37 Add LJ_FR2 mode: Two-slot frame info. 2015-01-03 15:04:38 +01:00
Mike Pall d6ff3afc14 FFI: Add ffi.typeinfo().
Thanks to Peter Colberg.
2014-10-08 22:16:53 +02:00
Mike Pall e107525f20 Merge branch 'master' into v2.1 2014-08-05 20:18:20 +02:00
Mike Pall 66515a054c FFI: Fix __index/__newindex metamethod resolution for ctypes. 2014-08-05 20:15:52 +02:00
Mike Pall a9d4543601 Merge branch 'master' into v2.1 2014-01-16 23:18:34 +01:00
Mike Pall ef59e54820 Bump copyright date to 2014. 2014-01-16 23:10:16 +01:00
Mike Pall 0d41601e76 Merge branch 'master' into v2.1 2013-09-08 03:10:47 +02:00
Mike Pall 93c2b939bd FFI: Fix argument checks for ffi.string(). 2013-09-08 03:09:39 +02:00
Mike Pall 992f7d4b71 FFI: Refactor ffi.gc()/__gc. Compile ffi.gc(cdata, nil), too. 2013-05-24 17:44:55 +02:00
Mike Pall 38cfb6a1d9 Refactor lj_cdata_newv(). 2013-05-23 18:43:16 +02:00
Mike Pall cc1e3425b9 Merge branch 'master' into v2.1 2013-05-13 10:21:25 +02:00
Mike Pall 23aa02fb51 FFI: Ignore CTF_LONG in ffi.istype(). 2013-05-13 10:20:59 +02:00
Mike Pall 19a9206caf Refactor internal string formatting. 2013-05-12 23:52:09 +02:00
Mike Pall 4a44c4ff69 Bump copyright date to 2013. 2013-02-11 12:54:48 +01:00
Mike Pall 0b55e05d06 FFI: Compile ffi.gc(). 2012-10-10 18:56:16 +02:00
Mike Pall 1c626112a0 FFI: Compile ffi.sizeof(), ffi.alignof() and ffi.offsetof(). 2012-10-10 18:16:18 +02:00
Mike Pall 0648fd47cb FFI: Handle __pairs/__ipairs metamethods for cdata objects. 2012-09-03 21:11:08 +02:00
Mike Pall 2717623e3a FFI: Compile ffi.typeof(cdata).
Thanks to Robert G. Jakabosky.
2012-08-08 21:01:36 +02:00
Mike Pall 806822b70b FFI: Improve error message for bad indexing attempts. 2012-08-05 17:26:01 +02:00
Mike Pall 4d9c29a78c FFI: Box all accessed or returned enums. 2012-07-17 22:22:07 +02:00
Mike Pall 0e2f5be140 FFI: Show address pointed to for tostring(ref), too. 2012-07-12 14:19:27 +02:00
Mike Pall 17d3fc47f3 Avoid pesky compiler warnings about C++ keywords (eh?). 2012-07-03 13:19:32 +02:00
Mike Pall 8b71ab1080 FFI: Check for __new metamethod when calling a constructor. 2012-06-20 18:28:25 +02:00
Mike Pall 946c7418d5 FFI: Add support for parameterized C types. 2012-06-14 19:54:07 +02:00