Commit graph

3378 commits

Author SHA1 Message Date
Steven R. Loomis
a6dcf4dfce
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-03 18:20:20 -05:00
Steven R. Loomis
a25d3819d1 Merge remote-tracking branch 'upstream/master' into feat/developer-7377-reorder-uset 2023-07-03 18:09:22 -05:00
Steven R. Loomis
3ecf8da917
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-03 18:08:25 -05:00
Steven R. Loomis
88650e2085 feat(developer): uset in element string 🙀
- fix uset builder and other missing uset parts
- basic.xml passes
- update to constants

Fixes: #7377
2023-06-30 17:27:04 -05:00
Steven R. Loomis
5d5b61cd0a feat(developer): uset in element string 🙀
- update element string constructors to support UnicodeString and the segmented array from ElementParser
- update compiler machinery to pass USetParser in the DependencySections
- test cases

#7377
2023-06-30 15:56:45 -05:00
Steven R. Loomis
067c0b2f67 feat(common): unescaper / element updates for uset 🙀
- add unescaper for quad string (\u0127)

#7377
2023-06-30 15:50:38 -05:00
Steven R. Loomis
3d6af245de feat(common): add segmenter for element strings 🙀
- detect and reject nested square brackets, for now
- implement segmentation of reorder element strings,
  including type identification (escape, codepoint, uset)
- tests

For #7377
2023-06-30 08:49:07 -05:00
Steven R. Loomis
fbf6005bc4
Merge pull request #9084 from keymanapp/feat/developer-9050-utf32-epic-ldml
feat(developer,common,core): ldml UTF-32 literals in binary 🙀
2023-06-26 20:33:27 -05:00
Steven R. Loomis
30c4a89149 feat(developer): improve fix for UTF-32 single chars 🙀
- add some asserts

Fixes: #9050
2023-06-26 18:56:57 -05:00
Joshua Horton
2ac8a4503b
Merge branch 'master' into feature-esmodule-web-engine 2023-06-26 09:09:43 +07:00
dependabot[bot]
7d08b08fb2
chore(deps): bump semver from 7.3.8 to 7.5.2
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-24 12:37:06 +00:00
Steven R. Loomis
83bb7e6f12
Merge branch 'master' into feat/developer-9050-utf32-epic-ldml 2023-06-23 17:31:43 -05:00
Steven R. Loomis
5cd3447bfd feat(developer): last fix for UTF-32 single chars 🙀
- elem

Fixes: #9050
2023-06-23 17:30:48 -05:00
Steven R. Loomis
de90644d7a feat(core,common,developer): support UTF-32 single chars 🙀
- C++ side now
- updated tests
- refactored escaping code and squashed bugs
- still todo: basic.xml

For: #9050
2023-06-23 16:55:05 -05:00
Steven R. Loomis
8304de4ad9 feat(common): support UTF-32 single chars 🙀
- common and developer side
- needs C++ update and basic.xml

For: #9050
2023-06-23 14:11:26 -05:00
Steven R. Loomis
8a3a08dcf7 feat(core): update documentation and builder for uset 🙀
- pre-sort the uset items instead of copying the patterns and re-finding
- update docs on the uset subtable

#7377
2023-06-23 10:52:34 -05:00
Steven R. Loomis
248d423535 feat(common,developer,core): add uset section 🙀
- not emitted yet, basic scaffolding
- expanded type field in elem:  str/char/set

