Commit graph

11114 commits

Author SHA1 Message Date
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
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
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 Build Agent
1385f8b93f auto: increment beta version to 14.0.234 2021-02-01 13:01:28 -05: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
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
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
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
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
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
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