|
a307fe076b
|
Merge pull request 'allow nf7::Exception to take dynamic string' (#136) from feat/124-exception-dstr into main
Reviewed-on: #136
|
2023-08-13 04:12:26 +00:00 |
|
|
1ec5e9c03e
|
allow nf7::Exception to take dynamic string
|
2023-08-13 13:11:24 +09:00 |
|
|
c2fb269d40
|
Merge pull request 'feat/104-logger' (#135) from feat/104-logger into main
Reviewed-on: #135
|
2023-08-13 04:03:09 +00:00 |
|
|
8a783c87a4
|
add log output to tell error cause after abortion of luajit::Lambda
|
2023-08-13 13:02:51 +09:00 |
|
|
281f70adb4
|
add unittest for a case when ctx:sleep is called without clock
|
2023-08-13 13:00:55 +09:00 |
|
|
a3043963da
|
add a test for logging from luajit::Lambda
|
2023-08-13 12:54:36 +09:00 |
|
|
aa73fb50a5
|
remove clock object from test environment for luajit::Context
|
2023-08-13 12:54:36 +09:00 |
|
|
782171268a
|
fix an issue that luajit::Lambda doesn't work if clock is not installed
|
2023-08-13 12:54:36 +09:00 |
|
|
1aa14f541e
|
enhance SimpleContainer to use with fallback container
|
2023-08-13 12:54:36 +09:00 |
|
|
295bb7c5f0
|
add logging feature to luajit::Lambda
|
2023-08-13 12:54:36 +09:00 |
|
|
32fc72824b
|
add NullLogger
|
2023-08-13 12:54:36 +09:00 |
|
|
e6d9d2205d
|
add new subsystem interface, Logger
|
2023-08-13 12:54:36 +09:00 |
|
|
d0f0955c47
|
Merge pull request 'feat/127-luajit-sleep' (#134) from feat/127-luajit-sleep into main
Reviewed-on: #134
|
2023-08-06 08:07:51 +00:00 |
|
|
db0917c5ac
|
add ctx:sleep()
|
2023-08-06 17:05:32 +09:00 |
|
|
a9795d79dd
|
install Clock to env in ContextFixture
|
2023-08-06 17:04:54 +09:00 |
|
|
6fcd57ba9b
|
improve ContextFixture to wait for a task queue to be empty
|
2023-08-06 17:04:28 +09:00 |
|
|
3a3adbcde6
|
fix an issue that delay is not applied to tasks pushed to luajit context
|
2023-08-06 17:02:08 +09:00 |
|
|
b2928ae25f
|
add SimpleTaskQueue::size()
|
2023-08-06 17:00:38 +09:00 |
|
|
e4997f74b3
|
Merge pull request 'add subsys::Clock' (#133) from feat/105-clock into main
Reviewed-on: #133
|
2023-08-06 07:04:20 +00:00 |
|
|
6413588df6
|
add subsys::Clock
|
2023-08-06 16:02:52 +09:00 |
|
|
71046a14ef
|
Merge pull request 'feature/129-leak-guard' (#130) from feature/129-leak-guard into main
Reviewed-on: #130
|
2023-08-06 01:45:55 +00:00 |
|
|
7a2774b09d
|
add LeakDetector feature to luajit::Context, luajit::Thread, and nf7::Lambda
|
2023-08-06 10:43:50 +09:00 |
|
|
51b550ae26
|
add LeakDetector
|
2023-08-06 10:43:14 +09:00 |
|
|
2c671d65c4
|
wrap class defs in cc files with anonymous namespace
|
2023-08-06 10:28:29 +09:00 |
|
|
cb2810051d
|
Merge pull request 'feat/108-luajit-lambda' (#126) from feat/108-luajit-lambda into main
Reviewed-on: #126
|
2023-08-06 00:38:23 +00:00 |
|
|
585f0daecd
|
add unittests for nf7:value
|
2023-08-06 09:36:41 +09:00 |
|
|
9ac5907687
|
improve error message of nf7:value() function
|
2023-08-06 09:28:31 +09:00 |
|
|
90a543cd75
|
add luajit::Lambda
|
2023-08-06 09:27:35 +09:00 |
|
|
1bcbd786f5
|
add nf7::Value::operator==
|
2023-08-06 07:38:10 +09:00 |
|
|
ca16c6948a
|
fix an issue that ConsumeTasks() ends before all tasks consumed
|
2023-08-05 23:23:47 +09:00 |
|
|
1319a81ce2
|
add luajit::TaskContext::Push(const nf7::Value&)
|
2023-08-05 23:22:38 +09:00 |
|
|
cf3898d7bf
|
add nf7:assert to luajit std table
|
2023-08-05 22:07:16 +09:00 |
|
|
ed73ab63fe
|
implement Push for nf7::Value
|
2023-08-05 22:06:36 +09:00 |
|
|
528d181cbf
|
set immutable environment for lua threads
|
2023-08-05 21:44:20 +09:00 |
|
|
8ebb5871e6
|
add luajit::Context to Env in ContextFixture
|
2023-08-05 20:46:09 +09:00 |
|
|
9402501708
|
separate kFinished state of Thread into kExited and kAborted
|
2023-08-05 20:42:09 +09:00 |
|
|
4fd6b17936
|
enhance Exception to print exception stack on stream
|
2023-08-05 20:41:04 +09:00 |
|
|
73cb7e7412
|
fix an issue that ConsumeTasks() may end before end of the last task execution
|
2023-08-05 11:25:36 +09:00 |
|
|
ca2ad884e9
|
improve luajit::test::ContextFixture to consume async tasks on worker thread instead of main
|
2023-08-05 11:18:05 +09:00 |
|
|
2aef087d02
|
add SimpleTaskQueue::WaitForEmpty()
|
2023-08-05 11:17:25 +09:00 |
|
|
cc51952268
|
add luajit::Thread
|
2023-08-05 10:22:12 +09:00 |
|
|
6f6aa557fd
|
add luajit::TaskContext::Push() methods
|
2023-08-05 10:17:54 +09:00 |
|
|
6d39015047
|
improve luajit::TaskContext::Query
|
2023-08-05 10:15:13 +09:00 |
|
|
69a0ca1fd0
|
Merge pull request 'feat/122-lambda-base' (#123) from feat/122-lambda-base into main
Reviewed-on: #123
|
2023-08-01 12:19:48 +00:00 |
|
|
7beef09f2b
|
fix file order in cmake script
|
2023-08-01 21:19:49 +09:00 |
|
|
fdb3e28eec
|
add unittests for LambdaBase
|
2023-08-01 21:15:55 +09:00 |
|
|
ac9e2af70e
|
add LambdaBase
|
2023-08-01 21:15:55 +09:00 |
|
|
3089bccf55
|
add copy-constructor version of Observer::Target::Notify
|
2023-08-01 21:15:55 +09:00 |
|
|
eafa05fbf5
|
remove fields from DealerMeta
they are unnecessary because lambda no longer has multiple takers/makers
|
2023-08-01 21:15:55 +09:00 |
|
|
03981f2cd9
|
add noexcept specifier to Observer::Notify() methods
|
2023-08-01 20:49:16 +09:00 |
|