Commit graph

27982 commits

Author SHA1 Message Date
Darcy Wong
0cf45ac5e3 feat(ios/engine): embedded KeymanWeb engine Sentry use 2020-11-05 14:53:05 +07:00
jahorton
668ba26453 feat(common/models): initial applyCasing use, case detection 2020-11-05 14:29:52 +07:00
jahorton
7ace35e107 docs(common/models): better LexicalModel type docs 2020-11-05 14:29:14 +07:00
Darcy Wong
e472924967
Merge pull request #3823 from keymanapp/fix/android/get-started-no-network
fix(android/app): Remove network check on "Get Started" menu
2020-11-05 10:51:15 +07:00
Darcy Wong
590b0f0210 fix(android/app): Remove network check on "Get Started" menu 2020-11-05 10:36:26 +07:00
jahorton
67e08be599 docs(developer/compilers): removes finished TODOs 2020-11-05 10:20:37 +07:00
jahorton
7e2f977a92 fix(developer/compilers): restores accidentally removed file 2020-11-05 10:01:39 +07:00
jahorton
5ff0a8cab3 feat(developer/compilers): more test cases, extra rigor 2020-11-05 09:56:12 +07:00
jahorton
addc387bf1 feat(developer/compilers): model compilation test 2020-11-05 09:22:49 +07:00
Marc Durdin
fe986a2fda
Merge pull request #3818 from keymanapp/fix/developer/1584-incorrect-script-for-language
fix(developer): Incorrect script:language map
2020-11-05 13:11:09 +11:00
Marc Durdin
ea5096991a
Merge pull request #3819 from keymanapp/fix/developer/799-remove-legacy-language-data
fix(developer): remove obsolete NRSIAllTags
2020-11-05 13:10:59 +11:00
Keyman Server
c1052fe1b4
Merge pull request #3821 from keymanapp/auto/version-master-14.0.176
auto: increment master version to 14.0.176
2020-11-05 05:01:54 +11:00
Keyman Build Agent
56e0c29815 auto: increment master version to 14.0.176 2020-11-04 13:01:12 -05:00
Marc Durdin
4b52dba137 test(web): add unit test for notany and context
This adds a set of unit tests for notany() and context(), in a new file
with some simple boilerplate functions to smooth the way.
2020-11-04 21:09:23 +11:00
Darcy Wong
573c63a931
Merge pull request #3808 from keymanapp/feat/android/model-picker-query
feat(android/engine): Add check for associated model on ModelPickerActivity
2020-11-04 15:51:20 +07:00
jahorton
0605777846 feat(developer/compilers): pseudoclosure compile-time unit tests 2020-11-04 15:08:21 +07:00
jahorton
82d5f6a80c fix(developer/compilers): removes committed testing .only 2020-11-04 15:08:21 +07:00
jahorton
9fbb6fb0d1 feat(developer/compilers): defaultApplyCase, defaultSearchToKey unit tests 2020-11-04 15:08:20 +07:00
jahorton
5c9c2bd8e6 feat(developer/compilers): initial applyCasing compilation, new code reorg 2020-11-04 15:08:20 +07:00
jahorton
22d5804d47 refactor(developer/compilers): splits potentially-common defaults to own file 2020-11-04 15:08:19 +07:00
jahorton
873f835e83 feat(developer/compilers): closure-based logic for applyCasing during compilation 2020-11-04 15:08:08 +07:00
jahorton
b800eaa96d feat(developer/compilers): starts lexical model compiler aspects 2020-11-04 15:07:57 +07:00
jahorton
47b0a88a9b feat(common/models): initial groundwork for applyCasing 2020-11-04 15:03:14 +07:00
Marc Durdin
94a062f20a fix(developer): remove obsolete NRSIAllTags
Relates to #799.

Removes NRSIAllTags, alltags.txt, parser and utility units.

Also re-enables standardsdata.dpr unit test which needed some syntax
cleanup.
2020-11-04 18:41:17 +11:00
Darcy Wong
4dd9bbfded chore(android/engine): Use i18n string 2020-11-04 14:00:38 +07:00
Marc Durdin
3c2857da51 fix(developer): Incorrect script:language map
Fixes #1584.

In the "Select BCP 47 Tag" dialog, when the user starts typing a
language tag, e.g. "hi" for Hindi, the "h" would match "ha" for Hausa,
and set the script to "Latn". When the "i" was then typed, the script
box would not be cleared, giving an incorrect result of "hi-Latn"
instead of just plain "hi".

The earlier issue of "yo-Brai" has already been resolved.
2020-11-04 15:01:21 +11:00
Marc Durdin
54efc34454 fix(web): support for notany() and context()
Fixes #917.

This PR goes along with #3816 to enable support for `notany()` and
`context()` references from the output.
2020-11-04 14:37:52 +11:00
Marc Durdin
d8e70bea77 fix(developer): support for notany() and context()
This is part 1 of 2 of a fix for #917. This adds in version 14.0
targeting and a new function `KNO` which is used in one specific place:
when a context() statement references a notany() statement. This
minimizes any risk in this change because existing supported patterns
should compile identically.

