Commit graph

16580 commits

Author SHA1 Message Date
Joshua A. Horton
5780da2cbf chore(web): Merge branch 'master' into chore/web/feature-gestures-merge-master 2022-10-11 08:11:44 +07:00
Joshua Horton
32b8263468
Merge pull request #7157 from keymanapp/feat/web/segmentation-headless-tests
feat(web): headless segmentation unit tests 🐵
2022-10-11 08:10:17 +07:00
Joshua Horton
0387c09b2d
Merge pull request #7142 from keymanapp/feat/web/segment-synthesis
feat(web): touchpath segment objects 🐵
2022-10-11 08:10:10 +07:00
Joshua Horton
c2e846524b
Merge pull request #7058 from keymanapp/feat/web/touchpath-segmentation
feat(web): gesture touchpath segmentation core 🐵
2022-10-11 08:10:03 +07:00
Keyman Server
0d3ec51398
Merge pull request #7429 from keymanapp/auto/version-master-16.0.78
auto: increment master version to 16.0.78
2022-10-11 05:02:13 +11:00
Keyman Build Agent
872ba555f3 auto: increment master version to 16.0.78 2022-10-10 14:01:30 -04:00
Joshua Horton
9e2fcde7a2
Merge pull request #7381 from keymanapp/chore/web/unit-test-polish-pass
chore(web): unit test polishing pass
2022-10-10 09:01:45 +07:00
Joshua Horton
d979cd1ee7
Merge pull request #7359 from keymanapp/fix/web/contextEditable-undefined-select
fix(web): possible error on change of context to a contextEditable
2022-10-10 08:59:41 +07:00
Keyman Server
64c29654a3
Merge pull request #7416 from keymanapp/auto/version-master-16.0.77
auto: increment master version to 16.0.77
2022-10-07 05:17:20 +11:00
Keyman Build Agent
5dc53e25dd auto: increment master version to 16.0.77 2022-10-06 14:16:44 -04:00
Eberhard Beilharz
3a0541d2e3
Merge pull request #7396 from keymanapp/chore/linux/6385_unnecessarySurrogateCheck
chore(linux): Cleanup unnecessary surrogate check
2022-10-06 10:09:05 +02:00
Keyman Server
0191d9a3ac
Merge pull request #7409 from keymanapp/auto/version-master-16.0.76
auto: increment master version to 16.0.76
2022-10-06 05:02:09 +11:00
Keyman Build Agent
5762cd6f68 auto: increment master version to 16.0.76 2022-10-05 14:01:30 -04:00
Joshua Horton
a8d0b540ce
Merge pull request #7405 from keymanapp/chore/common/builder-trap-chained-exit
chore(common): builder script maintenance
2022-10-05 15:31:41 +07:00
Joshua A. Horton
7f60cdab71 fix(common): builder unit-test script chmod+x 2022-10-05 14:33:07 +07:00
Joshua A. Horton
cc4f4cb56c chore(common): builder script maintenance 2022-10-05 08:54:11 +07:00
Keyman Server
dd1d166e14
Merge pull request #7399 from keymanapp/auto/version-master-16.0.75
auto: increment master version to 16.0.75
2022-10-05 05:02:30 +11:00
Keyman Build Agent
880c14fca0 auto: increment master version to 16.0.75 2022-10-04 14:01:50 -04:00
Eberhard Beilharz
efbfaa1be4
chore(linux): Cleanup unnecessary surrogate check
Previously `process_unicode_char_action` checked for
`action_item->character` being a surrogate. This should never happen
because `action_item->character` is a 32-bit character. This change
removes the unnecessary check and the `keyman->firstsurrogate` field.

