Commit Graph

22 Commits

Author SHA1 Message Date
James Chen b4613bd1d9 Fix typo and remove unused private variables in Engine.h/.cpp (#14992) 2023-05-08 11:38:45 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
江战 376f0ca284 use std array to store event listeners (#13283)
* use std array to store event listeners

* fix offAll

* make code debuggable

* make code debuggable

* rename to DECLARE_TARGET_EVENT_BEGIN_WITH_PARENTS
2022-11-10 11:00:33 +08:00
江战 280fd976bc Add EventTarget & EventBus (#13100) 2022-10-28 15:44: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
minggo c33a59fb94 delete/recreate all resources when restart app (#11301)
* unify restart logic
2022-06-01 11:41:04 +08:00
李吉林 25cc44e315 refactor DebugRenderer exiting (#11145) 2022-05-19 11:41:50 +08:00
minggo fac5bf833a Subsystem startup shutdown (#11128)
* refactor startup/shutdown process of BuiltinResMgr
* refactor startup/shutdown process of ProgramLib
2022-05-18 11:09:55 +08:00
minggo 75dcf062c6 refactor startup/shutdown process of gfx device (#11123)
* refactor startup/shutdown process of gfx device
2022-05-17 17:29:09 +08:00
minggo b33e91fb15 refactor startup/shutdown process of DebugRenderer (#11114)
* refactor startup/shutdown process of DebugRenderer
2022-05-16 19:32:01 +08:00
minggo c3a6205ce2 Refactor startup/shutdown process of ScriptEngine (#11108)
* refactor startup/shutdown process of ScriptEngine
2022-05-16 17:39:44 +08:00
minggo b6debf5d3f refactor Profiler startup/shutdown (#11105) 2022-05-16 11:36:33 +08:00
minggo 0c12729812 refactor startup/shutdown of file system (#11089)
* refactor startup/shutdown of file system
2022-05-16 09:48:24 +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
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
bofeng-song 719315add2 fix editor to do (#10827) 2022-04-22 09:51:16 +08:00
qiuguohua e20e4b889e V3.5.0 Distribute touch events independently (#10712)
* Distribute touch events independently

* remove  touch event cast

* Fix the error of clang-tidy

Co-authored-by: qiuguohua <862332094@qq.com>
2022-04-10 22:10:15 +08:00
minggo e849e9cd7e fix compiling and crash error 2022-03-31 14:21:06 +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 94f42b3c4b Add dynamic library export macro (#10393)
* Add dynamic library export macro
2022-03-21 11:17:11 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +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