Marc Durdin
0e4c4cbcf0
chore: rename _km_kbp_ to _km_core_
2023-10-09 14:53:23 +07:00
Marc Durdin
db76e2541d
chore: rename KM_KBP_ to KM_CORE_
2023-10-09 14:53:22 +07:00
Marc Durdin
ba5f18defd
chore: rename km_kbp_ to km_core_
2023-10-09 14:53:13 +07:00
Marc Durdin
22362d435f
chore: rename pkm_kbp_ to pkm_core_
2023-10-09 14:52:23 +07:00
Marc Durdin
4e5cbc3b96
chore: fix typo
2023-10-09 14:51:51 +07:00
Marc Durdin
906a0a2ed7
chore: fix typo
2023-10-09 14:41:01 +07:00
Marc Durdin
4ef18f5e29
chore(core): rename keyboardprocessor.h to keyman_core_api.h
...
Fixes #9721 .
Also tweaks some documentation references to keyboardprocessor, but does
not touch those relating to debian/control.
2023-10-09 14:21:01 +07:00
Steven R. Loomis
f3fd5aa879
Merge pull request #9687 from keymanapp/feat/core/9119-more-markers-epic-ldml
2023-10-06 18:27:30 -05:00
Marc Durdin
a1d7095c58
Merge pull request #9681 from keymanapp/chore/common/9262-cleanup-final-non-esm
...
chore(common): cleanup final Typescript non-ESM metadata
2023-10-06 13:37:54 +11:00
Marc Durdin
42c869ac54
Merge pull request #9676 from keymanapp/chore/common/9675-hextobin-to-esm
...
chore(common): convert hextobin to ES Modules
2023-10-06 13:37:25 +11:00
Marc Durdin
0b4a252b0a
Merge pull request #9673 from keymanapp/chore/developer/9672-server-to-esm
...
chore(developer): convert Server to ES Modules
2023-10-06 13:37:20 +11:00
Marc Durdin
a314ba46a6
fix(developer): server node addin paths
2023-10-05 14:42:33 +07:00
Steven R. Loomis
2472a941cf
feat(core): match any marker 🙀
...
- add a regex form that matches any marker
For: #9119
2023-10-04 18:34:20 -05:00
Marc Durdin
26e4c82026
Merge branch 'chore/common/9679-keyman-version-esm-only' into chore/common/9262-cleanup-final-non-esm
2023-10-04 21:36:59 +11:00
Marc Durdin
383678a002
chore(developer): cleanup hextobin call
2023-10-04 17:34:43 +07:00
Marc Durdin
f832b9ff3d
chore(developer): remove temp non-esm module in kmc-model
2023-10-04 15:25:01 +07:00
Marc Durdin
33b6b5abc2
chore: update tsconfig
2023-10-04 15:16:34 +07:00
Marc Durdin
3e51389e17
Merge branch 'chore/common/9679-keyman-version-esm-only' into chore/common/9262-cleanup-final-non-esm
2023-10-04 19:07:37 +11:00
Marc Durdin
75a0977cdb
chore(developer): fix server tests
2023-10-04 14:17:59 +07:00
Marc Durdin
d4e4992714
chore(common): cleanup final Typescript non-ESM metadata
...
Fixes #9262 .
2023-10-04 12:55:51 +07:00
Marc Durdin
e7ac526c69
chore(developer): fixup Makefile for server
2023-10-04 11:50:03 +07:00
Marc Durdin
8e23b11dfc
chore(developer): convert Server to ES Modules
...
Fixes #9672 .
Also rewrote build.sh as a builder script in order to simplify some of
the build changes.
Makes /web a dependency of Keyman Developer Server, which is a
significant improvement, but we need to consider if we want to use web's
debug build as we did in the past.
2023-10-04 09:38:48 +07:00
Marc Durdin
248297fe5f
Merge branch 'master' into feat/developer/9324-warn-if-kps-includes-non-touch-js
2023-10-04 03:46:40 +02:00
Marc Durdin
5bb24c2910
Merge pull request #9662 from keymanapp/chore/developer/8661-add-c8-to-kmc
...
chore(developer): switch on code coverage reporting for kmc
2023-10-04 03:45:33 +02:00
Marc Durdin
4367bac8f7
Merge pull request #9658 from keymanapp/feat/developer/9325-hint-if-package-includes-keyboard-source-files
...
feat(developer): issue hint if package includes keyboard source files
2023-10-04 03:45:26 +02:00
Marc Durdin
abd363dc8b
Merge pull request #9653 from keymanapp/chore/developer/9597-reduce-warnings-to-hint-in-kmc-model
...
chore(developer): reduce duplicate words warning to hint
2023-10-04 03:45:18 +02:00
Marc Durdin
4562c8b6d7
Merge pull request #9652 from keymanapp/feat/developer/9610-info-when-warnings-fail-build
...
feat(developer): show an INFO message when warnings have failed a build
2023-10-04 03:45:08 +02:00
Steven R. Loomis
01c171ce82
Merge pull request #9615 from keymanapp/feat/developer/9403-scancodes-epic-ldml
...
feat(developer): ldml scan codes support 🙀
2023-10-03 08:55:19 -05:00
Marc Durdin
c5ee900736
Merge pull request #9661 from keymanapp/chore/developer/9317-test-for-check-filename-conventions-off
...
chore(developer): add test for `checkFilenameConventions == false` or unset
2023-10-03 15:39:43 +02:00
Marc Durdin
1b9c6fba51
feat(developer): warn if .kps includes a .js which is not touch-capable
...
Fixes #9324 .
As .js keyboards in packages are only used by the iOS and Android apps,
it's kinda helpful if the keyboard itself includes a touch layout. While
Keyman will fall back to a desktop vk layout if a touch layout is not
present, this is less than ideal -- but that's why this is setup as a
hint and not a warning.
2023-10-03 15:28:22 +07:00
Marc Durdin
c66e8c1e8f
chore(developer): switch on code coverage reporting for kmc
...
Fixes #8661 .
2023-10-03 13:56:21 +07:00
Marc Durdin
886c64d1c3
chore(developer): add test for checkFilenameConventions == false or unset
...
Fixes #9317 .
2023-10-03 13:29:34 +07:00
Steven R. Loomis
8200f84418
feat(developer): scancode and forms 🙀
...
- fix casing of k_oC1
- allow vkey 226 to be doubly defined
- drop LdmlVkeyNames table and test, not needed anymore (was for vkey #7135 )
Fixes : #9403
2023-10-02 12:30:36 -05:00
Marc Durdin
a2fa1f918e
feat(developer): issue hint if package includes keyboard source files
...
Fixes #9325 .
Also tweaks test for error_package_must_contain_a_model_or_a_keyboard as
the fixture had a .kmn, triggering the new hint, which was unhelpful in
this case.
2023-10-02 15:55:00 +07:00
Marc Durdin
7adc9b5d95
feat(developer): support store(&version) '17.0'
...
Fixes #9541 .
Also adds version 16.0 support to the kmcmplib compiler constants, and
unit tests for both versions. Does not add any support for automatic
version feature detection, because that forces an inverted dependency on
the touch layout compilation phase (done in kmc-kmw), which would be a
significant refactor. This may be something we need to support in the
future.
2023-10-02 15:30:07 +07:00
Marc Durdin
d4fb7cd234
chore(developer): reduce duplicate words warning to hint
...
Fixes #9597 .
2023-10-02 12:48:10 +07:00
Marc Durdin
c168ef01cb
feat(developer): show an INFO message when warnings have failed a build
...
Fixes #9610 .
If a build fails when "treat warnings as errors" is on, but there are
only warnings and no error messages, it can be confusing for the
developer. Adds the following `INFO_WarningsHaveFailedBuild` message:
`The build failed because option "treat warnings as errors" is enabled
and there are one or more warnings.`
2023-10-02 12:36:54 +07:00
Steven R. Loomis
17eba2d237
feat(developer): scancode and forms 🙀
...
- spec: 'hardware' is no longer an enum but a str.
Ripple effects here.
- custom scancodes and layouts are, interestingly, supported. But it's a warning.
- tests for bad scancodes.
Fixes : #9403
2023-09-30 22:06:39 -05:00
Steven R. Loomis
ffe00c06b5
feat(common): scancode - move vkey map generation into KeysCompiler 🙀
...
- also fix visual keyboard compiler to use same code
For: #9403
2023-09-30 18:54:37 -05:00
Steven R. Loomis
623d679274
Merge branch 'master' into feat/developer/9403-scancodes-epic-ldml
2023-09-28 13:41:53 -05:00
Steven R. Loomis
bdef1c48d3
fix(common): update keyman for removal of vkeys 🙀
...
dropped in upstream CLDR-17093
See #7135
2023-09-28 13:03:44 -05:00
Marc Durdin
d7f056c2a0
Merge pull request #9549 from keymanapp/fix/developer/9546-template-only-includes-mobile-layout
...
fix(developer): only include mobile touch platform in basic project
2023-09-28 11:17:07 +02:00
Marc Durdin
cc82a3cc63
Merge pull request #9536 from keymanapp/chore/npm-pack-bundling
...
chore: workaround npm/cli#3466 when bundling internal deps
2023-09-26 06:36:52 +02:00
Steven R. Loomis
87c18fdb42
feat(developer): scancode hint to warning 🙀
...
For: #9403
- fix a bad comment
- Warn_UnsupportedCustomForm (formerly hint)
2023-09-25 16:13:17 -05:00
Steven R. Loomis
f56e4ffa85
feat(common): ldml scancodes 🙀
...
For: #9403
- unit test the set and row count for codes
- fix errors!
2023-09-22 17:56:35 -05:00
Steven R. Loomis
44f061f293
feat(common): ldml scancodes 🙀
...
For: #9403
- improve how forms are read in the XML structure
- warnings when custom (non-default-import) scancodes are loaded
- error, as usual, when an unknown form is present
2023-09-22 17:33:20 -05:00
Steven R. Loomis
60295cef70
chore(core): ldml update keyboard -> keyboard3 🙀
...
For: #9604
- DOCTYPE fixes (typos) to make the red squiggles go away
2023-09-20 18:56:29 -05:00
Steven R. Loomis
8be00cb482
chore(resources): code changes for keyboard to keyboard3 🙀
2023-09-18 19:00:32 -05:00
Steven R. Loomis
27508571c9
fix(developer): ldml drop \u1234 🙀
...
- fix 1..6 char Unicode escapes with an unrolled loop
- for feat(core): ldml drop \u1234 format 🙀 #9515
2023-09-15 15:27:47 -04:00
Steven R. Loomis
213dd7d2ad
fix(developer): ldml drop \u1234 🙀
...
- for now, convert \u{1234} to \u1234 before going into
UnicodeSet.
- for feat(core): ldml drop \u1234 format 🙀 #9515
2023-09-15 14:42:37 -04:00