Commit graph

27982 commits

Author SHA1 Message Date
Steven R. Loomis
8b5723028c chore(core): optimize ldml_event_state::emit_difference() when no difference
#11057
2024-03-27 08:18:03 -05:00
Steven R. Loomis
e8a8590eee fix(core): revert some interim fixes
- ldml_test_source fix moved off to issue #11083
- an optimization in ldml_processor also rolled back
2024-03-27 08:05:39 -05:00
Darcy Wong
07823ef16f
Merge pull request #11090 from keymanapp/chore/crowdin-km
chore(android): Update crowdin strings for Khmer
2024-03-27 16:05:44 +07:00
Darcy Wong
f0a7652378
Merge pull request #11089 from keymanapp/chore/crowdin-mon
chore(android): Update crowdin strings for Mon
2024-03-27 16:05:37 +07:00
Darcy Wong
d6bf29c2d8 chore(android): Update crowdin strings for Khmer 2024-03-27 14:09:42 +07:00
Darcy Wong
b8f341ae99 chore(android): Update crowdin strings for Mon 2024-03-27 14:05:32 +07:00
Joshua Horton
478cc61282
Merge pull request #10931 from keymanapp/chore/ios/remove-show-banner-setting
chore(ios): removes the "Show Banner" settings option
2024-03-27 13:28:15 +07:00
Joshua Horton
9aac994ba3
chore(developer/compilers): comment typo fix 2024-03-27 12:45:06 +07:00
Marc Durdin
edfed74c62 fix(web): update import for isEmptyTransform 2024-03-27 11:48:26 +07:00
Steven R. Loomis
7f7938811c
Merge pull request #11068 from keymanapp/chore/core/10900-test-dtd-fix 2024-03-26 23:38:19 -05:00
sgschantz
62eec26901 replace characters during key processing by using deleted_context field from Core 2024-03-27 10:50:27 +07:00
Darcy Wong
21f91e08a4
Merge pull request #11080 from keymanapp/fix/fv/extra-eurolatin
fix(oem/fv/android): Only add default keyboard if no keyboards exist
2024-03-27 10:03:15 +07:00
Joshua A. Horton
75dff78a30 chore(web): Merge branch 'change/web/input-sequentialization' into fix/web/queued-closure-source-linking 2024-03-27 09:48:17 +07:00
Joshua A. Horton
38d80bcdd6 chore(web): Merge branch 'fix/web/proper-gesture-match-sequencing' into change/web/input-sequentialization 2024-03-27 09:47:45 +07:00
Joshua Horton
a084fcfbb8
Merge pull request #11074 from keymanapp/fix/developer/compilers/entry-additions-to-internal-trie-nodes
fix(developer): in model compiler, give correct key to shorter prefix words when a longer, higher-frequency word is also present
2024-03-27 09:29:12 +07:00
Joshua A. Horton
ff4ddd901d feat(developer/compilers): better unit test for suggestion accessibility 2024-03-27 09:17:34 +07:00
Marc Durdin
70836b40cf
chore: Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-03-27 13:03:35 +11:00
Joshua A. Horton
45e43d4b84 chore(web): Merge branch 'fix/web/infinite-model-replacement-loop' into fix/web/proper-gesture-match-sequencing 2024-03-27 08:24:14 +07:00
Joshua A. Horton
a6144c0730 chore(web): Merge branch 'fix/web/early-matchGesture-abort' into fix/web/infinite-model-replacement-loop 2024-03-27 08:23:48 +07:00
Joshua A. Horton
37b31f1abd chore(web): Merge branch 'fix/web/sticky-preview' into fix/web/early-matchGesture-abort 2024-03-27 08:23:21 +07:00
Joshua A. Horton
adb9fdb0f5 chore(web): Merge branch 'beta' into fix/web/sticky-preview 2024-03-27 08:22:44 +07:00
Steven R. Loomis
84b6488f08 fix(core): dx: don't choke on embedded non-ascii in ldml .xml test files
- ldml_test_source: clarify UTF-8 processing in ltrim()
2024-03-26 19:55:03 -05:00
Steven R. Loomis
baeb3c80fc fix(developer): fix an additional issue on illegal UnicodeSets
- update comments per review comments
- improve logic of checks around malloc
2024-03-26 17:24:56 -05:00
Keyman Server
fc04ac48f0
Merge pull request #11082 from keymanapp/auto/version-beta-17.0.296
auto: increment beta version to 17.0.296
2024-03-27 01:04:56 +07:00
Keyman Build Agent
e00dbb6986 auto: increment beta version to 17.0.296 2024-03-26 14:04:08 -04:00
Eberhard Beilharz
58ce4fbcd1
Merge pull request #10863 from keymanapp/feat/linux/9363DBusEnv
feat(linux): Start dbus if not running
2024-03-26 15:56:32 +01:00
Darcy Wong
25de69ff17
Merge pull request #11035 from keymanapp/chore/osk-font-4-1
chore(common): Update keymanweb-osk.ttf to 4.1
2024-03-26 14:09:43 +07:00
Darcy Wong
ab0556f339 fix(oem/fv/android): Only add default keyboard if no keyboards exist 2024-03-26 14:04:37 +07:00
Joshua A. Horton
6fd975c2d2 chore(developer/compilers): minor cleanup 2024-03-26 12:09:21 +07:00
Marc Durdin
9cba6e7053
Merge pull request #10939 from keymanapp/docs/developer/10550-ldml-window-help-links
docs(developer): add help site links
2024-03-26 11:37:28 +11:00
Steven R. Loomis
d6e080dd0d feat(developer): implement comma in modifiers 🙀
- improve modifier parsing
- test cases for keys and layr

