247 Commits

Author SHA1 Message Date
2e0f089611 add nf7::Mutex 2023-08-18 13:58:22 +09:00
95b8f26b77 add Exception::MakePtr 2023-08-18 13:32:24 +09:00
5317ccbbe8 Merge pull request 'fix/145-leak-fix' (#147) from fix/145-leak-fix into main
Reviewed-on: #147
2023-08-16 13:37:22 +00:00
8c6f4acda2 fix leak of uv loop 2023-08-16 22:36:41 +09:00
76f536757f fix an issue that Value object is not destructed in luajit 2023-08-16 22:36:19 +09:00
02539d8cde Merge pull request 'feat/140-uv-para' (#146) from feat/140-uv-para into main
Reviewed-on: #146
2023-08-16 13:33:50 +00:00
1677f92a13 fix error handling 2023-08-16 22:33:33 +09:00
63c4aa078d fix compiler errors 2023-08-16 21:53:56 +09:00
679722d2a6 fix docker-compose.yml to enter a container as a normal user 2023-08-16 21:35:20 +09:00
b9ba21443c add uv::Parallelism 2023-08-16 21:26:09 +09:00
2f824ebac0 enhance uv::Context::Make() to allow passing params 2023-08-16 21:25:55 +09:00
5e1c3f0c28 add a unittest to test if sync tasks are executed in order 2023-08-16 21:25:07 +09:00
da353de894 Merge pull request 'add exception property to logger item' (#143) from feat/142-logger-exception into main
Reviewed-on: #143
2023-08-16 09:48:08 +00:00
08154d127a add exception property to logger item 2023-08-16 18:48:23 +09:00
2f72422afe Merge pull request 'uv::concurrency' (#141) from feat/139-uv-concur into main
Reviewed-on: #141
2023-08-16 03:33:20 +00:00
62d44dae63 simplify uv::Context::Exit() 2023-08-16 12:31:42 +09:00
ad7683fd44 add uv::Concurrency 2023-08-16 12:29:31 +09:00
a7411c1154 add uv::Clock 2023-08-16 12:29:29 +09:00
4532d321c3 add uv::Context 2023-08-16 12:28:56 +09:00
fb2745e37d disable tests for thirdparty libs 2023-08-15 10:40:26 +09:00
2e6dbf7bc0 add new thirdparty lib, uvw 2023-08-14 22:45:31 +09:00
814934d36b Merge pull request 'fix an issue that async context can cause condition race' (#138) from fix/137-luajit-ctx into main
Reviewed-on: #138
2023-08-14 13:00:50 +00:00
6d39fa975d fix an issue that async context can cause condition race 2023-08-14 21:59:33 +09:00
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