Commit Graph

1805 Commits

Author SHA1 Message Date
halx99 814971fd68 Fix encoding 2021-12-24 21:16:08 +08:00
halx99 1b02f8b4d3 Fix encodings 2021-12-24 21:11:44 +08:00
halx99 ef20898f9a Fix encodings 2021-12-24 20:50:31 +08:00
halx99 c40fce2bc1 Fix file text encoding 2021-12-24 20:43:40 +08:00
halx99 f3b9b5463b Fix encoding 2021-12-24 20:37:37 +08:00
deal 391305ca9e Create clang-format.yml 2021-12-24 20:16:30 +08:00
deal 12d63da6dc Delete Cocos2dxLocalStorage.java 2021-12-24 02:12:32 +08:00
halx99 0fd737c85f Update run.bat.in [skip ci] 2021-12-21 10:46:28 +08:00
halx99 555849be36 Improve templates, auto generate quick stater run.bat on windows 2021-12-21 10:41:33 +08: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 0adc8310aa Update README.md 2021-12-17 11:55:57 +08:00
halx99 fde5b021d4 Update CHANGELOG 2021-12-17 11:54:45 +08:00
halx99 c36f9b520c Update CHANGELOG 2021-12-17 00:25:54 +08:00
halx99 7e2672d308 Update README_CN.md 2021-12-16 19:04:17 +08:00
halx99 3e30f3f613 Update README.md 2021-12-16 19:03:57 +08:00
halx99 d2f6b795a6 Update adxe.cpp 2021-12-16 19:03:17 +08:00
halx99 3b79b58138 Update CHANGELOG 2021-12-16 19:02:43 +08:00
halx99 066b0834f2 Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua 2021-12-16 19:00:19 +08:00
halx99 b751d0e3fb Use std::string_view directly 2021-12-16 18:54:16 +08:00
halx99 e042449393 Add utils::computeDigest for support more hash algorithm 2021-12-16 11:14:39 +08:00
halx99 4db339115e Fix #550, #484
Invoke AudioEngine::end before Director destroyed, because it hold scheduler belong Director.
2021-12-15 16:56:08 +08:00
halx99 9b45f839a1 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 2367e99502 Delete obj-c style callback 2021-12-10 19:20:33 +08:00
halx99 52de9ba400 [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 742ee30c40 Add copyright notice
The any_buffer implementation is inspired by @denghe
2021-12-08 15:22:30 +08:00
halx99 95567be5db Fix #549 2021-12-08 15:16:19 +08:00
halx99 c9159c62fa Delete unused binding generator 2021-12-08 00:15:08 +08:00
halx99 1ee106007a Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 e04c478ce9 Don't allow Color3B to Color4B implicit 2021-12-06 21:19:45 +08:00
halx99 eb061bd845 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 52e4d8571b Improve code quality 2021-12-06 15:02:53 +08:00
halx99 7926f99655 Improve code style 2021-12-06 13:00:44 +08:00
halx99 3600011b43 Always enable string pooling for msvc 2021-12-04 13:45:25 +08:00
aismann 67d473e2d1 Improve performance on cpp-tests release version controlling COCOS2D_DEBUG 2021-12-01 15:03:57 +01:00
halx99 82a9baa718 Fix ci 2021-12-01 12:02:42 +08:00
halx99 c35c6c720b Improve code style 2021-12-01 11:49:42 +08:00
aismann 493cb44394 change all setString(const std::string & ...) to setString(std::string_view ...)
Change all methods inherited from virtual void setString(std::string_view label) = 0;
2021-11-30 20:35:34 +01:00
halx99 23e7140949 Update README.md 2021-11-29 22:04:31 +08:00
halx99 9472113664 Better use string_view, refer #543 2021-11-27 13:51:21 +08:00
halx99 72ac23b180 Use std::string_view instead const std::string&, refer #543
a. FontFreeType
b. ccUTF8
2021-11-27 11:08:08 +08:00
halx99 ea925ac746 Merge: 9930eef75a 2ca99fce0f
Merge pull request #542 from adxeproject/codebase-cpp17

Improve codebase to c++17
2021-11-26 19:17:04 +08:00
halx99 12f1f5929d Fix compile 2021-11-26 18:13:33 +08:00
halx99 ac937714e2 Improve codebase to c++17 2021-11-26 18:06:14 +08:00
halx99 3440cf804f More safe to store customGlyphs 2021-11-26 17:53:24 +08:00
halx99 fd5ed93093 Move ntcvt directory 2021-11-26 17:19:50 +08:00
halx99 cf76785517 Fix childrenIndexer not update when child detached 2021-11-25 16:27:43 +08:00
aismann dd8193428e Add Visual Studio 2022 2021-11-23 13:16:36 +01:00
halx99 1f10987b28 Improve logic for DownloaderCURL startTask 2021-11-23 19:01:20 +08:00
halx99 e3c8c7f8ca Fix #540 2021-11-23 12:53:13 +08:00
halx99 41669f0a7f Improve skipBOM 2021-11-22 13:58:41 +08:00