247 Commits

Author SHA1 Message Date
6d36cc7669 implement transpiling ImDrawList 2023-11-19 01:04:02 +09:00
a4a419c73b update ImGui to v1.9 2023-11-19 01:03:46 +09:00
c69e652716 tidy imgui4lua.py 2023-11-18 23:32:47 +09:00
f33a2cf32b Merge pull request 'fix/173-env' (#182) from fix/173-env into main
Reviewed-on: #182
2023-11-05 03:42:53 +00:00
2eb17d8db9 fix an issue that tests for ImGuiLuaJITDriver doesn't finish 2023-11-05 12:41:00 +09:00
b4b121cebd install LeakDetector to LazyContainer
to detect circular dependency caused by LazyEnv and MetaEnv
2023-11-03 20:19:36 +09:00
b9c1dc095f add FixedContainer 2023-11-03 20:04:11 +09:00
ac02773d60 improve LazyContainer to hold an ownership of the fallback instance 2023-11-03 19:17:56 +09:00
0e1dc34937 rename SimpleEnv to LazyEnv 2023-11-03 19:03:36 +09:00
56b37fad43 Merge pull request 'improve a policy of exception handling' (#181) from feat/174-exception into main
Reviewed-on: #181
2023-10-28 02:07:22 +00:00
fb56d47260 improve a policy of exception handling 2023-10-28 11:03:57 +09:00
aab28267d3 Merge pull request 'improve git-hash cmake script to detect pre-commit changes properly' (#180) from fix/git-hash-cmake into main
Reviewed-on: #180
2023-10-22 12:36:38 +00:00
bda7fa4879 improve git-hash cmake script to detect pre-commit changes properly 2023-10-22 21:25:14 +09:00
1d9fb74368 Merge pull request 'feat/169-lua-imgui' (#176) from feat/169-lua-imgui into main
Reviewed-on: #176
2023-10-22 02:39:53 +00:00
7a5e51d948 support overloaded imgui functions 2023-10-22 11:29:24 +09:00
40feab49a8 allow transpiling bit flags in imgui4lua 2023-10-17 13:25:57 +09:00
71c73f70f1 improve luajit context to do GC while idle 2023-10-17 12:55:48 +09:00
671a5e9903 implement building luajit extension of imgui 2023-10-17 00:09:51 +09:00
72cf28cd14 allow value instance in luajit to retrieve lua object from itself 2023-10-17 00:09:06 +09:00
c5d6dd996f allow luajit::Value to push itself directly by lua_State 2023-10-17 00:07:42 +09:00
99f3e039dc add a script to transpile imgui header from cpp to lua 2023-10-17 00:05:40 +09:00
ff2b85184e remove remained TODO mark 2023-10-16 23:45:54 +09:00
1080adbde0 Merge pull request 'feat/169-lua-imgui' (#175) from feat/169-lua-imgui into main
Reviewed-on: #175
2023-10-08 14:27:21 +00:00
668b88c6c3 install leak detector feature to luajit::Value 2023-10-08 23:20:55 +09:00
21b7858996 fix an issue that concurrency tasks in drivers env aren't executed after tearing down of imgui context 2023-10-08 23:20:04 +09:00
9560b3427c add imgui::LuaJITDriver 2023-10-05 23:33:49 +09:00
dca176988d enhance Value to allow taking shared_ptr of types inheriting Value::Data 2023-10-05 22:52:16 +09:00
abd9bc615f improve an error message of 'missing dependency' error 2023-10-05 22:51:29 +09:00
81f9bda412 add Future::Completer::RunAfter() 2023-10-05 15:08:59 +09:00
ff529a521a enhance core::Maker to allow forwarding a value from its super instance 2023-10-05 14:11:24 +09:00
d2a2e635a7 add Observer::Forwarder 2023-10-05 14:11:24 +09:00
2108ca3210 add luajit::Value::MakeFunction 2023-10-05 14:11:24 +09:00
37b250b730 enhance syntax of handling Future 2023-10-05 14:11:24 +09:00
b47843e943 separate luajit::Value definition to new file 2023-10-02 23:02:47 +09:00
2cbb6c9d2b set a base of luajit::Value as nf7::Value::Data 2023-10-02 22:53:02 +09:00
7777394da1 allow nf7::Value to hold a custom data type 2023-10-02 22:53:02 +09:00
33889c7031 add driversEnv property to imgui context 2023-10-02 22:53:02 +09:00
fba6d51901 Merge pull request 'feat/171-env-shared' (#172) from feat/171-env-shared into main
Reviewed-on: #172
2023-10-02 13:47:32 +00:00
57fab75afc support various constructors of concrete types in SimpleContainer 2023-10-02 22:46:52 +09:00
a7658a072e assume that life of all containers are managed by shared_ptr 2023-10-02 22:32:31 +09:00
9bae60011e improve container implementation 2023-10-02 22:08:51 +09:00
ab9e7f4a3d Merge pull request 'feat/165-gui' (#168) from feat/165-gui into main
Reviewed-on: #168
2023-09-30 05:31:20 +00:00
74f740d87e add ContextFixture for testing with imgui context 2023-09-30 14:30:48 +09:00
a733f94dad improve an interface of EnvFixture 2023-09-30 14:29:43 +09:00
117b117dfa enhance factory method of luajit::Context 2023-09-24 16:38:26 +09:00
b279b02327 add imgui::Context 2023-09-23 19:37:20 +09:00
d8cd074f40 add new thirdparty lib, opengl 2023-09-23 19:24:45 +09:00
d385726ae6 fix gl3 context interface to make it more flexible 2023-09-18 15:38:05 +09:00
27ed0f86b4 Merge pull request 'feat/165-gui' (#167) from feat/165-gui into main
Reviewed-on: #167
2023-09-18 03:57:00 +00:00
5fb2a2920b remove unused header includes 2023-09-18 12:57:18 +09:00