Commit graph

258 commits

Author SHA1 Message Date
Marc Durdin
6644697eec
Merge pull request #7001 from keymanapp/fix/android/6899-verify-browser-for-links
fix(android): verify browser before starting activity
2022-08-23 17:07:51 -05:00
Marc Durdin
f90eaee6dd fix(android): add toast when browser fails to open 2022-08-23 07:41:56 +10:00
Marc Durdin
127fb3b4e0 chore(android): fixup getPackageManager ref 2022-07-27 15:59:50 +10:00
Marc Durdin
bdb7b5e45a fix(android): verify browser before starting activity
Fixes #6899.
2022-07-27 15:16:02 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
ec690f47f9
Merge branch 'master' into chore/developer/js-to-lmc 2022-06-25 09:34:27 +10:00
Marc Durdin
4f36c3c2df chore(developer): Merge branch 'master' into chore/developer/js-to-lmc 2022-06-25 05:48:57 +10:00
Marc Durdin
cc18058cfe chore(ios): rename run-xcodebuild to run_xcodebuild 2022-06-24 14:03:55 +10:00
Marc Durdin
0730098236 chore(ios): update ios/macos build scripts to log scripts
Adds run-xcodebuild function to wrap xcodebuild calls to keep logging
and error handling consistent. Currently used only by the iOS build; the
macOS build has a corresponding execBuildCommand function which does
pretty much the same thing (changing that would belong in a separate PR
I think and low priority.)
2022-06-24 11:37:46 +10:00
Marc Durdin
bb1c6a0d57 chore(ios): add manageAppVersionAndBuildNumber=false 2022-06-24 09:18:49 +10:00
Marc Durdin
0a1d4b6241 chore(windows): move unicodedata to common
Also makes common/windows/bin/tools more consistent.
2022-06-10 13:26:07 +10:00
Marc Durdin
f6c41fab1b chore(ios): FV certificate hash 2022-05-27 14:19:13 +10:00
Darcy Wong
3e2217d905 fix(oem/fv/android): Check current keyboard before registering model 2022-05-13 09:10:43 +07:00
sgschantz
f0e1138605 remove unused class CheckBox 2022-03-31 13:41:09 +07:00
sgschantz
5119503148 revised comments 2022-03-31 08:01:50 +07:00
sgschantz
16b8e26c89 maintain active keyboard list and rebuild keyboard list in Keyman Engine whenever a keyboard is added or removed 2022-03-30 14:31:18 +07:00
Shawn Schantz
a67d082553
Merge pull request #6197 from keymanapp/feat/oem/fv/ios/dictionary-support
feat(oem/fv/ios): Dictionary Support
2022-03-29 08:02:07 +07:00
sgschantz
b3c61c54c8 remove debug error alert 2022-03-28 12:36:04 +07:00
sgschantz
fed555655e added toolbar with activity spinner during dictionary download 2022-03-25 16:10:55 +07:00
sgschantz
f83f8f8a34 lexical model install fix 2022-03-25 13:34:00 +07:00
sgschantz
cd7d7c4180 includes temporary test code to investigate keyboard installation failure 2022-03-15 15:13:14 +07:00
Darcy Wong
8aadea6086 fix(oem/fv/android): Refresh menu on install 2022-03-14 08:43:10 +07:00
Darcy Wong
2b7d10718b fix(oem/fv/android): Refresh Settings menu 2022-03-14 06:56:55 +07:00
Darcy Wong
e138ca382e fix(oem/fv/android): Toggle predictions when dictionary installed 2022-03-14 06:56:55 +07:00
Darcy Wong
738b3cc08a fix(oem/fv/android): Fold model picker into Keyboard settings menu 2022-03-14 06:56:55 +07:00
sgschantz
e799c3478f return false when keyboard installation error occurs 2022-03-11 15:03:36 +07:00
sgschantz
edae7171c5 added alert for failed keyboard switch change, changed one section heading, use LM name instead of description 2022-03-11 14:42:13 +07:00
sgschantz
1c3a6035ca disable lexical model 2022-03-09 13:24:19 +07:00
sgschantz
a4a09220c8 added title to details page 2022-03-09 13:24:19 +07:00
sgschantz
300e1c1d39 final data format, multi-dictionary support, correct default states for options 2022-03-09 13:24:19 +07:00
sgschantz
c944b55883 support for lexical model settings, fixes switch control update issues, moves keyboard list refresh to viewDidAppear 2022-03-09 13:24:19 +07:00
sgschantz
e670bda512 disable dictionary settings when no dictionary is available 2022-03-09 13:24:19 +07:00
sgschantz
cc55bcf80d activate lexical model, save enabled keyboards to UserDefaults and remove disabled keyboards 2022-03-09 13:24:18 +07:00
sgschantz
4cb5c90584 enable and disable keyboards and download lexical models 2022-03-09 13:24:18 +07:00
sgschantz
be58aeed93 rework details page and disable option switches when keyboard is disabled 2022-03-09 13:24:18 +07:00
sgschantz
49df3b2a05 connect most controls to keyboard state objects, call Keyman API to get lexical models array 2022-03-09 13:24:18 +07:00
sgschantz
48b7531b80 load all keyboards from kmp file at startup and store language tag to use for lexical model query 2022-03-09 13:24:18 +07:00
sgschantz
01d71c45d4 load help page when detail button tapped 2022-03-09 13:24:18 +07:00
sgschantz
4df86124c9 added keyboard detail view and replaced main keyboards list view 2022-03-09 13:24:17 +07:00
Darcy Wong
1e6b4bce31 fix(oem/fv/android): Check keyboard exists before registering a model 2022-03-09 10:05:21 +07:00
Darcy Wong
04297aa47c
Update oem/firstvoices/android/app/src/main/java/com/firstvoices/android/FVKmpInstallMode.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-03 11:27:07 +07:00
Darcy Wong
3524e6c918 fix(oem/fv/android): Use BCP47 util to check language ID 2022-03-02 12:30:51 +07:00
Darcy Wong
f3c317566e fix(oem/fv/android): Make FVShared a Singleton pattern 2022-03-02 12:30:51 +07:00
Darcy Wong
d4225fa841 fix(oem/fv/android): Check prediction toggle on start of input
Copied SystemKeyboard from #2255
2022-03-02 12:30:51 +07:00
Darcy Wong
f6395e463f chore(oem/fv/android): Cleanup unused imports 2022-03-02 12:30:51 +07:00
Darcy Wong
d85af16858 feat(oem/fv/android): Add keyboard and dictionary controls 2022-03-02 12:30:51 +07:00
Darcy Wong
d030183451 chore(oem/fv): Set executable flag 2022-02-10 10:01:18 +07:00
Darcy Wong
e3bf5fb22a chore(oem/fv): Include script to update keyboards.csv 2022-02-10 09:56:58 +07:00
Darcy Wong
00ed2c89ad chore(oem/fv): Add keyboard version and languages 2022-02-09 21:03:04 +07:00
Darcy Wong
8c9014ced9 chore(android): Upgrade gradle-wrapper version to 6.8 2022-02-09 08:59:56 +07:00