Commit Graph

17125 Commits

Author SHA1 Message Date
江战 a4fc0a8513 Update native-unit-test.yml (#10116) 2022-02-16 15:35:12 +08:00
troublemaker52025 76af77d9b8 fix shadow merge error for v3.6.0 (#10073)
* fix shadow merge error for v3.6.0

* update

* fix ci error

* fix ci error 2

* fix ci error

* fix ci error 3
2022-02-16 12:12:45 +08:00
timlyeee d2e4b75463 Fix loop audio would stop for ios system (#10094)
* Fix loop audio would stop for ios system

* IOS system has an uncertain state between foreground and background, and our condition sometimes miss the point to load buffers.
* Queue for 3 buffers might be too short to live, use 4 or even more instead.
* Issue could be solved: 
* https://github.com/cocos2d/cocos2d-x/issues/19480, 
* https://github.com/cocos-creator/3d-tasks/issues/11135
2022-02-16 11:59:03 +08:00
Cocos Robot ac6399f29a [ci skip][AUTO]: Automated genbindings update: 5fb5fe4721dd26fbf32f1df1ee6ca0d1c7644eb5 (#10099) (#10108)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-15 11:14:50 +08:00
bofeng-song 7e2fce85f9 sychronize engine to native (#10099)
* sychronize engine to native according to  https://github.com/cocos-creator/engine/pull/10041
2022-02-15 10:09:53 +08:00
江战 add8a68829 genbindings batch (#10106) 2022-02-15 09:45:16 +08:00
Cocos Robot b7df7351f6 [ci skip][AUTO]: Automated genbindings update: 2e8432491380a783059396e4cbed75a53b4444da (#10097) (#10098)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-15 09:20:05 +08:00
SijieWang 15165e064b Merge v3.5.0 (#10097)
* Update bindings.yml (#10074)

调整fork仓库

* [Optimize] Merge native workflow (#10091)

Co-authored-by: Sijie <devhacker520@hotmail.com>

Co-authored-by: shaoqiangcai <79490184+shaoqiangcai@users.noreply.github.com>
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-02-14 14:44:17 +08:00
James Chen 66ac1230e8 Fix potential crash after changing v8 weakcallback type from kFinalizer to kParameter. (#10078)
* Fix potential crash after changing v8 weakcallback type from kFinalizer to kParameter.
2022-02-14 11:51:13 +08:00
mmyduckx e52bb2bf06 add forward declaration for pipeline (#10082) 2022-02-14 09:31:00 +08:00
James Chen b21fc18f23 Update ci yml files, add native/web prefix (#10083)
* Update ci yml files, add native/web prefix

* Update native-compile-platform.yml

* Update CMakeLists.header.txt & generate_compile_command_android.sh
2022-02-12 11:09:48 +08:00
shaoqiangcai 414216b02f Update bindings.yml (#10075)
调整3.6.0的fork地址
2022-02-11 14:49:02 +08:00
Santy-Wang 567ed4dbe2 fix native platform preload asset failed (#10079) 2022-02-11 14:31:56 +08:00
mmyduckx ad947efe3a add forward declaration for asset&core (#10072) 2022-02-11 14:27:33 +08:00
bofeng-song 48d8baf3ac implement logic of debug.ts (#10070)
* implement logic of debug.ts
2022-02-10 15:32:51 +08:00
minggo db1321a2f8 Merge pull request #10067 from dumganhar/v3.6.0-merge-native
V3.6.0 merge engine-native code
2022-02-10 14:05:09 +08:00
dumganhar 55ecb5054f Merge branch 'v3.6.0' of https://github.com/cocos-creator/engine into v3.6.0-merge-native 2022-02-10 13:36:19 +08:00
minggo f9e46ee3df Merge pull request #10068 from cocos-creator/v3.5.0
Merge V3.5.0 to v3.6.0 for native engine
2022-02-10 13:36:02 +08:00
dumganhar ece34e229d Merge branch 'v3.5.0' of https://github.com/cocos-creator/engine into v3.6.0-merge-native 2022-02-10 11:50:30 +08:00
pandamicro 39f771ffba Merge pull request #10066 from dumganhar/v3.5.0-merge-native
Merge engine-native repo
2022-02-10 11:47:58 +08:00
dumganhar 895b8eea51 Merge remote-tracking branch 'native/v3.6.0' into v3.6.0-merge-native 2022-02-10 10:36:11 +08:00
dumganhar f6245fb82b Merge branch 'v3.6.0' into v3.6.0-merge-native 2022-02-10 10:35:17 +08:00
dumganhar 550cbffea8 Add github action for native platforms. 2022-02-09 17:31:33 +08:00
dumganhar ae99718dc3 Merge remote-tracking branch 'native/v3.5.0' into v3.5.0-merge-native 2022-02-09 17:30:09 +08:00
Cocos Robot 0ff4f4aeb2 [ci skip][AUTO]: Automated genbindings update: 5984c4132aefc0c4710eeee7003809721bd6cb4d (#4246) (#4251)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-09 16:19:55 +08:00
mmyduckx e332c02ca0 add forward declaration for 3d/scene-graph/scene (#4246)
* add forward declaration for 3d/scene-graph/scene

* fix genbindings error

* define ctor in cpp
2022-02-09 15:41:00 +08:00
pandamicro 65c86be0b4 Merge pull request #10065 from cocos-creator/v3.5.0
sync V3.5.0
2022-02-09 13:41:22 +08:00
timlyeee 9c4cfbc866 remove hack code (#4248)
* remove hack code 

remove macro use,  hack code cc_get_application_view  was already be removed
2022-02-09 13:36:38 +08:00
Cocos Robot 69ab328ed8 [ci skip][AUTO]: Automated genbindings update: 0567b413c0 (#4245) (#4249)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-09 13:36:04 +08:00
minggo d1b2c0b349 Merge pull request #4245 from minggo/v3.6_merge_v3.5
V3.6 merge v3.5
2022-02-09 11:51:57 +08:00
minggo 0567b413c0 fix compiling error 2022-02-09 11:11:10 +08:00
minggo e1822484de Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-02-08 17:48:25 +08:00
timlyeee 83734a835c Fix android and ohos load library bug (#4240) 2022-02-08 17:29:41 +08:00
James Chen a4e3a694ac Make TextureBase constructor public since editor needs it (#4242) 2022-02-08 17:29:03 +08:00
James Chen b092d37774 Trigger an assertion if invoking constructor in JS and C++ class doesn't have a public constructor. (#4239)
* Trigger an assertion if invoking constructor in JS and JSB didn't have a public constructor.
2022-02-08 16:43:55 +08:00
Cocos Robot 522280d51c [ci skip][AUTO]: Automated genbindings update: bb461886c3a4f08f2bd6003c7ac3cee672dba0de (#4234) (#4241)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-08 16:08:41 +08:00
徐兵 5f5a66a6f0 skybox optimization (#4234)
* skybox optimization
Co-authored-by: xubingbing <bingbing.xu@cocos.com>
2022-02-08 15:27:07 +08:00
bofeng-song ee2b9c9792 fix crash while close game & before game finish launch (#4231)
* fix crash while close game & before game finish launch
2022-02-08 15:25:23 +08:00
timlyeee abd84ac0e1 rename cocos2d to cocos (#4158)
* Rename cocos2d to cocos
2022-02-08 14:27:42 +08:00
qiuguohua 94cfe0d662 Fix the problem of onclose being called twice (#4238) 2022-02-08 14:10:35 +08:00
minggo bf72f0e4ec Update config.json (#4237) 2022-02-08 13:41:04 +08:00
minggo de8f96b1dd Update config.json (#4236) 2022-02-08 11:45:49 +08:00
Cocos Robot 1d1d31c6b7 [ci skip][AUTO]: Automated genbindings update: 5a25a7c02e407a91ff0a0b140052e12760265f52 (#4233) (#4235)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-08 11:04:02 +08:00
James Chen 17d4957e49 Only use cpp version of BuiltinResMgr now. (#10063) 2022-02-08 10:45:32 +08:00
James Chen b5e0a34300 Bind BuiltinResMgr to JS. (#4233)
* findClass should find nativeObj 's real type at first.
* Only use cpp version of BuiltinResMgr now.
* Bind BuiltinResMgr to JS.
2022-02-08 10:45:24 +08:00
Yun Hsiao Wu af0c6c7395 fix binding mappings (#10058) 2022-02-08 10:31:50 +08:00
Yun Hsiao Wu 2902e37d52 more validations (#4230) 2022-02-08 10:31:29 +08:00
James Chen 07188edc83 Fix random crashes while previewing material in editor's inspector window. (#4232)
* Fix random crashes while previewing material in editor's inspector window.
2022-02-08 09:35:19 +08:00
zheng han bd4db672cb V3.6.0 scene view native (#10044)
* 1. export pipeline in native
2. remove some editor useless code

* Add Editor Camera native data synchronization

* fix crash: native model is destroyed but not removed from renderscene (#9543)

Co-authored-by: lijilin <jilin.li@cocos.com>
(cherry picked from commit 3d1ac52a26)

* refactor preview code

* fix model preview function

* fix deserialize bug

* fix JSB error

* change default value of HTML5

* fix jsb.CCObject problem

* fix ts error

* Fix eslint in misc

Co-authored-by: zhengxiangkui <476393671@qq.com>
Co-authored-by: 李吉林 <798080536@qq.com>
Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-01-28 16:53:49 +08:00
wkp 936d9e63c4 adapt editor native scene (#4218)
* feat : adapt editor native scene
2022-01-27 19:02:18 +08:00