Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
b09495968e fix(web): prediction test-page model enablement toggle hooks 2024-01-08 09:45:11 +07:00
Joshua A. Horton
b4944c7b5a fix(developer): fixes test-page model registration hook 2024-01-08 09:44:37 +07:00
Shawn Schantz
904f815653
Merge pull request #10275 from keymanapp/fix/mac/10273-persist-options
fix(mac): write persisted options returned from Core
2024-01-08 09:00:07 +07:00
Steven R. Loomis
776a902eb0 feat(core): stacked markers 🙀
- build fix for win

#10320
2024-01-06 13:56:37 -06:00
Steven R. Loomis
f38054f65a chore(core): split out some files 🙀
- markers/normalization really needs its own file
- split out ldml_markers.* from ldml_transforms.*
- split out ldml_utils.hpp for a common assert macro

#10320
2024-01-06 11:56:11 -06:00
Steven R. Loomis
b2b897970d feat(core): stacked markers 🙀
- renamed the single-segment functions to normalize_nfd_markers_segment() since they should only be run on a single segment
- commented out NFC for now, dead code
- add some additional checks/DebugLog around normalization

#10320
2024-01-06 11:33:51 -06:00
Steven R. Loomis
f4be7856da feat(core): stacked markers tests 🙀
- we can finally support single markers with the new structure
2024-01-06 10:17:10 -06:00
Steven R. Loomis
52fe9073a0 chore(core): stacked markers tests 🙀
- first we break

#10320
2024-01-05 18:52:43 -06:00
Marc Durdin
070ead74cf fix(developer): new file support for handle project 2.0
Fixes #10276.

Adding new files to a v2.0 project was unsupported. This requires a
little bit of a logic change to the two new File New dialogs:

1. The New File Details dialog does not allow changing from the
   SourcePath of the project.
2. The New File dialog does allow changing to any path. If you select a
   path outside the project path, it will open in a new window.
2024-01-05 14:19:02 +07:00
Marc Durdin
beddf05afa fix(developer): cleanly handle filling a new osk file from layout
Fixes #10315.

When filling from layout, if the .kvks file did not exist, an obscure
error was generated:

    Error: 2908 Error encountered parsing eo_plus.kvks: TypeError: Cannot read properties of null (reading 'byteLength')

Fixed this by checking for file existence before attempting to process,
which then reports a more understandable error of 'file not found'.

Then, needed to tweak the caller in Keyman Developer IDE to remove the
reference to the .kvks file before attempting to build
(chicken-and-egg).
2024-01-05 13:35:43 +07:00
Marc Durdin
84ff0424c3 fix(developer): remove unused tools/customise menu 2024-01-05 12:49:39 +07:00
Keyman Server
74927f8628
Merge pull request #10314 from keymanapp/auto/version-master-17.0.239
auto: increment master version to 17.0.239
2024-01-04 01:06:48 +07:00
Keyman Build Agent
04c1eb6df6 auto: increment master version to 17.0.239 2024-01-03 13:06:10 -05:00
Steven R. Loomis
8b65010892
Merge pull request #10306 from keymanapp/feat/developer/9121-reject-bad-regex-epic-ldml
feat(developer): escape bad markers 🙀
2024-01-03 11:47:11 -06:00
Steven R. Loomis
a6e4721fcb
Merge pull request #10305 from keymanapp/chore/core/ldml-test-robust-epic-ldml
chore(core): better reporting in ldml tests 🙀
2024-01-03 11:47:03 -06:00
Steven R. Loomis
f42f7595eb
Merge pull request #10304 from keymanapp/feat/core/9121-more-regex-epic-ldml
feat(core): more regex testing 🙀
2024-01-03 11:46:50 -06:00
Steven R. Loomis
319039159c
Merge pull request #10290 from keymanapp/feat/core/9468-stacked-markers-epic-ldml
fix(core): ldml fixes for normalization between transform groups 🙀
2024-01-03 11:46:20 -06:00
Marc Durdin
126a657715 fix(windows): serve images for readme files in Keyboard Install
Fixes #10308.

When a file is requested without a tag parameter, we need to look to
the referer to find out what the tag is, so we can associate it with
the correct readme file.
2024-01-03 14:10:20 +07:00
Steven R. Loomis
91b761b027 feat(core): fixup markers as regex 🙀
- move prepend_marker out of line
- replace bool for_regex with an enum
- cleanup another instance of \b -> \u0008

