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