Commit graph

  • bcf2cbea37
    Add Value::to_pointer() function. Closes #165 and #166. Alex Orlenko 2022-05-18 13:15:08 +0100
  • 8cd594c609
    Fix typo Alex Orlenko 2022-05-18 12:15:39 +0100
  • 7884481691 Add Table::to_pointer method #166 Wez Furlong 2022-05-17 20:27:56 -0700
  • 8d71ea79aa
    Cache bytecode for internal Lua chunks Alex Orlenko 2022-05-16 20:11:47 +0100
  • 2a8c5c7f82
    Refactor Function::bind implementation. Make it possible to bind async function arguments. Fixes #161 Alex Orlenko 2022-05-15 01:15:31 +0100
  • 6b2ceb60c4
    Fix Send impl Alex Orlenko 2022-05-12 19:24:12 +0100
  • 3aac7131ee
    Add Iter metamethod for Luau (available from 0.526) Alex Orlenko 2022-05-09 14:34:10 +0100
  • 2870f54b6a
    Update LICENSE JohnTheCoolingFan 2022-05-08 16:18:30 +0300
  • 1807fa789c
    Don't require Lua sources for modules in build system Alex Orlenko 2022-05-07 16:20:57 +0100
  • 7db7526a08
    Update to Luau 0.526 Alex Orlenko 2022-05-07 02:08:50 +0100
  • da5818f9bc
    Merge branch 'khvzak:master' into master JohnTheCoolingFan 2022-04-29 19:25:57 +0300
  • eb1a9727e9 SerializeToLua, DeserializeFromLua #154 rise0chen 2022-04-28 15:09:52 +0800
  • bea9b0f8b5
    Assert stack for Luau in callback_error_ext when operating on a cached wrapped failure. Should solve #153. Alex Orlenko 2022-04-27 00:16:31 +0100
  • 32a3f478bd
    v0.8.0-beta.4 v0.8.0-beta.4 Alex Orlenko 2022-04-25 23:18:27 +0100
  • 294b3b7aae
    Bump mlua_derive to 0.8.0-beta.1 Alex Orlenko 2022-04-19 23:55:16 +0100
  • b0dabe9d3c
    Add parking_lot feature to README Alex Orlenko 2022-04-19 23:50:11 +0100
  • 03779c067b
    Disable finding dummy lua for factorio lua JohnTheCoolingFan 2022-04-20 00:58:51 +0300
  • 313b15d748
    Merge branch 'master' into master JohnTheCoolingFan 2022-04-20 00:54:14 +0300
  • 5133a9837a
    Add Function::info() to get information about functions. Closes #149 and #7. Alex Orlenko 2022-04-17 22:43:41 +0100
  • 790df77965
    Fix "unused" warning in tests Alex Orlenko 2022-04-17 22:39:21 +0100
  • a62636fde0
    More parking_lot ci tests Alex Orlenko 2022-04-17 17:29:51 +0100
  • fac8217c59 Add ability to obtain source/line information about functions #149 Richard Walters 2022-04-17 16:36:04 +0200
  • d77c0e3b8d
    Merge pull request #147 from sondr3/parking_lot Alex Orlenko 2022-04-17 01:38:03 +0100
  • 3904213ed0
    Faster lua_rotate for Lua < 5.3 Alex Orlenko 2022-04-17 01:02:40 +0100
  • a5ce0c1409 Add parking_lot dependency and feature #147 Sondre Aasemoen 2022-04-15 17:50:17 +0200
  • ae1afc14f7
    Merge 454e19f0c8 into dba76f3994 #148 Yan Chubikov 2022-04-16 16:56:43 +0000
  • 454e19f0c8 Fix serde [16K] [PT.4] #148 alphaqu 2022-04-16 18:43:44 +0200
  • d417afd57b Fix serde [8K] [PT.3] alphaqu 2022-04-16 18:40:57 +0200
  • cca0adabf1 Fix serde [4K] [PT.2] alphaqu 2022-04-16 18:35:28 +0200
  • 873a63f274 Fix serde alphaqu 2022-04-16 18:30:12 +0200
  • 053781994c Remove lifetimes in place for Rc alphaqu 2022-04-16 18:23:34 +0200
  • dba76f3994
    Merge pull request #145 from zh-jq/patch-v0.7.4 Alex Orlenko 2022-04-15 20:25:32 +0100
  • 86f506a170
    Fix clippy warnings Alex Orlenko 2022-04-14 21:55:36 +0100
  • d3975bdf30
    Refactor AsChunk trait. Remove blanket implementation for T: AsRef<[u8]> Implement for std::path::Path Alex Orlenko 2022-04-14 20:48:00 +0100
  • 21affdadfd
    Remove Luau compiler options from Chunk in favour of setting Compiler instance. Add ability to set global Luau compiler used for load all chunks including via require function. Alex Orlenko 2022-04-13 22:59:35 +0100
  • 17473269f8
    Update collectgarbage for Luau: support more options Alex Orlenko 2022-04-13 20:50:50 +0100
  • 88e3e92009
    Define CallbackUpvalue/AsyncCallbackUpvalue as type alises to Upvalue Alex Orlenko 2022-04-13 18:29:51 +0100
  • 1ba7a409d5
    Update compile tests Alex Orlenko 2022-04-13 14:30:52 +0100
  • ef81f40afa
    Add tests for static Lua instance Alex Orlenko 2022-04-13 14:30:45 +0100
  • a018d3b6dc
    Revert "Remove Lua::into_static/from_static" Alex Orlenko 2022-04-13 13:44:59 +0100
  • 0215c31a3a
    Refactor Lua instance structure. The idea is to keep same Lua instance across all calls and only change context inside callbacks. This should solve #104. Alex Orlenko 2022-04-13 13:41:13 +0100
  • 5cd82d0f6b
    Refactor main_state handling Alex Orlenko 2022-04-12 10:40:44 +0100
  • 75697e3a3b support luajit version 2.0.4 #145 zhangjingqiang 2022-04-13 13:36:45 +0800
  • 50c1380c2b
    Add Lua::load_file function #144 LordMZTE 2022-04-10 22:44:38 +0200
  • d1c80be033
    Don't cast *const to *mut (for pointers comparison) Alex Orlenko 2022-04-08 22:51:33 +0100
  • a8fef51e86
    (minor) Fix capturing variables in protect_lua closures Alex Orlenko 2022-04-08 20:13:38 +0100
  • 28a063c1e5
    Implement Hash for Lua String Alex Orlenko 2022-04-08 16:43:09 +0100
  • 55fac90a74
    Fix Luau documentation in docs.rs Enable Lua::gc_inc for Luau Mark debug module as safe for Luau Alex Orlenko 2022-04-08 15:41:16 +0100
  • 70d287cf9f
    Don't pass Lua handler to interrupt callback (Luau) as it's not safe. Optimize callback_error_ext to check stack only before allocating a new WrappedFailure. Alex Orlenko 2022-04-08 10:45:28 +0100
  • d607039a31
    v0.8.0-beta.3 v0.8.0-beta.3 Alex Orlenko 2022-04-03 23:38:41 +0100
  • 0ea65a2985
    Fix doc test Alex Orlenko 2022-04-03 03:12:37 +0100
  • f9af64645f
    Remove junk JohnTheCoolingFan 2022-04-01 20:29:49 +0300
  • 67b0a2a4ef
    lua_status is not available JohnTheCoolingFan 2022-04-01 20:17:36 +0300
  • 06fbb93f86
    lua_resume is not available JohnTheCoolingFan 2022-04-01 20:16:15 +0300
  • 1692f37bc5
    Use same name as in lua52, just link to other name JohnTheCoolingFan 2022-04-01 20:15:56 +0300
  • 243d4f2367
    Factorio Lua lualib.h JohnTheCoolingFan 2022-04-01 20:13:12 +0300
  • d6104e9108
    Factorio Lua lua.h JohnTheCoolingFan 2022-04-01 20:10:57 +0300
  • 980841ff12
    Added missing comma JohnTheCoolingFan 2022-04-01 19:44:39 +0300
  • 42b8ad81ea
    Added factorio lua to ffi JohnTheCoolingFan 2022-04-01 19:44:23 +0300
  • d3b75ecf6c
    Renamed to lua_factorio JohnTheCoolingFan 2022-04-01 19:43:50 +0300
  • 3f8e9bfa73
    Copy src/ffi/lua52 for lua-factorio JohnTheCoolingFan 2022-04-01 19:38:56 +0300
  • fcb9600828
    Merge branch 'master' of https://github.com/JohnTheCoolingFan/factorio-mlua JohnTheCoolingFan 2022-04-01 19:28:34 +0300
  • 4b9e5ef8ec
    Merge https://github.com/khvzak/mlua into khvzak-master JohnTheCoolingFan 2022-04-01 18:59:22 +0300
  • 8c333354d3
    Update Luau to 0.521 Alex Orlenko 2022-03-31 23:28:37 +0100
  • f63f147265
    Add set_mutable_globals to Luau compiler Alex Orlenko 2022-03-31 20:35:52 +0100
  • 595dc3e95f
    Move some Luau functionality to a new module Immplement native "vector" function to construct vectors Alex Orlenko 2022-03-31 19:31:37 +0100
  • ac28c8d8d2
    Add vector_lib/vector_ctor options to Luau Compiler (hidden) Alex Orlenko 2022-03-31 19:05:19 +0100
  • d5315da8d1
    Fix tests Alex Orlenko 2022-03-31 12:23:21 +0100
  • a7cc7f328a
    Increase minimum lua-src version to 544 Alex Orlenko 2022-03-31 00:09:52 +0100
  • 516f01ed44
    Increase internal caches size Alex Orlenko 2022-03-31 00:07:05 +0100
  • 4492a20bbc
    Make LuaHook as Fn instead of FnMut to remove Mutex and improve performance Alex Orlenko 2022-03-30 23:55:34 +0100
  • 595bc3a2b3
    Support Luau interrupts (closes #138) Alex Orlenko 2022-03-30 22:01:06 +0100
  • 87c10ca93d
    Sandboxing support Alex Orlenko 2022-03-28 23:42:35 +0100
  • f75b7b7879
    Remove Lua::into_static/from_static Alex Orlenko 2022-03-26 00:30:57 +0000
  • de1cfa070f
    v0.8.0-beta.2 v0.8.0-beta.2 Alex Orlenko 2022-03-25 00:27:07 +0000
  • ec1fa04085
    Update docs Alex Orlenko 2022-03-25 00:23:35 +0000
  • 714dd6249f
    Enable Thread::reset for Luau Alex Orlenko 2022-03-23 21:13:48 +0000
  • 5089dd73c0
    Update luau-src to 0.2.1 to fix performance issues related to longjmp Alex Orlenko 2022-03-23 01:25:27 +0000
  • 9533f08d3a
    Use lua_xpush for Luau Alex Orlenko 2022-03-23 01:24:54 +0000
  • 0a3b65af88
    Support readonly table attribute (luau) Alex Orlenko 2022-03-22 21:33:29 +0000
  • 3a9c8c2da2
    Add Luau vector datatype support Alex Orlenko 2022-03-22 20:52:10 +0000
  • 952dae1de5
    v0.8.0-beta.1 v0.8.0-beta.1 Alex Orlenko 2022-03-22 01:01:18 +0000
  • c88e5f0c4b
    Update README Alex Orlenko 2022-03-22 00:49:50 +0000
  • 55b778c68b
    Fix clippy warnings Alex Orlenko 2022-03-22 00:18:42 +0000
  • c6d3727171
    Prepare v0.8.0-beta.1 Alex Orlenko 2022-03-21 01:37:08 +0000
  • 4e0ba6559e
    Add require function to Luau Alex Orlenko 2022-03-20 20:01:04 +0000
  • 405cff5d49
    Move StaticUserData* implementation from lua module to the new userdata_impl Alex Orlenko 2022-03-19 22:12:43 +0000
  • 37cddc6b1c
    Replace compat53_countlevels with lua_stackdepth for Luau Alex Orlenko 2022-03-19 21:18:56 +0000
  • 2c069f7033
    Update to luau 0.519 Alex Orlenko 2022-03-19 21:11:10 +0000
  • 1e61d1dadc
    Return binary chunks support in safe mode. Lua has many ways to load binary bytecode and this restriction was easy to bypass. Alex Orlenko 2022-03-19 20:33:53 +0000
  • 32124b31a0
    Move chunks structs to a new module. Add Luau Compiler interface to compile sources. Alex Orlenko 2022-03-01 12:29:43 +0000
  • 3e5f8e7bb8
    Enable Lua::inspect_stack for Luau Alex Orlenko 2022-02-25 23:51:51 +0000
  • cab92f4ea2
    Update luaL_traceback for Luau Alex Orlenko 2022-02-25 21:21:45 +0000
  • fa99f62a99
    Fix __index and __newindex wrappers for Luau Alex Orlenko 2022-03-21 01:06:31 +0000
  • eed7b1f3af
    More ffi module refactoring Alex Orlenko 2022-02-25 15:08:56 +0000
  • c322e028e2
    Initial Luau support Alex Orlenko 2022-02-19 14:15:15 +0000
  • 6dc127f4eb
    Refactor ffi module Initial Luau support work Alex Orlenko 2022-02-14 18:41:18 +0000
  • d4f8dce597
    Fix async userdata __index, __newindex metamethods Tarik02 2022-03-19 16:07:51 +0200
  • 514e1d7faf fix #135 Tarik02 2022-03-19 22:59:32 +0200
  • 3478407e25 format code Tarik02 2022-03-19 22:42:18 +0200