#9121
2024-01-02 17:21:04 -06:00
Steven R. Loomis
54c77e2de9
Merge pull request #10300 from keymanapp/fix/developer/10291-layer-errs-epic-ldml
fix(developer): quell internal error when  a section fails 🙀
2024-01-02 17:05:00 -06:00
Steven R. Loomis
a6151e681b
Merge branch 'chore/core/ldml-test-robust-epic-ldml' into feat/developer/9121-reject-bad-regex-epic-ldml 2024-01-02 17:04:37 -06:00
Steven R. Loomis
24cd664502
Update common/web/types/src/ldml-keyboard/pattern-parser.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-01-02 17:04:14 -06:00
Steven R. Loomis
84c218ff85
Merge branch 'feat/core/9121-more-regex-epic-ldml' into chore/core/ldml-test-robust-epic-ldml 2024-01-02 17:03:07 -06:00
Steven R. Loomis
0c3d1b513e
Merge branch 'feat/core/9468-stacked-markers-epic-ldml' into feat/core/9121-more-regex-epic-ldml 2024-01-02 17:03:00 -06:00
Steven R. Loomis
e90573dd3d
Merge branch 'master' into feat/core/9468-stacked-markers-epic-ldml 2024-01-02 17:02:43 -06:00
Steven R. Loomis
32ba632af9
Update core/tests/unit/ldml/test_transforms.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-01-02 17:02:35 -06:00
Keyman Server
0c61676747
Merge pull request #10309 from keymanapp/auto/version-master-17.0.238
auto: increment master version to 17.0.238
2024-01-03 01:04:40 +07:00
Keyman Build Agent
4981f5f801 auto: increment master version to 17.0.238 2024-01-02 13:04:02 -05:00
Marc Durdin
d6b296c5f3 chore(developer): fix typo 2024-01-02 13:01:22 +07:00
Marc Durdin
1a8d83990d
Merge branch 'master' into chore/web/worker-polyfill-cleanup 2024-01-02 15:45:47 +11:00
Marc Durdin
ee6814c67a
Merge pull request #10218 from keymanapp/chore/developer/10162-honor-prompt-to-upgrade-in-kmc
chore(developer): honor prompt to upgrade in kmc
2024-01-02 15:36:48 +11:00
Marc Durdin
edc950727f
Merge pull request #10208 from keymanapp/feat/developer/9473-kmc-module-api-consolidation
feat(developer): Consolidate public APIs for kmc modules
2024-01-02 15:35:47 +11:00
Steven R. Loomis
02ba64d857 feat(core): fixup markers as regex 🙀
- needed to remove/re-add the “≈≈[\u0001-\uD7FE]” format  (aka LDML_MARKER_ANY_INDEX)

#9121
2023-12-30 21:09:42 -06:00
Steven R. Loomis
80ba5aa0ce fix(developer): escape markers as regex 🙀
- escape markers to prevent the n'th marker from having some other meaning
2023-12-30 11:18:51 -06:00
Steven R. Loomis
763f7abeb0 chore(core): failing test with markers 🙀
- marker overrun! the 40th marker becomes a parenthesis, breaking regex

feat(core): ldml proper regex implementation 🙀🙀 #9121
2023-12-28 18:57:33 -06:00
Steven R. Loomis
561cecb0de fix(core): fix ldml test runner loops 🙀
- more easily handle test events
2023-12-28 17:57:40 -06:00
Steven R. Loomis
ae96008c11 feat(core): ldml more regex tests 🙀
- match in a set
- quantifiers

For: #9121
2023-12-28 17:38:21 -06:00
Steven R. Loomis
ef2f8395b4 feat(core): better reporting in ldml tests 🙀
- more err reporting out of inner functions such as key not found
- helper functions for setting FAIL and SKIP actions with messages
- colorization

For: #9121
2023-12-28 17:38:21 -06:00
Steven R. Loomis
e864c8c06c
Merge branch 'master' into feat/core/9468-stacked-markers-epic-ldml 2023-12-22 17:52:01 -06:00
Steven R. Loomis
53201263d9 fix(core): use marker-safe normalization in between transform stages 🙀
- the intermediate stages of transforms also need to use marker-safe normalization
- re-enable a test that was failing previously due to this

For: #9468
2023-12-22 17:51:18 -06:00
Keyman Server
7fa8ccac2a
Merge pull request #10301 from keymanapp/auto/version-master-17.0.237
auto: increment master version to 17.0.237
2023-12-23 01:02:57 +07:00
Keyman Build Agent
b8d4d1208f auto: increment master version to 17.0.237 2023-12-22 13:02:25 -05:00
rc-swag
486586dc8d feat(windows): apply now install for state machine
The event handling needs to be added for all the states
2023-12-22 17:27:40 +10:00
Joshua A. Horton
d1a6cf3d40 chore(web): cleans lm-worker intermediate/, not just lib/ 2023-12-22 14:01:12 +07:00
Joshua A. Horton
639395e3b3 fix(android): improper handling of map-polyfill link on last merge 2023-12-22 13:28:32 +07:00
Joshua A. Horton
e5abdc6b61 chore(web): Merge remote-tracking branch 'origin/refactor/web/common-esbundling' into refactor/web/common-esbundling 2023-12-22 13:05:31 +07:00
Joshua A. Horton
670cb5f070 chore(web): Merge branch 'feat/web/es6-target-artifact' into feat/web/webview-es6-target-artifact 2023-12-22 13:02:11 +07:00
Joshua A. Horton
dc7bfc1344 chore(web): Merge branch 'change/web/build-bundler-replacement' into feat/web/es6-target-artifact 2023-12-22 12:59:20 +07:00
Joshua A. Horton
d554a0046f chore(web): Merge branch 'refactor/web/common-esbundling' into change/web/build-bundler-replacement 2023-12-22 12:54:53 +07:00
Joshua A. Horton
b7422aa0fc chore(web): Merge branch 'change/web/lm-worker-bundling-cleanup' into refactor/web/common-esbundling 2023-12-22 12:51:00 +07:00