Commit graph

11098 commits

Author SHA1 Message Date
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
95e086feb9
Merge pull request #4349 from keymanapp/fix/windows/4186-enter-spacebar-in-config
fix(windows): Enter and Spacebar handling in Configuration
2021-02-01 06:29:08 +11:00
Marc Durdin
d2a1cbf754
Merge pull request #4361 from keymanapp/fix/common/desktop-core-surrogate-pair-deletions
fix(common): tweak surrogate pair deletions
2021-02-01 06:25:48 +11:00
Marc Durdin
240ce8d3d6
Merge pull request #4360 from keymanapp/fix/windows/4196-surrogate-pair-deletions-tsf-aware
fix(windows): SMP-aware deletion in TSF-aware apps
2021-02-01 06:25:37 +11:00
Keyman Server
64054eecb2
Merge pull request #4373 from keymanapp/auto/version-beta-14.0.233
auto: increment beta version to 14.0.233
2021-01-30 05:03:32 +11:00
Keyman Build Agent
3295ea0012 auto: increment beta version to 14.0.233 2021-01-29 13:02:34 -05:00
Marc Durdin
1ec9577613 chore(windows): fix typo 2021-01-29 16:14:24 +11:00
Marc Durdin
081471218e fix(common): add test case and fix smp bugs
Turns out that @darcywong00's suggestion for a test case was a Very Good
Idea. The SMP handling in Keyman Core had an egregious bug where only
half of a surrogate pair was being deleted in the UTF-16 context; see
kmx_processor.cpp 425-428. This was then masked by the test runner
masking the damage in the original test case; see kmx.cpp 193-203.

The new test case exercises a number of additional ways of manipulating
the context where surrogate pairs exist, to show we handle the deletion
properly within Keyman Core and in the test runner.
2021-01-29 16:05:07 +11:00
Darcy Wong
a0b2fdb625
Merge pull request #4367 from keymanapp/chore/windows/more-titles-and-todos
chore(windows/resources): Fix more titles and TODOs in help
2021-01-29 10:05:53 +07:00
Marc Durdin
851f7e0124
Merge pull request #4365 from keymanapp/fix/windows/4116-ignore-access-denied-creating-task
fix(windows): Ignore Access Denied error creating task
2021-01-29 08:25:20 +11:00
Eberhard Beilharz
aee61ea9d2
Merge pull request #4356 from keymanapp/chore/linux/ignoreSentry
chore(linux): Don't report on Sentry when running unit tests
2021-01-28 20:50:47 +01:00
Keyman Server
e1c74f6bbf
Merge pull request #4368 from keymanapp/auto/version-beta-14.0.232
auto: increment beta version to 14.0.232
2021-01-29 05:02:45 +11:00
Keyman Build Agent
207ebc7d57 auto: increment beta version to 14.0.232 2021-01-28 13:01:51 -05:00
Darcy Wong
7bd55db3fa chore(windows/resources): Tweak formatting in locale_edit 2021-01-28 14:56:48 +07:00
Darcy Wong
57c78625c6 chore(windows/resources): Add link to troubleshooting/hidden 2021-01-28 14:44:47 +07:00
Darcy Wong
2d0e8490bb chore(windows/resources): Add troubleshooting/hidden 2021-01-28 14:38:08 +07:00
Darcy Wong
41bb899164 chore(windows/resources): Add titles to other index pages
* common/editions were removed in #4105
2021-01-28 14:15:36 +07:00
Darcy Wong
c4ef2221fb chore(windows/resources): Update context help titles
* Fix titles
* Remove unused osk_usage.md
* Remove link to osk_usage because the actual link is onscreenkeyboard
* Fix link to charactermap
* Remove unused links to psrt*language
2021-01-28 14:15:36 +07:00
Joshua Horton
bcd8b82d4a
Merge pull request #4366 from keymanapp/fix/ios/fix-mangled-merge
fix(ios): accidental duplicated line from merge
2021-01-28 14:10:56 +07:00
jahorton
14954ffd8d fix(ios): accidental duplicated line from merge 2021-01-28 12:27:19 +07:00
Joshua Horton
8b8aabee80
Merge pull request #4353 from keymanapp/change/web/script-set-eu
change(web): set -eu for web scripts
2021-01-28 12:05:30 +07:00
Marc Durdin
da6b385b0a
Merge pull request #4357 from keymanapp/chore/labels
chore(common): Enhance PR labeling based on PR title
2021-01-28 14:18:54 +11:00
Marc Durdin
eb3f8d658b fix(windows): Ignore Access Denied error creating task
Fixes #4116.
Fixes KEYMAN-WINDOWS-5T.

If we get an 'access denied' error, we won't report it to Sentry. This
error is of minor consequence as it arises in normal configurations only
if the task was already present, created by an elevated instance of
kmshell under the same user name. In that situation, the task works
fine; it just cannot be updated by a non-elevated instance of kmshell.
If there are other reasons for receiving access denied, we won't be able
to distinguish them anyway, so the best response is to suppress this
message.

