Commit graph

33096 commits

Author SHA1 Message Date
Joshua A. Horton
fe31917bb5 change(common/models/templates): predict methods now utilize traversals 2024-06-21 15:15:15 +07:00
Joshua A. Horton
aef1dacc59 fix(common/models): traverse by key, not true wordform 2024-06-21 15:12:37 +07:00
Joshua A. Horton
e0892deccf fix(common/models/templates): unit test patchup post maxP -> p 2024-06-21 15:12:37 +07:00
Joshua A. Horton
6de595394b docs(common/models/templates): a bit more for traversal child method 2024-06-21 15:12:36 +07:00
Joshua A. Horton
64efabbc49 change(common/models/templates): traversal on Trie 2024-06-21 15:12:36 +07:00
Joshua A. Horton
b58945e255 feat(common/models/templates): unit test for new feature 2024-06-21 15:12:35 +07:00
Joshua A. Horton
15f49f2551 feat(common/models): direct, non-iterative traversal to specific children 2024-06-21 15:12:34 +07:00
Joshua A. Horton
27bc02137c fix(common/models/templates): unit test patchup after maxP -> p 2024-06-21 15:04:17 +07:00
Joshua A. Horton
0c47fcdbe6 change(web): maxP -> p, to ensure common field name for node and entry 2024-06-21 15:04:17 +07:00
Joshua A. Horton
17fefaa86f feat(common/models/templates): unit test enhancements for new feature 2024-06-21 15:04:16 +07:00
Joshua A. Horton
8e058a5078 fix(common/models): basic unit test patchup 2024-06-21 15:04:16 +07:00
Joshua A. Horton
abb326490f feat(common/models): lexicon traversals - probability access 2024-06-21 15:04:15 +07:00
Joshua A. Horton
ef7d87ace1 refactor(common/models): moves TS priority-queue implementation to web-utils 2024-06-21 15:02:52 +07:00
Sabine
0eb96a70ac feat(linux):check buffer size moved 2024-06-21 09:45:21 +02:00
Sabine
e4e05a794f feat(linux):check buffer size moved 2024-06-21 09:40:52 +02:00
Joshua Horton
56ae8a8643
Merge pull request #11264 from keymanapp/feat/web/osk-layer-deferral
feat(web): optimization via lazy construction of OSK layers 
2024-06-21 11:22:58 +07:00
Joshua Horton
b782800de1
Merge pull request #11263 from keymanapp/change/web/keyboard-preprocess-optimization
change(web): optimization for keyboard-layout preprocessing 
2024-06-21 11:22:50 +07:00
Steven R. Loomis
bf7a006718
Merge pull request #11810 from keymanapp/feat/developer/11054-warn-no-display
feat(developer): warn on empty keycaps 🙀
2024-06-20 20:57:09 -05:00
Joshua A. Horton
7166428d72 fix(web): check for longpresses with .sk, not .sp 2024-06-21 08:38:53 +07:00
Joshua Horton
1e1a125421
Merge pull request #11839 from keymanapp/chore/web/common-timeout-definition
chore(web): define common timeout variable for automated testing
2024-06-21 08:18:15 +07:00
Steven R. Loomis
4dc02c4952 fix(developer): layr: fix modifier err message on layer w/o id
- the error message was broken when there wasn't a layer id (which is allowed)
- add a test case

