Commit Graph

17157 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
mmyduckx 11af829151 fix image-asset deserialize (#10183) 2022-02-25 19:03:36 +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
袁炜海 8c8f3ac3c6 feat: update editor/* meta (#10150) 2022-02-22 18:05:41 +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
bofeng-song faf040002d fix octree's minPos can't not be read normally while deserialize (#10112)
* fix octree's minPos can't not be read normally while deserialize
2022-02-17 15:48:40 +08:00
Cocos Robot 246d535e8e [ci skip][AUTO]: Automated genbindings update: 24ac7fb3e4bae8a67814e8fd42fc564f91b43338 (#10093) (#10121)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-17 09:56:15 +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
minggo f42db510b9 Merge pull request #10114 from YunHsiao/v3.6.0
merge 3.5
2022-02-17 09:41:34 +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
江战 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
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
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
SijieWang 16ddab797d [Optimize] Merge native workflow (#10091)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-02-14 11:00:29 +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 5802595178 Update bindings.yml (#10074)
调整fork仓库
2022-02-11 14:50:19 +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