Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
67ac0ba8fd chore(web): Revert "fix(web): OSK now checks pred-text state on init"
This reverts commit 7466b82893.
2024-07-25 12:04:40 +07:00
Joshua A. Horton
3b35186e29 chore(web): Revert "chore(android): reverts error-silencing try-catch"
This reverts commit db4a7bfcd0.
2024-07-25 12:04:38 +07:00
Joshua A. Horton
1c7f31727d chore(web): Revert "chore(android): restores try-catch, now with console.error err forwarding"
This reverts commit d705589726.
2024-07-25 12:04:35 +07:00
Marc Durdin
147537894e
Merge pull request #12011 from keymanapp/fix/windows/12001-engine.sln-platform-mismatch
fix(windows): align engine.sln platforms and configurations
2024-07-25 14:10:12 +10:00
Marc Durdin
0dd396138a
Merge pull request #12009 from keymanapp/chore/stats
chore(common): updated stats script to support end date/sprint
2024-07-25 14:10:06 +10:00
Marc Durdin
5a454c9a3d
Merge pull request #12008 from keymanapp/fix/developer/11992-handle-kps-xml-errors-loading-project
fix(developer): handle errors parsing .kps file when loading project
2024-07-25 14:10:00 +10:00
Marc Durdin
484f91135b
Merge pull request #11989 from keymanapp/chore/developer/rename-package-compiler-messages-class
chore(developer): rename kmc-package `CompilerMessages` to `PackageCompilerMessages`
2024-07-25 14:09:51 +10:00
Marc Durdin
1b36c86db4
Merge pull request #11988 from keymanapp/chore/developer/rename-ldml-compiler-messages-export
chore(developer): rename kmc-ldml `CompilerMessages`, `LdmlKeyboardCompilerMessages` to `LdmlCompilerMessages`
2024-07-25 14:09:43 +10:00
Marc Durdin
5d0dccf088
Merge pull request #11986 from keymanapp/chore/developer/remove-CompilerMessages-stub
chore(developer): remove `CompilerMessages` stub and use `KmnCompilerMessages`
2024-07-25 14:09:36 +10:00
Marc Durdin
36d00c0424 chore(windows): rename log statements 2024-07-25 10:37:04 +07:00
Joshua A. Horton
a9380b035d chore(web): Merge branch 'refactor/web/lm-worker-predict' into refactor/web/stateless-predict-helpers 2024-07-25 10:31:00 +07:00
Joshua A. Horton
1734cfb2aa chore(web): Merge branch 'refactor/web/dedupe-and-similarity' into refactor/web/lm-worker-predict 2024-07-25 10:19:28 +07:00
Joshua A. Horton
c1e8ba0e79 chore(web): Merge branch 'master' into refactor/web/dedupe-and-similarity 2024-07-25 10:16:11 +07:00
Joshua Horton
4efff2cfee
Merge pull request #11899 from keymanapp/refactor/web/predict-suggestion-finalization
refactor(web): extract suggestion-finalization block into its own function 📚
2024-07-25 10:10:59 +07:00
Joshua Horton
980ed88355
Merge pull request #11876 from keymanapp/fix/web/low-probability-exact-matching
feat(web): check for low-probability exact + exact-key correction matches 📚
2024-07-25 10:10:49 +07:00
Marc Durdin
400751b510 fix(windows): align engine.sln platforms and configurations
Fixes: #12001
2024-07-25 09:38:02 +07:00
Joshua A. Horton
b2c8aea11a docs(web): minor doc tweak 2024-07-25 09:08:30 +07:00
Joshua A. Horton
5322365bba chore(web): extra cleanup 2024-07-25 08:54:29 +07:00
Marc Durdin
04037e0225 chore(common): updated stats script to support end date/sprint 2024-07-25 08:47:50 +07:00
Marc Durdin
2c866f3a18 fix(developer): handle errors parsing .kps file when loading project
When a project is loaded, the IDE parses .kps files to retrieve metadata
for viewing. If the .kps file was malformed, then the parser could fail,
blocking the load of the project. Instead, we just ignore the errors and
show no metadata. Note that the Package Editor already loads the file
successfully and reports on the problem, allowing the user to fix it.

