Commit Graph

155 Commits

Author SHA1 Message Date
halx99 f79530837b Committing genbindings changes 2022-06-09 09:21:12 +00:00
halx99 c81b38c52d Committing genbindings changes [skip ci] 2022-06-09 08:51:15 +00:00
halx99 97f198e61e Committing genbindings changes [skip ci] 2022-05-25 02:36:38 +00:00
halx99 c8add4c398 Committing genbindings changes [skip ci] 2022-05-18 05:00:01 +00:00
halx99 c584ee1e78 Enable video & webview lua-tests on windows 2022-05-18 12:52:05 +08:00
一线灵 3e96abe899
Fix include 2022-05-16 08:06:51 +08:00
halx99 a0990c02fd Committing genbindings changes [skip ci] 2022-05-13 13:15:09 +00:00
halx99 30a164c31a Improvements and bug fixes
Improve ResizableBufferAdapter style

    Improve extesnion adxelua

    Improve code quality

    Fix lua-tests BillBoardTest

    Sync texture pixel format enum values for adxelua

    Fix luaval_to_vec2 parameter location

    Improve windows workflow

    Improve cmake scripts

    Take care Texture2D::setDefaultAlphaPixelFormat use
2022-05-13 21:06:29 +08:00
halx99 9b0e0d5f87 Committing genbindings changes [skip ci] 2022-04-28 04:20:11 +00:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 808707920e Committing genbindings changes [skip ci] 2022-04-25 01:43:44 +00:00
halx99 89a7e489fc Improve LuaObjcBridge 2022-03-25 10:35:18 +08:00
halx99 4611d5597c Committing genbindings changes [skip ci] 2022-03-18 14:27:43 +00:00
halx99 650a3b4967 Committing genbindings changes [skip ci] 2022-03-18 13:52:57 +00:00
halx99 80989dc7cb Committing genbindings changes [skip ci] 2022-02-24 11:08:25 +00:00
halx99 f37ae2d8eb Update project urls 2022-02-24 18:51:36 +08:00
halx99 5b2eb79456 Update project urls 2022-02-24 18:45:25 +08:00
halx99 67fad92cbf Update plainlua to 5.4.4, pugixml to 1.12.1 2022-02-17 18:06:19 +08:00
halx99 403d592018 Committing genbindings changes [skip ci] 2022-02-15 23:01:37 +00:00
deal e7d683958b
Fix #584 2022-02-12 19:56:00 +08:00
deal 0777da8863
Delete unused 2022-01-23 11:01:42 +08:00
halx99 bca3a82eea Fix lua_xml_http_request dataSize incorrect 2022-01-18 18:39:58 +08:00
halx99 3d7218a0eb Fix #570
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
halx99 3282e1abaf Improve vec2, vec3, vec4 lua storage
a. store as fixed size array
b. use metatable access via: x, y, z, w
c. For vec2
  - vec2[0] could be access via x or w(idth) or u
  - vec2[1] could be access via y or h(eight) or v
