Commit Graph

832 Commits

Author SHA1 Message Date
halx99 eee191d782 Always loop find child when indexer not found 2021-11-18 19:47:15 +08:00
halx99 b5d7ab47ed Fix #536 2021-11-18 19:02:33 +08:00
halx99 fe67e1b19f Refine code 2021-11-17 14:07:47 +08:00
halx99 c96172837e Improve TTF load, enable stream parsing at for non-android devices 2021-11-16 18:41:18 +08:00
halx99 8f047015ba Update CCPlatformConfig.h 2021-11-16 16:28:31 +08:00
halx99 353920d8a2 Update android platform macro detection 2021-11-16 16:27:56 +08:00
halx99 3b69d0cb27 Sets default render state when restart director 2021-11-15 17:49:46 +08:00
halx99 54f41f79ee Update astcenc to 3.3 2021-11-11 18:43:05 +08:00
halx99 6c3d2d13f0 Better logic 2021-11-11 17:30:47 +08:00
halx99 9cc04be833 Improve code style 2021-11-11 17:20:21 +08:00
halx99 cdf47d3bd6 Skip whitespace for sdf text render 2021-11-11 16:24:18 +08:00
halx99 16c3e90c46 Match utf32 char code parameter type 2021-11-11 16:15:23 +08:00
halx99 a0d289ee5b Improve speed for loading outline glyph 2021-11-11 15:56:07 +08:00
halx99 6716b95e24 Update comment 2021-11-09 15:24:41 +08:00
halx99 503d8818f5 Use explicit type to compare integer 2021-11-09 14:40:00 +08:00
halx99 c6945c44e5 Add `CCValue` int64_t/uint64_t support 2021-11-09 14:29:15 +08:00
halx99 2a81f626e0 Merge: 8f88705ffe 8e2c6f2ceb
Merge pull request #533 from adxeproject/children-indexer-map-support

Add children indexer map for fast getChildByTag & getChildByName support
2021-11-09 12:16:27 +08:00
halx99 f1425c1fd3 Add comment for new API Director::setChildrenIndexerEnabled [skip ci] 2021-11-09 12:15:28 +08:00
halx99 879c91e1ee Fix #534, Make unsigned char same with char.
a. char store as int
b. unsigned char store as unsigned int
2021-11-09 12:08:37 +08:00
halx99 5e0b99103b Update yasio 2021-11-08 14:43:24 +08:00
halx99 b44dd22de5 Fix parent children indexer get logic 2021-11-07 17:08:54 +08:00
halx99 1b33909d14 Match Node::_hashOfName type 2021-11-07 16:48:34 +08:00
halx99 ccf25f7458 Add children indexer map for fast getChildByTag & getChildByName support 2021-11-07 16:14:31 +08:00
姒嗘煶鏉? aeb5d496ec ScrollView sometimes shows incorrect position in vertical direction. (#532) 2021-11-04 17:08:33 +08:00
rh101 457baed8d3 Fix code formatting 2021-10-29 00:09:03 +11:00
rh101 95cb93e0a0 The releaseFontAtlas method will remove the font atlas from the cache if it has a reference count of 1, and will always call release on that atlas as expected by the calling code. 2021-10-29 00:07:46 +11:00
rh101 52b6cefcda Revert "Ensure font atlas is correctly released even if it does not exist in the atlas cache."
This reverts commit 8b27fdb832.
2021-10-29 00:05:52 +11:00
rh101 1485c76d6b Ensure font atlas is correctly released even if it does not exist in the atlas cache. 2021-10-28 17:41:25 +11:00
halx99 0547a4b7c2 Update CCConsole.cpp 2021-10-27 23:02:38 +08:00
halx99 9c30e7abd7 Update copyright notice [skip ci] 2021-10-25 23:30:03 +08:00
halx99 2bd82c11bd Fix ci 2021-10-25 20:29:40 +08:00
halx99 de355e5268 Rename cocos2d.cpp to adxe.cpp 2021-10-25 18:06:45 +08:00
halx99 f59af620a0 Update version indicator [skip ci] 2021-10-25 17:55:05 +08:00
halx99 ef4eb62229 Add copyright notice [skip ci] 2021-10-24 23:27:17 +08:00
halx99 6a2e09f3c8 Unify Tex2F to Vec2 2021-10-24 22:44:44 +08:00
halx99 9cbc343418 Fix reviews [skip ci] 2021-10-24 22:06:13 +08:00
halx99 8e08ef8799 Fix reviews 2021-10-24 21:55:48 +08:00
halx99 c7851ae4be Resolve reviews 2021-10-24 14:09:59 +08:00
halx99 f3f2693dd2 Fixup 2021-10-24 11:07:54 +08:00
halx99 554412f4fd Use struct `Vec2` instead `Size` 2021-10-23 23:27:14 +08:00
halx99 6bce6b49c4 Add HttpClient::setNameServers
a. support set custom dns server list when c-ares enabled.
2021-10-23 21:57:36 +08:00
halx99 77404fd02a Code style 2021-10-11 12:15:41 +08:00
halx99 56293e9713 Put fps labels to safe origin 2021-10-09 14:45:49 +08:00
halx99 13341f6e6f Fix codacy issues 2021-10-09 14:05:32 +08:00
halx99 c15442eaad Fix some warnings 2021-10-09 13:48:56 +08:00
halx99 8d83891f30 Improve lua workflow on windows
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
rh101 35bed97180 Use rapidjson for parsing webview json data
Rename methods
2021-10-07 00:37:37 +11:00
halx99 1deeb87a70 Update copyright notice [skip ci] 2021-10-06 18:47:07 +08:00
halx99 201fdcc2fb Fix #518 2021-10-06 18:45:58 +08:00
rh101 fc4eed4853 Avoid usage of strlen and terminate decoding on any null character. 2021-10-05 13:29:33 +11:00