Fixes: #11992
Fixes: KEYMAN-DEVELOPER-23W
2024-07-25 08:40:28 +07:00
Joshua A. Horton
8d40bc3363 change(web): leverage tokenization to preserve punctuation and whitespace when predicting 2024-07-25 08:33:42 +07:00
Joshua A. Horton
ef4089d6dc chore(web): pulls forward some changes from child branch 2024-07-25 08:10:34 +07:00
rc-swag
68aa3f4016
Merge pull request #12002 from keymanapp/chore/windows/11919/remove-post-wm-keydown
chore(windows): remove the posting WM_KEYUP/DOWN events to IM
2024-07-25 08:43:09 +10:00
Keyman Server
9f729448da
Merge pull request #12005 from keymanapp/auto/version-master-18.0.75
auto: increment master version to 18.0.75
2024-07-24 11:03:37 -07:00
Keyman Build Agent
4f7f45405b auto: increment master version to 18.0.75 2024-07-24 14:02:39 -04:00
Eberhard Beilharz
eb9205f46e
chore(web): fix build
Missed one occurrence of `util`...
2024-07-24 18:42:53 +02:00
Eberhard Beilharz
5552fdd5ad
chore(web): expose util.ts as separate sub-export
The exports of the `util.ts` can now be imported as
`@keymanapp/common-types/utils`. Those methods are used by developer.
We still export the `Uni_IsSurrogate*` methods in `main.js` because they
are needed by the keyboard-processor, but exporting everything would
increase the size of the resulting `keymanweb.js`. Doing it this way
keeps the size the same.
2024-07-24 17:33:48 +02:00
Eberhard Beilharz
f4d21fdc23
Merge pull request #12003 from keymanapp/chore/linux/mantic
chore(linux): remove Ubuntu Mantic, add Oracular
2024-07-24 11:02:37 +02:00
Eberhard Beilharz
484f596239
chore(linux): remove Ubuntu Mantic, add Oracular
Ubuntu 23.10 Mantic is EOL, Ubuntu 24.10 Oracular will be the next
release.
2024-07-24 09:49:57 +02:00
rc-swag
915f710b44 chore(windows): remove posting keydown up events to IM
The code has already been commented out so this was more a clean up
of deadcode. WM_KEYDOWN events are not expected by the IM window anyway.
2024-07-24 17:05:40 +10:00
rc-swag
9f72febff8 feat(windows): merge conflicts wip 2024-07-24 16:59:21 +10:00
Joshua A. Horton
965eeaf17b chore(common/models): renames added unit tests 2024-07-24 13:04:08 +07:00
Joshua A. Horton
d3c9a9f3f3 chore(web): minor cleanup for variable: let -> const 2024-07-24 12:15:18 +07:00
Joshua A. Horton
0f351943be chore(web): test name rework 2024-07-24 12:05:59 +07:00
Joshua A. Horton
854f53360f chore(web): minor test-name tweaks 2024-07-24 10:59:49 +07:00
Joshua A. Horton
d132eed84b change(web): alters test names 2024-07-24 10:54:48 +07:00
Joshua A. Horton
dc4aeccfdd refactor(web): refactor branch commit - extract common auto-test setup 2024-07-24 10:54:15 +07:00
Marc Durdin
09a1ad7b69 feat(developer): add hint when index() store is longer than any() store
While it does not cause any problems to have a index() store that is
longer than its corresponding any() store, it often indicates a mistake,
as the trailing characters in the store are ignored. Thus, adding as a
hint (which can be disabled via message suppression) rather than as a
warning or error.

Example code:
    store(abc) 'abc'
    store(defg) 'defg'
    any(abc) + 'x' > index(defg, 1)  c generates HINT_IndexStoreLong

Fixes: #10666
2024-07-24 07:35:31 +07:00
Dr Mark C. Sinclair
42210a02c1 chore(developer): Merge branch 'master' into fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null 2024-07-23 20:52:24 +01:00
Dr Mark C. Sinclair
c0524ab851 chore(developer): add local variables and comments to clarify CERR_OutsTooLong test case 2024-07-23 20:27:49 +01:00
Dr Mark C. Sinclair
ea0a2f780e chore(developer): uncomment nine test cases in various GetXStringImpl tests now fixes are available 2024-07-23 20:16:39 +01:00
Dr Mark C. Sinclair
f6863dd2c3 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-07-23 20:00:30 +01:00
Dr Mark C. Sinclair
1449f13eed
Merge pull request #11938 from keymanapp/fix/developer/11937-correct-handling-of-trailing-spaces-by-GetDelimitedString
fix(developer): correct handling of trailing spaces by GetDelimitedString() in kmcmplib compiler
2024-07-23 19:58:16 +01:00
Keyman Server
98c12d5290
Merge pull request #11999 from keymanapp/auto/version-master-18.0.74
auto: increment master version to 18.0.74
2024-07-23 11:05:48 -07:00
Keyman Build Agent
163b7e6413 auto: increment master version to 18.0.74 2024-07-23 14:05:09 -04:00
Dr Mark C. Sinclair
76384a170d fix(developer): edited for layout consistency 2024-07-23 18:11:03 +01:00
Dr Mark C. Sinclair
bac6adb756 fix(developer): remove unnecessary commented out debug code 2024-07-23 18:07:04 +01:00
Dr Mark C. Sinclair
2a7b10d6a3 fix(developer): eight test cases for spaces in empty argument for GetDelimitedString(), plus corresponding fix 2024-07-23 18:04:39 +01:00
Dr Mark C. Sinclair
e94fac176e fix(developer): expanded some test comments 2024-07-23 16:24:46 +01:00
Dr Mark C. Sinclair
ef9c0f8821 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-07-23 11:59:49 +01:00