Commit graph

4544 commits

Author SHA1 Message Date
Joshua A. Horton
32ac60396c fix(common/web): require -> import b/c esmodule 2023-01-20 13:01:59 +07:00
Joshua A. Horton
35f5fbc2e2 chore(web): updates utils' package.json module type setting 2023-01-20 13:01:59 +07:00
Joshua A. Horton
588ccd49f5 change(web): util package modularization, bundling 2023-01-20 13:01:58 +07:00
Steven R. Loomis
d7ce2191bf feat(core): ldml: make hardware be an enum 🙀
For: #7986
2023-01-19 12:24:47 -06:00
Sabine
db72606b08 chore(developer): restored kmcompxtest, adapted readme 2023-01-19 14:10:18 +01:00
Joshua A. Horton
1020c0688c chore(web): Merge branch 'master' into chore/web/top-level-build-script-rework 2023-01-18 08:24:10 +07:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Sabine
e2489737be chore(developer): remove kmx-file; NamedCodeConstants: rename variables, set const variables for buf sizes, brackets in for-loops 2023-01-12 14:05:38 +01:00
Sabine
8f3c9552eb chore(developer): remove CERR_CallIsProfessionalFeature, CERR_IncludeCodesIsProfessionalFeature, CERR_MnemonicLayoutIsProfessionalFeature 2023-01-10 16:38:41 +01:00
Sabine
b06d4c4aad chore(developer): remove some unnecessary CERR_ tests 2023-01-10 16:30:21 +01:00
Steven R. Loomis
cbb5af2ae7 feat(core): ldml: Drop padding: common,core 🙀
- also add some checking in the builder
- add a Constants.str_section_id() for debugging
- update basic.txt

For: #7987
2023-01-09 16:35:47 -06:00
Joshua A. Horton
1ebcaa5927 feat(common): basic build script for the sourcemap-path-remapper tool 2023-01-09 11:56:08 +07:00
Steven R. Loomis
e4799d2498
Merge pull request #7956 from keymanapp/fix/core/maqtugha
fix(core): ldml: fix spelling of maqtugħa 🙀
2023-01-07 22:54:48 -06:00
Steven R. Loomis
30865fbb1b Merge remote-tracking branch 'upstream/feature-ldml' into fix/core/7569-unicode-escaping-epic-ldml 2023-01-07 22:38:42 -06:00
Steven R. Loomis
7f92eb3b84 Merge branch 'feature-ldml' into fix/core/7569-unicode-escaping-epic-ldml 2023-01-07 22:36:32 -06:00
Steven R. Loomis
d552a46104
Merge pull request #7630 from keymanapp/feat/core/7532-layr-epic-ldml 2023-01-06 17:40:06 -06:00
Steven R. Loomis
3d154540e7 fix(common): ldml: updates per code review 🙀
- build-key2.ts: comments, and treat the kmxplus data as const
- build-layr.ts: comments, reordering of structs, and treat the kmxplus data as const
- build-list.ts: comments, reordering
- string-list.ts: comments
- kmx-plus.ts: comments
- ldml-keyboard-xml.ts: update definition of LKKey.transform
-

For #7532
2023-01-06 15:42:05 -06:00
Steven R. Loomis
564f98cc30
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-01-06 11:46:17 -06:00
Steven R. Loomis
b1191bb69e fix(developer): ldml: add escaping to key2 section 🙀
- also add functions to the ListItem class
- also fix a bug in ListItem.toString()
- add test cases

Fixes #7569
2023-01-05 16:02:08 -06:00
Steven R. Loomis
d68999e0ef fix(common): escaping: only unescape on some attributes 🙀
- keys:  key.to
- disp: display.to, display.display
- disp: displayOptions.baseCharacter

The rest will have to wait for downstream of PR #7630

For: #7569
2023-01-05 13:46:07 -06:00
Steven R. Loomis
26c91e6534 fix(common): escaping: util and test fix 🙀
- a successful regex for multi escapes. Could be optimized

For: #7965
2023-01-05 13:46:07 -06:00
Steven R. Loomis
c54c2974b8 fix(common): escaping: util and test fix 🙀
- attempt to handle multi strings. regex not workign yet

For: #7569
2023-01-05 13:46:07 -06:00
Steven R. Loomis
6d981c9482 fix(common): util and test fix 🙀
- throw rangeError on invalid codepoints
- update escapes

Thrown message: 'Out of range while unescaping '\u{110000}': Invalid code point 1114112'

