Commit Graph

4754 Commits

Author SHA1 Message Date
江战 bfb2c1aaa9 3.6 apple: jsb add convert routines for size_t/long (#10200)
* jsb add convert routines for  size_t/long
2022-03-01 09:48:32 +08:00
Zeqiang Li f3051234be fix misuse of drawAPI on metal (#10195) (#10202) 2022-02-28 16:45:03 +08:00
Cocos Robot 3bc403cdf5 [ci skip][AUTO]: Automated code generating update: 2d992f2b638e48fc8f029de24c1843de8d1f22f7 (#10190) (#10196)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-28 11:26:27 +08:00
James Chen f20c80e850 Remove __jsb_CCPrivateData_class and its relevant code. (#10190)
* Remove __jsb_CCPrivateData_class and its relevant code.
2022-02-28 09:56:22 +08:00
Cocos Robot 6469e9a7e6 [ci skip][AUTO]: Automated code generating update: e917aa5001cacdab6d9c65b7c62d007b56fa64b8 (#10183) (#10192)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-28 09:56:00 +08:00
江战 362f42b70c update okhttp to 3.12.14 (#10169) 2022-02-24 18:22:20 +08:00
James Chen bd54a082a3 Update Spidermonkey (97.0.1) backend for se (jswrapper) (#10170)
* Update spidermonkey backend for se.

* Update cmakelist

* Bug fix for se spidermonkey backend.

* Fix constructor binding for spidermonkey backend.

* Fix wrong syntax of calling native function in simple-texture.jsb.ts & builtin-res-mgr.jsb.ts

* Use jsb.createExternalArrayBuffer for caching since it will not be moved during GGC.

* Cleanup se spidermonkey backend

* Add Object::createExternalArrayBuffer for se v8 backend.

* Remove unused code in jsb_assets_manual.cpp

* Add jsb.createExternalArrayBuffer binding.

* Remove unused WebGLRenderingContext registeration.

* Remove unused code in jsb_global_init.cpp

* Add Root::setDevice.

* Invoke ScriptEngine::mainLoopUpdate in Engine.cpp.

* Update CMakeLists.txt

* Make missing return type as an error.

* Cleanup for sm/ScriptEngine.cpp

* prefine.cmake fix for vs.
2022-02-24 18:20:54 +08:00
minggo ef075d6887 Update config.json (#10167) 2022-02-24 16:24:48 +08:00
Cocos Robot 2fba16d0c2 [ci skip][AUTO]: Automated code generating update: 6bf2c51709d977f25b99665062c31d6fb1cae529 (#10162) (#10163)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-24 09:55:19 +08:00
江战 a5299e38d4 3.6 auto gen builtin res (#10162)
* CI run builtin-res generation
2022-02-23 17:35:29 +08:00
Cocos Robot d9f3867224 [ci skip][AUTO]: Automated genbindings update: f8b68b18b347e9dac26e6543cbccdbfa3bc1ef3a (#10125) (#10153)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-23 09:53:38 +08:00
minggo aca0a1bccb Remove memory management (#10125)
* remove NedPooling

* remove Jealloc

* remove some macros

* move memory related macros into Memory.h

* delete MemTrack
2022-02-22 18:12:48 +08:00
zhakesi f075bea84c fix dragonbones dispose with args's size error warning (#10144)
* fix dragonbones dispose with args's size error warning

* fix IArmatureProxy dispose function
2022-02-22 17:05:40 +08:00
江战 c3bfc1f439 fix function block (#10147) 2022-02-22 16:23:51 +08:00
Cocos Robot 944bee877d [ci skip][AUTO]: Automated genbindings update: e036af7757cc472184763ed0bae03fefeb88b401 (#10131) (#10143)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-22 14:19:37 +08:00
hyde zhou 94516f5343 V3.6.0 pipeline (#10131) 2022-02-22 09:58:51 +08:00
Yun Hsiao Wu aa886293b0 expose copy function on gfx structs (#10122) 2022-02-21 15:45:28 +08:00
mmyduckx 85a1d341c3 add unity_build compile for ci (#10110)
* add unity_build compile for ci
2022-02-17 09:55:31 +08:00
Cocos Robot adba8d5cc1 [ci skip][AUTO]: Automated genbindings update: 40b80138e0 (#10114) (#10120)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-17 09:49:28 +08:00
timlyeee 390aad771c [fix] unnecessary promise exceptions throwed. (#10093)
* promise exceptions
* handle exceptions in main loop
2022-02-17 09:48:46 +08:00
Yun Hsiao Wu 40b80138e0 Merge remote-tracking branch 'origin/v3.6.0' into v3.6.0 2022-02-16 16:14:32 +08:00
Yun Hsiao Wu 1d41e392d1 Merge remote-tracking branch 'origin/v3.5.0' into v3.6.0 2022-02-16 15:44:34 +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
Yun Hsiao Wu efbb7c880b resolve conflicts 2022-02-16 10:47:38 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +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
James Chen f34301fb88 [3.5] Update ci yml files, add native/web prefix, cherry-pick from #10083 (#10104)
* 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

* Fix wrong path in filter_by_cdb.js
2022-02-15 09:55:48 +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
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
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
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
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 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