Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
01645ff8c5
Merge pull request #4400 from keymanapp/fix/developer/2657-import-support-targets
fix(developer): Import Keyboard support for Targets
2021-02-03 07:08:45 +11:00
Marc Durdin
4a1ee301f1
Merge pull request #4399 from keymanapp/fix/developer/2679-template-for-web-not-touch
fix(developer): Generate platforms correctly from template
2021-02-03 07:08:25 +11:00
Marc Durdin
d603c77cd7
Merge pull request #4386 from keymanapp/fix/windows/4192-show-balloon-when-keyman-is-already-running
fix(windows): Show balloon when Keyman is already running
2021-02-03 07:08:00 +11:00
Marc Durdin
aebdec42bf
Merge pull request #4398 from keymanapp/fix/developer/4354-setup-redist-check
fix(developer): don't check both setup.exe and setup-redist.exe
2021-02-03 07:07:37 +11:00
Marc Durdin
e123b1a667
Merge pull request #4392 from keymanapp/fix/windows/setup-should-ignore-cert-revocation
fix(windows): setup should ignore cert revocation
2021-02-03 07:07:16 +11:00
Marc Durdin
d8df94c2e0
Merge pull request #4384 from keymanapp/fix/windows/3936-uac-foreground
fix(windows): Ensure UAC window comes to foreground
2021-02-03 07:06:14 +11:00
Marc Durdin
83b8c4af08 chore(windows): tests should be case-sensitive
DUnitX by default does case-insensitive string equality assertions, and
we don't really want to make that assumption.

There was one minor fail uncovered in Keyman.System.UILanguageManager as
a result of this -- it now returns a matching entry as found in the
list of UI languages, rather than the input, to get same case as the UI
language list entry.

Thank you @ermshiperete.
2021-02-03 06:52:52 +11:00
Keyman Server
0a295db964
Merge pull request #4404 from keymanapp/auto/version-beta-14.0.235
auto: increment beta version to 14.0.235
2021-02-03 05:02:20 +11:00
Keyman Server
58a2bda534
Merge pull request #4403 from keymanapp/auto/version-master-15.0.15
auto: increment master version to 15.0.15
2021-02-03 05:01:57 +11:00
Keyman Build Agent
f223b48466 auto: increment beta version to 14.0.235 2021-02-02 13:01:30 -05:00
Keyman Build Agent
818fb5afdb auto: increment master version to 15.0.15 2021-02-02 13:01:09 -05:00
Eberhard Beilharz
a54a711943
fix(linux): Don't crash if uninstalling last keyboard
If a Keyman keyboard is the only installed/selected keyboard in Gnome
and the user uninstalls this in km-config, we have to set the value
for `sources` to an empty array variant. Previously this crashed.

Fixes #4375.
2021-02-02 17:26:08 +01:00
Eberhard Beilharz
9594b2d1ca
Merge pull request #4389 from keymanapp/docs/linux/packaging
docs(linux): Improve packaging doc
2021-02-02 09:51:18 +01:00
Darcy Wong
4755144840 chore(android/app): Add about pages to help 2021-02-02 15:30:46 +07:00
jahorton
f5b0dcfc8a docs(common/models): better comments for ContextTracker's match method 2021-02-02 14:59:16 +07:00
jahorton
f9a7c0b3e1 fix(common/models): bksp workaround now works beyond first word 2021-02-02 14:45:52 +07:00
Marc Durdin
adafdb9c84 fix(developer): Import Keyboard support for Targets
Fixes #2657.

Importing a Windows Keyboard had an option to select default targets for
the imported keyboard, but the option was ignored. This propagates the
option setting through the import process.
2021-02-02 16:12:45 +11:00
Marc Durdin
5208404cd6 fix(developer): Generate platforms correctly from template
Fixes #2679.

