Commit graph

27982 commits

Author SHA1 Message Date
Keyman Build Agent
979c4f448c auto: increment beta version to 14.0.237 2021-02-04 13:01:18 -05:00
Eberhard Beilharz
dad99d53e4
Merge pull request #4418 from keymanapp/fix/linux/3399-langtag
fix(linux): Improve fix for #3399
2021-02-04 10:06:36 +01:00
Darcy Wong
54895c1830 chore: Add localization progress badge 2021-02-04 11:40:34 +07:00
Darcy Wong
fbf72529db
Merge pull request #4413 from keymanapp/fix/android/welcome-post-install
change(android/app): Separate displaying welcome.htm from keyboard installation
2021-02-04 09:26:45 +07:00
Darcy Wong
26f57f02a6 chore(windows): Check in crowdin files for fr 2021-02-04 08:28:23 +07:00
Darcy Wong
f2f80151fb chore(linux): Check in crowdin files for fr 2021-02-04 08:27:50 +07:00
Darcy Wong
10d6daf945 chore(ios): Check in crowdin files for fr 2021-02-04 08:27:32 +07:00
Darcy Wong
25d0837310 chore(linux): Remove reference php help files 2021-02-04 06:22:07 +07:00
Darcy Wong
5b5dbc6bf7
Merge pull request #4412 from keymanapp/chore/windows/community-forum-typo
chore(windows/resources): Fix typo about Community Forum link
2021-02-04 06:16:57 +07:00
Eberhard Beilharz
693f13a953
fix(linux): Improve fix for #3399
This improves the implementation for normalizing language tags
when installing a keyboard. Based on the Windows implementation
in `Keyman.System.CanonicalLanguageCodeUtils.pas`.

One difference to the Windows implementation is that the mapping of
3- to 2-letter tags is based on `langtags.json` instead of
`iso639-3.tab`.

Closes #3399.
2021-02-03 19:08:03 +01:00
Keyman Server
e17d368c9a
Merge pull request #4417 from keymanapp/auto/version-beta-14.0.236
auto: increment beta version to 14.0.236
2021-02-04 05:02:05 +11:00
Keyman Build Agent
0f5864fe90 auto: increment beta version to 14.0.236 2021-02-03 13:01:15 -05:00
Darcy Wong
b6fe8a2648 chore(android): Check in crowdin files for fr 2021-02-03 21:13:08 +07:00
Darcy Wong
935dfe767e chore(common): Update crowdin.yml Windows files for fr 2021-02-03 20:40:09 +07:00
Eberhard Beilharz
16ee49ffaa
Merge pull request #4402 from keymanapp/fix/linux/4375-uninstall
fix(linux): Don't crash if uninstalling last keyboard
2021-02-03 12:16:23 +01:00
Darcy Wong
e87db51548 chore(linux): Check in markdown help for Linux 2021-02-03 17:05:05 +07:00
Darcy Wong
545f3f9678
Merge pull request #4397 from keymanapp/modify/android/build-help
modify(android/app): Change build-help.sh to generate offline help from Markdown files
2021-02-03 16:14:48 +07:00
Darcy Wong
138d3070a1 chore(windows/resources): Fix typo 2021-02-03 14:28:21 +07:00
Darcy Wong
dba43e01fd chore(android/app): Tweak gitignore and build-help
* Address review comments about gitignore path
* Allow for `html` parameter for build-help.sh
2021-02-03 14:18:56 +07:00
Darcy Wong
3ea611e527 change(android/app): Remove displaying welcome.htm from stepper 2021-02-03 13:46:16 +07:00
Marc Durdin
cc54c2c158
Merge pull request #4407 from keymanapp/fix/windows/3336-model-wordlist-forward-slashes
fix(windows): Use forward slashes in wordlist paths
2021-02-03 16:52:35 +11:00
Marc Durdin
6cbf8de840
Merge pull request #4406 from keymanapp/fix/windows/4393-crash-deleting-wordlist
fix(windows): crash deleting wordlist
2021-02-03 16:52:03 +11:00
Marc Durdin
12834c618a
Merge pull request #4405 from keymanapp/chore/windows/case-sensitive-tests
chore(windows): tests should be case-sensitive
2021-02-03 16:51:50 +11:00
Marc Durdin
0c782e22d3 fix(developer): Compiler check for if and nul at start of context
Fixes #4280.

