Commit graph

237 commits

Author SHA1 Message Date
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
3c5b93e9e5 Update history.md 2018-08-22 20:07:40 -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
17a70e246f Update history.md 2018-08-20 22:53:23 -05: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
Darcy Wong
a2ed5a49fa Add round launcher icons
From https://blog.xamarin.com/round-launcher-icons-in-android-7-1/
"Circular launcher icons have become standard since the introduction of Android Nougat 7.1"

This is a cosmetic change adding round launcher icons for the Keyman app.
2018-07-18 11:01:10 -05:00
Marc Durdin
a2a80ef601
Merge branch 'master' into web-incorrect-row-count-assumption-1055-master 2018-07-06 10:32:49 +07:00
Marc Durdin
da7873744a history 2018-07-06 10:30:49 +07:00
Marc Durdin
3ff3774a11
Merge branch 'master' into beta-history-alpha 2018-06-28 09:54:25 +07:00
Marc Durdin
b37cb718b5 10.0 stable release 2018-06-28 09:52:30 +07:00
Marc Durdin
8be5c3a148
Merge pull request #1032 from keymanapp/beta-p3s6-history
Updates to history
2018-06-28 08:51:53 +07: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
8500900a87 Updates to history 2018-06-27 13:48:18 +07:00
Marc Durdin
b694885d4b Fixes #1026. updateKMText was called with unescaped string in some contexts. 2018-06-26 15:25:10 +07:00
Darcy Wong
293de06cdd Refresh Info page
Bring in the current app info page from https://help.keyman.com/products/android/10.0/

* Update to Khmer Angkor
* Update images
* Removes references of sharing to Facebook
- Does not include cross-references to versions 2.0 and 10.0 since this is an offline info page.
2018-06-25 05:23:15 -05: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
darcywong00
007b420e9e Move "edge" platform test with other browsers
Follow-on to #969

This updates the platformtest.kmn keyboard 
and moves `edge` from `[K_O]` (OS) to `[K_Y]` (browsers)
2018-06-19 07:12:56 +07:00
Marc Durdin
8d42323745 Tweak history.md 2018-06-14 10:35:44 +07:00
Marc Durdin
ed59ff1a35
Merge branch 'beta' into platform-fixes-965-966-968-896 2018-06-12 10:50:40 +07:00
Marc Durdin
f6cccbc8cc Update history 2018-06-12 10:49:25 +07:00
Marc Durdin
fb430c2c1a
Merge pull request #969 from keymanapp/platform-fixes-965-966-968-896
[Windows][Android][Web] Platform statement consistency fixes
2018-06-11 23:16:00 +07:00
Marc Durdin
27c565b0e2 Reworked several aspects of platform constraints esp. regarding unknown constraints. Rewrote keyboard and spreadsheet to facilitate testing more reliably. 2018-06-11 15:07:55 +07:00
Marc Durdin
8649bd486e Renamed platformtest for Android 2018-06-11 07:31:44 +07:00
darcywong00
9129e1b324 Fix PR number in history.md 2018-06-10 07:03:26 +07:00
darcywong00
931bcdd5ca Consolidate "Info" views
Fixes #960

Previously, the InfoActivity was displaying the app version in one view, and launching the help content in another Activity.
2018-06-10 06:58:58 +07:00
Marc Durdin
f8427c3f48 Add platformtest.js to Android test harness 2018-06-08 15:57:02 +07:00
Marc Durdin
6291ad83fc Fixes #968. Platform tests on Android now give correct results for hardware keyboard. Partial fix for #966 (hardware keyboard in Chrome emulator). 2018-06-08 13:30:32 +07:00
darcywong00
af1b08d041 Update PR number 2018-06-05 13:22:02 +07:00
darcywong00
393ca2d336 Fix globe button for system keyboard
Fixes #913

In #848, we used [webView.pauseTimers()](https://developer.android.com/reference/android/webkit/WebView#pauseTimers()) to disable JavaScript for transitioning between in-app and system keyboards. Unfortunately, `pauseTimers()` globally affects all the WebViews, breaking the globe button in system keyboards.

(This worked going from the Keyman app to in-app browser because the browser "resumed" its keyboard)

Solution is removing calls to `pauseTimers()`.
2018-06-05 13:19:53 +07:00
darcywong00
8f8e95d479 Improve intent-filter for file scheme
Fixes #902

Update the intent-filter for file scheme (based on BloomReader's [AndroidManifest.xml](https://github.com/BloomBooks/BloomReader/blob/master/app/src/main/AndroidManifest.xml))
2018-05-26 21:15:05 +07:00
Marc Durdin
27bb92aec8
Merge branch 'master' into beta-p3s3-merge-to-master 2018-05-18 13:10:32 +07:00
Marc Durdin
234825ab08 Update history.md for all release tags on all platforms as of today 2018-05-18 13:06:55 +07:00
Darcy Wong
217ffcd3be
Merge branch 'beta' into android-exit-browser 2018-05-10 11:52:27 +07:00
darcywong00
e03baaff29 Update compile SDKVersion from 25 to 27
Fixes #750 

Currently, Keyman for Android targets SDK version 25 (Nougat). 

This PR targets  the latest Android API and updates all the Gradle dependencies to the latest. This will remove some lint Obsolete warnings.

Sample and Test projects needed to add 
```
implementation 'com.android.support:support-v4:27.1.1'
```
to ensure all dependencies use the same version.
2018-05-10 08:02:09 +07:00
darcywong00
b2d1818f5f Add additional check
Fixes startup condition where in app keyboard wasn't rendering because it was paused by the "Getting Started" dialog.
2018-05-09 14:03:42 +07:00
darcywong00
e2a33d1577 Handle pausing/resuming keyboard webView timers
Updated `KMManager` to handle `pauseTimers()` and `resumeTimers()` for in-app and system keyboards. This fixes the globe button when transitioning from the WebBrowser activity back to the Main activity.

Also fixed KMKeyboard to return empty string when `txtFont` is empty (and not return a root path)
2018-05-09 14:03:42 +07:00
darcywong00
d4e927ac4a Make distinct webView IDs 2018-05-09 14:03:42 +07:00
darcywong00
44aec2944b Start cleaning up console log
Fixes #748

* Remove nearly all uses of `Log.d()`
* Disable `window.console.log()` calls in `keyboard.html`
2018-05-08 10:50:15 +07:00
darcywong00
b88df8f973 Update history 2018-05-07 14:53:07 +07:00
darcywong00
c593a45e7d Update string handling for PackageProcessor
Fixes #819

* If package version undefined, use "1.0"
* Keyman Developer won't allow undefined package name, but just in case return package ID from the filename
* Check for null before String.toLowerCase()
* Added package processor test for undefined version
2018-05-07 14:47:11 +07:00
Marc Durdin
a9113c8f82
Merge branch 'master' into beta-p3s2-to-master 2018-05-04 21:06:21 +07:00
darcywong00
15dff6a392 Merge branch 'beta' into android-osk-304 2018-04-27 12:59:14 +07:00