Commit graph

1638 commits

Author SHA1 Message Date
Darcy Wong
481eda7d6f Update FileUtils to handle mixed-case file extensions 2018-11-21 14:27:18 +07:00
Darcy Wong
3a9c87d0d7
Merge pull request #1320 from keymanapp/android-cloud-api-4
[Android] Update to Cloud API 4.0
2018-11-15 06:12:26 +07:00
Darcy Wong
2a9e2c1da8 Change to Cloud API 4.0 2018-11-13 22:57:30 +07:00
Darcy Wong
0fc93d14f3 Swap TextView positions when end < start
Fixes #1312

Cherry-pick of #1313
2018-11-13 16:58:47 +07:00
Darcy Wong
33ee8373d6 Add styling to show current selection in list
In Keyman 10, the user could navigate the keyboard/language picker lists and the currently selected row would have a gray background.
2018-11-08 08:24:48 +07:00
Darcy Wong
84fe9853bd Revert changes involving longpress of option key
* also remove keyboard icons
2018-11-05 16:42:18 +07:00
Darcy Wong
6cd543e63a Revert "Start defining actions for Globe Key longpress"
This reverts commit 4aa7007a85.
2018-11-05 16:17:07 +07:00
Darcy Wong
4aa7007a85 Start defining actions for Globe Key longpress 2018-11-05 14:51:29 +07:00
Darcy Wong
c74c7baf7c Move "Close Keyman" button to bottom of the list 2018-11-05 13:58:08 +07:00
Darcy Wong
4ac87de3e1 Merge branch 'master' into android-change-system-keyboard 2018-11-05 08:52:38 +07:00
Darcy Wong
43d1177d34 more wip for longpress 2018-11-04 22:48:14 +07:00
Darcy Wong
1fa8b584bd Address review comments 2018-11-03 21:30:22 +07:00
Darcy Wong
b09055f559 Make the whole "Switch to Next Keyboard" clickable 2018-11-02 16:48:04 +07:00
Darcy Wong
71d9e3a058 Only display keyboard switcher for system keyboards 2018-11-02 15:07:22 +07:00
Darcy Wong
5bcaf05daa Add button to switch keyboard
New button added KeyboardPickerActivity
2018-11-02 13:55:00 +07:00
Darcy Wong
f3a0bd72d5 Add boundary checks on scanCode 2018-11-01 10:13:15 +07:00
Darcy Wong
050474d1a6 Revert numberpad keys to KMW code 0 2018-11-01 09:28:18 +07:00
Darcy Wong
5a5fbd18bd Separate call to switch to next IME 2018-10-31 16:11:43 +07:00
Darcy Wong
287accf37d Combine globe actions
Add a new UI in the Keyboard picker to switch system keyboard
2018-10-31 16:11:43 +07:00
Darcy Wong
d9150b6678 Adjust system keyboard globe button
Switch to next Keyman keyboard
When last Keyman keyboard is reached, switch to next system IME. In the background, set the Keyman system keyboard to the first keyboard (so it will be available next time the system keyboards cycle around)
2018-10-31 16:11:43 +07:00
Darcy Wong
bfb784c933 Allow system "globe button" to change keyboards 2018-10-31 16:11:43 +07:00
Darcy Wong
b43a88e94a Fix arrow keys 2018-10-31 15:37:24 +07:00
Darcy Wong
0a109208ba Remap Android physical keys to Linux key codes (KLC or "scan codes") 2018-10-31 13:17:58 +07:00
Darcy Wong
36f5b3992f Use scanCode to detect 102nd key 2018-10-30 15:20:46 +07:00
Darcy Wong
113e919a7d Clean up two stray icons
error dialog when connection unavailable shouldn't include "+" in the titlebar
2018-10-24 14:41:16 +07:00
Darcy Wong
1f3cd5268b Tidy up more strings 2018-10-24 10:44:20 +07:00
Darcy Wong
8ce4b4f30b Consolidate UI strings to strings.xml 2018-10-24 07:55:51 +07:00
Darcy Wong
bf3e05e2a4 Refactor setIsChiral 2018-10-09 13:23:30 +07:00
Darcy Wong
47d2e30af3 Refactor KMEA Keyboard JS handlers
Refactor common JS interface functions from `KMInAppKeyboardJSHandler` and `KMSystemKeyboardJSHandler` into a base class `KMKeyboardJSHandler`.

