Commit graph

24978 commits

Author SHA1 Message Date
darcywong00
913e58a60a Request storage permissions at runtime to install local KMP file
Starting with Android 6.0 Marshmallow (API 23), apps need to request permissions for "dangerous" (Storage) access at runtime. Previous versions of Android granted permissions at installation. Normal permissions declared in the manifest are granted automatically.

This doesn't affect Keyman running on older versions of Android

[Reference](https://developer.android.com/training/permissions/requesting.html)

[Runtime Permissions Sample](https://github.com/googlesamples/android-RuntimePermissions) provided by Google
2018-02-02 08:28:15 +07:00
Tom Bogle
8ece063ceb
Merge pull request #547 from keymanapp/web-fix-typo-in-readme
Fixed syntax of line to run to build.
2018-02-01 11:07:59 -05:00
Joshua A. Horton
c19b2d00e8 Adds a readme change related to the -no-minify PR. 2018-02-01 11:01:48 +07:00
Darcy Wong
e6169d2a9c
Merge pull request #555 from keymanapp/android-set-shlvl
[Android] Stop warnings being reported during CI builds
2018-02-01 10:44:00 +07:00
darcywong00
686bb50bc0 Stop warnings being reported during CI builds
-Also updated link to logo2 and copyright date in root readme
2018-02-01 10:35:48 +07:00
Joshua Horton
6727beddf9
Merge pull request #542 from keymanapp/web-no-minify-build-option
Adds a -no_minify CL argument to KMW's build.sh.
2018-02-01 10:23:33 +07:00
Joshua A. Horton
3695d6eb4c Documents -clean a bit better as a build parameter. 2018-02-01 10:22:56 +07:00
Marc Durdin
49b5bcaedd
Merge pull request #554 from keymanapp/developer-add-fields-for-kmw-cloud-api-to-keyboard-info
Update keyboard_info.source.json to 1.0.1 for Keyman Developer
2018-02-01 06:22:28 +07:00
Tom Bogle
141c10cd47 Temporary addition of "which carthage" 2018-01-31 12:36:56 -05:00
Tom Bogle
3522e876c4 Only do carthage update (to get OCMocks) is -test is specified 2018-01-31 12:32:12 -05:00
Tom Bogle
a41286a051 Changed test target to manual signing. 2018-01-31 12:08:16 -05:00
Tom Bogle
cfecadbe33 Added missing escape characters 2018-01-31 11:38:22 -05:00
Darcy Wong
801c451ebd
Merge pull request #520 from keymanapp/android-download-kmp
[Android] Add feature for ad-hoc keyboard distribution via KMP
2018-01-31 16:00:06 +07:00
Marc Durdin
569d307787 Update keyboard_info.source.json to 1.0.1 2018-01-31 15:25:22 +07:00
Marc Durdin
157546e088
Merge pull request #551 from keymanapp/developer-fixup-bcp47-dialog-543
Fixes #543 -- BCP 47 tags now validate in the Add BCP 47 Language dialog
2018-01-31 14:05:07 +07:00
Marc Durdin
8b52965a45
Merge pull request #552 from keymanapp/developer-error-on-missing-file-in-kps
Catch missing files when building .kps files
2018-01-31 14:04:59 +07:00
Marc Durdin
0fce48e4e5
Merge pull request #553 from keymanapp/developer-add-fields-for-kmw-cloud-api-to-keyboard-info
Add -source-path to kmcomp for merging .keyboard_info
2018-01-31 11:34:53 +07:00
darcywong00
9211f66c36 Cleanup to address review comments 2018-01-31 10:57:33 +07:00
Tom Bogle
7bc22ad72f Changed from update to bootstrap 2018-01-30 16:44:30 -05:00
Tom Bogle
1e730c6f5e Changed build to run update carthage command and clean Carthage folder 2018-01-30 16:10:37 -05:00
Tom Bogle
59b38a418e Use Carthage to pull OCMocks framework and added KMX file for testing 2018-01-30 12:19:29 -05:00
Joshua A. Horton
e2e5a64e04 Documentation update. 2018-01-30 11:15:32 +07:00
Joshua A. Horton
aa6e18cf29 Merge branch 'android-download-kmp' of https://github.com/keymanapp/keyman into android-download-kmp 2018-01-30 11:07:18 +07:00
Joshua A. Horton
e389c1e412 Refactored PackageProcessor tests to use two .kmp files. 2018-01-30 11:06:38 +07:00
darcywong00
3be5b63c86 Remove font files from test kmp files
Unit tests don't need font files, so removing them to make slimmer test files
2018-01-30 11:02:58 +07:00
Joshua A. Horton
bddbf36652 Forgot the Developer Makefile changes! 2018-01-30 10:56:42 +07:00
darcywong00
fffe187b23 Use same regex for single-quoting keyboardName and languageName 2018-01-30 10:48:05 +07:00
Joshua A. Horton
ce05c8aa68 Polishes up the build script, adds a basic -clean option. 2018-01-30 10:46:44 +07:00
Joshua A. Horton
f39cdc9cca Creates a /release/unminified build output folder. 2018-01-30 10:31:47 +07:00
Tom Bogle
5f83ddeed6 [WIP] Added changes to use OCMocks to make unit test meaningful
This commit breaks compilation because it does not include the code to pull and build the OCMocks framework.
2018-01-29 22:24:43 -05:00
Tom Bogle
0cf3cee56b Removed call to [sender length] and debug call to [sender markedRange]
Turns out that length is not really a supported method/property on IMKTextInput, and it returns unreliable information. (It appears that perhaps this was actually causing Word to work incorrectly.) The diagnostic call to markedRange was pointless since Keyman keyboards to not compose text in this way.
2018-01-29 22:21:04 -05:00
darcywong00
c306560a18 Add helper functions to get common keyboard paths 2018-01-30 10:17:15 +07:00
darcywong00
a30375c060 Use FileUtils.copy()
Change `copyFile()` to `FileUtils.copy()`
2018-01-30 10:15:31 +07:00
Tom Bogle
6d111ae966 Upgraded settings and cleaned up warning in h file 2018-01-29 14:29:32 -05:00
Tom Bogle
8b0687d177 Added guards around all headers to prevent duplicate imports 2018-01-29 14:01:33 -05:00
Tom Bogle
c2d7d3a8d0 Removed duplicate import that was causing linker failure. 2018-01-29 10:44:27 -05:00
darcywong00
3c74321906 Create test kmp files of different versions
- Modify kmp.json to have package versions 1.4 and 1.5.

- also made exception string more descriptive when JSON object doesn't contain a valid "options" object
2018-01-29 22:25:39 +07:00
Tom Bogle
6b136ce9b0 Went back to separate variable for test action
Because there are no tests for Keyman4Mac, inlcuding the test target caused it to fail.
2018-01-29 10:21:16 -05:00
Marc Durdin
af5dd10a8d Fix out-by-one error after adding kmp.json so missing files in kps still passed build, and minor UI issues with missing keyboards in kps 2018-01-29 20:12:45 +07:00
Marc Durdin
4e4b911836 Fixes #543 -- BCP 47 tags now validate in the Add BCP 47 Language dialog 2018-01-29 19:17:20 +07:00
Marc Durdin
1f33625f04 Add -source-path to kmcomp for merging .keyboard_info 2018-01-29 18:44:11 +07:00
darcywong00
09e0f4aa98 Merge branch 'android-peer-distribution'
Conflicts:
	android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/MainActivity.java
2018-01-29 18:18:17 +07:00
darcywong00
61bf0410a8 Deprecate non-direct links for ad-hoc keyboards 2018-01-29 16:25:10 +07:00
Joshua A. Horton
386cc3cf49 Creates separate browser testing configs for win, mac, and linux. 2018-01-29 16:00:24 +07:00
Joshua A. Horton
adb38ff13b Implements testing over a more robust set of browsers. 2018-02-06 12:37:42 +07:00
Joshua A. Horton
b154dbc566 A basic, initial set of tests with the infrastructure necessary to link nicely with our TeamCity CI. 2018-02-05 15:15:10 +07:00
Joshua A. Horton
c298281456 Initial BrowserStack support! Problem - browser-specific testing... 2018-02-05 14:33:07 +07:00
Joshua A. Horton
6a32d91941 Further infrastructure setup; the new pattern allows deliberate reloading of KMW. 2018-02-05 12:52:05 +07:00
Joshua A. Horton
f4c3014aee Initial KMW tests are now functional! Turns out there were a few bugs to fix getting basic tests up and running. 2018-02-02 16:18:31 +07:00
Joshua A. Horton
16f365a5c2 Merge branch 'master' into web-350-mocha-testing 2018-02-02 15:02:07 +07:00