Commit Graph

14319 Commits

Author SHA1 Message Date
deal cc43b60bea
Fix ADXE_HAV_STDFS check 2021-12-30 18:33:14 +08:00
halx99 5d5670e83e Fix ci 2021-12-30 17:47:48 +08:00
halx99 a02cfaf5a8 Fix ios & android build 2021-12-30 17:34:37 +08:00
halx99 22d24b816b [FileUtils] performOperationOffthread needs deep copy std::string_view as std::string 2021-12-30 15:08:45 +08:00
halx99 107dde3422 Use c++17 stdfs implement listFiles instead tinydir 2021-12-30 14:59:57 +08:00
halx99 683aeaf57b Optional windows webview2 with `ADXE_ENABLE_WEBVIEW2` 2021-12-30 10:02:32 +08:00
halx99 b5b4b1e5d8 Committing clang-format changes 2021-12-29 11:31:28 +00:00
deal 1941a43dc9
Update javaactivity-android.cpp 2021-12-29 16:40:30 +08:00
halx99 1af24d1452 Improve jni call by jni.hpp
Generate literal signature avoid GC allocs
2021-12-29 16:08:20 +08:00
halx99 8fd4a8afc3 Fix android ci 2021-12-29 13:44:39 +08:00
halx99 f8ff6a8481 Tidy robin-map 2021-12-29 11:25:42 +08:00
halx99 bc85d545ee Update version 2021-12-28 21:28:04 +08:00
deal 8426d87838
Merge pull request #561 from adxeproject/dev
Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99 bec2e07a00 Fix #559, match number type for get CURLINFO_RESPONSE_CODE
a. On linux x64, will crash with stack protector

Reported by @rh101

Signed-off-by: halx99 <halx99@live.com>
2021-12-28 21:00:45 +08:00
halx99 d3edb0acef Fix CWE-126 2021-12-28 19:12:53 +08:00
halx99 a7e153c9b0 Fix ci 2021-12-28 19:10:50 +08:00
halx99 3dab9cb8b2 Fix ci 2021-12-28 19:01:28 +08:00
halx99 a1e348f173 string_view for ios 2021-12-28 18:21:18 +08:00
deal 7bb593deaf
Update hlookup.h 2021-12-28 18:10:22 +08:00
deal a982fdf3e6
Update hlookup.h 2021-12-28 17:59:44 +08:00
halx99 ff332f667a Fix ci 2021-12-28 17:52:41 +08:00
halx99 7ece7b2cea Improve code style 2021-12-28 17:18:54 +08:00
halx99 1c3ec2d68c string_view for apple 2021-12-28 11:48:48 +08:00
halx99 8584b40f16 string_view for apple 2021-12-28 11:17:53 +08:00
halx99 9eeeb151a1 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 460498fdbb string_view for osx 2021-12-28 10:49:14 +08:00
halx99 a0761b0a5d string_view for android 2021-12-27 19:24:35 +08:00
halx99 7cdfcafd2a string_view for android 2021-12-27 19:18:36 +08:00
halx99 8e644ef0b4 Modify fairygui for string_view 2021-12-27 15:10:29 +08:00
halx99 01310bf1b1 Modify some extensions for string_view 2021-12-27 13:52:08 +08: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 8a813ca436 Fix file text encoding 2021-12-24 20:43:40 +08:00
halx99 8c100c2fba Fix encoding 2021-12-24 20:37:37 +08:00
deal 51498fb4d1
Delete Cocos2dxLocalStorage.java 2021-12-24 02:12:32 +08:00
halx99 089865fc9f
Update adxe.cpp 2021-12-16 19:03:17 +08:00
halx99 2d15d9d447 Use std::string_view directly 2021-12-16 18:54:16 +08:00
halx99 5c28896003 Add utils::computeDigest for support more hash algorithm 2021-12-16 11:14:39 +08:00
halx99 8ab6ad0139 Fix #550, #484
Invoke AudioEngine::end before Director destroyed, because it hold scheduler belong Director.
2021-12-15 16:56:08 +08:00
halx99 5f7392a8e6 Improve any_buffer code quality
a. Fix warnings: try delete void*
b. Only allow used by trivially_destructible types

Reported by @wzhengsen
2021-12-13 20:33:50 +08:00
halx99 e2f13576ae Delete obj-c style callback 2021-12-10 19:20:33 +08:00
halx99 2e0cc940ee [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 eeeb5496fa
Add copyright notice
The any_buffer implementation is inspired by @denghe
2021-12-08 15:22:30 +08:00
halx99 dffe96ce1f Fix #549 2021-12-08 15:16:19 +08:00
halx99 b459acbcf7 Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 c3e94eddfa
Don't allow Color3B to Color4B implicit 2021-12-06 21:19:45 +08:00
halx99 70334a02be Change DrawNode api color from Color4F to Color4B
a. Color4B is low level type before upload to GPU
b. Enable implicit convert from Color4F to Color4B

Inspired by @Denghe.NET
2021-12-06 21:09:15 +08:00
halx99 232387ac11 Improve code quality 2021-12-06 15:02:53 +08:00
halx99 a95a00e96b Improve code style 2021-12-06 13:00:44 +08:00
halx99 00d8a4ef5d
Fix ci 2021-12-01 12:02:42 +08:00