Marc Durdin
812e914e87
fix(developer): min Keyman version for LDML is 17.0
...
Fixes #10959 .
2024-03-11 15:15:47 -05:00
Marc Durdin
ffe43d29ef
Merge branch 'beta' into fix/developer/10942-normalize-paths-in-kmc-package
2024-03-07 18:13:43 +07:00
Marc Durdin
7d03010479
fix(developer): normalize all input paths in .kps compiler
...
Fixes #10942 .
2024-03-05 17:34:06 -06:00
Steven R. Loomis
8975a38109
chore(common): ldml update out of techpreview 🙀
...
- updates to support techpreview -> 45
Fixes : #10900
2024-03-02 22:40:38 -06:00
Marc Durdin
abd5a86196
Merge branch 'beta' into refactor/developer/10207-message-detail
2024-03-01 07:54:31 +07:00
Marc Durdin
4bb9b39ba2
refactor(developer): reorganize messages for adding details
...
Moved the ERROR_Message line above the Error_Message line for every
message in the compiler message files, as it makes the grouping clearer
once we start adding message details. For example, see the start of the
KmnCompilerMessages class.
Also wraps potentially-undefined parameters to the messages with a new
function `def`, shorthand for `CompilerMessageDef`, which converts the
parameter to '<param>' if it is undefined, which is helpful for
documentation.
2024-02-28 16:00:02 +07:00
Marc Durdin
c7afed7201
refactor(developer): split messages with callstacks into separate generator
...
Relates to #10207 .
In order to include message detail in messages, it is helpful to split
out the exception messages which have a separate parameter, so that
parameter at the same position can be the message detail.
Introduces the CompilerMessageSpecWithException function which takes an
exceptionVar parameter to achieve this differentiation.
2024-02-28 11:34:49 +07:00
Steven R. Loomis
9c2a73a290
chore(common,developer): rename unicodeSet to uset in code
...
Fixes: rename unicodeSet to uset 🙀 #10657
2024-02-27 18:15:57 -06:00
Marc Durdin
e1a8ce47e3
Merge pull request #10821 from keymanapp/fix/developer/10396-repeated-options-in-kmc
...
fix(developer): repeated options in kmc must now be fully specified
2024-02-27 16:04:50 +07:00
Marc Durdin
70a50f0f67
refactor(developer): move osk module from common-types to developer-utils
...
This module is used only by Keyman Developer compiler. It was originally
in common-types because we didn't have a shared module for Developer.
Moving it to @keymanapp/developer-utils in order to improve its
documentation.
2024-02-26 14:57:27 +07:00
Marc Durdin
7b198eb4a4
fix(developer): repeated options in kmc must now be fully specified
...
Fixes #10396 .
Instead of `--message 20ae 5006`, which is ambiguous, because 5006 could
be a filename, you must now specify the parameter option flag each time:
`--message 20ae --message 5006` (or `-m 20ae -m 5006`).
2024-02-23 13:17:11 +07:00
Joshua A. Horton
36e7a2b51a
chore(web): proper reporting of errors from es5 KMW
2024-02-22 10:20:32 +07:00
Steven R. Loomis
7cd2e2d4e0
fix(developer): fix for incorrectly-stateful regex
...
- take out the /g flag for regex used with .exec
For #10734
2024-02-15 15:47:41 -06:00
Joshua A. Horton
593189b30d
chore(web): Merge branch 'beta' into fix/web/transform-selection-interactions
2024-02-15 10:47:42 +07:00
Steven R. Loomis
8787073c40
feat(developer): errs on \uXXXX escapes 🙀
...
- note, some older test cases had to be fixed also.
For: #10389
2024-02-13 12:26:46 -06:00
Steven R. Loomis
b99a2cf2a5
Merge branch 'master' into feat/developer/10389-bad-regex-no-biscuit
2024-02-13 10:17:58 -06:00
Joshua A. Horton
0e06b7a20b
docs(web): adds a bit of extra documentation re: method return value paradigm
2024-02-13 11:05:38 +07:00
Joshua Horton
c246993a0f
Merge pull request #10641 from keymanapp/fix/web/invalid-longpress-shortcut
...
fix(web): prevent invalid longpress shortcut triggers
2024-02-13 09:47:57 +07:00
Steven R. Loomis
da4b544471
feat(developer): errs on unparseable regex 🙀
...
- also, make sure NFD-incompliant ranges get mapped to escaped chars
- also, propagate UnicodeSet errs out
For: #10389
2024-02-12 18:16:34 -06:00
Joshua A. Horton
444aeec509
chore(web): unit test patchup after method rename
2024-02-08 15:40:39 +07:00
Joshua A. Horton
aefef2181d
chore(web): further PR cleanup
2024-02-08 13:12:26 +07:00
Joshua A. Horton
f36aba7bad
chore(web): explicit edge case condition
2024-02-08 11:52:13 +07:00
Joshua A. Horton
c32691c2e7
feat(web): extra edge-case unit tests
2024-02-08 08:19:40 +07:00
Joshua A. Horton
0f0784a0e7
change(web): simpler return value
2024-02-07 16:24:42 +07:00
Joshua A. Horton
1222b2b3e2
chore(web): minor simplification
2024-02-07 16:04:42 +07:00
Joshua A. Horton
b1adb857b3
fix(web): forgot to delete a ref to deleted name
2024-02-07 15:41:56 +07:00
Joshua A. Horton
e3da931606
change(web): clearer maxInterval handling
2024-02-07 15:40:36 +07:00
Joshua A. Horton
a903bb91e7
chore(web): some more cleanup + docs
2024-02-07 15:36:21 +07:00
Joshua A. Horton
7d4e3c70d0
change(web): replaces function for unit tests (just one instance)
2024-02-07 15:27:14 +07:00
Joshua A. Horton
ce468303fb
docs(web): a bit of documentation
2024-02-07 15:26:47 +07:00
Joshua A. Horton
3a1303fb6f
change(web): PR change nomenclature
2024-02-07 15:19:35 +07:00
Joshua A. Horton
f7d7e071f1
fix(web): logic for divergence at start position
2024-02-07 15:13:15 +07:00
Joshua Horton
16c0628915
Merge pull request #10643 from keymanapp/fix/web/banner-scroll-post-reversion
...
fix(web): banner scroll positioning after reversions
2024-02-07 12:55:28 +07:00
Joshua Horton
0699be37ea
Merge pull request #10584 from keymanapp/fix/web/empty-context-backspaces
...
fix(web): handling of backspaces when left-context is empty
2024-02-07 12:54:15 +07:00
Joshua A. Horton
957f403ba0
fix(web): restoreTo() tweaks
2024-02-07 12:22:56 +07:00
Joshua A. Horton
5fe64b0cd4
fix(web): transcription-construction from contexts with selections
2024-02-07 12:08:19 +07:00
Marc Durdin
44abf2c41e
Merge pull request #10651 from markcsinclair/fix/developer/ensure-project-populate-files-actually-adds-files
...
fix(developer): ensure project populate files actually adds files
2024-02-07 16:01:56 +11:00
Joshua A. Horton
e2360a9ad0
fix(web): outputTarget.apply() now clears selection; adds unit tests
2024-02-07 10:12:32 +07:00
Steven R. Loomis
5360cff8e5
Merge branch 'feat/developer/10554-sometimes-no-norm' into feat/developer/10316-range-warning
2024-02-06 16:14:54 -06:00
Steven R. Loomis
9085a4fcda
feat(developer): support normalization=disabled 🙀
...
- assume normalization is enabled
#10554
2024-02-06 16:11:20 -06:00
Steven R. Loomis
50e0b31e9e
feat(developer): support normalization=disabled 🙀
...
- fix check normalization state
#10554
2024-02-06 14:54:26 -06:00
Dr Mark C. Sinclair
29b6601018
fix(developer): ensure project populate files actually adds files and test
2024-02-06 10:39:47 +00:00
Joshua A. Horton
de1414e51f
chore(web): tweak per PR review
2024-02-06 10:25:47 +07:00
Joshua A. Horton
3b0dce7002
fix(web): banner scroll positioning after reversions
2024-02-06 10:10:49 +07:00
Joshua A. Horton
d2a043ae43
fix(web): prevent invalid longpress shortcut triggers
2024-02-06 09:15:15 +07:00
Steven R. Loomis
4b22d3a527
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-02-05 17:17:29 -06:00
Steven R. Loomis
10940be7e0
feat(developer): hint/warn on range check 🙀
...
- analyzer
#10316
2024-02-02 15:18:08 -06:00
Steven R. Loomis
107e8e98f9
feat(developer): hint/warn on range check 🙀
...
- analyzer
#10316
2024-02-02 12:09:23 -06:00
Steven R. Loomis
d77ed9099b
feat(developer): support normalization=disabled 🙀
...
#10554
2024-01-31 23:16:51 -06:00
Joshua A. Horton
627e93dd91
fix(web): bksp passthrough when no deletable context exists
2024-02-01 10:42:57 +07:00