Michael Pankov
9fc96fead6
Implement reading vectors of AnyLuaValue
2017-04-18 01:09:45 +03:00
tomaka
73c0120de5
Merge pull request #144 from mkpankov/error
...
Implement Error for LuaError
2017-04-16 15:50:59 +02:00
Michael Pankov
e4dd56acc2
Implement Error for LuaError
...
Supersedes #60
Fixes #50
2017-04-16 16:41:51 +03:00
tomaka
7a033e9e4e
Merge pull request #143 from mkpankov/libs
...
Add methods to open individual libraries
2017-04-16 15:33:38 +02:00
Michael Pankov
ce68dd43c3
Add methods to open individual libraries
...
Fix #122
2017-04-16 16:15:26 +03:00
tomaka
571302483e
Merge pull request #141 from mkpankov/non-utf-8
...
Implement LuaPlainString for non-UTF-8
2017-04-15 20:07:28 +02:00
Michael Pankov
1982569b9c
Wrap Vec<u8> in AnyLuaString
2017-04-15 20:57:42 +03:00
Michael Pankov
81fcd670c9
Implement LuaPlainString for non-UTF-8
...
Fix #135
2017-04-15 19:36:05 +03:00
tomaka
05ab876b85
Merge pull request #139 from mkpankov/drop
...
Drop closure environment
2017-04-15 18:16:21 +02:00
Michael Pankov
a5952bf7c0
Use Arc
2017-04-15 19:10:32 +03:00
tomaka
4c4394b195
Merge pull request #140 from mkpankov/read-test
...
Implement execute_from_reader ReadError test
2017-04-15 18:03:54 +02:00
Michael Pankov
21cd68bb82
Use Arc in test
2017-04-15 18:58:01 +03:00
Michael Pankov
6b3fdeeaaa
Add a closure destructor wrapper
2017-04-15 18:56:14 +03:00
Michael Pankov
5d39da3ac4
Move the test
2017-04-15 18:39:30 +03:00
Michael Pankov
9063d00579
Don't panic in test
2017-04-15 18:24:10 +03:00
Michael Pankov
c285db538f
Fix the test
...
Forgot the move
2017-04-15 18:20:40 +03:00
Michael Pankov
862e1d0f87
Implement execute_from_reader ReadError test
...
Fix #127
2017-04-15 18:17:19 +03:00
Michael Pankov
3ae7e73b18
Drop closure environment
2017-04-15 17:48:22 +03:00
tomaka
449e3c0b4b
Merge pull request #136 from jonas-schievink/patch-1
...
Remove unnecessary FnMut bound
2017-04-02 11:23:11 +02:00
Jonas Schievink
ca3dc2da76
Remove unnecessary FnMut bound
...
Just FnOnce should be enough here
2017-04-02 11:02:09 +02:00
tomaka
cd65a8332f
Merge pull request #131 from jonas-schievink/push-option
...
Allow pushing Options
2017-02-15 19:56:20 +01:00
Jonas Schievink
c2b66e707f
Remove left-over for<'b> quantifier
2017-02-15 19:22:47 +01:00
Jonas Schievink
97b5dea004
Allow pushing Options
...
* Some(T) pushes the T
* None pushes `nil`
Closes #124
2017-02-15 13:26:11 +01:00
tomaka
f16fbfd2e4
Merge pull request #132 from jonas-schievink/popen
...
Support `io.popen` on Linux
2017-02-15 13:19:17 +01:00
Jonas Schievink
a875ca24b4
Add a REPL example
...
Useful for testing something quick without creating a new Rust project
2017-02-15 12:54:00 +01:00
Jonas Schievink
2734e0d687
Support `io.popen` on Linux
2017-02-15 12:47:34 +01:00
Jonas Schievink
55c73c5fd1
Add Cargo manifest
2017-02-15 12:43:00 +01:00
tomaka
4e03040096
Merge pull request #130 from jonas-schievink/result-to-lua
...
Make Result interoperable with Lua error handling
2017-02-15 11:53:02 +01:00
Jonas Schievink
1055c52b70
Fix warnings
2017-02-15 11:44:31 +01:00
Jonas Schievink
0b196c8f37
Make Result interoperable with Lua error handling
...
An `Ok` will push the contained value, while an `Err` will push `nil`
and an error message.
Also changes the required trait for the error to `Display` instead of
`Debug`, which is more suitable for user-facing errors.
Closes #125
2017-02-15 11:33:24 +01:00
tomaka
f372729f65
Merge pull request #121 from tomaka/userdata-rework
...
Userdata rework
2017-01-04 07:23:13 +01:00
Pierre Krieger
b38af42004
Rework userdata code
2017-01-03 20:22:06 +01:00
Pierre Krieger
634a4dee5a
Remove mutable transmutes from UserdataOnStack
2017-01-03 19:20:56 +01:00
tomaka
772579c02f
Merge pull request #120 from tomaka/more-doc
...
Even more documentation
2017-01-03 19:14:47 +01:00
Pierre Krieger
6aca85c7c5
Even more documentation
2017-01-03 17:30:53 +01:00
tomaka
9585f687db
Merge pull request #119 from tomaka/fix-warnings
...
Fix the warnings
2017-01-03 15:53:01 +01:00
Pierre Krieger
7a097eddb5
Fix the warnings
2017-01-03 15:48:21 +01:00
tomaka
b8112e1436
Merge pull request #117 from tomaka/tuple-error
...
Proper tuple error handling
2016-12-28 10:21:37 +01:00
Pierre Krieger
fdd725b15f
Proper tuple error handling
2016-12-28 10:07:47 +01:00
tomaka
3000e5bed9
Merge pull request #114 from tomaka/string-in-lua
...
Add StringInLua type
2016-12-27 10:28:46 +01:00
Pierre Krieger
d985a19539
Add StringInLua type
2016-12-27 09:48:30 +01:00
tomaka
9f4891719a
Merge pull request #113 from tomaka/rustfmt
...
Run rustfmt on the code
2016-12-27 09:32:35 +01:00
Pierre Krieger
a6565120b0
Run rustfmt on the code
2016-12-27 09:18:03 +01:00
tomaka
90244ce48f
Merge pull request #112 from tomaka/lua-modules-small-fixes
...
Small changes to the rust-hl-lua-modules crate
2016-12-27 09:04:37 +01:00
Pierre Krieger
47ac001aec
Small changes to the rust-hl-lua-modules crate
2016-12-27 09:00:25 +01:00
tomaka
0e70e8c0a3
Merge pull request #111 from tomaka/0.3.1
...
Publish 0.3.1
2016-12-26 21:43:16 +01:00
Pierre Krieger
43a05d551c
Publish 0.3.1
2016-12-26 21:38:43 +01:00
tomaka
09b1e3feda
Merge pull request #110 from tomaka/simplify
...
Simplify the bounds of LuaTable::checked_set
2016-12-26 20:56:50 +01:00
tomaka
5277bfc138
Merge pull request #109 from tomaka/multiarg-call
...
Allow passing arguments to LuaFunction::call
2016-12-26 20:45:28 +01:00
Pierre Krieger
7fb6438df3
Simplify the bounds of LuaTable::checked_set
2016-12-26 20:42:51 +01:00