If the compiler finds this pattern, it will enforce 14.0 minimum version
for web targets.
2020-11-04 13:49:48 +11:00
Keyman Server
4b4a0d62dc
Merge pull request #3813 from keymanapp/auto/version-master-14.0.175
auto: increment master version to 14.0.175
2020-11-04 08:58:50 +11:00
Keyman Build Agent
f8e5f5771a auto: increment master version to 14.0.175 2020-11-03 16:58:12 -05:00
Marc Durdin
0082a24109
Merge pull request #3812 from keymanapp/chore/common/improve-build-readme
chore(common): improve build README.md

Merging with Admin powers -- forcing .174 build
2020-11-04 08:57:09 +11:00
Marc Durdin
fd1b200c02 chore(common): improve build README.md
The background reason for this is to test a fix to the web build, where
s.keyman.com resources were not being updated since we refactored the
build configurations (sadly, the build did not die when it should have).
2020-11-04 08:54:28 +11:00
Darcy Wong
cb3a408879 chore(android/engine): More cleanup
Remove CloudLexicalModelMetaDataDownloadCallback.updateIsRunning since it's not ready
2020-11-03 11:26:40 +07:00
Darcy Wong
1a02d24d8f chore(android/engine): Remove commented code 2020-11-03 11:00:15 +07:00
Darcy Wong
5271cc115f feat(android/engine): Add hooks for progressbar 2020-11-03 10:52:02 +07:00
Darcy Wong
9931b15a31 feat(android/engine): Add query for available dictionary 2020-11-02 16:19:03 +07:00
Darcy Wong
396df9673d chore(android/engine): Remove callbacks for lexical model catalog 2020-11-02 14:48:22 +07:00
Keyman Server
c399a438ce
Merge pull request #3807 from keymanapp/auto/version-master-14.0.174
auto: increment master version to 14.0.174
2020-10-31 05:17:08 +11:00
Keyman Build Agent
ad895dfd35 auto: increment master version to 14.0.174 2020-10-30 14:16:26 -04:00
Marc Durdin
3be518ebd8
Merge pull request #3804 from keymanapp/fix/windows/3797-task-create-failure
fix(windows): Handle failure on task creation
2020-10-30 17:39:00 +11:00
Marc Durdin
fd5845a912
Merge pull request #3805 from keymanapp/fix/windows/3801-crash-installing-malformed-package
fix(windows): crash installing package with a race
2020-10-30 17:31:23 +11:00
Marc Durdin
9904ec5396
Merge pull request #3800 from keymanapp/fix/windows/3725-3783-keyboard-menu-sync
fix(windows): keyboard menu could get out of sync
2020-10-30 17:23:28 +11:00
Marc Durdin
1fac72cceb
Merge pull request #3799 from keymanapp/fix/windows/3798-profile-disable-enable-incorrect-langid
fix(windows): disabling/enabling a profile could have wrong association
2020-10-30 17:23:01 +11:00
Darcy Wong
2f4ac09c0d
Merge pull request #3803 from keymanapp/chore/android/remove-lexical-model-catalog
chore(android/engine): Remove use of lexical-model catalog
2020-10-30 13:20:22 +07:00
Marc Durdin
38932b7173 chore(windows): address review issues 2020-10-30 17:05:57 +11:00
Marc Durdin
76f77857c5 fix(windows): crash installing package with a race
Fixes #3801.
Fixes #3802.
Fixes KEYMAN-WINDOWS-5M.
Fixes KEYMAN-WINDOWS-5N.

This is a two-part fix for Keyman Configuration where it appears there
was a race with creating a temporary file, and which caused a cascading
exception.

The first part resolves the race; the second part (in
UfrmInstallKeyboard.pas) adds a little extra robustness (probably not
totally necessary).
2020-10-30 16:52:17 +11:00
Marc Durdin
0aaea62b1c fix(windows): Handle failure on task creation
Fixes #3797.
Fixes KEYMAN-WINDOWS-5H.

Report unexpected errors creating or deleting scheduled task, and ignore
expected errors better, handling a potential race condition where two
processes both attempt to create a folder at the same time.

Note that creating the task should not be a race because we use the
`TASK_CREATE_OR_UPDATE` flag.
2020-10-30 15:47:43 +11:00
Marc Durdin
baff142d8b
Merge pull request #3793 from keymanapp/fix/windows/3689-cleanup-setup-action-list
fix(windows): cleanup setup action list
2020-10-30 14:27:31 +11:00
Marc Durdin
66b6baf223
Merge pull request #3792 from keymanapp/fix/windows/3689-bootstrap-progress
fix(windows): show bootstrap progress in setup
2020-10-30 14:26:56 +11:00
Marc Durdin
71d42b2580
Merge pull request #3794 from keymanapp/fix/windows/3689-install-location-choice
fix(windows): setup now allows choice of source
2020-10-30 14:26:32 +11:00