If web is specified but not a touch platform, exclude touch layout from
a generated project. Also, fixup list of supported platforms in the
generated README.md.
2021-02-02 15:50:56 +11:00
Marc Durdin
d311886a7e fix(developer): don't check both setup.exe and setup-redist.exe
Fixes #4354.

The redistributable build should be checking for the existence of either
setup.exe or setup-redist.exe. Note that the only difference between the
two is whether or not the file has a digital signature (as we should not
put a digital signature on an executable that will later have a .zip
appended, rather the final file should be signed).
2021-02-02 15:32:14 +11:00
Darcy Wong
01310e3426 auto(android/app): Check in generated offline help
This replaces the kKMAPro assets/info with
```
build-help.sh htm
```
2021-02-02 11:10:11 +07:00
Darcy Wong
644c2e2fc4 chore(android/app): Copy markdown help from help.keyman.com 2021-02-02 11:08:55 +07:00
Darcy Wong
45801f41a6 feat(android/app): Use help/build-help.sh to generate offline help 2021-02-02 11:06:33 +07:00
jahorton
4e53875300 fix(ios): package install fail / batch update event concurrency 2021-02-02 11:00:06 +07:00
Marc Durdin
3850087109 fix(windows): rename RefreshTag_Process variable
`RefreshTag_Process` should be named `RefreshTag_Thread`.
2021-02-02 14:58:59 +11:00
Marc Durdin
ca7ab8a7d8 fix(windows): improve cross-process refresh
Two changes here:

1. Only post the refresh message to the master controller, so that we
   get a single refresh regardless of how many controllers are
   registered.

2. When Keyman is restarted, the global RefreshTag is reset to 0, so we
   need to do a `!=` comparison rather than a `<` comparison to ensure
   that apps with an existing keyman32.dll/keyman64.dll in memory get
   refresh notifications (as their local `RefreshTag_Process` will
   likely already be greater than `0`).

Also a small additional debug statement.
2021-02-02 14:55:02 +11:00
jahorton
52559bd91d docs(ios): enhances doc comment re: fix 2021-02-02 10:16:30 +07:00
jahorton
7b3ece97a2 fix(ios): fixes indexing error in DownloadQueue logic 2021-02-02 10:09:09 +07:00
jahorton
4223827635 feat(ios): adds unit test for issue's bug 2021-02-02 10:04:00 +07:00
jahorton
26ac099c0e fix(ios): fixes unit test mocking, test init 2021-02-02 08:51:44 +07:00
Darcy Wong
14e5e981fe change(android/app): Update build-help.sh 2021-02-02 08:46:26 +07:00
Marc Durdin
7a16b07465
Merge pull request #4381 from keymanapp/fix/windows/4343-avoid-invalid-custom-languages
fix(windows): avoid invalid language codes in Add Language dialog
2021-02-02 08:41:35 +11:00
Marc Durdin
d81ff153b7
Merge pull request #4379 from keymanapp/fix/windows/4336-hotkey-show-keyboard-usage-plus-strings
fix(windows): remove Show Keyboard Usage hotkey
2021-02-02 08:41:28 +11:00
Marc Durdin
11bde6fc7e fix(windows): setup should ignore cert revocation
Fixes #4385.

Chrome has ignored certificate revocation for many years. If it's
good enough for Chrome, it's good enough for us. Right?

More seriously, sometimes Windows has trouble with its certificate
revocation cache, and it seems to be difficult to predict when this
will happen. This results in error 12057.

