Merge lp://staging/~cosmos-door/ubuntu-keyboard/japanese-keyboard-rebooted into lp://staging/ubuntu-keyboard
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Sheldon | ||||
Approved revision: | 418 | ||||
Merged at revision: | 447 | ||||
Proposed branch: | lp://staging/~cosmos-door/ubuntu-keyboard/japanese-keyboard-rebooted | ||||
Merge into: | lp://staging/ubuntu-keyboard | ||||
Diff against target: |
2321 lines (+1925/-4) 38 files modified
debian/control (+11/-0) debian/server.conf (+1/-0) debian/ubuntu-keyboard-japanese.install (+1/-0) plugins/ja/ja.pro (+9/-0) plugins/ja/qml/Keyboard_ja.qml (+118/-0) plugins/ja/qml/Keyboard_ja_email.qml (+121/-0) plugins/ja/qml/Keyboard_ja_url.qml (+121/-0) plugins/ja/qml/Keyboard_ja_url_search.qml (+121/-0) plugins/ja/qml/keys/CommitKey.qml (+40/-0) plugins/ja/qml/keys/CursorKey.qml (+58/-0) plugins/ja/qml/keys/DomainKey.qml (+42/-0) plugins/ja/qml/keys/FlickArea.qml (+79/-0) plugins/ja/qml/keys/FlickCharKey.qml (+178/-0) plugins/ja/qml/keys/FlickPop.qml (+70/-0) plugins/ja/qml/keys/FlickPopKey.qml (+42/-0) plugins/ja/qml/keys/KanaSwitchKey.qml (+85/-0) plugins/ja/qml/keys/ModifierKey.qml (+79/-0) plugins/ja/qml/keys/UndoKey.qml (+25/-0) plugins/ja/qml/keys/key_constants.js (+31/-0) plugins/ja/qml/keys/modifier.js (+102/-0) plugins/ja/qml/qml.pro (+31/-0) plugins/ja/src/anthyadapter.cpp (+117/-0) plugins/ja/src/anthyadapter.h (+45/-0) plugins/ja/src/japaneselanguagefeatures.cpp (+92/-0) plugins/ja/src/japaneselanguagefeatures.h (+42/-0) plugins/ja/src/japaneseplugin.cpp (+59/-0) plugins/ja/src/japaneseplugin.h (+43/-0) plugins/ja/src/japaneseplugin.json (+7/-0) plugins/ja/src/src.pro (+39/-0) plugins/plugins.pro (+1/-0) qml/keys/languages.js (+1/-0) src/lib/logic/abstractlanguagefeatures.h (+2/-0) src/lib/logic/eventhandler.cpp (+2/-0) src/plugin/inputmethod.cpp (+29/-0) src/plugin/inputmethod.h (+9/-0) src/plugin/inputmethod_p.h (+3/-0) src/view/abstracttexteditor.cpp (+65/-4) src/view/abstracttexteditor.h (+4/-0) |
||||
To merge this branch: | bzr merge lp://staging/~cosmos-door/ubuntu-keyboard/japanese-keyboard-rebooted | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Sheldon (community) | Approve | ||
Mitsuya Shibata (community) | Needs Resubmitting | ||
Ken VanDine | packaging | Approve | |
Review via email:
|
Commit message
Implement Japanese keyboard layout
Description of the change
This is rewrite code to input Japanese from ubuntu-keyboard.
How to try it:
1. install ubuntu-keyboard this branch
2. setup japanese environment and enable japanese input method
1. launch System Settings and select Language & Text
2. set "Display language" to "日本語(日本)" (most bottom in list)
3. set "Keyboard layouts" to "[Ja] 日本語"
3. return to home scope and tap search icon
4. enjoy japanese input!
- Japanese input method use "Flick input" which is commonly used japanese
smartphones.
- please refer following video about how to input.
http://
Note about this branch:
1. support single kana-kanji conversion only
- does not support resize segment.
2. publish preedit and cursor_position property to QML
- Japanese input method use preedit hardly.
- So needs to edit preedit from QML before commit it.
- This branch add properties preedit and cursor_position to maliit_
- And emit signal by changed this property from abstracttexteditor.
src/
src/
src/
src/
src/
Thanks!
Hi Mitsuya,
Thanks for updating this, I've only just started reviewing it so there'll be some more comments to come later, but the most immediate issue with this branch is that it doesn't install the japanese plugin's "keys" directory (plugins/ ja/qml/ keys).
I've also made a couple of inline comments at locations where it's still using the old relative path imports for the global keys directory, this should now be done as "import keys 1.0" as this we allow the plugin to be installed separately from the rest of maliit in the future (e.g. as part of a custom tarball, or possibly as a click package at some point)
Thanks!