Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
bbccf6180f
Merge pull request #4865 from keymanapp/chore/android/pulaar-fulfulde
chore(android/engine): Rename "Pulaar" to "Pulaar-Fulfulde"
2021-04-19 07:44:28 +07:00
Marc Durdin
e86704b702 fix(windows): crash when installing TIP in some rare situations
May fix #4889.

In some situations, Keyman is unable to precisely match the user's
default language with its own keyboard settings. In this situation,
Keyman may crash when attempting to install the TIP, or may give a
spurious error such as "Too many transient languages" or similar.

I have been unable to reproduce the crash described in #4889 on my
machines so this is an attempted fix.

This does fix a bug with default languages in any case so is a good fix
to include: if the user's default language is not found in Keyman's LCID
table, then Keyman would fail to install the TIP when the keyboard is
installed and would return an error message (but not crash).
2021-04-19 10:39:49 +10:00
Marc Durdin
35c82ea128 fix(windows): handle invalid package names during install
Fixes #4886.

This patch includes 5 separate fixes for the various scenarios we
encountered during package installation.

1. RunTools.pas: don't attempt to install TIPs if package is not also
   being installed.

2. Keyman.Setup.System.OnlineResourceCheck.pas, OnlineUpdateCheck.pas:
   handle online update check for packages with spaces or periods in the
   id (legacy packages only).

3. Keyman.Setup.System.InstallInfo.pas: Handle browsers renaming
   downloaded files with `(n)` and `[n]` patterns as well as the current
   ` (n)` pattern.

4. Keyman.Setup.System.InstallInfo.pas: Handle browsers renaming
   downloaded files with `_n` pattern. See code comments for details.

5. Keyman.Configuration.System.TIPMaintenance.pas: Avoid crashing if
   `kmshell -install-tips-for-packages` is passed an invalid package
   name.

The crash is actually fixed in point 5 above, but the root causes are
addressed in the other points.
2021-04-19 08:25:31 +10:00
Darcy Wong
eaabf2bfa8 chore(windows): Check in crowdin for "id" 2021-04-07 08:35:38 +07:00
Darcy Wong
7b68533cc7 Merge branch 'master' into chore/android/crowdin-id 2021-04-07 08:03:26 +07:00
Keyman Server
c225d65a71
Merge pull request #4866 from keymanapp/auto/version-master-15.0.30
auto: increment master version to 15.0.30
2021-04-06 04:01:54 +10:00
Keyman Build Agent
46a5303bd3 auto: increment master version to 15.0.30 2021-04-05 14:01:10 -04:00
Darcy Wong
73114d2c55 chore(android/engine): Rename "Pulaar" to "Pulaar-Fulfulde" 2021-04-05 12:47:07 +07:00
Darcy Wong
d9e8a72597 fix(developer): Reduce non-canonical BCP 47 tag warning
In PackageInfoRefreshLexicalModels.ps. reduce non-canonical BCP 47 tag warning to "info" so they do not block the build.
2021-04-05 11:06:13 +07:00
Darcy Wong
681c6c5354
Merge pull request #4859 from keymanapp/chore/android/pulaar
chore(android/engine): Rename "Fula" to "Pulaar"
2021-04-05 09:12:42 +07:00
Darcy Wong
1c3a6f7081 chore(android): Merge branch 'master' into chore/android/crowdin-id 2021-04-05 08:00:13 +07:00
Darcy Wong
fecc73ccfe chore(android): Rename "Fula" to "Pulaar" 2021-04-05 07:55:18 +07:00
Keyman Server
c0d80d671b
Merge pull request #4857 from keymanapp/auto/version-master-15.0.29
auto: increment master version to 15.0.29
2021-04-03 05:02:10 +11:00
Keyman Build Agent
523002376f auto: increment master version to 15.0.29 2021-04-02 14:01:22 -04:00
Eberhard Beilharz
ad29b1e4c1
Merge pull request #4851 from keymanapp/cherrypick/linux/issue-4823
fix(linux): Fix crash if `<kbd>.json` doesn't contain description 🍒
2021-04-02 12:47:37 +02:00
Keyman Server
4a72340ac5
Merge pull request #4853 from keymanapp/auto/version-master-15.0.28
auto: increment master version to 15.0.28
2021-04-02 05:04:49 +11:00
Keyman Build Agent
7a99c68d32 auto: increment master version to 15.0.28 2021-04-01 14:03:53 -04:00
Eberhard Beilharz
0e3c672b63
fix(linux): Fix crash if <kbd>.json doesn't contain description
This fixes #4823. Cherry-pick of PR #4835.

