Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
e47c40a0e8 chore: Merge branch 'master' into chore/B14S5-beta-to-master 2021-02-08 08:27:10 +07:00
Keyman Server
674384eac9
Merge pull request #4431 from keymanapp/auto/version-beta-14.0.238
auto: increment beta version to 14.0.238
2021-02-07 05:01:51 +11:00
Keyman Build Agent
2f5bb01241 auto: increment beta version to 14.0.238 2021-02-06 13:01:04 -05:00
Eberhard Beilharz
05b19118f6
Merge pull request #4428 from keymanapp/fix/linux/3399-langtag
fix(linux): Fix packaging
2021-02-05 22:55:35 +01:00
Eberhard Beilharz
3e586bc58e
fix(linux): Fix packaging
Tell the Python build that we have a new module in a subdirectory.
Part of the improvements for #3399.
2021-02-05 18:55:17 +01:00
Marc Durdin
dab52774c2 fix(common): support quotes 2021-02-05 20:12:01 +11:00
Marc Durdin
2dbb928852 chore(windows): update unit tests 2021-02-05 18:45:55 +11:00
Darcy Wong
7147494441 chore(linux): Merge remote-tracking branch 'origin/beta' into chore/linux/check-in-markdown-help 2021-02-05 13:12:00 +07:00
jahorton
861d1b5501 fix(common/models): branch polishing, unit test fix 2021-02-05 12:58:06 +07:00
Marc Durdin
558c8013ee feat(developer): improve BCP 47 canonicalization
Ensures we get a canonical tag per langtags.json as far as we possibly
can. This is a breaking change for the compiler as tags which were
formerly regarded as canonical are no longer regarded that way. This
mostly relates to script subtag but a secondary bug meant that some
other tags would have lost data in the canonicalization process
(because we did a lookup based only on the language subtag previously,
which is a no-no).

See keymanapp/keyboards#1452 for related work.
2021-02-05 16:56:21 +11:00
jahorton
e1bab443ea fix(common/models): mid-context post-revert suggestion acceptance 2021-02-05 10:22:52 +07:00
jahorton
2b999d6274 fix(common/models): fixes reversion application 2021-02-05 09:33:28 +07:00
jahorton
138a7db228 feat(common/models): mid-context suggestion acceptance 2021-02-05 09:16:06 +07:00
Keyman Server
0d382df03c
Merge pull request #4422 from keymanapp/auto/version-beta-14.0.237
auto: increment beta version to 14.0.237
2021-02-05 05:02:08 +11:00
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