Commit Graph

1448 Commits

Author SHA1 Message Date
halx99 af19d52d0e
Update CCConsole.cpp 2021-10-27 23:02:38 +08:00
halx99 45607062bd Fix ci 2021-10-25 20:29:40 +08:00
halx99 67ce72db58 Unify Tex2F to Vec2 2021-10-24 22:44:44 +08:00
halx99 0ce675aa5a Fix reviews 2021-10-24 21:55:48 +08:00
halx99 cc2ba51ed6 Use struct `Vec2` instead `Size` 2021-10-23 23:27:14 +08:00
halx99 d51056935f Put fps labels to safe origin 2021-10-09 14:45:49 +08:00
halx99 bc4cbddd50 Fix some warnings 2021-10-09 13:48:56 +08:00
rh101 5c7d116e5b Avoid usage of strlen and terminate decoding on any null character. 2021-10-05 13:29:33 +11:00
rh101 5a2c050bbe Move url encode and decode methods to ccUtils 2021-10-05 12:50:01 +11:00
rh101 456d26628c Change off_t to int64_t 2021-09-02 21:18:23 +10:00
rh101 568e3612bd Remove getLong() method
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
rh101 de182c8360 Change %ld to %d for 32bit data types
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
rh101 0b27d0980c Add required include for uint32_t
Fix code warning
2021-09-02 16:18:32 +10:00
rh101 737f0c39d7 Revert to usage of `long` type for external library methods that require it. 2021-09-02 16:08:57 +10:00
rh101 64695cfb48 Revert changes where `long` type is required. 2021-09-02 15:59:29 +10:00
rh101 4d1ff40736 Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate. 2021-09-02 15:39:28 +10:00
halx99 d197e8b245 Fix part of #487 2021-09-02 11:43:27 +08:00
halx99 7dd7422abd Macro compatible 2021-08-27 13:54:05 +08:00
halx99 bd436ae078 Fix lua build for win64 and 1 warning 2021-08-27 11:41:11 +08:00
halx99 f9ac34c20f Fix byteorder detect error for win64 and some warnings 2021-08-27 11:27:33 +08:00
halx99 cfffd35aec HttpClient: push front available channel to fix dns cache missing 2021-08-03 14:41:30 +08:00
halx99 81f646783b clang-format: Set PointerAlignment to Left 2021-07-17 23:36:13 +08:00
halx99 ad035e2729 Improve code quality 2021-07-17 23:32:31 +08:00
halx99 bc6ebd920a Improve code quality 2021-07-15 23:03:43 +08:00
halx99 ec9a50136f Add new API Node::hitTest 2021-07-15 17:01:57 +08:00
halx99 522de34990 Add defaultValue CCValue::asXXX for number types [skip ci] 2021-07-15 12:21:38 +08:00
halx99 c766cba275
Improve logic 2021-07-10 00:32:19 +08:00
halx99 f70ad053c0 Rename everything to adxe 2021-07-09 10:42:36 +08:00
halx99 2782d993c4 Restrict detect utf-8 support 2021-07-08 00:39:22 +08:00
halx99 fae361ba02 detectNonAsciiUTF8 Don't regard null character as ascii 2021-07-07 22:35:30 +08:00
halx99 1cf4e82b80 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 ffcd4770cb 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 f2b4c3d647 Fix CCValue move assignment with std::string 2021-07-06 01:44:02 +08:00
halx99 b9e2a8b7e1 Fix #414 2021-07-04 21:18:14 +08:00
halx99 75e707c67a Delete unused code 2021-07-02 15:17:13 +08:00
halx99 4c2ad68c58 ASTC decompress benchmark print 2021-07-02 15:11:01 +08:00
halx99 f4757ed450 Take care memory leak 2021-07-02 14:32:22 +08:00
halx99 eb11fd9a61 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 26c9365a04 Fix ci [ci build] 2021-07-02 13:25:00 +08:00
halx99 4a5b281506 Always decompress astc parallel for sotware decoder [ci build] 2021-07-02 13:00:04 +08:00
halx99 36870f7aaf
Update astc.cpp 2021-07-02 00:38:02 +08:00
halx99 26027020ba
Revert profile 2021-07-02 00:23:26 +08:00
halx99 628a9e7bb6 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 bcbf8e0b30
Make astc decode profile same with render backend 2021-06-28 21:04:36 +08:00
halx99 a84067eb74 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 01f3c57e15 Optimize CCValue [ci build] 2021-06-25 07:30:47 +08:00
halx99 a379f936d8
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 b6378332eb Fix for luabinding generator [ci build] 2021-06-18 11:31:07 +08:00
halx99 e5af6353b6
Update CCConfiguration.cpp 2021-06-10 16:51:30 +08:00
halx99 cfd471f53a Fix warnings 2021-06-09 12:28:33 +08:00