Fixes #6385.
2022-10-04 19:24:58 +02:00
Darcy Wong
3a3aa806a6
Merge pull request #7388 from keymanapp/fix/android/no-basekey
fix(android/engine): Dismiss subkeys on multi-touch
2022-10-04 07:40:01 +07:00
Darcy Wong
6ce5e15137 Merge pull request #7390 from keymanapp/chore/android/add-toast-to-kmwlog
chore(android/engine): Display Toast notifications on Sentry errors
2022-10-04 07:24:38 +07:00
Keyman Server
aa87f50437
Merge pull request #7393 from keymanapp/auto/version-master-16.0.74
auto: increment master version to 16.0.74
2022-10-04 05:02:16 +11:00
Keyman Build Agent
364f5b52a9 auto: increment master version to 16.0.74 2022-10-03 14:01:39 -04:00
Darcy Wong
8bd0a6ed51 fix(android/engine): Display Toast notifications on exceptions 2022-10-03 14:42:56 +07:00
Darcy Wong
b0b2e72670 chore(android/engine): Update the displayed kmp filename in the Toast 2022-10-03 10:38:24 +07:00
Marc Durdin
61a058fcec
Merge pull request #7371 from keymanapp/fix/developer/7368-handle-invalid-kps-in-project-view
fix(developer): handle invalid kps xml when loading project view
2022-10-03 14:26:59 +11:00
Joshua A. Horton
1c021e821c chore(web): a bit more cleanup per review 2022-10-03 08:22:10 +07:00
Darcy Wong
f8f3fe1873 chore(android): Add Toast notifications to KMLog 2022-10-03 07:55:38 +07:00
Keyman Server
04bde69ab6
Merge pull request #7389 from keymanapp/auto/version-master-16.0.73
auto: increment master version to 16.0.73
2022-10-01 04:02:13 +10:00
Keyman Build Agent
d1f75f73e2 auto: increment master version to 16.0.73 2022-09-30 14:01:30 -04:00
Darcy Wong
4c1651baf4 fix(android/engine): Dismiss subkeys on multi-touch 2022-09-30 14:14:02 +07:00
Darcy Wong
6cfa06fa27
Merge pull request #7365 from keymanapp/chore/common/split-builder-utils
refactor(common): Split builder utilities to separate script
2022-09-30 07:07:05 +07:00
Darcy Wong
637bd7560c
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-30 07:06:10 +07:00
Darcy Wong
c21b6f5cf6
Merge pull request #7383 from keymanapp/fix/web/highlight-suggestion-crash
fix(web): Only unhighlight suggestion if there's a pending one
2022-09-30 06:38:26 +07:00
Keyman Server
6ba0486714
Merge pull request #7384 from keymanapp/auto/version-master-16.0.72
auto: increment master version to 16.0.72
2022-09-30 04:02:53 +10:00
Keyman Build Agent
8d92399c4b auto: increment master version to 16.0.72 2022-09-29 14:02:13 -04:00
Darcy Wong
afba43b898 fix(web): Only unhighlight suggestion if there's a pending one 2022-09-29 13:33:42 +07:00
Joshua A. Horton
336a1972a5 chore(web): Merge remote-tracking branch 'origin/master' into chore/web/unit-test-polish-pass 2022-09-29 10:38:14 +07:00
Joshua Horton
a3dde68d52
Merge pull request #7345 from keymanapp/fix/common/web/mock-deadkey-handling
fix(common/web): mock deadkey handling after rules manipulating context 📴
2022-09-29 10:37:49 +07:00
Darcy Wong
f06578714e chore(common): Update standard example 2022-09-29 10:34:25 +07:00
Joshua A. Horton
c79e1c3e3c chore(web): unit test polishing pass 2022-09-29 10:21:29 +07:00
Darcy Wong
0ee5055907 chore(common): Clarify assumption that THIS_SCRIPT has been set 2022-09-29 08:45:31 +07:00
Darcy Wong
32b002cf23
Merge pull request #7348 from keymanapp/fix/android/spacebar-caption-reload-osk
fix(web): Update spacebar caption when refreshing layout
2022-09-29 08:35:52 +07:00
Marc Durdin
687c8bae99
Merge pull request #7370 from keymanapp/fix/developer/7090-7091-use-path-backslash-format-for-parameters
fix(developer): ensure backslash in paths passed to kmcomp
2022-09-29 09:22:57 +10:00
Marc Durdin
d8f6a092b3
Merge pull request #7369 from keymanapp/fix/developer/7005-invalid-js-when-using-digits-in-stores
fix(developer): generate valid js when using unquoted digits in stores
2022-09-29 09:22:46 +10:00
Darcy Wong
86c740e708
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-09-28 19:48:07 +07:00
Marc Durdin
73e0a2e461 fix(developer): generate valid js when using unquoted digits in stores
Fixes #7005.

If a developer used single digit values in stores, unquoted (which is
not really the usual approach, but should work just fine for non-zero
values), the KMW compiler would emit invalid single-digit hexadecimal
escapes for them, e.g. `"\x1"` instead of `"\x01"`.

Sample code:

```
store(option) 1

if(option = 1) + 'a' > 'one'
if(option = 2) + 'a' > 'two'
+ '1' > set(option = 1)
+ '2' > set(option = 2)
```

It is not immediately obvious from this code, but the value `1` is
actually a character with value `'\x01'` or `U+0001`!

The more usual approach will not encounter this problem:

```
store(option) '1'

if(option = '1') + 'a' > 'one'
if(option = '2') + 'a' > 'two'
+ '1' > set(option = '1')
+ '2' > set(option = '2')
```

Note that the following is a compile error (due to internal use of
null terminated strings).

```
store(option) 0
```
2022-09-28 17:00:55 +10:00
Marc Durdin
f5b8effaae fix(developer): ensure backslash in paths passed to kmcomp
Fixes #7090.
Fixes #7091.

While kmcomp loads most files just fine when paths with forward slashes
are passed in, it fails to parse target path correctly when building one
file out of a project.

For example, if the user runs:

```
kmcomp.exe -t khmer_angkor.kmn release/k/khmer_angkor/khmer_angkor.kpj
```

Then the following error arises:

```
khmer_angkor.kps: Error: 0001 Validation error: The system cannot find the path specified.
khmer_angkor.kps: Failure: Package C:\Projects\keyman\keyboards\source\khmer_angkor.kps had validation errors.
```

This patch ensures all paths passed in as command-line parameters are
converted to backslashes, matching the expected Windows format. While I
only needed to fix the `FParamTarget` parameter in order to address the
reported issues, for consistency I applied the same fix to all input
paths.
2022-09-28 16:50:58 +10:00
Marc Durdin
50614fb088 fix(developer): handle invalid kps xml when loading project view
Fixes #7368.
2022-09-28 16:32:36 +10:00
Darcy Wong
06e31e5cfc chore(common): Update builder.inc.sh path 2022-09-28 12:57:01 +07:00