Alex Orlenko
73c7c94d75
Remove default feature `lua53`
2020-06-06 16:07:16 +01:00
Alex Orlenko
f6da437d8b
Update docs
2020-06-06 16:07:16 +01:00
Alex Orlenko
d0fa03e9c8
Bump version to 0.4.0-beta.1
2020-06-06 16:05:35 +01:00
Alex Orlenko
60c659ecff
Add async http server example
2020-05-15 01:48:57 +01:00
Alex Orlenko
5c226b4915
Lua 5.4 FFI
2020-05-11 02:43:34 +01:00
Alex Orlenko
d366ce0dd4
Scope support (including async)
2020-05-11 02:43:34 +01:00
Alex Orlenko
2bd5c2f6ca
Hide Lua "Send" capability under the optional "send" feature flag
2020-05-11 02:43:34 +01:00
Alex Orlenko
e9c2b8d306
0.3.2 release
2020-04-29 16:32:16 +01:00
Alex Orlenko
fe5e87b0f5
Fix bugs with metatable cache:
...
- Don't use thread_local as Lua can be created in one thread and executed in another (in module mode);
- Make per state storage without luaL_ref;
2020-04-28 14:29:14 +01:00
Alex Orlenko
0f32e9cb43
0.3.1 release
2020-04-20 01:55:57 +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
afaa0eb639
0.3.0 release
2020-04-17 23:55:58 +01:00
Alex Orlenko
ef06c5eec9
Update Cargo.toml
2020-04-17 23:55:57 +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
d8b9c46d28
0.2.2 release
2020-02-09 22:21:34 +00:00
Alex Orlenko
d5bc9c8c24
Combine lua-vendored and luajit-vendored features into "vendored"
2020-01-27 21:21:50 +00:00
Alex Orlenko
bf36eb72f8
Move from circele-ci to github actions
2020-01-25 22:35:47 +00:00
Alex Orlenko
07fc4642ae
Support vendored versions of Lua and LuaJIT
2020-01-25 20:47:31 +00:00
Alex Orlenko
831161bfda
Fix CI badge link
2020-01-06 23:55:56 +00:00
Alex Orlenko
52be96677b
0.2.1 release
2019-12-26 23:09:11 +00:00
Alex Orlenko
c9c8f983e0
0.2.0 release
2019-11-30 01:33:41 +00:00
Alex Orlenko
fd17a01456
Add Lua 5.2 support
2019-11-30 00:58:41 +00:00
Alex Orlenko
aa3002b7d9
Update README and description
2019-11-04 22:34:31 +00:00
Alex Orlenko
ae677b0918
Move lua 5.1 support under new "lua51" feature
2019-11-04 22:23:15 +00:00
Alex Orlenko
551e4f1f87
Add compile_fail tests
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
430e2e07ea
Clear changelog and update license
2019-10-17 17:05:41 +01:00
Alex Orlenko
b7c578c274
Replace libc with std::os::raw
2019-10-02 22:12:28 +01:00
Alex Orlenko
224ed8ff52
Add mlua_derive proc macro module
2019-10-02 22:12:27 +01:00
Alex Orlenko
cb109f6e36
Rename to mlua
2019-10-01 16:11:12 +01:00
Alex Orlenko
11e22d1cba
Temporary drop "compile-fail" tests due to unstable compiletest_rs crate
2019-09-30 22:34:20 +01:00
Alex Orlenko
affa85feb0
Backport changes from rlua 0.16 (master branch)
2019-09-29 12:53:13 +01:00
Alex Orlenko
53b352466e
Replace ffi module with implementation from "jcmoyer/rust-lua53" crate
2019-09-29 12:42:07 +01:00
Alex Orlenko
b1aa8f8a80
Remove builtin lua
2019-08-08 18:54:08 +01:00
kyren
da3d4c4998
(cargo-release) version 0.15.3
2018-10-13 17:56:42 -04:00
Stephen Akridge
da6e92d16d
Update num-traits dependency to 0.2.6
...
This crate requires i128 support which is not
added to num-traits until the 0.2.5 release and i128
detection is added in 0.2.6.
2018-10-11 10:40:03 -07:00
kyren
1a259284ab
(cargo-release) start next development iteration 0.15.3-alpha.0
2018-10-01 06:10:35 -04:00
kyren
8db6709fb8
(cargo-release) version 0.15.2
2018-10-01 06:10:18 -04:00
kyren
e49ecbd6be
(cargo-release) start next development iteration 0.15.2-alpha.0
2018-10-01 05:15:25 -04:00
kyren
5610748347
(cargo-release) version 0.15.1
2018-10-01 05:15:09 -04:00
kyren
f8665ba334
(cargo-release) version 0.15.0
2018-10-01 04:53:22 -04:00
kyren
c3d0110722
Return rlua::Error on out of range numeric conversions using num_traits::cast
2018-09-24 22:14:50 -04:00
kyren
70b67052c9
Upgrade rustyline to 2.0 to avoid confusion
2018-09-24 21:27:29 -04:00
kyren
14090821d3
Make the changes I proposed to PR #79
...
Allows people (maybe only I care about this?) to build rlua in weird
environments.
2018-09-16 21:18:24 -04:00
kyren
c07abdc03e
Merge pull request #79 from acrisci/system-lua-pkg-config
...
find system lua with pkg-config
2018-09-16 20:57:45 -04:00
kyren
654fff7065
Next version will be 0.15
2018-09-16 20:19:46 -04:00
kyren
ac21874d11
(cargo-release) start next development iteration 0.14.3-alpha.0
2018-08-06 19:09:27 -04:00
kyren
ca8326475f
(cargo-release) version 0.14.2
2018-08-06 19:09:09 -04:00
kyren
e4de847395
(cargo-release) start next development iteration 0.14.2-alpha.0
2018-08-05 12:35:05 -04:00
kyren
e6ca00b65c
(cargo-release) version 0.14.1
2018-08-05 12:33:26 -04:00
kyren
8366960368
Update to failure 0.1.2, rename deprecated methods
2018-08-05 11:48:25 -04:00
kyren
e6688e1db2
very small doc fixes
2018-08-05 09:51:32 -04:00
kyren
2d4f4b95c8
(cargo-release) start next development iteration 0.14.1-alpha.0
2018-06-29 01:28:28 -04:00
kyren
0cab2e25de
(cargo-release) version 0.14.0
2018-06-29 01:25:15 -04:00
kyren
02bc8da203
Prepare for 0.14.0 release
2018-06-29 01:24:28 -04:00
Tony Crisci
66e49518d3
find system lua with pkg-config
2018-05-14 08:51:51 -04:00
kyren
60bfe1fb07
Nope, require failure 1.0 because otherwise it depends on backtrace automatically
2018-03-20 16:23:23 -04:00
kyren
a22c23ae26
rely on failure 0.1.2 from git to get backtrace disabled by default
...
without relying on an unreleased 1.0 API. Trying to get rid of the special
chucklefish hack branches in the meantime before 1.0.
2018-03-20 15:17:27 -04:00
kyren
5aa22de68e
Use git dependency on failure 1.0 for right now
2018-03-20 14:07:32 -04:00
kyren
f0775f4a1a
Move several asserts to only be active with debug, bump alpha version number
2018-03-12 16:14:52 -04:00
kyren
964666e11b
Use criterion for benchmarking, add some simple benchmarks
2018-03-10 10:31:57 -05:00
kyren
6ab7f99315
Revert "Temporary fix for #71 . Remove when rust #48251 is fixed in stable."
...
This reverts commit 5d96ddc52a
.
2018-03-06 07:03:58 -05:00
kyren
0e9a70e688
(cargo-release) start next development iteration 0.13.1-alpha.0
2018-02-28 14:51:50 -05:00
kyren
e98d4d1827
Update changelog / cargo.toml in prep for 0.13
2018-02-28 14:44:16 -05:00
kyren
5d96ddc52a
Temporary fix for #71 . Remove when rust #48251 is fixed in stable.
2018-02-28 14:43:15 -05:00
kyren
a49ea51b79
Remove terrible awful no-good evil hack
...
The breakage is being addressed in rust itself.
2018-02-19 18:09:04 -05:00
kyren
e19a5b6481
Cleanup max upvalues constant a bit, add some luaconf.h assumptions
2018-02-19 18:03:18 -05:00
kyren
52eedfd378
I'm not going to release this as is, but I need to weigh my options
2018-02-16 23:43:30 -05:00
kyren
dec360f78f
Can.. can I do this? Is this a thing that actually works?
...
Drastic times and all that.
2018-02-16 22:01:41 -05:00
kyren
f0186d1799
Provisional "fix" for #71 . Requires nightly :(
2018-02-15 21:39:35 -05:00
kyren
6b46e8abe9
prepare for 0.12.2
2018-02-14 00:56:20 -05:00
kyren
c22aae461b
Some changes for panic correctness, stack usage correctness, and speed
2018-02-12 13:54:31 -05:00
kyren
9388a72d61
Update Cargo.toml for 0.12.1
2018-02-11 17:55:40 -05:00
kyren
61236e685f
Change changelog, readme, examples, Cargo.toml for 0.12 release
2018-02-10 19:04:18 -05:00
kyren
d4c80d44c8
Attempt to enable compiletest_rs on nightly on travis
2018-02-10 00:27:15 -05:00
kyren
f785a3abe4
Don't bother with a feature, just disable LUA_USE_APICHECK in release
2018-02-09 23:59:11 -05:00
kyren
84b009da03
A few small performance improvements
...
When 'debug_assertions' is not enabled, don't bother doing asserts in
stack_guard / stack_err_guard. Also, add an optional feature not enabled by
default to disable LUA_USE_APICHECK in release mode. Once the bugs in rlua that
allow you to trigger LUA_USE_APICHECK are fixed, this feature will be the
default behavior.
2018-02-09 01:22:34 -05:00
kyren
cbc882bad0
Bump cargo version to 0.11.0
2018-01-26 22:03:13 -05:00
kyren
0801104762
ACTUALLY expose `RegistryKey` API
...
Also fixes a safety issue with RegistryKey, where you could use RegistryKeys
with mismatching Lua instances.
2018-01-26 19:43:53 -05:00
kyren
79ba909db0
Experimentally use the `failure` crate for errors
2018-01-21 20:08:51 -05:00
kyren
443054f753
Update README, CHANGELOG, and Cargo.toml for 0.10.2
2017-12-17 01:14:11 -05:00
kyren
c67ae24c97
bump version for doc spelling fix
2017-12-05 00:16:35 -05:00
kyren
80a98ef29c
Couple of changes:
...
- Update readme, changelog, cargo version number in preparation for release
- Remove panicking behavior on recursive callback calls, add additional error
variant for recursive callback errors.
2017-12-04 01:47:04 -05:00
kyren
cfa2b34a7b
Bump version to 0.9.7, update changelog
2017-11-08 14:07:48 -05:00
kyren
00a3153ae0
Bump version / changelog for 0.9.6
2017-10-26 16:53:14 -04:00
kyren
8592af1b16
Bump version to 0.9.5, update changelog
2017-10-25 14:55:05 -04:00
kyren
4bbeeb2b2d
Update to 0.9.4, update changelog
2017-10-24 08:59:55 -04:00
kyren
401c06cfe6
Bump cargo version to 0.9.3, update changelog.
2017-10-14 19:27:24 -04:00
kyren
ef538d8757
Update rlua to 0.9.2, add SOME kind of changelog.
2017-09-24 19:32:26 -04:00
kyren
ec088300f2
Specify `gcc` crate dependency with minimum bound on version with `Build`
2017-09-09 21:04:57 -04:00
kyren
1efef92570
I guess I need to bump the cargo version even to change the badge.
2017-08-02 17:43:44 -04:00
kyren
fffeb9701b
Badge has wrong url, I guess it doesn't expect the github portion
2017-08-02 17:42:58 -04:00
kyren
b42d613c5b
Update Cargo.toml for 0.9, add travis-ci badge
2017-08-02 17:37:29 -04:00
kyren
2553623b65
Provide custom allocators that ensure that OOM results in an abort
...
(closes unsafety hole)
2017-08-02 16:33:48 -04:00
Jonas Schievink
3f20319a84
Use rustyline for the REPL
...
This makes the REPL more usable as you can now edit lines and recall
previously executed statements.
2017-08-02 14:32:45 +02:00
kyren
4549abbb85
Two major API changes to start with:
...
* Callbacks have generic argument and return types
* All variadics are done with tuples
2017-07-31 01:21:41 -04:00
kyren
eafe4c7c30
cargo version bump for linking fix
2017-07-09 17:20:51 -04:00
kyren
b8fab1b3ed
Make the builtin version of lua 5.3 optional
...
In case you would need to build a crazy custom version of lua for a weird
platform. This could possibly be done in a cleaner way.
2017-07-05 19:35:53 -04:00
kyren
cd4343c83e
Bump cargo version (again! I'm sorry!), and update README
2017-06-25 18:27:52 -04:00