Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
021e999d79
Merge branch 'master' into contexthelp-final/keyboard-editor 2024-06-14 09:29:06 +10:00
Marc Durdin
aa3e16815b
Merge pull request #11770 from Meng-Heng/contexthelp/select-bcp47-language
docs(developer): context help for Select BCP 47 tag in Keyman Developer
2024-06-14 09:28:32 +10:00
Marc Durdin
21f6e128e2
Merge branch 'master' into contexthelp/select-bcp47-language 2024-06-14 09:28:24 +10:00
Marc Durdin
c960282808
Merge pull request #11769 from Meng-Heng/contexthelp/new-project-parameters
docs(developer): context help for new-project-parameters in keyman developer
2024-06-14 09:27:56 +10:00
Marc Durdin
dba47e7075
Merge branch 'master' into contexthelp/new-project-parameters 2024-06-14 09:27:49 +10:00
Marc Durdin
60a4587c69
Merge pull request #11767 from Meng-Heng/contexthelp/new-project
docs(developer): context help in new-project section
2024-06-14 09:27:16 +10:00
Marc Durdin
222a141d77
Merge pull request #11754 from Meng-Heng/contexthelp/keyboard-editor
docs(developer): context help in keyboard-editor section
2024-06-14 09:27:09 +10:00
Marc Durdin
c01fceae7e
Merge pull request #11760 from Meng-Heng/contexthelp/package-editor
docs(developer): context help in package-editor and put the existing context help in their own tab comments
2024-06-14 09:26:45 +10:00
Marc Durdin
4a35e51a46
Merge pull request #11759 from keymanapp/fix/developer/11646-add-platform-no-more-platforms-builder
fix(developer): show message if no more platforms to add to touch layout editor
2024-06-14 08:48:41 +10:00
Steven R. Loomis
3c82343218 test(core): Add a minimal test that exercises the core API
- this test doesn't actually run well, it compiles but fails with an assertion.
- the purpose is to exercise the linker.

Fixes: #10968
2024-06-13 16:56:36 -05:00
Dr Mark C. Sinclair
ecd4944a2b fix(developer): add terminating null to expected strings 2024-06-13 20:50:24 +01:00
Dr Mark C. Sinclair
3453319563 fix(developer): correct test that is always false 2024-06-13 20:35:07 +01:00
Steven R. Loomis
b2e3215b0b
Merge branch 'feat/core/9467-devolve-regex-to-js2-epic-ldml' into feat/core/9467-remove-icu-for-wasm-epic-ldml 2024-06-13 14:29:18 -05:00
Steven R. Loomis
ff3c9736f4
Merge branch 'master' into feat/core/9467-devolve-regex-to-js2-epic-ldml 2024-06-13 14:29:01 -05:00
Steven R. Loomis
edd42d1dcb
Merge pull request #11541 from keymanapp/feat/core/9467-devolve-norm-to-js3-epic-ldml
feat(core): devolve normalization to js 🙀
2024-06-13 14:28:45 -05:00
Dr Mark C. Sinclair
446661ae03 fix(developer): make explicit cast in mixed int type comparison 2024-06-13 20:25:08 +01:00
Steven R. Loomis
a744afc34f feat(core): remove ICU from core under wasm
Fixes: #9467
2024-06-13 14:20:58 -05:00
Dr Mark C. Sinclair
6a16837b47 fix(developer): catch error by reference 2024-06-13 20:17:36 +01:00
Dr Mark C. Sinclair
f1e3396249 fix(developer): add additional error if build cannot be read into buffer 2024-06-13 20:10:16 +01:00
Keyman Server
58ea483a49
Merge pull request #11776 from keymanapp/auto/version-master-18.0.56
auto: increment master version to 18.0.56
2024-06-13 11:10:06 -07:00
Keyman Build Agent
781a46341d auto: increment master version to 18.0.56 2024-06-13 14:09:31 -04:00
Steven R. Loomis
1a61a589b3 feat(core): devolve regex to js for wasm
- assert was wrong!

Fixes: #9467
2024-06-13 13:07:29 -05:00
Dr Mark C. Sinclair
1fa13c2b83 fix(developer): add -Wno-ignored-qualifiers flag to allow casting to override warnings with return type casts 2024-06-13 18:41:07 +01:00
Dr Mark C. Sinclair
272b3b1532 fix(developer) cast to int in mixed int type expression 2024-06-13 18:31:22 +01:00
Dr Mark C. Sinclair
46186c90e5 fix(developer): correct iterator type to KMX_DWORD 2024-06-13 18:27:13 +01:00
Dr Mark C. Sinclair
f0701c87cd fix(developer): correct iterator type 2024-06-13 18:25:35 +01:00
Dr Mark C. Sinclair
fe05d05858 fix(developer): cast to long for ftell size check 2024-06-13 18:22:39 +01:00
Dr Mark C. Sinclair
4ed7af0c6c fix(developer): cast to int for fread size check 2024-06-13 18:17:58 +01:00
Steven R. Loomis
263d0e32f2 chore(core): update comments and remove a raw numeric literal
- per review comments

