Darcy Wong
36b2261cbe
Start merging language/keyboard info
2019-01-17 22:49:54 +07:00
Darcy Wong
23382fa53b
Update unit tests
2019-01-17 22:49:54 +07:00
Darcy Wong
19cf116684
Start processing kmp.json to determine existing language/keyboard pairs
2019-01-17 22:49:54 +07:00
Darcy Wong
7cd2b7ee22
Install the first language in a keyboard package
2019-01-17 22:49:54 +07:00
Darcy Wong
831382db58
Merge branch 'beta' into android-dispatch-external-keys
2019-01-14 18:43:22 +07:00
Darcy Wong
8b9c71bc9b
Cleanup from review comments
2019-01-14 18:41:34 +07:00
Darcy Wong
7ed0547084
Update minimum SDK level from 15 to 16
2019-01-14 11:31:30 +07:00
Darcy Wong
77571ab555
Pass original eventModifiers to dispatchKey()
2019-01-11 15:20:24 +07:00
Joshua A. Horton
2ef001f30f
Moves keycode constants to their own file, starts 'text' namespace.
2019-01-11 12:27:06 +07:00
Darcy Wong
d03ab9fef1
Pass "tab" and "enter" back to Android app to handle
...
Instead of KMW inserting whitespace, pass those keys back to the embedded app to natively handle.
2019-01-11 11:24:13 +07:00
Darcy Wong
f41cf328ab
Update keyboard version comparison
...
Currently, keyboard versions as floats are compared for determining when to update the keyboard.
This doesn't work for the current default keyboard sil_euro_latin version 1.8.1
* Move compareVersions() from KMManager to FileUtils
2019-01-10 13:51:29 +07:00
Darcy Wong
2db957cbb4
Address review comments
...
* log JSON parsing exceptions
* explain remove() usage for API 19+
* revert code in fontUrls()
2019-01-09 09:10:23 +07:00
Darcy Wong
af8c9f7d60
Get the ttf font for osk too
2019-01-08 22:39:24 +07:00
Darcy Wong
89fc04c3a5
Try to keep only .ttf font
2019-01-08 17:00:57 +07:00
Darcy Wong
9165a7dcb0
Add .ttf file utility
2019-01-08 15:26:36 +07:00
Darcy Wong
72ca81fcdb
Catch exception when creating Typeface
2019-01-08 15:26:01 +07:00
Darcy Wong
8c3f242220
cleanup
2019-01-02 19:08:23 +07:00
Darcy Wong
8d9006a376
Add cancel button to ProgressDialog
2019-01-02 19:08:23 +07:00
Darcy Wong
a05194589a
Update default sil_euro_latin to v 1.8.1
2018-12-07 09:40:22 +07:00
Darcy Wong
5ea4b31922
Revert svg support for OSK font
2018-11-27 13:50:20 +07:00
Darcy Wong
30e3afb7d7
Don't restrict use of svg
2018-11-27 11:25:30 +07:00
Darcy Wong
61c98e7771
Address review comments
...
* Revert support for .svg and .woff fonts
* Check filename for welcome.htm
* Use FileUtils to check Keyman package extension
2018-11-26 11:07:25 +07:00
Darcy Wong
4fa61a745a
Update usage of lastIndexOf
2018-11-21 16:08:30 +07:00
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