Alex Orlenko
|
5dc6c3214b
|
Prepare for 2024 edition
|
2025-05-06 21:28:21 +01:00 |
|
Alex Orlenko
|
cdd6a99136
|
Support Thread::resume_error call (Luau)
This method uses Luau-specific C API extension `lua_resumerror`
that allow to throw an error immediately when resuming a thead.
Closes #500 #513
|
2025-01-28 22:57:26 +00:00 |
|
Alex Orlenko
|
d376cb9403
|
Enable Thread::reset() for all Lua versions
|
2025-01-28 10:08:16 +00:00 |
|
Alex Orlenko
|
3641c98959
|
Prepare for Rust 2024 edition (see rust-lang/rust#123748)
Replace `IntoLua(Multi)` generic with positional arg (impl trait) where possible
This allow to shorten syntax from `a.get::<_, T>` to `a.get::<T>`
|
2024-07-31 23:42:43 +01:00 |
|
Alex Orlenko
|
b7d170ab9b
|
Refactor ThreadStatus:
- Add `ThreadStatus::Running`
- Replace `ThreadStatus::Unresumable` with `ThreadStatus::Finished`
Change `Error::CoroutineInactive` to `Error::CoroutineUnresumable`
|
2024-07-31 22:34:45 +01:00 |
|
Alex Orlenko
|
7221051683
|
Refactor:
- Remove the rest of `'lua` lifetimes
- Remove Owned types
|
2024-07-31 13:42:35 +01:00 |
|
Alex Orlenko
|
a25e81036e
|
Do not allow already running coroutines to be reset or resumed.
This is a wrong use of the Lua API and is not supported.
See #416 for the reference.
|
2024-06-12 23:18:46 +01:00 |
|
Alex Orlenko
|
a79840afc9
|
Suppress Rust 1.77 dead_code false warnings.
|
2024-03-23 11:42:46 +00:00 |
|
Alex Orlenko
|
908f37656a
|
Add to_pointer function to Function/Table/Thread
|
2024-02-02 09:23:16 +00:00 |
|
Alex Orlenko
|
8200bee467
|
Implement IntoLua for ref to String/Table/Function/AnyUserData
This would prevent cloning plus has better performance when pushing values to Lua stack (`IntoLua::push_into_stack` method)
|
2024-01-23 22:14:50 +00:00 |
|
Alex Orlenko
|
d48a2b3f6c
|
Add OwnedThread type (unstable)
|
2023-08-12 21:18:12 +01:00 |
|
Alex Orlenko
|
fac39a2f46
|
Drop openresty specific luajit extensions
|
2023-07-20 01:02:23 +01:00 |
|
Alex Orlenko
|
714dd6249f
|
Enable Thread::reset for Luau
|
2022-03-23 21:13:48 +00:00 |
|
Alex Orlenko
|
c322e028e2
|
Initial Luau support
|
2022-03-20 20:30:20 +00:00 |
|
Alex Orlenko
|
6e4033abba
|
Fix tests for Lua 5.4.4
|
2022-01-29 12:36:09 +00:00 |
|
Alex Orlenko
|
b84d1bd65f
|
Update test names
|
2021-06-18 23:13:56 +01:00 |
|
Alex Orlenko
|
bf286751fa
|
Improve code coverage
|
2021-06-17 00:47:15 +01:00 |
|
Alex Orlenko
|
5293b8d6d2
|
Add Thread::reset() for luajit/lua54
|
2021-05-05 11:11:32 +01:00 |
|
Alex Orlenko
|
e26cec5db9
|
Drop 'feature(link_args)' (removed from nightly). Don't run tests for LuaJIT 2.0.5
|
2021-04-16 22:27:28 +01:00 |
|
Alex Orlenko
|
2fd6757f39
|
Add LuaJIT 2.0.5 stable support
|
2020-06-06 16:07:16 +01:00 |
|
Alex Orlenko
|
539b569ff4
|
Add Lua 5.4 (rc2) support
|
2020-05-11 02:43:34 +01:00 |
|
Alex Orlenko
|
222f4df668
|
Add family of call_async function
Update documentation
Move async tests to a separate file
|
2020-04-18 21:26:12 +01:00 |
|
Alex Orlenko
|
47e8a80c1c
|
v0.3.0-alpha.1 with async support
Squashed commit of the async branch.
|
2020-04-17 22:39:50 +01:00 |
|
Alex Orlenko
|
07fc4642ae
|
Support vendored versions of Lua and LuaJIT
|
2020-01-25 20:47:31 +00:00 |
|
Alex Orlenko
|
5eec0ef56b
|
Implement PartialEq trait for Value (and subtypes)
Add equals() method to compare values optionally invoking __eq.
|
2020-01-07 00:03:03 +00:00 |
|
Alex Orlenko
|
fd17a01456
|
Add Lua 5.2 support
|
2019-11-30 00:58:41 +00:00 |
|
Alex Orlenko
|
ae677b0918
|
Move lua 5.1 support under new "lua51" feature
|
2019-11-04 22:23:15 +00:00 |
|
Alex Orlenko
|
6f42a6cca9
|
Add LuaJIT support
|
2019-11-04 22:23:15 +00:00 |
|
Alex Orlenko
|
c4fd7a9faf
|
Lua 5.1 support
|
2019-10-17 17:05:42 +01:00 |
|
Alex Orlenko
|
cb109f6e36
|
Rename to mlua
|
2019-10-01 16:11:12 +01:00 |
|
Alex Orlenko
|
54f4627195
|
Update tests (excl. compile-fail)
|
2019-09-29 13:03:32 +01:00 |
|
Alex Orlenko
|
b23ee6a162
|
cargo fmt
|
2019-09-29 12:56:03 +01:00 |
|
kyren
|
65d8ad2f86
|
Allow non-utf8 Lua source in load / exec / eval
|
2018-10-01 06:00:21 -04:00 |
|
kyren
|
6a5ec6b387
|
cargo fmt
|
2018-09-24 22:13:42 -04:00 |
|
kyren
|
b8da08187d
|
Move integration tests into top-level tests directory
other minor refactors
|
2018-09-16 20:15:51 -04:00 |
|