Joshua A. Horton
e347aeabfe
chore(common/models): minor tweaks per review
2022-10-05 09:04:23 +07:00
Joshua A. Horton
d97b1eba3c
fix(common/models): pred-text build.sh ignored --ci option
2022-10-04 09:20:42 +07:00
Joshua A. Horton
750a266796
chore(common/models): adds 'flag' file for CI use
2022-10-04 08:51:01 +07:00
Joshua A. Horton
d9a4d49fcf
feat(common/models): pred-text library unit tests now emit CI-friendly reports
2022-10-04 08:48:56 +07:00
Joshua A. Horton
5660fbfd04
fix(web): top-level -ci flag wasn't chaining correctly
2022-10-03 15:23:08 +07:00
Joshua A. Horton
9f952cd6eb
chore(web): retools input-processor build, test scripts
2022-10-03 15:03:13 +07:00
Joshua A. Horton
4176605c37
chore(common/models): script doc tweak
2022-10-03 14:04:48 +07:00
Joshua A. Horton
066eede2df
fix(common): fixes trap error passing for npm-emitted errors
2022-10-03 12:45:57 +07:00
Joshua A. Horton
dd9d773720
chore(common/models): lmlayer build.sh now builder-based
2022-10-03 12:45:23 +07:00
Joshua A. Horton
a2c9e7e514
chore(common/models): lmlayer tests now builder-based
2022-10-03 10:59:00 +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
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 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
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
Darcy Wong
06e31e5cfc
chore(common): Update builder.inc.sh path
2022-09-28 12:57:01 +07:00
Darcy Wong
28ddfdb70a
chore(common): Move builder.inc.sh up to resources/
2022-09-28 12:56:43 +07:00
Darcy Wong
0645524022
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-28 12:56:16 +07:00
Darcy Wong
e021116aea
chore(common): Add newline
2022-09-28 09:22:05 +07:00
Darcy Wong
ae892c10f7
chore(common): Resolve review comments
2022-09-28 09:09:24 +07:00
Darcy Wong
fcc4fdca61
chore(common): Add _builder_init
2022-09-28 09:09:09 +07:00
Darcy Wong
17435c310b
chore(common): Add builder_die
2022-09-28 08:29:16 +07:00
Darcy Wong
824319d398
chore(common): Revert move of die to builder_die
2022-09-28 08:24:08 +07:00
Darcy Wong
dd07f1c333
refactor(common): Add _builder_findRepoRoot
2022-09-28 08:10:57 +07:00
Darcy Wong
f95e17483b
refactor(common): Revert move of KEYMAN_ROOT to REPO_ROOT
2022-09-28 07:56:08 +07:00
Darcy Wong
d5df060e76
chore(common): Move KEYMAN_ROOT to REPO_ROOT
2022-09-27 15:23:32 +07:00
Darcy Wong
a31c8931f1
chore(common): Move die to builder_die
2022-09-27 15:18:48 +07:00
Darcy Wong
22767bd6be
chore(common): Split builder portion of script
2022-09-27 14:43:14 +07:00
Joshua A. Horton
0bbc3e7375
chore(web): reverts accidental branch creep
2022-09-27 08:59:56 +07:00
Joshua Horton
fc7dfb9879
Merge pull request #7346 from keymanapp/chore/web/update-toolchain
...
chore(web): update Node dev-dependencies
2022-09-27 08:53:42 +07:00
Keyman Server
497a8613db
Merge pull request #7356 from keymanapp/auto/version-master-16.0.71
...
auto: increment master version to 16.0.71
2022-09-27 04:02:24 +10:00
Keyman Build Agent
ee86250eec
auto: increment master version to 16.0.71
2022-09-26 14:01:38 -04:00
Darcy Wong
28fd95fce2
Merge pull request #7350 from keymanapp/chore/history-15-0-stable
...
chore(common): Add 15.0 stable entries to HISTORY.md 🍒
2022-09-26 12:57:29 +07:00
Darcy Wong
4e1efb2fc1
Merge pull request #7347 from keymanapp/fix/android/en-language-name
...
fix(android): Add language name when installing default lexical-model
2022-09-26 08:13:49 +07:00
Darcy Wong
3239a1e7e3
fix(web): Update spacebar caption when refreshing layout
2022-09-23 12:45:17 +07:00
Darcy Wong
6418852eec
chore(common): Add 15.0 stable entries to HISTORY.md
2022-09-23 10:11:21 +07:00
Joshua A. Horton
be6bf141c1
fix(web): vscode merge got in the way
2022-09-22 15:46:49 +07:00
Joshua A. Horton
dce7ef74b2
fix(web): fixes for non-focus-related unit-test breaks
2022-09-22 15:44:56 +07:00