Commit Graph

675 Commits

Author SHA1 Message Date
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
halx99 3df92d56de HttpClient handle content type from custom headers 2021-07-05 14:24:04 +08:00
halx99 34d51633ad Fix ci [ci build] 2021-07-04 21:59:31 +08:00
halx99 14b24ed14b Refine code [ci build] 2021-07-04 21:21:29 +08:00
halx99 dabdb1315d Fix #414 2021-07-04 21:18:14 +08:00
halx99 43f25d5ad7 Downloader background task [ci build] 2021-07-04 19:26:18 +08:00
halx99 97425dc655 Fix #413 2021-07-04 16:40:34 +08:00
halx99 169d15943a Delete unused code 2021-07-02 15:17:13 +08:00
halx99 ea014d2924 ASTC decompress benchmark print 2021-07-02 15:11:01 +08:00
halx99 e2c213e0bd Take care memory leak 2021-07-02 14:32:22 +08:00
halx99 be7c037cd9 Always decompress astc parallel for sotware decoder [ci build]
a. Improve task life cycle management.
b. Fix ci
2021-07-02 14:20:54 +08:00
halx99 f6cbe606fd Fix ci [ci build] 2021-07-02 13:25:00 +08:00
halx99 71a0abf11c Always decompress astc parallel for sotware decoder [ci build] 2021-07-02 13:00:04 +08:00
halx99 8a904f72fa Update astc.cpp 2021-07-02 00:38:02 +08:00
halx99 9cac9491ed Revert profile 2021-07-02 00:23:26 +08:00
halx99 b6610a242f Add decompress astc parallel support [ci build]
a. Define macro ASTC_ENABLE_PARALLEL_DECOMPRESS to enable.
2021-07-02 00:18:02 +08:00
halx99 2986c9d248 Make astc decode profile same with render backend 2021-06-28 21:04:36 +08:00
halx99 7d635e2a37 Improve Sprite programState update logic 2021-06-27 21:43:21 +08:00
halx99 10c1ed15ef Refactor dual sampler shader [ci build]
Since not only etc1 could use sepreate RGB, A to two texture samplers, we unify the shader name.
2021-06-27 20:58:50 +08:00
halx99 44677f1a3b Improve HttpResponse interanlCode set 2021-06-25 18:29:16 +08:00
halx99 3ea793f11e Simplify code 2021-06-25 08:18:32 +08:00
halx99 81ece6d061 Optimize CCValue [ci build] 2021-06-25 07:30:47 +08:00
halx99 f5c9bfc38f Tidy thirdparty lib xsxml, fastlib to xsbase 2021-06-25 07:29:14 +08:00
halx99 d12c614f99 Fix HttpClient compatible issue
a. should let user do urlencode manually
b. this behavior is same with previous curl implemented HttpClient
2021-06-25 07:07:59 +08:00
halx99 72d1ba9ea6 Merge: df58dd753c 2397d54daf
Merge branch 'dev' into Chipmunk2D
2021-06-24 17:04:04 +08:00
aismann dbcb5816fe Add springs (draw), add Copyright, improve Chipmunk2d - Testbed 2021-06-24 09:54:02 +02:00
halx99 14dc7f05f9 Reimplement HttpClient based on yasio (#390)
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request

* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code

* [WIP] Reimplement HttpClient based on yasio [ci build]

* [WIP] Fix ci [ci build]

* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support

* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works

* Update HttpClient.cpp

* HttpClientTest: enable sslVerifaction test

* Update HttpResponse.h

* Sync luabindings [ci build]

* Add chrome UA test

* Fix ci [ci build]

* The timer for read timeout should be associated with per channel

* Remove unused function

* Update url
2021-06-24 12:33:07 +08:00
halx99 f4871674df More compatible 2021-06-24 10:21:41 +08:00
halx99 36d258f589 Delay scene default camera init, see also #392
This change will make sure user can change window or design size before scene init
2021-06-24 02:23:02 +08:00
halx99 8d0f8de1f4 Improve Uri parse 2021-06-22 14:19:22 +08:00
halx99 9ed3be94c0 Fix for luabinding generator [ci build] 2021-06-18 11:31:07 +08:00
halx99 e5237503fb Fix #386 [ci build] 2021-06-17 22:22:41 +08:00
halx99 3c9a18675c Add some comment for pr #384 2021-06-17 21:56:38 +08:00