Richard W.M. Jones
2434a86da4
lua: tests: If $LUA is not set, set it to 'lua' instead of '/usr/bin/lua'.
2012-12-18 08:55:06 +00:00
Richard W.M. Jones
3f88f88c80
lua: Fix misapplied patch.
...
This fixes commit 5b70120293 .
2012-12-18 08:53:34 +00:00
Hilko Bengen
5b70120293
lua: Use correct binary for tests
2012-12-17 22:24:53 +01:00
Hilko Bengen
05103cc693
lua: Use pkg-config to determine Lua version, parameters
2012-12-17 22:24:52 +01:00
Richard W.M. Jones
12905a9bbb
lua: valgrinding Lua code doesn't work.
...
See comment.
2012-11-20 18:31:45 +00:00
Richard W.M. Jones
1f98450995
lua: Attach __tostring functions exceptions.
...
This includes a test.
2012-11-20 17:32:37 +00:00
Richard W.M. Jones
ca488a6d7b
lua: Various fixes to the bindings (thanks Jerome Vuarand).
...
See http://article.gmane.org/gmane.comp.lang.lua.general/95065
Note that this is incompatible with existing code. You
have to do:
local G = require "guestfs"
local g = G.create ()
ie. give the module your own name ("G" in that example).
2012-11-20 16:34:23 +00:00
Richard W.M. Jones
7f1f7dd44f
lua: Add bindtests.
2012-11-20 14:11:47 +00:00
Richard W.M. Jones
fdfdc883fc
lua: Document Guestfs.event_all.
2012-11-19 18:19:29 +00:00
Richard W.M. Jones
e866ee7c79
erlang, lua: Fix links in man pages.
2012-11-19 18:16:08 +00:00
Richard W.M. Jones
556fc92e8a
lua: Test globals in Guestfs.* namespace.
2012-11-19 17:13:14 +00:00
Richard W.M. Jones
bc03a48c71
lua: Add global Guestfs.event_all (list of all events).
2012-11-19 17:11:27 +00:00
Richard W.M. Jones
f77ddb9e11
lua: Various fixes and enhancements:
...
- add support for events (with test)
- test progress messages
- update documentation to describe events
- refactor handle closing code
- refactor error code
- use 'assert' in test code instead of 'if ... then error end'
2012-11-19 14:01:40 +00:00
Richard W.M. Jones
6e5916e0f4
lua: examples: Boolean true shouldn't have quotes around it.
2012-11-18 19:24:20 +00:00
Richard W.M. Jones
6483c506b9
lua: Add another test to prove that the handles are really independent.
2012-11-18 16:45:44 +00:00
Richard W.M. Jones
4ba8b5a00d
lua: Add some missing features.
...
- Remove default error handler.
- User cancel.
- Add the errno to the object which is thrown on error.
Still no events.
2012-11-17 21:28:43 +00:00
Richard W.M. Jones
ff8bfd3e92
Add Lua bindings.
...
These are relatively complete, although only lightly tested. Missing:
- events
- last_errno
- user_cancel
2012-11-17 20:02:42 +00:00