(cherry picked from commit ebe49cfc6f)
2021-04-01 12:26:16 +02:00
Marc Durdin
340f1f72a4
Merge pull request #4849 from keymanapp/chore/history-from-14.0
chore: history from 14.0.271
2021-04-01 17:50:41 +11:00
Marc Durdin
2ec17a8637 chore: history from 14.0.271 2021-04-01 14:16:52 +11:00
jahorton
7e4be304f5 chore(ios): post-merge patchup 2021-04-01 09:52:15 +07:00
Darcy Wong
8a2ac01ea7
Merge pull request #4844 from keymanapp/docs/android/emabling-system-keyboards-image
docs(android): Update image for enabling-system-keyboards
2021-04-01 09:30:56 +07:00
Darcy Wong
869db6959e
Merge pull request #4846 from keymanapp/cherrypick/common/crowdin-ff
chore(common): Check in crowdin for Fulah 🍒
2021-04-01 09:29:29 +07:00
jahorton
8ab0c0ed80 chore(ios/engine): Merge branch 'master' into refactor/ios/engine/shouldReloadKeyboard 2021-04-01 09:27:28 +07:00
Darcy Wong
41745a7b0d chore(common): Check in crowdin for Fulah 2021-04-01 09:12:31 +07:00
Darcy Wong
88b862884b docs(android): Update image for enabling-system-keyboards 2021-04-01 08:56:16 +07:00
Marc Durdin
587128783a
Merge pull request #4831 from keymanapp/fix/developer/4830-range-expansions-buffer-size
fix(developer): buffer size for range expansions
2021-04-01 12:49:50 +11:00
Marc Durdin
71f0994e66
Merge pull request #4818 from keymanapp/dependabot/npm_and_yarn/resources/build/version/y18n-4.0.1
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /resources/build/version
2021-04-01 12:24:45 +11:00
Marc Durdin
b384a6061e
Merge pull request #4840 from keymanapp/fix/android/4819-ensure-keyboard-always-set-after-pageLoaded
fix(android): ensure keyboard is always set after pageLoaded
2021-04-01 12:22:06 +11:00
dependabot[bot]
b537c759f9
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /resources/build/version
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 23:59:19 +00:00
Marc Durdin
948544ba60
Merge pull request #4817 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/y18n-4.0.1
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /web/testing/regression-tests
2021-04-01 10:58:00 +11:00
Marc Durdin
9a61eaef8d fix(android): ensure keyboard is always set after pageLoaded
Fixes #4819.

If the web page reloads after KMManager is initialised, it now resets
the keyboard and lexical model so they remain in sync.
2021-04-01 10:50:48 +11:00
Marc Durdin
9ebcfedd64
Merge pull request #4837 from bravogeorge/patch-1
docs(android): Update installing-keyboards.md
2021-04-01 09:11:01 +11:00
bravogeorge
0c00efd4ca
Update installing-keyboards.md
Went off directions from @jahorton .From step 5 I rewrote the sentence after "once the download is complete..." to make the wording less awkward and instructions more concrete. then "A" I rewrote to make it less jarring and more clearer transition to "B". Part "C" was rewritten with the same intention. Less jarring and more clarity.
2021-03-31 12:47:46 -07:00
Keyman Server
c0797e3629
Merge pull request #4836 from keymanapp/auto/version-master-15.0.27
auto: increment master version to 15.0.27
2021-04-01 05:03:20 +11:00
Keyman Build Agent
bac8f4d07d auto: increment master version to 15.0.27 2021-03-31 14:02:28 -04:00
Marc Durdin
d1dd8b022e fix(developer): buffer size for range expansions
Fixes #4830.

There remain some additional buffer size checks we should be doing in
`GetXString` but this will address the current issue by using the
standard maximum buffer size.
2021-03-31 19:10:12 +11:00
Darcy Wong
5a19417780 chore(android): Check in crowdin for Indonesian
I tried to use the correct BCP-47 tag `id` instead of `in` for Indonesian. But Java (and Android) still use the deprecated tag `in`...
2021-03-31 11:05:31 +07:00
Darcy Wong
15406a4b05
Merge pull request #4813 from keymanapp/fix/android/kmstring-format
fix(android/engine): Add KMString wrapper for formatting Strings
2021-03-31 09:01:56 +07:00
Keyman Server
337cac692f
Merge pull request #4826 from keymanapp/auto/version-master-15.0.26
auto: increment master version to 15.0.26
2021-03-31 05:02:45 +11:00
Keyman Build Agent
fb7c43c046 auto: increment master version to 15.0.26 2021-03-30 14:01:55 -04:00
jahorton
0db5e9dc6d change(web): only check for touch-aliases if touchable 2021-03-30 10:00:41 +07:00
jahorton
6c275ca9d3 change(web): adds code to assist diagnosis of #4797 2021-03-30 09:43:50 +07:00
Marc Durdin
3d943c7f1c
Merge pull request #4814 from keymanapp/fix/developer/4810-requote-font-names
fix(developer): requote font names
2021-03-30 13:30:45 +11:00
dependabot[bot]
cd6f8bf72b
chore(deps): bump y18n in /web/testing/regression-tests
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 18:04:48 +00:00
Keyman Server
7f79cd8ea7
Merge pull request #4816 from keymanapp/auto/version-master-15.0.25
auto: increment master version to 15.0.25
2021-03-30 05:03:43 +11:00
Keyman Build Agent
abca21872e auto: increment master version to 15.0.25 2021-03-29 14:02:35 -04:00
Marc Durdin
071bfd9011 fix(developer): requote font names
Fixes #4810.
2021-03-29 20:53:12 +11:00
Eberhard Beilharz
962b30cbdb
Merge pull request #4811 from keymanapp/fix/linux/issue-4800
fix(linux): Fix crash if query doesn't contain bcp47 tag 🍒 (#4800)
2021-03-29 10:11:35 +02:00
Darcy Wong
a96137bef9 fix(android/engine): Add KMString wrapper for formatting Strings 2021-03-29 14:29:28 +07:00