Commit Graph

65 Commits

Author SHA1 Message Date
halx99 8f83250ba4 Committing clang-format changes 2021-12-25 02:04:45 +00:00
halx99 6c30619021 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 52de9ba400 [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 1ee106007a Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 12f1f5929d Fix compile 2021-11-26 18:13:33 +08:00
halx99 41669f0a7f Improve skipBOM 2021-11-22 13:58:41 +08:00
halx99 251c95ff2d Fix cocos2dx_lua_loader 2021-11-17 20:59:12 +08:00
halx99 eb5dcb6cfc Refine cocos2dx_lua_loader logic 2021-11-16 14:12:32 +08:00
halx99 f7128789a0 Fix lua state usage 2021-11-15 19:05:08 +08:00
halx99 4b9ae12a7c Compatible lua getXXXSize API for get width,height from vec2 2021-11-12 19:12:29 +08:00
halx99 c6945c44e5 Add `CCValue` int64_t/uint64_t support 2021-11-09 14:29:15 +08:00
halx99 a49bba32ef Merge: 846231e2f1 cc1d09d04d
Merge pull request #521 from adxeproject/refine-lua-loader

Refactor lua loader, reload lua with file name as-is
2021-10-12 14:18:02 +08:00
halx99 8d2dd47cc6 Fix #522 2021-10-12 13:16:27 +08:00
halx99 8d0725c6b1 Remove unused 2021-10-12 13:12:44 +08:00
halx99 20a399c28c lua load, better code style 2021-10-12 13:07:05 +08:00
halx99 e7364964c4 lua loader, more better pefromance 2021-10-12 12:35:03 +08:00
halx99 ec275dce76 Remove unused 2021-10-12 12:18:38 +08:00
halx99 d8fdcc3be9 More standard 2021-10-12 12:11:48 +08:00
halx99 0b12c01019 Don't try different file ext, load as-is for lua load 2021-10-11 23:23:30 +08:00
halx99 dde1956e02 Reduce file exist check 2021-10-11 22:57:21 +08:00
halx99 ca7cc4f697 Refine lua loader 2021-10-11 22:34:41 +08:00
halx99 3474de5263 Fix ci 2021-10-11 13:44:28 +08:00
halx99 77404fd02a Code style 2021-10-11 12:15:41 +08:00
halx99 01f34d1e74 Fix mac build [skip ci] 2021-09-20 18:18:52 +08:00
姒嗘煶鏉? 35b658c90e Merge: f5663f279c d73d937894
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉? 0aff165959 [fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout. 2021-09-05 20:44:14 +08:00
halx99 764c17e86e LayerMultiplex use Node* to store layers
a. Layer no specificed functions
2021-09-03 11:13:15 +08:00
halx99 0cee74a4bf Fix part of #487 2021-09-02 11:43:27 +08:00
halx99 8a9b74fc4d Fix ci 2021-07-19 08:10:37 +08:00
halx99 af027f0161 Update lua_xml_http_request.cpp 2021-07-19 01:29:08 +08:00
halx99 6acbbaf80f Tidy thirdparty lua-cjson 2021-07-16 11:17:34 +08:00
halx99 4b7e098e65 Improve code quality 2021-07-16 11:04:38 +08:00
halx99 4d6ece53f2 Sync lua bindings [ci build] 2021-06-27 21:47:15 +08:00
halx99 72d1ba9ea6 Merge: df58dd753c 2397d54daf
Merge branch 'dev' into Chipmunk2D
2021-06-24 17:04:04 +08:00
aismann dbcb5816fe Add springs (draw), add Copyright, improve Chipmunk2d - Testbed 2021-06-24 09:54:02 +02:00
halx99 14dc7f05f9 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 cbb1df02c4 Improve Lua RTTI performance [ci build] 2021-06-18 12:23:10 +08:00
halx99 8b9a5acdf9 Fix lua include header 2021-05-18 19:56:36 +08:00
rh101 95cf5b5c2b Merge: 2aa2d69151 b7506fed0c
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101 54ffa13dff Move PosixFileStream class to its own files
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH 1e15ed4839 Merge: 2cef9f2e76 844119d162
Merge pull request #3 from c4games/master

Sync with master
2021-04-22 21:48:49 +10:00
rh101 7540c06fd3 Use FileStream to write JPG images to disk 2021-04-22 21:36:26 +10:00
halx99 8ed6d34234 Explicit set cmake minimum version at app/build.gradle [ci build] 2021-04-22 11:40:53 +08:00
rh101 2bf12b2226 Add support for virtual file system via custom FileStream and FileUtils implementations. 2021-04-22 03:15:49 +10:00
halx99 19ef72f788 Properly set gc mode for lua-5.4 [ci build] 2021-03-27 19:49:19 +08:00
halx99 984c164c57 Sync yasio to 3.35.0 [ci build] 2020-12-21 18:12:13 +08:00
aismann f38b271650 Update controller.cpp
"Node: Physics" using Chipmunk2D (hardcoded on e.g.: CCPhysicsBody.cpp)

Maybe a Wiki entry is also usefull?
2020-12-20 07:11:13 +01:00
halx99 b92c3d30c4 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 dd5f706dff Refine jni methods decls [ci build] 2020-11-18 13:25:00 +08:00
halx99 c12701da10 Merge: 53122216ee a708c2f904
Merge branch 'master' of https://github.com/c4games/engine-x
2020-11-18 12:16:36 +08:00