Joshua A. Horton
52cb9aa19d
change(common/models): drops .isNew, replaces with tokenized context contrast logic
2022-09-08 10:48:12 +07:00
Joshua A. Horton
3f36a07abb
change(common/models): tweak to flag-emoji test for clarity
2022-09-08 09:11:26 +07:00
Steven R. Loomis
7a71ed84cc
fix(core): ldml: improve utf-32 handling 🙀
...
- remove hacky utf-32 processing
- add utf-32 test case to test_kmx_plus.cpp
- change kmx_plus to return std::u16string
- kmx_xstring: add Uni_IsBMP() macro
Fixes : #7134
2022-09-07 18:08:26 -05:00
Sabine
55fbde40f4
chore(developer): tiedied up code (compiler.cpp)
2022-09-07 20:12:12 +02:00
Keyman Server
80d7ce78be
Merge pull request #7229 from keymanapp/auto/version-master-16.0.58
...
auto: increment master version to 16.0.58
2022-09-08 04:02:03 +10:00
Keyman Build Agent
16533c2e26
auto: increment master version to 16.0.58
2022-09-07 14:01:22 -04:00
Sabine
9fc1c63783
Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
...
# Conflicts:
# developer/src/kmcmpdll/Compiler.cpp
solved
2022-09-07 19:00:07 +02:00
Sabine
b9ba055e31
chore(developer): tidied up code
2022-09-07 18:39:34 +02:00
Sabine
271ca512b9
chore(developer): tidied up code
2022-09-07 17:37:56 +02:00
Sabine
bfc1f681da
chore(developer): CheckFNConsuistency: called u16printf with f´different par.
2022-09-07 15:44:03 +02:00
Joshua A. Horton
fb0cc5086c
fix(common/models): backspacing shouldn't make 'new' tokens
2022-09-07 14:57:53 +07:00
Marc Durdin
ec5a83a3fa
Merge pull request #7204 from keymanapp/feat/core/ldml-transform-table-specs-and-constants
...
feat(core): ldml keyboard transform elements 🙀
2022-09-07 11:28:42 +10:00
Marc Durdin
89331b62c4
Merge pull request #7203 from keymanapp/chore/developer/add-test-for-messages-and-improve-reporting-on-e2e
...
chore(developer): add test for compiler messages and cleanup e2e test 🙀
2022-09-07 11:28:35 +10:00
Marc Durdin
6ba737de9f
Merge pull request #7202 from keymanapp/refactor/developer/kmldmlc-cleanup-vkey-constants
...
refactor(developer): cleanup virtual key constants 🙀
2022-09-07 11:28:29 +10:00
Marc Durdin
914208d728
Merge pull request #7201 from keymanapp/feat/developer/kmldmlc-vkey-support
...
feat(developer): add vkey support 🙀
2022-09-07 11:28:21 +10:00
Marc Durdin
f48727a126
Merge pull request #7200 from keymanapp/feat/developer/kmldmlc-name-tests
...
feat(developer): add unit tests for 'name' compiler 🙀
2022-09-07 11:28:15 +10:00
Marc Durdin
d9e21b1db9
Merge pull request #7199 from keymanapp/refactor/developer/kmldmlc-rename-errors-to-messages
...
refactor(developer): kmldmlc - rename `CompilerErrors` to `CompilerMessages` 🙀
2022-09-07 11:28:08 +10:00
Marc Durdin
452ada49e3
Merge pull request #7198 from keymanapp/feat/developer/kmldmlc-ldml-clean-loca-report
...
feat(developer): add compiler hint for non-minimal loca 🙀
2022-09-07 11:28:01 +10:00
Marc Durdin
2e7aef39e7
Merge pull request #7197 from keymanapp/chore/core/section-order
...
chore(core): order sections according to binary format 🙀
2022-09-07 11:27:54 +10:00
Marc Durdin
5e1d898527
Merge pull request #7196 from keymanapp/feat/core/ldml-name-section
...
feat(core): add 'name' section 🙀
2022-09-07 11:27:46 +10:00
Marc Durdin
9e3eff37c9
Merge pull request #7194 from keymanapp/feat/common/hextobin-index-command
...
feat(common): hextobin `index` command 🙀
2022-09-07 11:27:38 +10:00
Marc Durdin
f1b2be168f
Merge pull request #7193 from keymanapp/chore/core/kmxplus-zero-length-string
...
chore(core): define zero length string vs null string for kmxplus 🙀
2022-09-07 11:27:30 +10:00
Marc Durdin
423debfef7
Merge pull request #7187 from keymanapp/feat/core/ldml-add-meta-version
...
feat(core): add version field to meta 🙀
2022-09-07 11:27:20 +10:00
Marc Durdin
c171a79915
Merge pull request #7186 from keymanapp/feat/common/hextobin-calculate-size-and-offset
...
feat(common): add size and offset calculators to hextobin 🙀
2022-09-07 11:27:12 +10:00
Marc Durdin
3307dc63a7
Merge pull request #7184 from keymanapp/feat/developer/7181-use-json-schema-to-verify-source-file
...
feat(developer): use json schema to verify source file 🙀
2022-09-07 11:27:04 +10:00
Marc Durdin
716b19b810
Merge pull request #7183 from keymanapp/feat/developer/7180-add-kmldmlc-test-to-developer-test-build
...
feat(developer): add kmlmc and kmldmlc to `make test` 🙀
2022-09-07 11:26:54 +10:00
Marc Durdin
f96e3493af
fix(developer): hide key-sizes when in desktop layout in touch layout editor
...
Fixes #7028 .
Note that the desktop layout is not currently used by KeymanWeb. The
designer has a number of additional issues, as the .keyman-touch-layout
format is not well suited to describing a fixed hardware layout, but
fixing this is outside the scope of this issue.
2022-09-07 11:13:22 +10:00
Marc Durdin
8678a0d35b
chore(core): mark unused parameters
2022-09-07 10:36:35 +10:00
Marc Durdin
5104914672
feat(core): add km_kbp_event API endpoint
...
Adds infrastructure required to support caps lock control on keyboard
activation per #5822 .
Keyboardprocessor implementation is currently a stub, and engines will
need corresponding updates to support the new API.
2022-09-07 10:24:01 +10:00
Darcy Wong
bad8806c27
Merge pull request #7156 from keymanapp/fix/android/longpress-backspace
...
fix(android/engine): Fix Backspace key to delete without errant subkeys
2022-09-07 06:26:14 +07:00
Marc Durdin
690290bdfe
chore(core): add comment for KMXPLUS_STR
...
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2022-09-07 08:14:23 +10:00
Marc Durdin
c98fb89b86
fix(developer): suppress repeated warnings about unreachable code
...
Fixes #7216 .
The warning message 0x209A 'The rule will never be matched because its
key code is never fired.' was being generated multiple times for a
single line because the `JavaScript_Key` function it is generated by is
used for various purposes.
This PR keeps a cache of reported key rules to ensure that the message
is reported only once for a given key rule, and also improves the
reporting to clarify which specific key is unreachable, which makes it
easier to diagnose when using `any(k)` style messages, for example:
```
lao_phonetic.kmn (237): Warning: 209A The rule will never be matched for key 'ñ' because its key code is never fired.
```
This also reduces the warning to a hint, as this should not be a
blocking issue for a keyboard, rather just a place the keyboard author
can tidy up.
2022-09-07 06:02:46 +10:00
Sabine
c3be2ba6da
Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
...
# Conflicts:
# developer/src/kmcmpdll/CheckFilenameConsistency.cpp
# developer/src/kmcmpdll/CheckFilenameConsistency.h
chore(developer): solved conflicts
2022-09-06 18:46:40 +02:00
Sabine
2c6726974a
chore(developer): Win-functions in FileNameConsistency
2022-09-06 17:44:18 +02:00
Sabine
143ad3f206
chore(developer): Win-functions in FileNameConsistency
2022-09-06 17:23:09 +02:00
Joshua A. Horton
91448c344f
feat(web): more default-breaker unit tests
2022-09-06 14:52:16 +07:00
Joshua A. Horton
9be8839685
fix(common/models): undefined != 0
2022-09-06 10:47:51 +07:00
Joshua A. Horton
413e88daa2
chore(web): where'd that extra indentation come from?
2022-09-06 10:10:33 +07:00
Joshua A. Horton
a09cc5d822
fix(common/models): models/templates unit tests
2022-09-06 09:48:52 +07:00
Joshua A. Horton
9634c76353
chore(common/models): suggested tweak from review
2022-09-06 08:57:56 +07:00
Joshua A. Horton
a6e65333c5
fix(common/models): wordbreaker test require paths
2022-09-06 08:54:56 +07:00
Marc Durdin
447b9afead
feat(developer): add nyc for test coverage to kmldmlc
2022-09-06 11:52:22 +10:00
Marc Durdin
8e5ce35f4d
feat(developer): kmldmlc compiler and tests for transforms
...
Adds compilers and minimal unit tests for transform sections bksp,
finl, ordr, and tran, and cleans up problems in the corresponding
builders.
Adds a utility script for building test fixtures for manual analysis:
./build.sh build-fixtures
Refactors constants to give us design-time type safety once more.
2022-09-06 10:15:31 +10:00
Keyman Server
1480359eea
Merge pull request #7210 from keymanapp/auto/version-master-16.0.57
...
auto: increment master version to 16.0.57
2022-09-06 04:02:07 +10:00
Keyman Build Agent
eddec014ee
auto: increment master version to 16.0.57
2022-09-05 14:01:31 -04:00
Joshua A. Horton
26c5150977
fix(web): context-tracker newFlag management for new contexts
2022-09-05 14:02:55 +07:00
Eberhard Beilharz
369ef3d152
Merge pull request #7192 from keymanapp/chore/linux/postinst
...
chore(linux): Fix ibus-keyman.postinst script
2022-09-05 08:45:39 +02:00
Marc Durdin
14cbab10a2
feat(developer): add builders for transform sections
...
Note: basic.txt changed becuase I fixed the build order for sections.
2022-09-05 16:13:15 +10:00
Joshua A. Horton
b47596a803
fix(common/models): context token .isNew maintenance
2022-09-05 12:35:11 +07:00
Joshua A. Horton
57ce30e068
fix(web): post-suggestion-apply error
2022-09-05 12:17:17 +07:00