For: #7377
2023-06-20 18:23:54 -05:00
Joshua Horton
89e7393665
Merge pull request #9025 from keymanapp/chore/web/esbuild-config-cleanup
chore(web): esbuild configuration cleanup 🧩
2023-06-19 14:04:11 +07:00
Joshua A. Horton
b497dc3ba2 chore(web): Merge remote-tracking branch 'origin/chore/web/centralize-kmw-tsconfigs' into chore/web/centralize-kmw-tsconfigs 2023-06-19 14:03:45 +07:00
Joshua A. Horton
f2e3effa4c chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/centralize-kmw-tsconfigs 2023-06-19 14:03:20 +07:00
Joshua Horton
0532405335
Merge pull request #8995 from keymanapp/change/srcmap-cleanup-and-c8-use
change(web): config, sourcemap cleanup + adds some c8 reporting 🧩
2023-06-19 14:01:40 +07:00
Joshua A. Horton
093daea59b chore(web): tweaks per review 2023-06-19 12:18:16 +07:00
Joshua A. Horton
31528786a0 fix(common/models): missed fixing commands in common/predictive-text test script 2023-06-19 08:54:03 +07:00
Joshua A. Horton
a92f915e60 chore(web): Merge branch 'chore/web/cleanup-kmw-headless-module-builds' into chore/web/esbuild-config-cleanup 2023-06-16 12:47:20 +07:00
Joshua A. Horton
46c58f5ab2 chore(web): Merge branch 'chore/web/centralize-kmw-tsconfigs' into chore/web/cleanup-kmw-headless-module-builds 2023-06-16 12:46:50 +07:00
Joshua A. Horton
569662237e fix(web): build.sh dependency on the centralized bundling stuff 2023-06-16 11:36:03 +07:00
Joshua A. Horton
eccbd49abb change(web): centralizes /web project bundling configs 2023-06-16 11:35:10 +07:00
Joshua A. Horton
9ae9a5e297 change(common/web): generalizes the entrypoint mapper func 2023-06-16 10:33:03 +07:00
Joshua A. Horton
194139be03 chore(web): paren spacing cleanup 2023-06-15 15:49:38 +07:00
Joshua A. Horton
6e8432383b chore(web): applies bulk of review suggestions 2023-06-15 15:48:53 +07:00
Joshua A. Horton
804efbe1d9 fix(web): fixed mocha test paths for lm-layer tests 2023-06-15 11:00:19 +07:00
Joshua A. Horton
66002a4128 chore(web): relocates tslib-treeshaker def, consolidates it further 2023-06-15 10:56:44 +07:00
Joshua A. Horton
b4b1c5e2ac chore(web): partial centralization of common/web KMW module bundling config 2023-06-15 10:33:29 +07:00
Joshua A. Horton
7dfebbfd4d chore(web): one more comment to cleanup 2023-06-14 15:56:33 +07:00
Joshua A. Horton
b65df8243b chore(web): cleanup of lm-worker & related build scripts, removal of lower-level bundles 2023-06-14 15:51:09 +07:00
Joshua A. Horton
cb2029bf49 chore(web): cleanup for purely-headless KMW main-thread-module build scripts, esbuild configs 2023-06-14 15:37:30 +07:00
Joshua A. Horton
4dde7453f5 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 15:15:05 +07:00
Joshua A. Horton
22ae456e0a fix(common/models): prior commit(s) broke npm run tsc 2023-06-14 15:14:40 +07:00
Joshua A. Horton
626e1855a3 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 14:59:18 +07:00
Joshua A. Horton
75347ebc6f change(web): internal event names -> lowercase convention 2023-06-14 10:30:56 +07:00
Joshua A. Horton
7e5de4e8dd fix(common/models): forgot about setting needed for Node worker use 2023-06-14 10:12:48 +07:00
Joshua A. Horton
3ce99b9c73 chore(web): cleanup re set_keyman_standard_build_path 2023-06-14 10:00:39 +07:00
Joshua A. Horton
0ca8e34424 chore(web): resolves centralization b/t the worker & main kmw tsconfigs 2023-06-14 09:26:27 +07:00
Joshua A. Horton
095bf97626 chore(web): kmw-main tsconfig -> /web, redirect in /common/web 2023-06-14 08:22:05 +07:00
Joshua A. Horton
6a30efe60f chore(web): kmw-worker tsconfig -> common/models 2023-06-14 08:16:15 +07:00
Joshua A. Horton
166b57aadf chore(common/models): centralizes lm-layer tsconfigs 2023-06-13 16:00:12 +07:00
Joshua A. Horton
52d4feadd3 chore(web): centralizes common/web tsconfigs 2023-06-13 15:52:40 +07:00
Joshua A. Horton
e876229312 chore(common/models): centralizes the worker tsconfig settings 2023-06-13 15:22:39 +07:00
Joshua A. Horton
96224f528a chore(common/models): package.json script use of gosh ./build.sh 2023-06-13 14:31:04 +07:00
Marc Durdin
cbc5b13034 fix(developer): keep kmc-kmn messages within namespace
Fixes #8998.

kmc-kmn messages were broken down into sub-namespaces, but the range
overlapped the reserved namespace mask range. Fixed the message values,
added a new test to the verifyCompilerMessagesObject function to verify
that messages don't creep outside their namespace, and defined new
masks (in CompilerErrorSeverity enum... hmm) to help.

I opted to remove the leading `0` in the messages for kmc-kmn as I had
to correct a number of them anyway, but not the messages in remaining
units at this time (it's not an error, but just slightly misleading as
we only have 12 bits, not 16 to play with).

It is safe to reassign these messages as they were only assigned in 17.0
alpha.
2023-06-13 06:22:15 +07:00