James Chen
d2c3429f95
Refactor Openharmony platform code to support switching between napi (ark js runtime) and v8 ( #16093 )
...
* OH could use v8 now.
* napi addon works.
* Use Napi addon to refactor code.
* Fix compilation errors.
* tweak
* Refactor oh platform, remove some hacking for oh.
* Fix log in runScript.
* Fix the issues in napi mode.
* Revert.
* Remove an unused comment.
* Refactor log output in NapiHelper.cpp and OpenHarmonyPlatform.cpp
* Update oh template.
* Remove unused code.
* Remove unused debug log in jsb-gfx.js
* Update include
* Revert Screen::isDisplayStats.
* update OH template for v8 backend
* update
* Update CMakeLists.txt for OH
* Fix a compilation error in NapiHelper.cpp while switching to NAPI mode
* Keep the symbol of entry function.
* Add -Wl,--gc-sections and add -Wl,-s for release mode.
* Update external to 3.8.2-1
* Don't use `console.assert` directly.
* Remove oh specific methods ( getInnerWidth/Height, getWindowHandle ) in Device class.
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-01 16:27:08 +08:00
Leslie Leigh (李的序)
3a470a6dff
Add utilities to check integrity of pal implementations ( #15694 )
...
* Add utilities to check integrity of pal implementation
* Fix screen adapter
* Fix game pad input
* Apply suggestions from code review
Co-authored-by: PP <chinese1236@qq.com >
* Add license
---------
Co-authored-by: PP <chinese1236@qq.com >
2023-07-13 14:18:53 +08:00
PP
509d73b27d
merge branch v3.8.0-aot ( #15421 )
...
* PR1: add explicit function return type (#15311 )
* PR4: add explicit function return type (#15314 )
* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233 (#15314 ) (#15357 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* add function return type
* fix version checking
* fix return type
---------
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-06-13 18:08:45 +08:00
minggo
bcc581dfd7
Merge branch 'v3.7.3' into develop_merge_v3.7.3
2023-03-24 10:57:28 +08:00
qiuguohua
e68506916c
Develop branch adapts to openharmony ( #14582 )
2023-03-20 14:18:52 +08:00
bofeng-song
24aa09670b
support sepereate engine for taobao mini game ( #14596 )
...
* support sepereate engine for taobao mini game
2023-03-20 10:14:25 +08:00
mmyduckx
38c0ed4f95
add wechatprogram platform support ( #14580 )
...
* add wechatprogram platform support
2023-03-15 14:13:24 +08:00
PP
713e29e168
fix: failed to execute plugin script in editor extend plugin on simulator ( #14423 )
...
* fix: failed to execute plugin script in editor extend plugin on simulator
* add error listener
2023-03-01 17:46:43 +08:00
bofeng-song
882887cb9f
support taobao mini game ( #14324 )
2023-02-22 10:34:17 +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
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
PP
8a1b31e0ba
support Taobao platform ( #12819 )
...
* add taobao adapter
* add TAOBAO platform
* add templates
update templates
* fix: readJsonSync can't work on Taobao platform
add TODO
* fix: update import-map
* fix: ban splash screen on Taobao platform
* fix: adapt image loading
* fix: MINIGAME on Taobao platform
* update constant manager
* optimize: skip splash screen on Taobao
* fix: @ separator on Taobao platform
* Revert "fix: @ separator on Taobao platform"
This reverts commit 18903291807ef3263c27a90ad67753da7e531142.
* fix: @
* fix: undefined canvas.addEventListener
* fix: minigame.isDevTool
* fix: createCanvas on canvasOnReady hook
* optimize: event register
* optimize: onCanvasCreated name
2022-09-21 14:50:03 +08:00
PP
d47f220164
fix wechat cc plugin import scriptPackages ( #11967 )
2022-07-14 15:11:10 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00