For: #7965
2023-01-05 13:46:07 -06:00
Steven R. Loomis
f3064d2879 Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-01-05 13:46:07 -06:00
Steven R. Loomis
58a5d8fc89 fix(developer): ldml: update escaping to handle 1..5 ch 🙀
- should handle 1 to 5 char escaping

For #7569
2023-01-05 13:46:07 -06:00
Steven R. Loomis
1a8ee0b07d fix(developer): ldml: add escaping 🙀
- common util unescapeString with its own tests
- add a test case using the disp element

Fixes #7569
2023-01-05 13:46:04 -06:00
Steven R. Loomis
015e7185a6 chore: merge master into feature-ldml 2023-01-02 13:44:21 -06:00
Steven R. Loomis
1b9830ed6b fix(common): ldml: kvk should skip empty keys 🙀
- kvk processor should skip keys with no source text

For #7842
2022-12-30 17:30:39 -06:00
Steven R. Loomis
f7f40a2bb8 fix(core): ldml: fix spelling of maqtugħa 🙀
- maqtua should be maqtugħa (cut) but spelled as maqtugha where used as an NMTOKEN
2022-12-30 17:01:48 -06:00
Marc Durdin
d9eae3869d
Merge branch 'master' into chore/a17s2-beta-to-master 2022-12-23 08:44:42 +11:00
Steven R. Loomis
05656ac499 feat(core): ldml: fix off-by-one on section count 🙀
- yes, sect was counting itself. Too much automation!
- disable layr/key2/list loading in C++ for now

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-12-22 13:12:08 -06:00
Steven R. Loomis
343f234a8e feat(core): ldml: updates to basic.txt and builders 🙀
- strs and ALL TESTS pass

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-12-20 19:16:41 -06:00
Sabine
081fa7deb9 chore(developer): use namespaces in kmcmplib (except for in dllexport-functions) 2022-12-20 11:31:08 +01:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Steven R. Loomis
eb8c4dea7a feat(core): ldml: basic: updates to basic.txt for layr 🙀
- more key2 chan ges

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #753
2022-12-15 15:27:58 -06:00
Sabine
105d6f3fba chore(developer): solve merge conflicts in namespaces 2022-12-15 01:47:34 +07:00
Sabine
597462ab72 chore(developer): introduce namespace kmcmp instead of different filenames 2022-12-13 16:05:11 +07:00
Joshua A. Horton
db15c4956b chore(common): removes at-this-point-unused npm package 2022-12-12 09:26:14 +07:00
Joshua A. Horton
4cd7cd3363 feat(common): TS-based srcmap remapper tool 2022-12-12 08:52:56 +07:00
Marc Durdin
8e90efe14a fix(developer): invalid charmap cell selection when updating to empty search result
Fixes #7879.

If we enter a search string that results in zero results, the grid
resize to one row attempts to select row zero. However, we prevent this.
This leaves the current row outside the range of valid rows, which means
the grid is in an invalid state.

This later causes a crash if the user attempts to mousewheel up. There
may be other similar crashes in this situation, but I haven't found any
yet.

Fix is to allow selection of row zero when there is only one row. I have
not found any problems caused by allowing this.
2022-12-10 06:04:17 +07:00
Marc Durdin
25abcbc10a
Merge branch 'master' into chore/beta-to-master 2022-12-09 20:47:31 +11:00
Sabine
d067324ccf chore(developer): add flag flag_use_kmcompx as switch to use old code (kmcmpdll) or new code kmcmplib 2022-12-08 16:28:15 +07:00
Steven R. Loomis
30761fec01 feat(core): ldml: basic: updates to basic.txt for layr 🙀
- doc fix also
- key2 still to go

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #753
2022-12-03 04:55:52 +08:00
Sabine
26f17a9626 chore(developer): add more CERR_tests and move some to other folder, edit readme 2022-12-02 19:59:08 +07:00
Joshua A. Horton
c5f90d931c chore(web): Merge branch 'chore/web/top-level-build-script-rework' into change/web/reorg-source-src-reorg 2022-11-30 15:38:57 +07:00
Joshua A. Horton
4a96cdb0cb chore(web): cleanup per PR review 2022-11-30 15:35:18 +07:00
Steven R. Loomis
66f01f4cf5 feat(core): ldml: fix to build-layr 🙀
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-29 18:33:04 -06:00
Marc Durdin
a3c570fccd chore(common): avoid building 'invalid' shared keyboards 2022-11-29 14:44:52 +07:00
Marc Durdin
c0cbd157e2 chore(developer): Merge branch 'feature-kmcompx' into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION 2022-11-29 13:20:28 +07:00
Sabine
0ebb7c37f7 chore: copy files back 2022-11-29 10:19:07 +07:00