An alternative would have been to either (a) avoid creating the task as
an elevated user, or (b) only ever create the task as an elevated user.
However, this adds extra unnecessary complexity and means that the task
may not always be present when we want it to be.
2021-01-28 14:13:45 +11:00
Keyman Server
6ded1ea498
Merge pull request #4364 from keymanapp/auto/version-beta-14.0.231
auto: increment beta version to 14.0.231
2021-01-28 13:59:01 +11:00
Keyman Build Agent
00382d7b89 auto: increment beta version to 14.0.231 2021-01-27 21:58:17 -05:00
Marc Durdin
6d7eeb817a
Merge pull request #4363 from keymanapp/chore/manual-version-increment
chore: manual version increment
2021-01-28 13:53:47 +11:00
Marc Durdin
58d0fd7bd5 chore: manual version increment 2021-01-28 13:52:43 +11:00
Marc Durdin
c194793a76
Merge pull request #4348 from keymanapp/fix/windows/4265-splash-button-sizes
fix(windows): Splash button sizes
2021-01-28 13:50:20 +11:00
Marc Durdin
0ae102a0d3
Merge pull request #4362 from keymanapp/fix/windows/setup-strings-comment-for-language
fix(windows): setup strings comment for language
2021-01-28 13:50:13 +11:00
Darcy Wong
12fc09e336
Merge pull request #4351 from keymanapp/chore/windows/more-todo-links
chore(windows/resources): Address more TODO links for help
2021-01-28 09:05:08 +07:00
Darcy Wong
4712762e9f chore(windows/resources): Use newer version of Word knowledge base 2021-01-28 06:31:26 +07:00
Marc Durdin
daa021ae85 fix(windows): setup strings comment for language 2021-01-28 08:53:15 +11:00
Marc Durdin
c26b9a2e2c fix(common): tweak surrogate pair deletions
Matches the work in #4360 for Windows, tweaks to documentation.

Note that this does not add the BK_SURROGATE flag at this point. I
will add that in a future update if it proves necessary, when working on
the core integration into Windows.
2021-01-28 08:40:28 +11:00
Marc Durdin
193478a492 fix(windows): Reverse order of backspaces
In order for the BK_SURROGATE and BK_DEADKEY flags to be matched with
the correct xstring elements in the context, we need to delete the
elements from the buffer in reverse order.

decxstr would previously assert if attempting to move before start of
string. This is undesirable behaviour as it should instead return NULL
to indicate that we've finished the string.

I also corretected a buffer underrun which would be possible if
malformed data was in the xstring.

I checked all uses of decxstr to ensure that the NULL return value is
being tested correctly.
2021-01-28 08:16:33 +11:00
Marc Durdin
098de3af78 fix(windows): SMP-aware deletion in TSF-aware apps
Fixes #4196.

When deleting characters in a TSF-aware app, we must delete both halves
of a surrogate pair. This behaviour differs from legacy apps, where a
single backspace is usually sufficient to delete both characters.

Truly ancient apps that do not know about Unicode surrogate pairs are
not going to delete both halves with a single backspace event.
Fortunately, these are few and far between; we would handle them on a
case-by-case basis if support questions for them arise.

When we come to integrating Keyman Core into Keyman for Windows, there
will need to be some careful checking of surrogate pair support, as it
is likely that the handling will need to change.
2021-01-28 07:37:05 +11:00
Eberhard Beilharz
e862d3bfe5
chore(linux): Don't report on Sentry when running unit tests
When running unit tests we try to install some keyboards with
invalid URLs which normally results in an issue being reported on
Sentry. This change detects when we're running unit tests and
in that case doesn't initialize Sentry reporting.
2021-01-27 16:27:28 +01:00
Eberhard Beilharz
ee4f0642ed
chore: Enhance PR labeling based on PR title
This PR adds the labeler-action GH action that applies labels
based on the PR title. This allows to automatically assign
labels based on our conventional commit message.

Cherry-pick from PR #4226 (8f8b8eb787).
2021-01-27 16:06:25 +01:00
Eberhard Beilharz
88637bb818
chore(linux): Don't report on Sentry when running unit tests
When running unit tests we try to install some keyboards with
invalid URLs which normally results in an issue being reported on
Sentry. This change sets an environment variable when running
the tests and modifies the initialization code to not initialize
Sentry reporting when the environment variable `KEYMAN_NOSENTRY`
is set to 1.
2021-01-27 15:59:49 +01:00
Eberhard Beilharz
fd8e48449b
Merge pull request #4341 from keymanapp/chore/linux/typo
chore(linux): Fix typo
2021-01-27 11:33:41 +01:00
jahorton
ab527ad192 fix(web): set -e hangups 2021-01-27 16:02:07 +07:00
Joshua Horton
9144f5fe7a
Merge pull request #4352 from keymanapp/fix/web/ui/module-build-fail-propagation
fix(web/ui): propagates UI module build failures
2021-01-27 15:18:21 +07:00
Joshua Horton
78ba425de7
Merge pull request #4338 from keymanapp/fix/ios/installation-ui-polish-pass
fix(ios): resolves rough edges with installation view transitions
2021-01-27 15:15:32 +07:00
Joshua Horton
2c6096996b
Merge branch 'beta' into fix/ios/installation-ui-polish-pass 2021-01-27 15:15:24 +07:00
Joshua Horton
04ff601a23
Merge pull request #4332 from keymanapp/fix/ios/4328-unexpected-logo
fix(ios): fixes accidental logo / cancel button overlap during package installation
2021-01-27 15:14:31 +07:00
Darcy Wong
5c4eaffb87 chore(windows/resources): Use full paths to help site 2021-01-27 14:59:59 +07:00
Joshua Horton
4effbeef2b
Merge pull request #4347 from keymanapp/fix/ios/2757-package-update-refresh
fix(ios): reloads keyboard after package updates
2021-01-27 14:33:30 +07:00
jahorton
531c6f76c8 change(web): set -eu for web scripts 2021-01-27 14:29:16 +07:00
jahorton
46da0ad36d fix(web/ui): propagates UI module build failures 2021-01-27 13:52:52 +07:00
Darcy Wong
5368e28425 chore(windows/resources): Copy desktop/current-version landing page 2021-01-27 13:41:04 +07:00
Marc Durdin
b97c5d293d fix(windows): Enter and Spacebar handling in Configuration
Fixes #4186.

The Enter and Spacebar key handlers had not been updated for the new
layout and so threw errors in use.
2021-01-27 15:23:19 +11:00