Commit Graph

19 Commits

Author SHA1 Message Date
leda 6f18333fb3 free global g_textInputCallback before ScriptEngine clean up (#1575)
* Revert " fix editbox out of works after cc.game.restart (#1540)"

This reverts commit f539664522.

* free global g_textInputCallback before ScriptEngine clean up

* format beauty: tab -> space in editbox-android
2018-10-31 14:49:50 +08:00
leda f539664522 fix editbox out of works after cc.game.restart (#1540)
* fix editbox out of works after cc.game.restart

* same things on android & win32

* replace tab with space
2018-10-11 17:44:00 +08:00
minggo b642e0fcc7 Merge branch 'v2.0-release-rename' of github.com:cocos-creator/cocos2d-x-lite into merge-rename 2018-08-28 14:39:40 +08:00
W-MTZing 935a759cf4 rename c++ call java function by macro (#1468) 2018-08-22 14:07:17 +08:00
W-MTZing e284a0efd1 rename jni function by macro (#1467)
* rename jni function by macro

* modify JNI macro name
2018-08-22 09:21:35 +08:00
leda 2943b4ccf8 fix keyboard location calc error (#1466) 2018-08-21 16:01:40 +08:00
leda d92f07a5be beauty the "done" confirm button of EditBox on iOS & Android (#1464)
* chose a better color match for editbox button

* show editbox confirm button name depend on system language

* correct wrong order

* not magic number for this special color

* another empty line for strings.xml

* adapt color for iOS EditBox

* add editbox i18 strings for iOS mac

* use i18n strings

* simplfy string key, move i18n string location

* simplify get i18 string logic

* add i18n strings to link template

* same changes on default-template

* short i18 key on android
2018-08-21 14:18:05 +08:00
leda 9df2e0dcfa fix EditBox input Chinese error on iOS (#1460)
* fix input error when using 9 Key to input chinese

* textFieldDidChange callback works

* correct markedTextRange condition error

* do same adapt on textView
2018-08-17 09:47:33 +08:00
minggo 73e0109366 editbox support on windows (#1331) 2018-06-27 11:21:32 +08:00
minggo 09060d3709 fix size issue and typo (#1328) 2018-06-25 18:23:43 +08:00
leda 113ef05feb fix win32 simulator compile/link error, no fix when running (#1326)
* update simulator win

* add libcocos2d depend for simulator

* compile and link success

* update simulator win, add part window control
2018-06-22 17:26:53 +08:00
leda 723f52a472 win32 link/default template compile and link pass, but not works when run (#1321)
* modify file changes on project config

* correct libcocos2d compile

* add win32 props back

* Revert "fix windows link template (#1138)"

This reverts commit 332d95e5b8.

* correct compile error

* many link errors need to be solved

* added part lack methods

* add empty impl for canvas rendering context 2d

* update main.cpp

* correct audio/network compile and link error

* sync win32 application logic with mac

* remove wrong change on application-win32

* correct win32 default-template compile and link error

* win32 simulator part compile error fixed

* editbox define changes
2018-06-22 10:19:31 +08:00
minggo ffdbdd44fb improve editbox on mac (#1324)
* support password
* support length limitation
* prevent enter key in single line mode
2018-06-21 16:14:53 +08:00
minggo 467b0346ce editbox support mac (#1322) 2018-06-21 09:25:56 +08:00
minggo 1b55dbdfd4 fix bug that keyboard type is not changed when using passward on iOS (#1315) 2018-06-15 14:07:33 +08:00
minggo 5a06e1da7a send complete message when touch outside editbox (#1279) 2018-06-01 17:44:19 +08:00
minggo fbeb6dd200 Editbox ios support (#1278) 2018-06-01 14:12:03 +08:00
minggo 4ded383b8a fix crash of editbox on Android (#1273) 2018-05-30 14:51:56 +08:00
minggo 7235644283 Editbox support (#1270)
can work on Android
2018-05-28 17:09:57 +08:00