Marc Durdin
6a84de3006
Add unit test for keyboard-info language tag validation
2017-12-13 11:47:01 +07:00
Marc Durdin
4f49f5713e
Validate BCP-47 tags in the .keyboard_info files and ensure canonical
2017-12-13 10:35:43 +07:00
Marc Durdin
b049e65c0a
Merge pull request #491 from keymanapp/developer-package-editor-checks
...
Remove extraneous space from pretty-printed json formatting to match common json formats
2017-12-13 10:32:13 +07:00
Marc Durdin
30fe30ebdc
Merge pull request #492 from keymanapp/keyboard-info-updates
...
Update keyboard_info per schema spec
2017-12-13 09:33:51 +07:00
Marc Durdin
34d1f00b08
Update keyboard_info per schema spec
2017-12-13 09:26:17 +07:00
Marc Durdin
3ec3ff6efa
Tweak Json formatting
2017-12-13 09:24:28 +07:00
darcywong00
ebafec1626
Fix url key and isCustom() check
2017-12-13 05:57:49 +07:00
darcywong00
ba1a84dde6
Refactor keyboard download code
...
Currently in `KMManager`, there's 3 methods to download a `KMKeyboard` (2 in `KMKeyboardDownloader`, 1 in `KMCustomKeyboardDownloader`) for the 3 use-cases respectively:
1. Add new keyboard (from the cloud)
2. Update a keyboard
3. Install a custom keyboard
This PR refactors the following:
1. Code from `MainActivity.checkUrl()`, `KMManager.KMKeyboardDownloader()`, and `KMManager.CustomKeyboardDownloader()` into a new activity `KMKeyboardDownloadActivity`.
Code for doing actual file downloads are kept in an `AsyncTask`.
2. `FileDownloader` moved to a separate util class.
3. Confirmation dialogs for downloading keyboards are also refactored into `ConfirmDialogFragment`.
2017-12-13 05:14:45 +07:00
Gabriel Wong
592b26b52d
Fix help popup positioning
2017-12-12 14:34:24 +07:00
Marc Durdin
e47e6a002e
Merge pull request #486 from keymanapp/developer-package-editor-checks
...
Package Editor and Compiler should do version checks on keyboards
2017-12-12 13:03:30 +07:00
Marc Durdin
294c114320
Unit test for package and keyboard version checks
2017-12-11 19:55:45 +07:00
Marc Durdin
bab83970a5
Package Editor and Compiler should do version checks on keyboards
2017-12-11 19:55:32 +07:00
Joshua A. Horton
619acbbc77
The new OSK font is ready to roll!
2017-12-11 15:07:14 +07:00
Joshua A. Horton
d4cc48d403
Merge branch 'master' into web-340-chiral-font
2017-12-11 15:01:25 +07:00
Gabriel Wong
1b06075594
Update migration level even when no keyboards migrated
2017-12-11 12:54:28 +07:00
Gabriel Wong
161a129407
Fix samples
2017-12-11 12:42:49 +07:00
Gabriel Wong
63ab59c011
Delete keyboard files
2017-12-11 11:54:02 +07:00
Joshua Horton
3718ae775b
Merge pull request #482 from keymanapp/android-kmp-processor
...
Android .kmp package processor
2017-12-11 10:35:31 +07:00
Joshua A. Horton
4a3cf87fe1
Tweaked JSONParser error log tags.
2017-12-11 10:03:15 +07:00
Joshua A. Horton
882dd8425a
Documentation for the newly added classes.
2017-12-11 08:48:48 +07:00
Gabriel Wong
59543baded
Ensure keyboard directory created when downloading
2017-12-08 16:45:38 +07:00
Gabriel Wong
3b2e1153ca
Keep track of migrations that are performed
2017-12-08 16:21:40 +07:00
Gabriel Wong
658e2c460d
Create FullKeyboardID to identify user keyboards
2017-12-08 16:04:02 +07:00
Joshua A. Horton
ddb1d58850
Added a .kmp version check test.
2017-12-08 15:23:51 +07:00
Joshua A. Horton
ba0cbd2d72
First functional iteration of the .kmp processor.
2017-12-08 14:53:38 +07:00
Marc Durdin
a9ea260611
Merge pull request #480 from keymanapp/developer-package-from-keyboard
...
Update 'package for distribution' command to bundle both js and kmx
2017-12-08 14:25:00 +07:00
Marc Durdin
4bb638f86f
Tweak per review
2017-12-08 14:23:05 +07:00
Marc Durdin
fe586dd795
Merge branch 'developer-package-from-keyboard' of https://github.com/keymanapp/keyman into developer-package-from-keyboard
2017-12-08 14:14:13 +07:00
Marc Durdin
efc199ab07
Update 'package for distribution' command to bundle both js and kmx
2017-12-08 14:14:00 +07:00
Joshua A. Horton
4ec82a5acf
Minor code omission.
2017-12-08 14:11:34 +07:00
Marc Durdin
f09c69f5ca
Merge pull request #478 from keymanapp/developer-package-editor-real
...
Add support for editing keyboard information in package editor, plus basic BCP-47 support to make this work
2017-12-08 14:06:59 +07:00
Joshua A. Horton
8bb486415b
Initial JSON extraction/analysis work.
2017-12-08 14:05:56 +07:00
Gabriel Wong
8ba393e034
Use migrated directory structure
2017-12-08 13:34:50 +07:00
Joshua A. Horton
997164066d
Added KMEA test cases to build script, debugged working path.
2017-12-08 13:04:09 +07:00
Gabriel Wong
b52b672005
Create Migration to KMP directory structure
2017-12-08 12:34:12 +07:00
Joshua A. Horton
9157b6decd
Refactored the JSONParser class; kmp.json now loads.
2017-12-08 12:21:18 +07:00
Gabriel Wong
415066dea5
Create Version type
2017-12-08 10:38:48 +07:00
Joshua A. Horton
0bbc254278
Basic extraction and test case infrastructure for KMP processing.
2017-12-08 10:32:03 +07:00
Gabriel Wong
ec0e096009
Merge pull request #479 from keymanapp/ios-logging
...
Use XCGLogger instead of kmLog
2017-12-08 09:53:51 +07:00
Marc Durdin
406f92179a
Merge branch 'master' into developer-package-editor-real
2017-12-07 15:44:25 +07:00
Marc Durdin
a292399c3d
Merge pull request #481 from keymanapp/developer-compiler-bitmask-bug
...
Ensure that keyboards compiled without debug have the correct bitmask for KeymanWeb 10
2017-12-07 15:43:03 +07:00
Marc Durdin
7f584230a5
Ensure that keyboards compiled without debug have the correct bitmask for KeymanWeb 10
2017-12-07 15:37:43 +07:00
Marc Durdin
3e9188f404
Update 'package for distribution' command to bundle both js and kmx
2017-12-07 15:04:53 +07:00
Gabriel Wong
31149c2043
Use XCGLogger in Keyman app
2017-12-07 14:44:21 +07:00
Gabriel Wong
35c40be9a6
Use log directly instead of via kmLog
2017-12-07 14:37:24 +07:00
Marc Durdin
31ea95e1f1
Remove unnecessary generated lines
2017-12-07 14:27:08 +07:00
Marc Durdin
56eade5ec1
Merge remote-tracking branch 'origin/master' into developer-package-editor-real
2017-12-07 14:15:21 +07:00
Marc Durdin
be2c43871d
Package Editor support for keyboards
2017-12-07 14:14:33 +07:00
Gabriel Wong
4b59a40883
Create log object
2017-12-07 14:09:44 +07:00
Gabriel Wong
f95159c050
Merge pull request #472 from keymanapp/ios-fix-keyboard-path
...
Fix keyboard path
2017-12-07 13:48:43 +07:00