Fixes: #9467

Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2024-06-13 12:17:55 -05:00
Dr Mark C. Sinclair
7c0a422095 fix(developer): correct type of loop iterator 2024-06-13 17:41:55 +01:00
Dr Mark C. Sinclair
225fd8d29a fix(developer): remove ignored printf flag 2024-06-13 17:36:48 +01:00
Dr Mark C. Sinclair
421593bd72 fix(developer): rename shadowing local variables 2024-06-13 17:33:20 +01:00
Dr Mark C. Sinclair
6585d034c6 fix(developer): add <algorithm> include and std::reverse to kmx_u16.cpp 2024-06-13 17:25:31 +01:00
Dr Mark C. Sinclair
604d538875 fix(developer): add <cstring> include to kmx_u16.h 2024-06-13 17:10:59 +01:00
Dr Mark C. Sinclair
8a86cc373f fix(developer): add <cstring> include to kmcompxtest.cpp 2024-06-13 17:06:36 +01:00
Dr Mark C. Sinclair
328b7b70c3 fix(developer): add <cstddef> include to kmcompx.h 2024-06-13 16:59:47 +01:00
Dr Mark C. Sinclair
e155ae9c0c fix(developer): add gcc flag to remove __cdecl 2024-06-13 16:57:55 +01:00
Eberhard Beilharz
b93c459515
fix(linux): restart ibus after manual integration test run
Previously keyboard input was no longer input after manually running
the integration tests. This change fixes this by restarting ibus after
the tests. However, we only want to do that if the ibus instance we
started for the tests got killed. The cleanup script might get called
multiple times, so we need this check.
2024-06-13 17:50:41 +02:00
Dr Mark C. Sinclair
44a1ade516 chore(developer): add five cases to GetXStringImpl_type_o test 2024-06-13 13:09:57 +01:00
Dr Mark C. Sinclair
f90428108f chore(developer): comment out index no parameter test due to risk of buffer overrun 2024-06-13 12:40:41 +01:00
Dr Mark C. Sinclair
1b1add642e chore(developer): add separate file_store fixture for index in GetXStringImpl_type_i; initial GetXStringImpl_type_o test 2024-06-13 12:35:10 +01:00
Dr Mark C. Sinclair
e045a6a55d chore(developer): add nine index test cases to GetXStringImpl_type_i test 2024-06-13 11:34:31 +01:00
Meng-Heng
137443e34f docs(developer): extra context help for keyboard-editor (does not exist in Keyman Developer 17.0)
Fixes: #2131
2024-06-13 14:09:54 +07:00
Meng-Heng
abb2530ea5 docs(developer): context help for Select BCP 47 tag in Keyman Developer
Fixes: #2131
2024-06-13 13:50:53 +07:00
Joshua A. Horton
b22a5fe4fe refactor(web): overhaul ExecutionTimer to better detect paused time
There are three main operations during correction-search:
- replay of old results, if applicable
- generation of new corrections
- generation of predictions rooted on found corrections

Each type naturally has a different 'expected' runtime... so we now make buckets for each.  We can then use stats principles to detect outliers on each level.  (Mixing them all together = higher variance, thus worse detection.)

Also adds a full set of unit tests at 100% coverage for the new implementation.

Fun detail - in practice, when running all of the unit tests on my personal machine, it's able to pick up a fair few 1-5 ms outliers during the prediction-oriented tests!  We previously lacked the resolution to detect those smaller-end cases.

This is work toward #3580, but not the final resolution of it.
2024-06-13 13:26:24 +07:00
Joshua A. Horton
7246b28afc chore(web): move correction-search execution timer to its own file 2024-06-13 13:17:43 +07:00
Meng-Heng
cf6665e2ce docs(developer): context help for new project parameters in keyman developer
Fixes: #2131
2024-06-13 13:13:27 +07:00
Joshua A. Horton
444ae92197 change(web): drop correction batching
While working on #3580, I was noticing some odd behavior after later changes and discovered that the assumption underlying the correction-batching behavior is invalid.  It would also complicate other aspects of #3580, so the simplest answer is likely to remove it.
2024-06-13 13:00:32 +07:00
Joshua A. Horton
17787b95ae chore(web): Merge branch 'change/common/update-esbuild' into change/web/lmworker-async-corrections 2024-06-13 12:49:52 +07:00
Joshua A. Horton
ace4eb25c4 chore(common): Merge branch 'master' into change/common/update-esbuild 2024-06-13 12:47:55 +07:00