aismann
288941a63f
cleanup and improvement
2021-08-18 04:16:21 +02:00
rh101
14a1556c6c
Revert check for reference count, since it was correct. [skip ci]
2021-08-17 18:49:14 +10:00
rh101
e558b3c976
Fix incorrect reference count check in SpriteFrameCache::removeUnusedSpriteFrames
...
[BaseTest] Ensure unused frames are released before attempting to free unused textures
2021-08-17 15:26:44 +10:00
rh101
c60f66c9bb
Use integer identifier for sprite sheet format.
...
Revert method name addSpriteFramesWithFileAndTexture back to addSpriteFramesWithFile
2021-08-17 14:04:45 +10:00
rh101
7a6734408d
Update sprite sheet API to allow custom sprite sheet texture filename to be used
2021-08-17 09:04:51 +10:00
aismann
39dbbc4713
More improvements ( #455 )
2021-08-14 10:28:28 +08:00
RH
2c0f04c99b
Support custom texture atlas formats ( #284 )
...
* Allow support for custom texture atlas formats other than PLIST.
* Revert usage of emplace_back to push_back to ensure support for older compilers.
* Update test to support SpriteFrameCache::addSpriteFramesWithFile
* Re-add SpriteFrameCache::addSpriteFramesWithFileContent
* Change order of SpriteFramesFromFileContent test back to what it previously was
* Remove sprite sheet and all frames associated with it correctly
* Move sprite loader classes into their own files to clean up CCSpriteFrameCache
* Remove redundant line and update comment
* Fix formatting to match adxe code style
* Fix typo
* Add custom sprite sheet loader test using JSON-array sprite atlas format.
Simplify sprite sheet loader interface by adding identifier to the custom sprite sheet loader implementation.
* Add newline at the end of the file
2021-08-13 14:52:58 +08:00
halx99
1452e698e3
Fix xcode ci
2021-08-12 11:25:01 +08:00
halx99
f02e0a7b87
Fix #443
...
a. HttpClient: improve request header processing
2021-08-05 14:56:40 +08:00
halx99
410d3b41af
HttpClient: push front available channel to fix dns cache missing
2021-08-03 14:41:30 +08:00
halx99
981b3a9a79
Add HttpClient::handleNetworkStatusChanged to clear DNS cache
2021-07-31 14:39:42 +08:00
halx99
622c22c47b
Avoid crash when http cookie enabled on android
2021-07-23 16:09:13 +08:00
halx99
21af858b20
Code style
2021-07-21 21:06:55 +08:00
halx99
f37be8f5c2
Improve logic
2021-07-20 15:08:31 +08:00
halx99
b793ff123e
Remove test code
2021-07-20 15:06:17 +08:00
halx99
c74a12baf5
Fix cookie match
2021-07-20 15:03:19 +08:00
halx99
bc2ef65ba7
Improve cookie file parse
2021-07-19 17:58:13 +08:00
halx99
cf2b577a25
Fix ci
2021-07-19 14:49:38 +08:00
halx99
5bb5d43733
Improve code quality
2021-07-19 14:17:51 +08:00
halx99
0af95a3fbb
Improve code quality
2021-07-19 13:43:59 +08:00
halx99
ee327238fa
Update HttpCookie.h
2021-07-19 12:40:22 +08:00
halx99
d76a43406c
HttpClient cookie support
2021-07-19 12:26:25 +08:00
halx99
ce13dc075f
Use lowercase as preferred to storage HttpResponse headers [skip ci]
2021-07-19 08:04:12 +08:00
halx99
cc0bb3230f
HttpClient: Improve url redirect process
2021-07-19 00:17:50 +08:00
halx99
4e3a2355ba
Fix http response header processing
2021-07-18 23:20:22 +08:00
halx99
5dcc4f557a
clang-format: Set PointerAlignment to Left
2021-07-17 23:36:13 +08:00
halx99
f0a2bd416a
Improve code quality
2021-07-17 23:32:31 +08:00
halx99
4b7e098e65
Improve code quality
2021-07-16 11:04:38 +08:00
halx99
40a70806cb
Fix ci
2021-07-15 23:31:49 +08:00
halx99
0d4aec88d1
Improve code style
2021-07-15 23:10:36 +08:00
halx99
ec5ef59474
Improve code quality
2021-07-15 23:03:43 +08:00
halx99
d8ad4ab8db
Update comment
2021-07-15 17:32:50 +08:00
halx99
36042fdb55
Add new API Node::hitTest
2021-07-15 17:01:57 +08:00
halx99
1699dcc93d
Use const ValueMap& for CCParticleSystem init functions
2021-07-15 12:23:50 +08:00
halx99
2870cd86b8
Add defaultValue CCValue::asXXX for number types [skip ci]
2021-07-15 12:21:38 +08:00
halx99
465440d689
Improve logic
2021-07-10 00:32:19 +08:00
halx99
a97ba886bf
Rename everything to adxe
2021-07-09 10:42:36 +08:00
halx99
f3f43ffb89
Restrict detect utf-8 support
2021-07-08 00:39:22 +08:00
halx99
f9ecb53623
Fix member not initialized [skip ci]
2021-07-07 22:38:58 +08:00
halx99
bb79db77c2
detectNonAsciiUTF8 Don't regard null character as ascii
2021-07-07 22:35:30 +08:00
halx99
8ce2947a0e
Add API detectNonAsciiUTF8 [skip ci]
...
This api will return true if any non-ascii utf-8 detected, and also return whether all chars is ascii.
2021-07-07 21:49:57 +08:00
halx99
c94e6739bf
Fix ci error
2021-07-07 14:09:11 +08:00
halx99
ed3a0d05ec
Move GL macros to backend MacrosGL.h
...
a. Fix box2d-testbed crash on macos and ios
b. User should avoid use them at application
2021-07-07 13:52:56 +08:00
halx99
9048db93a7
Delete unused comment
2021-07-07 04:08:07 +08:00
halx99
d5f6714534
Code style
2021-07-06 21:15:02 +08:00
halx99
1292003e83
For doxgen happy
2021-07-06 15:22:07 +08:00
halx99
0c74a94525
Implement HttpClient::sendSync with std::promise
2021-07-06 11:39:53 +08:00
halx99
f4969ee388
HttpClient: Fix crash when process redirect
2021-07-06 02:44:57 +08:00
halx99
af0a0f1598
Fix CCValue move assignment with std::string
2021-07-06 01:44:02 +08:00
halx99
f895690b9d
HttpClient: refine User-Agent encoding
2021-07-05 20:42:22 +08:00