Commit Graph

888 Commits

Author SHA1 Message Date
deal ece942262c Update javaactivity-android.cpp 2021-12-29 16:40:30 +08:00
halx99 ad6d67ee0f Improve jni call by jni.hpp
Generate literal signature avoid GC allocs
2021-12-29 16:08:20 +08:00
halx99 8710707a3e Fix android ci 2021-12-29 13:44:39 +08:00
halx99 59c33c5321 Tidy robin-map 2021-12-29 11:25:42 +08:00
halx99 cf9f4b342b Update version 2021-12-28 21:28:04 +08:00
deal a813aac10e Merge: 6639f55c0f bec2e07a00
Merge pull request #561 from adxeproject/dev

Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99 13927aa1bc 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 c7682a1ac5 Fix CWE-126 2021-12-28 19:12:53 +08:00
halx99 36e3a924a6 Fix ci 2021-12-28 19:10:50 +08:00
halx99 cc5460c00a Fix ci 2021-12-28 19:01:28 +08:00
halx99 b17ae5e581 string_view for ios 2021-12-28 18:21:18 +08:00
deal 978f3da7ec Update hlookup.h 2021-12-28 18:10:22 +08:00
deal b4f352b228 Update hlookup.h 2021-12-28 17:59:44 +08:00
halx99 4e4818f7f1 Fix ci 2021-12-28 17:52:41 +08:00
halx99 5fc2f27bba Improve code style 2021-12-28 17:18:54 +08:00
halx99 60cea769f9 string_view for apple 2021-12-28 11:48:48 +08:00
halx99 483dd5d77f string_view for apple 2021-12-28 11:17:53 +08:00
halx99 6bba4ce24b Merge: d397854ead 9eeeb151a1
Merge commit
2021-12-28 11:07:12 +08:00
halx99 c93849c6de Commit chnages 2021-12-28 11:05:34 +08:00
halx99 f905bf5c23 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 d0f7e06dfe string_view for osx 2021-12-28 10:49:14 +08:00
halx99 b93d2419cc string_view for android 2021-12-27 19:24:35 +08:00
halx99 018be62678 string_view for android 2021-12-27 19:18:36 +08:00
halx99 4045ae05c1 Modify fairygui for string_view 2021-12-27 15:10:29 +08:00
halx99 b63f815488 Modify some extensions for string_view 2021-12-27 13:52:08 +08:00
halx99 5ba5049146 Huge changes for all string_view 2021-12-26 23:26:34 +08:00
halx99 8f83250ba4 Committing clang-format changes 2021-12-25 02:04:45 +00: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 12d63da6dc Delete Cocos2dxLocalStorage.java 2021-12-24 02:12:32 +08:00
halx99 d2f6b795a6 Update adxe.cpp 2021-12-16 19:03:17 +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 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 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 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 3440cf804f More safe to store customGlyphs 2021-11-26 17:53:24 +08:00