Fixes: #10553
2024-06-20 17:19:44 -05:00
Steven R. Loomis
dcead98f3e chore(common): deps: update eslint typescript plugins
- replace eslint-config-standard-with-typescript with eslint-config-love (author's recommendation)
- bump to @typescript-eslint/eslint-plugin@7.13.1 which supports Typescript 5.4.x
2024-06-20 16:50:01 -05:00
Steven R. Loomis
017e1f7e97
Merge branch 'master' into feat/developer/11054-warn-no-display 2024-06-20 16:03:26 -05:00
Steven R. Loomis
570766ca7c feat(developer): linter on blank keycaps
add a linter and hints to detect these cases:
- 'switch' key with no output and no matching display
- any other key whose only output is markers (so cannot otherwise display) and no matching display

Fixes: #11054
2024-06-20 16:02:43 -05:00
Sabine
404d888fde feat(linux): work on 2nd round of comments on PR 11816 2024-06-20 17:44:21 +02:00
SabineSIL
42186ff2e2
Merge pull request #11813 from keymanapp/feat/linux/mcompile-rework_deadkey
feat(linux): mcompile-linux rework  module deadkey 🐘
2024-06-20 10:34:56 +02:00
Sabine
f22088c2d9 Merge branch 'feat/linux/mcompile-rework_deadkey' into feat/linux/mcompile-rework_mc_import_rules 2024-06-20 09:36:08 +02:00
Sabine
9da9c8b8b7 feat(linux): change .clang-format 2024-06-20 09:35:01 +02:00
Joshua A. Horton
8841dd9ee2 chore(web): define common timeout variable for automated testing
Fixes: #11499
2024-06-20 11:43:11 +07:00
Eberhard Beilharz
b0dfd5854d
chore(common): update C/C++ formatting options
This change updates two formatting options:

- pointers and references will be left-aligned (`int* foo`). Previously
  we had the setting to left-align but that got ignored because of the
  `DerivePointerAlignment` setting which tries to use the style used
  elsewhere in the file, which is not good to get consistent styling.
- no longer always add a line break after the return type of a function,
  only if type and name don't fit in a line. Unfortunately clang-format
  doesn't have a setting to only add the line break if the method
  definition is too long to fit in one line. The new setting matches the
  alternative formatting from our style guide.
2024-06-19 20:19:12 +02:00
Keyman Server
c3c2ad1126
Merge pull request #11835 from keymanapp/auto/version-master-18.0.60
auto: increment master version to 18.0.60
2024-06-19 11:05:24 -07:00
Keyman Build Agent
9d1e4c90d3 auto: increment master version to 18.0.60 2024-06-19 14:04:51 -04:00
Eberhard Beilharz
0cf24fddc2
Merge pull request #11789 from keymanapp/feat/linux/9396_RecreateMissingFiles
feat(linux): re-create missing files at run-time
2024-06-19 16:35:52 +02:00
Dr Mark C. Sinclair
e2260feef7 chore(developer): Merge branch 'master' into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
# 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-06-19 15:20:15 +01:00
Dr Mark C. Sinclair
31598afbb7 fix(developer): add doc comments to isIntegerWstring(), plus whitespace tests 2024-06-19 15:15:11 +01:00
Dr Mark C. Sinclair
c7ecafa2c0 fix(developer): add additional white space test cases 2024-06-19 14:46:32 +01:00
Sabine
e0bd714f5f feat(linux): edit nit picks 2024-06-19 15:33:17 +02:00
Dr Mark C. Sinclair
975b2edb98 fix(developer): add ref to issue #11833 in relevant test case 2024-06-19 14:19:59 +01:00
Dr Mark C. Sinclair
facd5fb034 fix(developer): reverse the fix in u16tok where u16chr is used with *q==0 2024-06-19 13:52:24 +01:00
Dr Mark C. Sinclair
fbe735cb95 fix(developer): add check for offset < 1, plus tests 2024-06-19 12:14:20 +01:00
Dr Mark C. Sinclair
618e7a2d53 fix(developer): remove unnecessary include 2024-06-19 12:08:01 +01:00
Dr Mark C. Sinclair
7903258260 fix(developer): extend isIntegerWstring to handle full range of ints 2024-06-19 11:59:11 +01:00
Dr Mark C. Sinclair
25a9823726 chore(developer): Merge origin branch
'fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler' of https://github.com/keymanapp/keyman into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
2024-06-19 11:33:34 +01:00
Dr Mark C. Sinclair
f97000641e fix(developer): rename isuiw() to isIntegerWstring() 2024-06-19 11:32:44 +01:00
Dr Mark C. Sinclair
8738ee3681 fix(developer): rename isuiw() to isIntegerWString() 2024-06-19 11:30:29 +01:00
Sabine
ade07bb298 feat(linux): move CODE__SIZE and #include <../../../../common/include/kmx_file.h> instead of double #include "kmx_file.h" 2024-06-19 12:18:54 +02:00
Dr Mark C. Sinclair
defc1025fd chore(developer): Merge origin branch
'fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler' of https://github.com/keymanapp/keyman into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
2024-06-19 10:47:05 +01:00
Dr Mark C. Sinclair
ee10283060 chore(developer): correct memory leak in isuiw() 2024-06-19 10:43:03 +01:00
Joshua A. Horton
7dbadef7bd chore(web): Merge branch 'feat/web/osk-layer-deferral' into feat/web/layer-processing-deferral 2024-06-19 15:49:05 +07:00
Joshua A. Horton
62fd5f6444 chore(web): Merge branch 'change/web/keyboard-preprocess-optimization' into feat/web/osk-layer-deferral 2024-06-19 15:31:02 +07:00