Commit Graph

18568 Commits

Author SHA1 Message Date
James Chen dfd7bfdba8 Fix timeout timer is not cleared while xhr.abort is invoked (#12303)
* Fix timeout timer is not cleared while xhr.abort is invoked
2022-08-03 15:55:04 +08:00
王凯鹏 1f823180fa remove (clone) uffix when _instantiate prefab node (#12293) 2022-08-03 13:50:47 +08:00
troublemaker52025 f2cf0df089 [optimization] Shield soft_ 4X PCF sampling (#12297) 2022-08-02 19:13:03 +08:00
Cocos Robot 25a83bd061 [ci skip][AUTO]: Automated code generating update: e437cfb8500ea7f5e3c22ab9f92cfb6f684fdcc0 (#12294) (#12296)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-02 16:15:16 +08:00
ChiaNing 985f4fd94c Fix pass hash when blend change (#12294)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-02 16:05:24 +08:00
AFeiYA 88d059ae44 Set DisableMeshSplitValue to True. (#12295) 2022-08-02 15:12:01 +08:00
Santy-Wang 80c835952a [Bug] fix bundle loading in gameview (#12284)
* fix bundle loading in gameview

* add comment
2022-08-02 12:43:08 +08:00
timlyeee 819c9be59f Fix native.reflection.callStaticMethod wrong signature (#12291) 2022-08-02 10:41:44 +08:00
Yiwen fd3287af9b fallback to vk 1.2 if a new driver is used (#12270)
* fallback to vk 1.2 if a new driver is used
2022-08-01 17:17:55 +08:00
bofeng-song c8d5ecf248 only dispatch changed touch event to ts (#12285)
* only dispatch changed touch event to ts
2022-08-01 14:16:26 +08:00
bofeng-song 927ed08578 Fix android crash while use vulkan. Test cases may add lable while enter background/foreground (#12282) 2022-08-01 09:45:57 +08:00
bofeng-song 563a72a9dc only enable sensor need to register sensor listener (#12283) 2022-08-01 09:44:50 +08:00
江战 aa7d97c1fc warning -> status (#12275) 2022-07-29 20:23:07 +08:00
江战 889dcd0aee export enum defined in engine-adapter.js (#12274) 2022-07-29 20:19:33 +08:00
qiuguohua 567b631981 When using xmlhttp when exiting, there is an assertion problem refere… (#12277)
* When using xmlhttp when exiting, there is an assertion problem referencing engine

* To avoid breaking compatibility, change SchedulerSharedPtr to SchedulerPtr
2022-07-29 20:07:56 +08:00
袁炜海 8fbe628458 fix: animation mode hide add-commonent-btn (#12264)
* fix: animation mode hide add-commonent-btn

* feat: handlerSceneChangeMode return bollean

* feat:add isAnimationMode funciton
2022-07-29 16:06:54 +08:00
James Chen fc6ff454b9 Fix memory issues for XMLHttpRequest & WebSocket (#12271)
* Add missing addRef for Http relevant classes.

* Fix all XMLHttpRequest instances are leak.

* Fix unroot logic in jsb_websocket.cpp
2022-07-29 15:52:17 +08:00
James Chen 2f4896ec9e Use log instead of assert in cleanup to avoid assert crash in pr test. (#12269) 2022-07-29 15:09:00 +08:00
timlyeee 7075a2fa36 Update external-config.json (#12268) 2022-07-29 14:46:18 +08:00
江战 b518d9e8f8 add deprecation checks (#12266) 2022-07-29 14:42:52 +08:00
ChiaNing e2eb71b9a1 fix ui mesh renderer enable bug (#12265)
* fix ui mesh renderer enable bug

* add canRender

* remove material protect

* misc fix

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-29 14:01:36 +08:00
Santy-Wang f3fbfeb3b1 fix particle-system deserialization (#12220) 2022-07-29 11:54:49 +08:00
ChiaNing f8fb03e9af remove blend state on ui render (#12228)
* remove blend state on ui render

* tiledGourp updateBlendFunc hack

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-29 11:54:28 +08:00
zhakesi a6909e876f fix spine tint (#12263) 2022-07-29 11:12:17 +08:00
Leslie Leigh (李的序) aca3336745 Feat: animation graph - support absolute destination start time (#12162)
* Feat: animation graph - support absolute destination start time

* Update
2022-07-29 11:08:39 +08:00
James Chen ee757d5854 Fix the crash after the behavior of Data_to_seval changed from returning TypedArray to returning ArrayBuffer. (#12260) 2022-07-28 23:41:53 +08:00
James Chen 2a2c2b7505 Fix Object::clearPrivateData doesn't set _privateData to nullptr (#12259) 2022-07-28 23:16:49 +08:00
SijieWang e8798fecfc [Bug] Remove prefabInfo when copying components (#12255) 2022-07-28 21:59:03 +08:00
Cocos Robot d1ed27bf48 [ci skip][AUTO]: Automated code generating update: a8d62ebd7e6a068f25d01280005f13ddbeff23ad (#12233) (#12258)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-28 20:35:49 +08:00
zhakesi dc91a469ae use native middleware buffer (#12233)
* use native middleware buffer

* fix clang-tidy

* fix clang-tidy

* set useLinkData as meshBuffer's property

* refactoring some code

* set 2d.ini

* fix word component

* fix clip middleware2d

* ...

* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
PP 73673aba9e fix native module building for separate engine (#12251)
* fix native module building

* fix typedoc
2022-07-28 18:55:14 +08:00
Yiwen 182cae57e4 add an extra alignment to GeneralBarrierInfo to make it 8 byte aligned (#12247) 2022-07-28 18:54:06 +08:00
godIsAProgrammer 55fb95de0e Modify the help icon color to --color-default-contrast-emphasis (#12196)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-07-28 18:50:17 +08:00
袁炜海 b71c9f66c0 feat: update meta (#12248) 2022-07-28 18:50:00 +08:00
江战 74e8f2323d [3.6.0] add deprecated funtions (#12155) 2022-07-28 18:31:09 +08:00
江战 9feca1c718 [3.6.0] export AssetsManager to native (#12254) 2022-07-28 18:29:16 +08:00
ChiaNing fa86993466 fix Stencil manager crash when pass destroy (#12241)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-28 18:27:43 +08:00
Cocos Robot f90a6d44c5 [ci skip][AUTO]: Automated code generating update: 09445369d84431da7d3f1788de8cf85bb6d7783a (#12250) (#12256)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-28 18:27:24 +08:00
James Chen fe0fd229a4 Fix CocosApplication doesn't unregister engine event when restarting. (#12250) 2022-07-28 18:15:35 +08:00
zxx43 6678c378ee V3.6.0 particle material log (#12249)
* add warning message when change particle material

* use error id instead

* change to log

* change to warning

* Apply suggestions from code review

Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-07-28 17:44:53 +08:00
ChiaNing 46436e2e96 fix sprite frame trim bug (#12252)
* fix sprite frame trim bug

* onload change

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-07-28 17:11:31 +08:00
江战 ed84c7f28b 3.6 add docs for jsb.garbageCollect (#12238)
* add docs for jsb.garbageCollect
2022-07-28 16:09:12 +08:00
qiuguohua 55a12663e8 Delete redundant file OSInterfaceManager (#12245) 2022-07-28 16:03:18 +08:00
mmyduckx db6f517c13 fix HttpClient severe performance degradation by use threadPool in se… (#12240)
* fix HttpClient severe performance degradation by use threadPool in sendImmdiate

* use global threadPool

* move include file to cpp file
2022-07-28 15:46:22 +08:00
James Chen 58a6059e0c Fix spine memory leak when restarting game and fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...) (#12206)
* Fix spine memory leak when restarting game.

* Fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...)

* Cleanup all hooks after 'AfterCleanupHookArray' is executed since user may add hooks in 'AfterCleanupHook' by mistake.
For example which in SharedBufferManager::afterCleanupHandle.

* Fix a memory leak in `operator=(TypedArrayTemp &&o)

* Fix spine memory leak, use PersistentHandleVisitor to iterate JSB objects in Object::cleanup.

* Update Class.cpp, use only one internal field.

* Remove JSB mapping in visitor callback.
2022-07-28 15:17:44 +08:00
timlyeee b3ccf93d50 Revert "Update external-config.json (#12224)" (#12246)
This reverts commit d947f1d679.
2022-07-28 14:59:15 +08:00
黄森斌 40e2ae3afa [Bug] cancel some props of components preview asset (#12158)
* cancel some props of components preview asset

* optimize asset preview comments

* ui-asset is readonly in particle editing template

* update english comments
2022-07-28 14:45:48 +08:00
mmyduckx a2323b69c0 add back HttpClient::destroyInstance in destroy to fix http no response when restart (#12236) 2022-07-28 14:09:43 +08:00
timlyeee d7ec3d3b82 V3.6.0 fix reflection not export bug. (#12237) 2022-07-28 13:50:45 +08:00
James Chen ab43d1f2a6 Fix memory leak in BufferAgent.cpp. (#12231)
Reproduce step:
Xcode Leak Profile -> Run -> Enter testcase -> tilemap: puzzle -> back to test list scene -> go to 'restart' scene -> click restart button.
2022-07-28 11:59:40 +08:00