They still need to implement `setIsChiral` and `insertText`.
2018-10-08 15:49:40 +07:00
Darcy Wong
d6ceee5ada Cherrypick fix from #1230 2018-10-04 09:43:15 +07:00
Darcy Wong
3e1bb4dca1 Shorten duration to 100ms 2018-10-03 08:43:28 +07:00
Darcy Wong
5905e95ba5 Fix vibrate
Apply 500ms vibrate
2018-10-02 15:19:28 +07:00
Darcy Wong
69de652956 Add hooks to vibrate when KMW sends BEEP 2018-10-01 16:13:12 +07:00
Darcy Wong
c2fe6197db Change system keyboard to "numeric" layer for numeric text fields
Fixes #289

When changing to a digit/phone number text field, set the OSK to "numeric" layer if it exists. 

This will occur after `resetContext()`.
2018-09-27 13:14:25 +07:00
Darcy Wong
47e1f0aebc Fix null pointer for KeyboardInfoActivity 2018-09-19 14:39:59 +07:00
Darcy Wong
544a58c151 Add Material Design 2018-09-19 13:46:03 +07:00
Darcy Wong
39fe506d8c Resolve review comments
* Clean up unnecessary `KMKey_` keys
* Update MainActivity to only download ad-hoc KMP packages.
2018-08-27 11:17:25 +07:00
Darcy Wong
74ca0d09d0 Merge remote-tracking branch 'origin/master' into android-remove-adhoc-json 2018-08-27 07:43:04 +07:00
Darcy Wong
ad8638e47c Validate keyboard ID when downloading keyboard from Keyman cloud
Cherry-pick of #1121
2018-08-22 22:51:54 -05:00
Darcy Wong
77c03eef84 Ensure keyboards list has an entry
Cherrypick #1112 to master

There are some crash reports coming from `KeyboardPickerActivity.java` because the keyboards list is null (file access error). When the app tries to display the installed keyboards list, this results in the crash.

`getKeyboardsList()` already checks the existence of the `keyboards_list.dat` file, so some of that code is also redundant.
2018-08-22 21:04:32 +07:00
Darcy Wong
7b0af9a68c Add keyboard file and update history.md 2018-08-20 04:26:03 -05:00
Darcy Wong
948836d9ee Change default keyboard from european2 to sil_euro_latin
Fixes #1100
2018-08-20 04:13:02 -05:00
Darcy Wong
bb72f4406c Remove ad-hoc distribution of keyboards via keyman:// protocol
Addresses Android platform for #538
2018-08-16 22:29:14 -05:00
Darcy Wong
1c9775e287 Fix crashes when input connection or package name is null
This cherry picks the commits from #1103 onto master
2018-08-15 22:05:42 -05:00
Marc Durdin
087f681146 Merge branch 'beta' into beta-p3s6-alpha 2018-06-27 14:58:58 +07:00
Marc Durdin
d871951521 Fix conflicts 2018-06-27 13:57:30 +07:00
Marc Durdin
b694885d4b Fixes #1026. updateKMText was called with unescaped string in some contexts. 2018-06-26 15:25:10 +07:00
Marc Durdin
08f282e550 Fixes #992. Cancel attempt to cancel a touchcancel event that can't be cancelled. Enough cancels there for ya? 2018-06-20 13:32:33 +07:00
darcywong00
37c47e650c Revert to cloud 3.0 2018-06-19 14:30:53 +07:00
darcywong00
44afcbed7d Fix api.keyman.com/cloud query for language list
* Update to cloud 4.0
* Include `&languageidtype=bcp47
2018-06-19 14:16:39 +07:00