2022-01-03 22:06:49 +08:00
halx99 a651879ee6 Tidy audio folder 2022-01-03 11:34:58 +08:00
halx99 6b70fc5ff3 Fix ci 2021-12-31 16:29:11 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00
halx99 f95ed06187 Improve string_view for some file 2021-12-30 09:48:39 +08:00
halx99 ce5adf35f7 Committing clang-format changes 2021-12-28 08:06:23 +00:00
halx99 8e8affab5e string_view for lua bindings 2021-12-28 15:46:32 +08:00
halx99 f785632497 Merge commit 2021-12-28 11:07:12 +08:00
halx99 d397854ead Commit chnages 2021-12-28 11:05:34 +08:00
halx99 9eeeb151a1 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 0076283252 Huge changes for all string_view 2021-12-26 23:26:34 +08:00
halx99 2ba77a42fb Committing clang-format changes 2021-12-25 02:04:45 +00:00
halx99 b4bedd24d0 Improve starter lua template HellLua
a. Use lua search path for scripts instead FileUtils
b. Put new lua search path to front of LuaStack
2021-12-19 14:59:00 +08:00
halx99 2e0cc940ee [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 b459acbcf7 Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 9930eef75a Fix compile 2021-11-26 18:13:33 +08:00
halx99 778dc7e2b9
Improve skipBOM 2021-11-22 13:58:41 +08:00
halx99 9e35b0a1e2 Fix cocos2dx_lua_loader 2021-11-17 20:59:12 +08:00
halx99 8e1087a987 Refine cocos2dx_lua_loader logic 2021-11-16 14:12:32 +08:00
halx99 3c5224220f Fix lua state usage 2021-11-15 19:05:08 +08:00
halx99 bc4dccff9b Compatible lua getXXXSize API for get width,height from vec2 2021-11-12 19:12:29 +08:00
halx99 95a1734cd7 Add `CCValue` int64_t/uint64_t support 2021-11-09 14:29:15 +08:00
halx99 cc1d09d04d Remove unused 2021-10-12 13:12:44 +08:00
halx99 dfd93f6a10 lua load, better code style 2021-10-12 13:07:05 +08:00
halx99 9b88d72331 lua loader, more better pefromance 2021-10-12 12:35:03 +08:00
halx99 b98c496221 Remove unused 2021-10-12 12:18:38 +08:00
halx99 9fa030b5e9 More standard 2021-10-12 12:11:48 +08:00
halx99 bfd5577753 Don't try different file ext, load as-is for lua load 2021-10-11 23:23:30 +08:00
halx99 5b3979a8ef Reduce file exist check 2021-10-11 22:57:21 +08:00
halx99 0b7ff8d9ea Refine lua loader 2021-10-11 22:34:41 +08:00
halx99 b99a445519 Fix ci 2021-10-11 13:44:28 +08:00
halx99 c38681bdd0 Code style 2021-10-11 12:15:41 +08:00
halx99 1ada732ffc Use lua-5.4.3 as default plainlua version
see also: #332
2021-10-08 16:15:33 +08:00
halx99 23b6c1d549 Fix mac build [skip ci] 2021-09-20 18:18:52 +08:00
halx99 7cc2d34398 LayerMultiplex use Node* to store layers
a. Layer no specificed functions
2021-09-03 11:13:15 +08:00
rh101 69d6039306 Update lua bindings 2021-09-02 21:24:45 +10:00
rh101 de182c8360 Change %ld to %d for 32bit data types
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
halx99 d197e8b245 Fix part of #487 2021-09-02 11:43:27 +08:00
halx99 cb81a61530 Refactor layer
Reimplement LayerColor and LayerGradient based on sprite for auto batch draw
2021-08-30 19:47:53 +08:00
halx99 bd436ae078 Fix lua build for win64 and 1 warning 2021-08-27 11:41:11 +08:00
rh101 7ef0ec96bf Update LUA bindings 2021-08-18 01:01:56 +10:00
halx99 16e3d66a66 Update lua bindings 2021-08-14 13:22:03 +08:00
halx99 c5aeed4c06 Update lua bindings 2021-08-13 20:36:10 +08:00
halx99 484549b801 Fix ci 2021-07-19 08:10:37 +08:00
halx99 d90dfd89e0
Update lua_xml_http_request.cpp 2021-07-19 01:29:08 +08:00
halx99 0e215e77bb Tidy thirdparty lua-cjson 2021-07-16 11:17:34 +08:00
halx99 092b24e591 Improve code quality 2021-07-16 11:04:38 +08:00
halx99 5a78eeda36 Sync lua bindings [ci build] 2021-06-27 21:47:15 +08:00
halx99 a379f936d8
Reimplement HttpClient based on yasio (#390)
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request

* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code

* [WIP] Reimplement HttpClient based on yasio [ci build]

* [WIP] Fix ci [ci build]

* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support

* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works

* Update HttpClient.cpp

* HttpClientTest: enable sslVerifaction test

* Update HttpResponse.h

* Sync luabindings [ci build]

* Add chrome UA test

* Fix ci [ci build]

* The timer for read timeout should be associated with per channel

* Remove unused function

* Update url
2021-06-24 12:33:07 +08:00
halx99 7ee1785858 Improve Lua RTTI performance [ci build] 2021-06-18 12:23:10 +08:00
halx99 8528090af5 Fixup [ci build] 2021-06-08 22:15:21 +08:00
halx99 73df034804 Rename external to thirdparty [ci build] 2021-06-08 20:45:55 +08:00
halx99 13d187c174 Fix lua include header 2021-05-18 19:56:36 +08:00
HALX99 a42f9ac25c
Renaming refactor (#353) [ci build] 2021-05-18 16:40:30 +08:00
halx99 dff3aff1e4 Update lua script 2021-04-25 22:37:52 +08:00
halx99 e8c1d7bc2c Set cmake min version to 3.10 [ci build] 2021-04-21 14:05:44 +08:00
halx99 958f6c3a93 Properly set gc mode for lua-5.4 [ci build] 2021-03-27 19:49:19 +08:00
halx99 a5cf017e0f Lua 5.4 compatible 2021-03-13 16:47:09 +08:00
halx99 f771a92ca2 lua api compatible 2021-01-09 18:32:22 +08:00
halx99 c44d94a2b2 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 ca42ef08ba Refine jni methods decls [ci build] 2020-11-18 13:25:00 +08:00
halx99 1051d38562 Merge branch 'master' of https://github.com/c4games/engine-x 2020-11-18 12:16:36 +08:00
halx99 53122216ee Add missing param JNIEnv* for natvie interfaces [ci build] 2020-11-18 12:15:48 +08:00
halx99 a708c2f904 Improve lua framework code 2020-11-17 23:17:40 +08:00
halx99 cd34ea9c4d fix compile issue 2020-11-16 14:19:56 +08:00
wtfdnvxk f5fcd5592c
Update lua_module_register.cpp
extend lua by register extensions
2020-11-11 16:53:00 +08:00
halx99 d1f0a287ac Remove ENABLE_CJSON_GLOBAL from cmake 2020-11-11 16:37:33 +08:00
halx99 0bc8728342 mandatory yasio for lua bindings 2020-11-11 15:51:46 +08:00
halx99 e0a36031c9 fix cjson can't use 2020-11-11 15:21:29 +08:00
halx99 d5d11d203a fix lua bindings [ci build] 2020-11-04 19:35:58 +08:00
halx99 9d0cb09f5d Remove Sprite::updateShaders [ci build] 2020-10-31 20:08:32 +08:00
halx99 863bd35676 Finish #244 2020-10-25 16:25:08 +08:00
halx99 975ef2ff61 Lock name 2020-10-24 21:57:36 +08:00
halx99 b8834bc086 Finsih rename 2020-10-22 10:58:10 +08:00
halx99 c9dda9145e fix lua bindings build 2020-10-21 17:58:05 +08:00
halx99 25cc511532 fix lua build link on android 2020-10-19 23:21:40 +08:00
halx99 bd76794a36 fix lua compile on android, link needs to fix later 2020-10-19 20:01:13 +08:00