For: feat(developer) ldml: comma in modifiers #11040
2024-03-25 18:49:13 -05:00
Joshua A. Horton
6df89af9d5 docs(developer/compilers): makes test fixture comment more precise 2024-03-26 06:48:31 +07:00
Joshua A. Horton
78a3704607 fix(developer/compilers): entry additions to internal Trie nodes 2024-03-26 06:04:22 +07:00
Joshua A. Horton
947bd77ebd feat(developer/compilers): adds unit test 2024-03-26 06:04:22 +07:00
Steven R. Loomis
72de9bed9f feat(developer): scaffolding for comma in modifiers 🙀
- modifiers is a list, not a single entity
- test cases

For: feat(developer) ldml: comma in modifiers #11040
2024-03-25 17:48:31 -05:00
Steven R. Loomis
6b4484aa6b
Merge branch 'beta' into chore/core/10900-test-dtd-fix 2024-03-25 16:48:19 -05:00
Steven R. Loomis
18c6ecfc08 fix(core): fix 2 marker cases in ldml_event_state::emit_difference 🙀
- handle the case where old and new context strings are the same (i.e. no work to do).
- fix pointer arithmetic error in #10356 - the special case where one marker is being replaced by another. The named regression test didn't actually hit this case.

Fixes: bug(core): 'string too long' #11057
2024-03-25 16:45:01 -05:00
Steven R. Loomis
54e59e47bc fix(core): dx: don't choke on embedded non-ascii in ldml .xml test files
- ldml_test_source had a trim() implementation that was causing asserts in std::isspace() which turned out to be due to negative integers being passed
- The actual line that caused trouble was, quote, '«" />'
2024-03-25 15:57:44 -05:00
Steven R. Loomis
56add095e6 fix(developer): error if a regex pattern matches the empty string 🙀
- add message and check if the regex matches '' (empty string) and error if so
- add test cases

Fixes: bug(core): assert with vertical pipe #11062
2024-03-25 15:18:35 -05:00
Steven R. Loomis
f2ad7d4e68 fix(common): further improvement to string/set substitution
- tran: check for \uXXXX earlier in the chain, because we emit this format further down
- add test cases for syntax chars being used in variables

Fixes: bug(core): assert when matching markers #11045
Fixes: bug(developer): escape on string substitution if syntax char #11037
2024-03-25 14:52:32 -05:00
Keyman Server
54633dd3c9
Merge pull request #11069 from keymanapp/auto/version-beta-17.0.295
auto: increment beta version to 17.0.295
2024-03-26 01:15:27 +07:00
Keyman Build Agent
f56d1c50a3 auto: increment beta version to 17.0.295 2024-03-25 14:14:41 -04:00
Steven R. Loomis
f773066fa0 fix(developer): store set variables in literal form, unescape in tran
- update the tran compiler to call escapeStringForRegex() on set items being substituted into an expression
2024-03-25 12:46:55 -05:00
Dr Mark C. Sinclair
5a5877ae7e chore(developer): add loadJsFile throws error if .js file is invalid test 2024-03-25 17:20:49 +00:00
Steven R. Loomis
bc5a639cff
chore(core): fix for ldml test DTD reference🙀
Typo from earlier fix #10900
2024-03-25 12:02:49 -05:00
Steven R. Loomis
67838e60a2 fix(developer,core): fix for marker substitution in sets
- for bug(core): assert when matching markers #11045
- track raw and marker-substituted sets
2024-03-25 12:00:55 -05:00
Steven R. Loomis
28bdbbcfd7 bug(core): repro for assertion
- test case with a set of markers
2024-03-25 11:51:26 -05:00
Steven R. Loomis
18ba46d874 fix(common): fix an additional issue on illegal UnicodeSets
- similar fix to https://github.com/keymanapp/keyman/pull/9492
- again may be due to a wasm version variant
- also additional rangechecking on the input side
2024-03-25 10:26:33 -05:00
Dr Mark C. Sinclair
b542a8d133 chore(developer): add loadKmxFiles can handle two .kmx files test 2024-03-25 15:12:15 +00:00
Dr Mark C. Sinclair
5681eea27f chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests 2024-03-25 10:08:11 +00:00