Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
335f06661d fix(windows): remove Show Keyboard Usage hotkey
Fixes #4336.

Removes the "Show Keyboard Usage Page" hotkey entry as it has no effect,
and cleans up Keyboard Usage and OSK Hint strings from all the current
locales.
2021-02-01 07:58:05 +11:00
Marc Durdin
07e9402f0c fix(windows): Refresh setings on 64-bit apps
Fixes #4289.

Some settings changes would not apply immediately for 64-bit apps, as
the refresh was not being processed until keymanx64 received focus (i.e.
never, as keymanx64 does not have a visible window!)
2021-02-01 07:42:20 +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
Eberhard Beilharz
f809d47090 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-01-29 22:36:48 +01: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
Eberhard Beilharz
ab58495438
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-29 19:02:47 +01:00
Keyman Build Agent
3295ea0012 auto: increment beta version to 14.0.233 2021-01-29 13:02:34 -05:00
Keyman Server
2e94e1460d
Merge pull request #4372 from keymanapp/auto/version-master-15.0.13
auto: increment master version to 15.0.13
2021-01-30 05:02:16 +11:00
Keyman Build Agent
f84a2ac74e auto: increment master version to 15.0.13 2021-01-29 13:01:31 -05:00
jahorton
a67e26fb1c fix(web): removes stylesheets from unloaded keyboards 2021-01-29 12:54:50 +07: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
jahorton
b0f1046e40 change(web): minor polish tweaks 2021-01-29 11:34:21 +07:00
jahorton
78c7821f9f change(web): banner display no longer deferred 2021-01-29 11:31:56 +07: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
jahorton
a50e769a05 change(web): minor in-branch polishing 2021-01-29 09:25:56 +07:00
jahorton
8332ba233b chore(web): Merge branch 'beta' into fix/web/embedded-tab-output 2021-01-29 08:35:11 +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
Eberhard Beilharz
4543496ed7
Merge pull request #4355 from keymanapp/chore/linux/fix-launchpad
chore(linux): Improve launchpad.sh script
2021-01-28 20:50:32 +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
jahorton
2d422a8626 feat(web): unit tests 2021-01-28 14:39:20 +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
jahorton
4c80844a0e fix(web): default tab output 2021-01-28 12:13:25 +07:00
jahorton
ba3fc1e505 refactor(common/core/web): triggerKeyDefault 2021-01-28 12:13:13 +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
jahorton
087078c139 fix(web): default tab on unembedded desktop form factors 2021-01-28 11:48:55 +07:00
jahorton
d7fffabd8b fix(web): K_TAB output, disables back-tab glyph in embedded mode 2021-01-28 11:48:54 +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