Commit Graph

72 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
mmyduckx dea97a288a fix ios inputOnToolbar missing cursor (#14784) 2023-04-13 09:58:41 +08:00
mmyduckx ac3adafbb6 fix ios editbox getSafeAreaRect (#14721) 2023-04-07 15:52:34 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +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
mmyduckx 0e9de1e208 fix win32 editbox cannot getCurrentWindow handler (#13680) 2022-12-06 16:30:07 +08:00
听榆大叔 e1c86d668b Fix composed character on multiline EditBox (#11263)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-11-24 09:46:16 +08:00
江战 7ccd14e6e6 JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color (#12968) 2022-10-31 17:24:54 +08:00
江战 280fd976bc Add EventTarget & EventBus (#13100) 2022-10-28 15:44:33 +08:00
timlyeee 350102a1a9 Fix crash when clicking editbox on some low level windows machines (#11930) 2022-07-11 17:37:50 +08:00
bofeng-song 113fad0259 refine: rename windowHanler to windowHandle, rename onDestory to onDestroy (#11907) 2022-07-09 13:54:18 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +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
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
Cocos Robot 19b83edec4 [ci skip][AUTO]: Automated clang-format update: fa6bbe64597c6890c636e0619730b6be3f5dfdc2 (#10118) (#10335)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-14 16:41:44 +08:00
timlyeee 2769040896 editbox-win32 (#10118)
* editbox-win32
* editbox styles
* bind with jsb_input
2022-03-14 15:52:35 +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 1552345596 Merge branch 'v3.4.2' into v3.5.0_merge_v3.4.2
Conflicts:
	cocos/platform/android/jni/JniCocosActivity.cpp
	cocos/platform/apple/JsbBridgeWrapper.mm
	cocos/platform/ohos/jni/JniCocosAbility.cpp
	cocos/renderer/gfx-metal/MTLCommandBuffer.mm
	external/config.json
2022-01-24 15:01:01 +08:00
kenshin a608d90577 copy from https://github.com/cocos-creator/engine-native/pull/4170 (#4185) 2022-01-17 19:37:11 +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
Yun Hsiao Wu 2056271bac misc pipeline fixes (#3811) 2021-08-10 09:49:18 +08:00
timlyeee b9ed0af4fa Fix glslang errors and Edit-box errors (#3802)
* Update cmake list for dynamic library update

* as glslang and tbb become dynamic library, the cmake should copy dll from glslang folder too.
* "gulp gen simulator" command will automatically generate by user's comupter so sometime it will generate x64 version's simulator. no it's update to  generate Win32 version
* Edit-Box was using wrong parameters GWL_WNDPROC, so x64 version will hit an error. details below:https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra

* small optimize gulp

* change config

* Update cmake list for dynamic library update

* as glslang and tbb become dynamic library, the cmake should copy dll from glslang folder too.
* "gulp gen simulator" command will automatically generate by user's comupter so sometime it will generate x64 version's simulator. no it's update to  generate Win32 version
* Edit-Box was using wrong parameters GWL_WNDPROC, so x64 version will hit an error. details below:https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra

* add glslang header

* Revert "Update cmake list for dynamic library update"

This reverts commit 5eceb132c2411d7e479f6744e33048fabaafe780.

* fix rebase error
2021-08-05 17:22:46 +08:00
timlyeee 723f871bcc update x64 external (#3727) 2021-07-16 11:47:30 +08:00
江战 a652715f5a Harmony OS support - dont merge (#3528) 2021-05-21 10:43:22 +08:00
minggo f6a0c82941 fix conflict 2021-03-15 17:24:16 +08:00
PP 49aa21c50c fix editbox multiline mode can't end editing (#3317) 2021-03-15 10:23:19 +08:00
PP e9963878ed fix editBox end editing by pressing return on Win32 / MacOS (#3295) 2021-03-05 11:17:34 +08:00
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
minggo 826babfa64 Format code (#3217) 2021-01-13 14:49:32 +08:00
kenshin 0181a6842e sync https://github.com/cocos-creator/cocos2d-x-lite/pull/3101 (#3114) 2020-12-14 15:11:18 +08:00
PP f7b0546bff sync pr from 2d (#3062)
* fix editbox indicator jump to end on iOS

* support dispatchOrientationChangeEvent

* fix orientation when flip landscape on iOS device
2020-11-25 10:42:58 +08:00
吴智明 4dc6a9f67c change android package name (#3006) 2020-11-11 10:55:10 +08:00
PP_Pro 98af261687 fix editbox cannot complete on native native desktop platform 2020-11-09 15:31:27 +08:00
江战 346ff97f80 [bugfix] correct utf8 encoding (#2394) (#2846)
* add UTF8LooseFix

* fix include
2020-09-28 09:39:35 +08:00
minggo 9d9c79012b change file path (#2733) 2020-09-10 09:51:24 +08:00
minggo b08407c501 remove CC/cc prefix for file names (#2728) 2020-08-28 15:23:29 +08:00
江战 7423ccef65 Impl runOnGameThread on Android (#2577) 2020-06-24 15:31:25 +08:00
minggo 7efee066fd Remove duplicate (#2597) 2020-06-19 11:07:21 +08:00
minggo d381a16142 change namespace from cocos2d to cc (#2572) 2020-06-16 14:34:46 +08:00
Arnold 79fc8353d1 3dgfx add CI & cmake (#2350)
* use-cmake

* revert: enable gles3 for android

* compile with cmake only
2020-04-14 13:58:45 +08:00
Arnold 4945e21a5e 3dgfx win32 refactor, move view-win32 to platform/win32/ (#2320)
* remove View-win32 in templates

* add View-win32.cpp/h

* fix template

* fix template, file path

* remove title
2020-03-23 18:15:54 +08:00
Arnold d3cf38e609 [3d-gfx] win32 fix editbox (#2302) 2020-03-19 14:42:46 +08:00
minggo 2d3010f546 Editbox (#2294)
* mac support editbox

* fix compiling/runtime issue for iOS/Android

* prevent handling touch event if it is prevented

* make editbox work

* fix effect of editbox on android
2020-03-19 13:46:31 +08:00
Arnold ce1cd53386 [gfx] win32 adaptation (#2270)
* update for windows

* update ref location

* update external

* revert debug info

* fix include order

* fix template

* fix buffer

* remove CCStdC-win32*
2020-03-18 11:35:40 +08:00
minggo adb387ada5 remove unneeded codes and fix jni implementation (#2154) 2020-02-20 12:03:14 +08:00
PP e869bc1b63 fix editBox background color in iOS13 (#1886) 2019-10-16 17:43:08 +08:00