26 Commits

Author SHA1 Message Date
5c84d95139 improve an NodeRootLambda interface on LuaJIT 2022-09-30 17:52:32 +09:00
f96188ef14 rename NodeRootSelectLambda -> NodeRootLambda
and improve common/luajit.hh
2022-09-30 17:18:46 +09:00
7d696cfbd9 remove unused headers 2022-09-30 16:29:15 +09:00
5ef347fa2e fix an issue that global table is not applied in lua's main thread 2022-09-26 12:31:06 +09:00
2082a6e482 enhance Future::Then() 2022-09-26 02:15:13 +09:00
589cd4b4fc add NodeRootSelectLambda and remove luajit::Thread::Lambda 2022-08-31 15:04:49 +09:00
6ad8eb6230 fix issues in LuaJIT builtin library 2022-08-28 16:12:57 +09:00
d41fd1c47b fix issues of LuaJIT/Node 2022-08-28 01:03:33 +09:00
3539181650 fix an issue that LuaJIT::Thread gets into dead locked by using CreateNodeLambdaHandler 2022-08-27 19:02:21 +09:00
901f5c4ab9 implement UpdateWidget() to Node/Imm 2022-08-27 00:31:16 +09:00
a703ba3bbc replace to nf7:yield() from a custom type of Node::Lambda in Lua script 2022-08-27 00:26:30 +09:00
1713b11ac8 implement Node interface to System/NativeFile
and remove some useless headers
2022-08-25 12:31:13 +09:00
cec3f79321 implement lua object as Value
remove LuaJIT/Obj
remove nf7::luajit::Obj
add nf7::NodeRootLambda
2022-08-24 19:18:02 +09:00
f3b2e67170 add luajit::Ref::PushSelf() 2022-08-24 10:38:19 +09:00
e46101e2ea allow ExecAsync to take a timeout
and Add time.now() and nf7:sleep() to LuaJIT environment
2022-08-18 09:34:36 +09:00
8e3736bc52 ensure thread active before operation 2022-08-02 11:56:07 +09:00
af487d52eb implement querying Node interface to create Lambda from Lua script 2022-07-31 00:02:46 +09:00
f3d9973a66 remove unused features to simplify the codes 2022-07-29 16:11:56 +09:00
cf2e165c10 add comments to tidy the codes 2022-07-28 12:06:20 +09:00
2152203bd7 implement querying an external Lua object from LuaJIT/Obj file
rename nf7:lock() -> nf7:query()
2022-07-28 11:16:44 +09:00
f86c7c6b2e implement nf7:lock() in Lua script 2022-07-26 17:34:58 +09:00
2f53f774ea implement nf7:resolve() in Lua script 2022-07-26 10:10:40 +09:00
b1117ccea9 implement Logger API for Lua 2022-07-02 23:15:33 +09:00
faa113d054 use luajit::Thread::Holder in LuaJIT/Node 2022-06-19 09:39:55 +09:00
8e8393c22f allow nf7::luajit::Thread to have a file 2022-06-19 00:43:42 +09:00
64834f2b4c implement pushing weak_ptr into Lua stack 2022-06-18 22:19:00 +09:00