Commit Graph

5502 Commits

Author SHA1 Message Date
Cocos Robot d81e3e0e29 [ci skip][AUTO]: Automated code generating update: 4cc29f4b11e05b9403ad432df44f9a376eb5dae5 (#12321) (#12324)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 10:46:11 +08:00
timlyeee accb187a9b Add missing methods for Material (#12321) 2022-08-04 10:18:43 +08:00
Cocos Robot 63c624f20b [ci skip][AUTO]: Automated code generating update: 9a5c6dcc0b3729d484567cd447358227c12f7e00 (#12318) (#12322)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 09:40:15 +08:00
minggo 684d560dfc bind missing functions (#12318) 2022-08-03 18:42:19 +08:00
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
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
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
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
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
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
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
Yiwen 182cae57e4 add an extra alignment to GeneralBarrierInfo to make it 8 byte aligned (#12247) 2022-07-28 18:54:06 +08:00
江战 74e8f2323d [3.6.0] add deprecated funtions (#12155) 2022-07-28 18:31:09 +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
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
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
Yiwen e40b92972e fix the bug that game will crash on exit when using deferred pipeline (#12216) 2022-07-28 10:52:02 +08:00
timlyeee d947f1d679 Update external-config.json (#12224)
Update external-config to fix spirvleak on mac
2022-07-28 09:37:45 +08:00
mmyduckx 3ab6917fb9 refine websocketClose parameters for protection (#12202)
* refine websocketClose parameters for protection

* fix network manually close crash
2022-07-28 09:37:12 +08:00
Zhang mingzhen ecd94ea596 add vbColorDirty for native color filling (#12221)
* set colorDirty as true initially.

* move it to onEnable

* add vbColorDirty to protected native code sorting

* for complete padding

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-07-27 19:28:39 +08:00
Cocos Robot c55d44862a [ci skip][AUTO]: Automated code generating update: 57eae606773ecbaa5f49b63c7fced4c34bd14912 (#12225) (#12227)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-27 18:23:18 +08:00
江战 9808933f78 Disable tbb on HarmonyOS & CI fix bindings (#12225) 2022-07-27 18:07:52 +08:00
徐兵 e704d5e9c9 remove USE_REFLECTION_CUBEMAP (#12215) 2022-07-27 17:56:32 +08:00
bofeng-song 836ad2211d fix screenPointToRay logic error (#12210)
* fix screenPointToRay logic error
2022-07-27 15:34:43 +08:00
zhakesi 4644228090 fix binding inverseBindposes (#12205) 2022-07-26 20:14:19 +08:00
qiuguohua 9beb03ebb6 Fixed the problem that the script callback function could not be registered in game.cpp (#12190) 2022-07-26 18:34:56 +08:00
James Chen d553ce2bdb [v3.6.0] Fix memory leaks (#12185) 2022-07-26 18:01:53 +08:00
Cocos Robot 98572ddb39 [ci skip][AUTO]: Automated code generating update: 11c1ee7b5be440230cab4a0c9c9dff92a303ac42 (#12184) (#12200)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-26 15:44:27 +08:00
Zeqiang Li b487884334 Fix a memory leak in CCMTLSemaphore (#12189) 2022-07-26 15:41:53 +08:00
ChiaNing 310525e358 fix ui Model proxy memory leak (#12184) 2022-07-26 15:37:46 +08:00
bofeng-song eac9e0cc90 fix build error while enable swappy (#12191) 2022-07-26 14:46:47 +08:00
Cocos Robot dcb7132d00 [ci skip][AUTO]: Automated code generating update: d2330ea6e972d60060489854223e2e65b6adb9d7 (#12181) (#12182)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-25 19:00:42 +08:00
timlyeee dd25eee8ba disable debug renderer for v3.6 to ignore feature cropping (#12181) 2022-07-25 17:45:30 +08:00