Commit Graph

74 Commits

Author SHA1 Message Date
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
qiuguohua 8303d7fb8c Move the copyTextToClipboard interface from SystemWindow to System (#14729)
* Move the copyTextToClipboard interface from SystemWindow to System

* Use file names with the same case as the directory name
2023-04-07 11:09:08 +08:00
江战 cdfd194c4c Add HPE Feature Detetion and JNI Method Refactoring (#14633) 2023-03-26 16:26:45 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +08:00
qiuguohua ee86fc40bd Native platform modifies exit process (#14141) 2023-02-15 17:11:28 +08:00
minggo 313c58fe33 Improve utils api doc (#13922) 2022-12-28 15:04:56 +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
王凯鹏 0c96b6110b [Bug] fix : rename require in editor env (#13843) 2022-12-17 15:21:53 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
troublemaker52025 074a886f2e [feature] Add compressed mipmap (#13226) 2022-11-21 14:20:56 +08:00
James Chen cf8675a949 fixed #13232: [feature] Support to pass commandline arguments to JS (#13268)
* [feature] Support to pass arguments to execution file and export them to JS ( native.process.argv ) .
2022-11-10 09:47:28 +08:00
minggo d77afc3f06 Revert "Hide destructor (#13105)" (#13121)
This reverts commit b5804b58c8.
2022-10-21 18:55:32 +08:00
minggo b5804b58c8 Hide destructor (#13105)
* hide Image destructor

* hide HttpRequest destructor

* hide TextureBufferPool destructor

* hide gfx::Buffer destructor
2022-10-20 16:35:23 +08:00
林玮 85708b98d2 bugfix: crash when resizing on MacOS (#12816)
* fix: setCursorEnabled crash

* fix: crash when resize on MacOS
2022-09-20 14:13:39 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
timlyeee 2bd62354a7 V3.6.1 save image data (#12503) 2022-08-24 17:42:47 +08:00
minggo 063e049d66 use Map::emplace() to avoid creating pair object (#12152) 2022-07-29 09:47:55 +08:00
qiuguohua cd032aebd4 V3.6.0 bug (#11966)
* Fix access to application class on exit
2022-07-14 09:49:53 +08:00
江战 38e8a689e1 Support to send log to server, currently is only used internally by QA team (#11832) 2022-07-13 16:23:39 +08:00
mmyduckx 4fdf948d24 refactor downloaderTask API style (#11697) 2022-06-29 11:34:15 +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
mmyduckx cb713a75d8 Refactor image data binding (#11304)
* refactor image data binding
* use setPrivateObject instead.
2022-06-01 17:14:18 +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 8e7669bf92 replace assert with CC_ASSERT (#10913)
* replace assert with CC_ASSERT
2022-04-29 10:18:41 +08:00
minggo 444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
minggo 9dbca009ed Treat warning as error for more codes (#10732)
* fix some warnings
* treat warning as error
2022-04-12 14:58:34 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo ef013fc8c3 Remove ssize_t (#10664) 2022-04-07 17:17:18 +08:00
James Chen 4cf2a9c594 Add support for TextEncoder & TextDecoder. (#10665)
* Add support for TextEncoder & TextDecoder.
2022-04-07 10:46:18 +08:00
minggo b61e4b62dd fix some warnings (#10554) 2022-03-29 11:29:08 +08:00
minggo e58dccebbd remove CoreStd.h (#10541)
* remove CoreStd.h
2022-03-28 18:35:01 +08:00
Cocos Robot 997cd1044c [ci skip][AUTO]: Automated clang-format update: 3f0460bee6caa9fcac9629e2ef18ee4ea08b3656 (#10501) (#10536)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-28 11:53:36 +08:00
minggo ee5636c573 Replace map with unordered_map (#10501)
* replace ccstd::map with ccstd::unordered_map
2022-03-28 11:49:17 +08:00
Cocos Robot a2df4e4dbd [ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 13:50:39 +08:00
minggo 7f4cb9e3b1 Remove string (#10469)
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
minggo ccc84b06b6 replace std::unordered_map with ccstd::unordered_map (#10459)
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
Cocos Robot 568b9b9910 [ci skip][AUTO]: Automated clang-format update: b5915aa03b753a6e67f09d03980608e3cdce2887 (#10442) (#10448)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-22 18:12:49 +08:00
minggo 4ef2fdea21 repalce std::map with ccstd::map (#10442) 2022-03-22 18:05:31 +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
timlyeee 2769040896 editbox-win32 (#10118)
* editbox-win32
* editbox styles
* bind with jsb_input
2022-03-14 15:52:35 +08:00
Cocos Robot b8396a94f8 [ci skip][AUTO]: Automated clang-format update: 0d261be694e19b254fa16510599850ab8a8a8eab (#10270) (#10334)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-14 15:17:54 +08:00
mmyduckx 92ac6f3019 Unzip binding (#10270)
* add zipUtils manual bindings
2022-03-14 15:10:40 +08:00
timlyeee 8f53542267 fix win64 restart crash (#10233)
* fix win64 restart crash

* supply restart fix from v3.4.2/v3.5(supply a default context)
* temp hack for v8::Arraybuffer(abi conflict).
* remove use of windows dll for x86
2022-03-09 16:07:24 +08:00
James Chen bd54a082a3 Update Spidermonkey (97.0.1) backend for se (jswrapper) (#10170)
* Update spidermonkey backend for se.

* Update cmakelist

* Bug fix for se spidermonkey backend.

* Fix constructor binding for spidermonkey backend.

* Fix wrong syntax of calling native function in simple-texture.jsb.ts & builtin-res-mgr.jsb.ts

* Use jsb.createExternalArrayBuffer for caching since it will not be moved during GGC.

* Cleanup se spidermonkey backend

* Add Object::createExternalArrayBuffer for se v8 backend.

* Remove unused code in jsb_assets_manual.cpp

* Add jsb.createExternalArrayBuffer binding.

* Remove unused WebGLRenderingContext registeration.

* Remove unused code in jsb_global_init.cpp

* Add Root::setDevice.

* Invoke ScriptEngine::mainLoopUpdate in Engine.cpp.

* Update CMakeLists.txt

* Make missing return type as an error.

* Cleanup for sm/ScriptEngine.cpp

* prefine.cmake fix for vs.
2022-02-24 18:20:54 +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
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
qiuguohua 2f7eb00403 1、Modify the interface for obtaining the window handle (#278)
2、Debug mode to check if the interface is empty
2021-12-02 18:06:11 +08:00