江战
c4be6be29d
Fixes for GCC compatibility and Linux platform warnings ( #14511 )
...
* fix compile error on linux
* ignore more warnning
* move StringPool & StringEqual into StringPool
2023-03-09 09:45:22 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
James Chen
32a6aba4fb
Fix some swig warnings and fix the issue that Node::mobility is not bound, update swig to 4.1.0 release ( #13425 )
...
* Update swig config, fix some warnings
* Update TextureBase.h, don't make _width, _height public
* Revert genbindings.js
* Update external to develop-8
2022-11-18 11:56:09 +08:00
江战
280fd976bc
Add EventTarget & EventBus ( #13100 )
2022-10-28 15:44:33 +08:00
James Chen
8f8924c3f4
fixed #10929 : Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms ( #11179 )
...
* fixed #10929 : Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.
* More uint64_t -> ccstd:hash_t
* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp
* operator() return ccstd::hash_t now and add some comments.
* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +08:00
James Chen
024737aebc
fixed #11195 : Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant ( #11197 )
...
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.
* fixed #11195 : Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant
* Format code.
2022-05-24 18:47:16 +08:00
James Chen
48f7c674cc
boost_hash_range return size_t which is 64bit on 64bit devices, so need to cast it to uint64_t. ( #11137 )
2022-05-18 17:22:46 +08:00
minggo
271cc5cf23
Remove some format rule ( #10919 )
...
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
Cocos Robot
a2df4e4dbd
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c ( #10469 ) ( #10472 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-24 13:50:39 +08:00
minggo
7f4cb9e3b1
Remove string ( #10469 )
...
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
James Chen
a4e3a694ac
Make TextureBase constructor public since editor needs it ( #4242 )
2022-02-08 17:29:03 +08:00
bofeng-song
0952f8f838
fix todo ( #4225 )
...
* fix todo
2022-01-26 17:54:27 +08:00
James Chen
f6f59892af
Refactor IntrusivePtr, remove reinterpret_cast ( #4221 )
...
* Refactor IntrusivePtr, remove reinterpret_cast
2022-01-26 11:57:02 +08:00
minggo
3ec7db4a5d
Fix crash when exit ( #4177 )
...
* Device owns Sampler and TextureBarrier
* do not detele smart pointer
* destroy program lib when exit program
2022-01-14 20:06:11 +08:00
minggo
5410a48a58
Implement more logic in native ( #4131 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
Co-authored-by: dumganhar <dumganhar@gmail.com >
Co-authored-by: mmyduckx <308303735@qq.com >
Co-authored-by: Patrice Jiang <397136899@qq.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-01-07 18:39:40 +08:00