Adds checks to verify that `if()`, `platform()`, `baselayout()` and
`nul` are at the start of the context in the appropriate order.

Adds unit tests to validate these checks.

These are conditions that have been present in earlier versions of
Keyman but not enforced until now. Keyboards that do not meet these
conditions would not work correctly in all circumstances and should be
updated to meet the requirements.

An alternative would have been to reorder the context string but that is
much more complex as manipulation would also have been required for the
output string. The enforced order is logical and reduces confusion in
any case.

Updated documentation coming along shortly.
2021-02-03 15:28:53 +11:00
jahorton
e50596335e fix(common/models): adds wordbreak text only at end of context 2021-02-03 10:59:37 +07:00
jahorton
1c9c64c7d7 fix(common/models): predictions after context reset / caret shift 2021-02-03 10:59:16 +07:00
Joshua Horton
8447ba68de
Merge pull request #4401 from keymanapp/fix/common/models/non-head-bksp-workaround
fix(common/models): bksp workaround now works beyond first word
2021-02-03 08:38:56 +07:00
Joshua Horton
398020c6d3
Merge pull request #4396 from keymanapp/fix/ios/ilvc-event-concurrency
fix(ios): fixes package-install/update event concurrency management
2021-02-03 08:38:46 +07:00
Joshua Horton
e9d094a5c4
Merge pull request #4395 from keymanapp/fix/ios/4382-update-failure-crash
fix(ios): fixes app crash on network/install error during resource updates
2021-02-03 08:38:35 +07:00
Joshua Horton
1df8f7c619
Merge pull request #4394 from keymanapp/fix/ios/unit-test-patching
fix(ios): fixes unit test mocking, test init
2021-02-03 08:38:25 +07:00
jahorton
21b917d9d7 change(common/models): let -> const (from PR review) 2021-02-03 08:18:40 +07:00
Darcy Wong
54cf842e7c fix(android/app): Have KMAPro build script generate offline help 2021-02-03 08:02:52 +07:00
Darcy Wong
1992343e3e chore(android/app): Remove html help files from repo 2021-02-03 07:37:34 +07:00
Marc Durdin
171b6fac54 fix(developer): debug information with unicode identifiers
Fixes #4250.

This implements @jahorton's suggestion of including the original name
in a comment alongside the munged name, as well as appending the unique
integer identifier of each symbol.

Note: the error reporting code needed a massage to support Unicode error
strings; in the future we should update the C++ compiler to emit
Unicode error strings also.
2021-02-03 10:54:20 +11:00
Marc Durdin
953cb15581 fix(windows): Use forward slashes in wordlist paths
Fixes #3336.
2021-02-03 10:15:30 +11:00
Marc Durdin
8f1fc61cc6 fix(windows): crash deleting wordlist
Fixes #4393.
Fixes KEYMAN-DEVELOPER-46.
Fixes KEYMAN-DEVELOPER-45.

This arose because deleting a tab caused Delphi VCL to switch to another
tab in the page control, which is IMHO a bug in the TPageControl VCL
component. Furthermore, when the active page is changed under these
circumstances, the normal OnChange and OnChanging events are not fired,
which means that the Source tab (which is the lucky tab to be activated)
never gets initialised. This cascades eventually to a crash due to the
Source tab's text editor not being properly loaded.

Two parts to this fix:

1. Restore the active page when we delete a wordlist tab (RSP-32327);
   this does not resolve the crash but does avoid weird side-effect of
   the active tab changing.
2. Initialise the source tab when we load the form so that the
   initialisation issue described above is avoided.

A separate fix in modelTsProjectFile avoids a (handled) null variant
conversion exception.
2021-02-03 09:43:48 +11:00
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