https://knowledge.broadcom.com/external/article/169185/ssl-visibility-how-to-resolve-the-certi.html
https://www.imperialviolet.org/2012/02/05/crlsets.html
2021-02-02 06:29:50 +11:00
Keyman Server
ecc16b4371
Merge pull request #4391 from keymanapp/auto/version-beta-14.0.234
auto: increment beta version to 14.0.234
2021-02-02 05:02:17 +11:00
Keyman Server
a3745dcc1b
Merge pull request #4390 from keymanapp/auto/version-master-15.0.14
auto: increment master version to 15.0.14
2021-02-02 05:01:54 +11:00
Keyman Build Agent
1385f8b93f auto: increment beta version to 14.0.234 2021-02-01 13:01:28 -05:00
Keyman Build Agent
57d8b8e718 auto: increment master version to 15.0.14 2021-02-01 13:01:07 -05:00
Eberhard Beilharz
9de54aaf1c
docs(linux): Improve packaging doc 2021-02-01 15:18:37 +01:00
Eberhard Beilharz
222794bc1f
Merge pull request #4388 from keymanapp/chore/linux/4160-jenkinstag
chore(linux): Pass second tag parameter to Jenkins build
2021-02-01 15:01:19 +01:00
Eberhard Beilharz
9bcfcc7626
chore(linux): Pass second tag parameter to Jenkins build
This is necessary to be able to distinguish between a newly triggered
tagged build and a retriggered tagged build. The first tag param gets
saved between builds, but then we need a second parameter that doesn't
get saved that tells us if this build is a retriggered one.
2021-02-01 12:29:31 +01:00
Eberhard Beilharz
6ce137d6b9
Merge pull request #4376 from keymanapp/chore/linux/4160-jenkinstag
chore(linux): Pass second tag parameter to Jenkins build
2021-02-01 12:28:38 +01:00
Eberhard Beilharz
4de889844a
Merge pull request #4374 from keymanapp/chore/linux/sentry
chore(linux): Don't report on Sentry when running unit tests
2021-02-01 12:26:03 +01:00
Marc Durdin
0ae26ab790
Merge pull request #4380 from keymanapp/fix/windows/4337-crash-for-sinhala-mitigation
fix(windows): crash for Sinhala mitigation
2021-02-01 18:54:17 +11:00
Joshua Horton
df3f77b857
Merge pull request #4370 from keymanapp/fix/web/3294-keyboard-layout-fouc
fix(android, ios): eliminates OSK layout flashing from predictive text banner display
2021-02-01 14:21:11 +07:00
Joshua Horton
46a63980ee
Merge pull request #4371 from keymanapp/fix/web/unload-stylesheets
fix(web): removes stylesheets from unloaded keyboards
2021-02-01 14:20:49 +07:00
Marc Durdin
f83c8ebbe5 fix(windows): Show balloon when Keyman is already running
Fixes #4192.

If Keyman is already running, and the user attempts to start Keyman
again, a balloon will be shown to direct the user to the right place on
the screen.

Note: this worked in earlier versions of Keyman but stopped working due
to name changes for windows in the app.

I have also added a new string for balloon that will need translation.
2021-02-01 16:06:08 +11:00
Marc Durdin
ba9ecb6095 fix(windows): Ensure UAC window comes to foreground
Fixes #3936.

This is a trial change as I am not able to reproduce the problem on my
machine, probably due to timing.

@makarasok, can you please test if this resolves the UAC window not
coming to foreground on your test scenario for #3936?
2021-02-01 15:29:06 +11:00
Marc Durdin
302107baa6 fix(windows): When uninstalling, exit Keyman
Fixes #4185.

Make sure Keyman is shut down during the uninstall so that it isn't left
in a weird state with missing files. This also reduces the need for a
reboot after uninstall.
2021-02-01 15:25:17 +11:00
Marc Durdin
348b29687e fix(windows): avoid invalid language codes in Add Language dialog
Fixes #4343.

This patch makes all language codes from the langtags.json dataset
visible through the Add Language dialog. This avoids situations where
an incomplete code such as "cmo" can result in an error (a script is
required for "cmo" as it is written in either Latn or Khmr).
2021-02-01 10:20:19 +11:00
Marc Durdin
fdcb8191a8 fix(windows): crash for Sinhala mitigation
Fixes #4337.

The Sinhala language installation mitigation needed the BCP 47 code as
well as the language code with the new language installation process.
2021-02-01 08:30:16 +11:00