Commit Graph

36 Commits

Author SHA1 Message Date
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 fe0fd229a4 Fix CocosApplication doesn't unregister engine event when restarting. (#12250) 2022-07-28 18:15:35 +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
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
江战 d008270ef3 3.6 bugfix set macro USE_V8_DEBUGGER in cmake (#11727) 2022-06-28 17:59:41 +08:00
minggo 3e818c45c9 Change macro name (#11528)
* CC_PLATFORM_MAC_IOS -> CC_PLATFORM_IOS

* CC_PLATFORM_MAC_OSX -> CC_PLATFORM_MACOS

* add codes to keep compatible
2022-06-16 14:05:16 +08:00
江战 9a9a7531cc 3.6 native plugin loader (#11485) 2022-06-15 17:02:16 +08:00
PP 1bd1bf1c57 rename adapters (#11401)
* rename adapters

update

* update adapter require
2022-06-08 14:59:31 +08:00
James Chen 351af045c1 fixed #11362: [3.6] No debugger could be attached. (#11370)
* fixed #11362: [3.6] No debugger could be attached.
2022-06-06 16:11:03 +08:00
minggo c33a59fb94 delete/recreate all resources when restart app (#11301)
* unify restart logic
2022-06-01 11:41:04 +08:00
James Chen 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
timlyeee f0925edd69 listen WINDOW_RESIZE event by application (#10930) 2022-05-10 17:23:16 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
李吉林 3457292707 refactor exit process (#10880)
* refactor exit process

* add override

* fix geometry-renderer missing in deferred pipeline

* invoke destroy directly

* fix ESLint error

* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
minggo cb1234b63a Revert "fix memory leak (#10804)" (#10823)
This reverts commit 3374c7e41c.
2022-04-21 13:52:20 +08:00
李吉林 3374c7e41c fix memory leak (#10804) 2022-04-20 14:43:02 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo e849e9cd7e fix compiling and crash error 2022-03-31 14:21:06 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
Cocos Robot fb40da563d [ci skip][AUTO]: Automated clang-format update: e752c9cef279f2ee5a2dbe3db86da885d9717ea5 (#10556) (#10564)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 15:32:17 +08:00
qiuguohua 9a5f43d80c Modify the application interface name and remove the js keyword (#10556)
* Modify the application interface name and remove the js keyword
2022-03-29 15:08:49 +08:00
qiuguohua 723f2f0d4b Replacing the Observer Pattern with the Event Pattern (#10551)
* Replacing the Observer Pattern with the Event Pattern

* Fix callbacksinvoker interface

* fix callbacksInvokder compilation error

* Add remove event listener
2022-03-29 15:06:29 +08:00
qiuguohua 051e034f3f Put main.cpp in the template (#10543)
* Put main.cpp in the template
2022-03-28 18:03:51 +08:00
qiuguohua b6af1ada02 V3.5.0 create window (#10481)
* 1. Modify the parameters of the creation window
2. Modify the relationship between platform and interface
3. Rename vibrate to vibrator in linux and QNX

* Fix empty platform implementation

* Fix empty platform implementation

* Modify mac and ios createwindow interface

* Create a centered window by default

* Mobile platforms do not require window creation
2022-03-25 18:43:17 +08:00
Cocos Robot 80d49e36e2 [ci skip][AUTO]: Automated clang-format update: 1f05c945e35a7f637d7990cad60f2a1367dabf6c (#10479) (#10493)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-25 16:03:44 +08:00
江战 437e50692c V3.5 simplify native templates (#10479) 2022-03-25 11:25:07 +08:00
minggo 7f4cb9e3b1 Remove string (#10469)
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
Cocos Robot 24d84664f8 [ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 (#10402) (#10424)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 16:04:49 +08:00
minggo 34bf14269c unify stl (#10402)
* add ccstd::vector
* replace cc::vector with ccstd::vector 
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
qiuguohua 94f42b3c4b Add dynamic library export macro (#10393)
* Add dynamic library export macro
2022-03-21 11:17:11 +08:00
minggo 7f24f34b22 Merge branch 'v3.5.0' into v3.6_merge_v3.5.0 2022-01-25 19:52:06 +08:00
minggo f08555248f fix conflict 2022-01-24 17:23:03 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
oahcy 5379e6ef35 引擎适配linux平台 (#4035) 2021-11-29 17:17:15 +08:00
qiuguohua eeb9d5c689 Merge the code of v3.3.1 platform adaptation layer into the development branch (#3958)
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Fix github compile windows error

* 1、Fix github compile windows error

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* Solve mac and ios compilation failure

* Fix the problem of compilation of Windows-side simulator

* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;

* 1.Add the isDisplayStats and setDisplayStats method to the screen interface

* Fix clang-tidy compilation warning

* Fix clang-tidy compilation warning

* Repair the emulator, compatible with mac and win

* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors

* Rename interfaces to modules

* Replace CC_ASSERT with CCASSERT

* Replace CC_ASSERT with CCASSERT

Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +08:00