Steven R. Loomis
6632aafeec
spec(core): update per code review 🙀
...
- keep 'deadkey' out of the ldml code
- other renames
For: #9119
2023-08-03 19:00:21 -05:00
Steven R. Loomis
d53ae69299
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-03 18:56:05 -05:00
Joshua A. Horton
d69d67fa03
fix(web): forgot to target es5 when minifying polyfilled worker
2023-08-03 10:00:06 +07:00
Joshua A. Horton
7f37a3f92b
fix(web): fixes prerecorded test fixtures
2023-08-03 08:38:07 +07:00
Joshua A. Horton
b7e250a6c7
refactor(web): fixes test + JS/TS test resources per last commit
2023-08-03 08:37:37 +07:00
Joshua A. Horton
3f3dec5c02
refactor(web): drops ComplexGestureSource
2023-08-03 08:36:13 +07:00
Steven R. Loomis
4aacfbf737
chore(developer): improve code coverage 30% 🙀
...
- … with this one weird trick
For: #9119
2023-08-02 18:09:58 -05:00
Steven R. Loomis
2a818b1ede
spec(core,developer): update marker spec 🙀
...
- use UC_SENTINEL CODE_DEADKEY …
- use U+FFFE for any marker
- add asserts between .ts and C++
- update generation
For: #9119
2023-08-02 18:04:48 -05:00
Marc Durdin
c20a670f91
chore(developer): handle unknown file extensions in file types
...
Projects can contain any type of file, but the fromFilename file type
utility function would only handle known source and binary file types.
2023-08-02 12:32:07 +07:00
Marc Durdin
d8e03e0695
chore(developer): refactor KeymanDeveloperProjectFile
...
Turns KeymanDeveloperProjectFile into an interface, and removes
redundant data in filename and fileType fields, calculating these from
filePath instead. Maintains separate KeymanDeveloperProjectFile10 and
KeymanDeveloperProjectFile20 classes implementing the base interface for
now, although that may be a target for future consolidation (lowpri).
2023-08-02 12:05:48 +07:00
Marc Durdin
48c0f09872
chore(developer): use getFileType() instead of fileType
...
Ensures that we calculate the file type instead of using stored data,
which is a lot cleaner. Means we ignore the filetype field in the .kpj
xml, which is fine.
We should do the same with filename vs filepath.
2023-08-02 11:50:35 +07:00
Joshua A. Horton
d8fabfa7b1
chore(web): Merge branch 'feature-gestures' into feat/web/gesture-model-matching
2023-08-01 10:30:53 +07:00
Steven R. Loomis
7c3424b081
chore(developer): update markers per review 🙀
...
- remove SENTINEL_ALL_MARKERS
For: #9119
2023-07-31 16:10:59 -05:00
Joshua Horton
14d6f513ea
Merge pull request #9339 from keymanapp/feat/web/gesture-path-snapshots
...
feat(web): gesture path snapshots 🐵
2023-07-31 16:02:06 +07:00
Joshua A. Horton
a89c41b470
chore(web): tweaks per PR review
2023-07-31 15:35:46 +07:00
Joshua A. Horton
3cc2298d69
chore(web): Merge remote-tracking branch 'origin/feat/web/gesture-path-snapshots' into feat/web/gesture-path-snapshots
2023-07-31 15:08:36 +07:00
Joshua A. Horton
40c0d6a5ed
docs(web): adds docs as requested by PR review
2023-07-31 15:08:10 +07:00
Steven R. Loomis
8c79f14156
feat(developer): marker - use marker in the sections 🙀
...
- bunch of rework to make 'vars' a dependent of lots of sections
- should be emitting marker ids in the output stream now.
#9119
2023-07-29 17:26:36 -05:00
Steven R. Loomis
a6bce2d6c0
feat(common): marker - utilities to emit sentinel values 🙀
...
#9119
2023-07-29 16:59:54 -05:00
Steven R. Loomis
97c8380f7c
feat(common): marker - emit sentinel values 🙀
...
#9119
2023-07-29 16:48:33 -05:00
Steven R. Loomis
2211900e5f
feat(common): marker - move values into constants 🙀
...
- constants need to be shared with C++
#9119
2023-07-29 16:15:55 -05:00
Steven R. Loomis
d514dc9915
feat(common): marker processing support 🙀
...
- common: emit the sentinel value, with range checking, from MarkerParser
2023-07-29 16:06:59 -05:00
Steven R. Loomis
581d65a4c7
fix(common): list fix 🙀
...
- a falsy list should show up as list #0
#9119
2023-07-29 14:55:21 -05:00
Steven R. Loomis
52e54395f9
feat(developer): marker accounting 🙀
...
- split out MarkerTracker, could give us more precise messages about marker use
- for now, we parse all markers twice.
- update builder for the markers list
#9119
2023-07-29 14:18:37 -05:00
Joshua Horton
089cdbf661
chore(web): Apply suggestions from code review
2023-07-28 08:08:44 +07:00
Joshua Horton
1f600c95de
chore(web): enhances comment I noticed post-push
2023-07-27 13:30:18 +07:00
Joshua A. Horton
c6969b738b
chore(web): better promise-rejection logging
2023-07-27 12:26:04 +07:00
Joshua A. Horton
287ba2c234
feat(web): subkey selection unit tests
2023-07-27 12:26:04 +07:00
Joshua A. Horton
abb0349b32
feat(web): adds isolated path-inheritance tests
2023-07-27 12:26:03 +07:00
Joshua A. Horton
14b492bd8f
chore(web): alphabetical gesture-spec order
2023-07-27 12:26:03 +07:00
Joshua A. Horton
ad5f62180d
change(web): cleanup post-rebase, adds stats components to some test-specs
2023-07-27 12:26:02 +07:00
Joshua A. Horton
03d9d4106f
feat(web): longpress-gesture unit tests
2023-07-27 12:26:02 +07:00
Joshua A. Horton
36dc9b7168
feat(web): initial gesture-model level unit tests
2023-07-27 12:26:01 +07:00
Joshua A. Horton
8620fd6dc5
feat(web): gesture modeling + isolated matching
2023-07-27 12:25:53 +07:00
Joshua A. Horton
fb872fea5d
chore(web): cleans up path-match 'lock in' handling
2023-07-27 11:53:43 +07:00
Joshua A. Horton
8c0e5a04ed
feat(web): SimpleGestureSourceSubview
2023-07-27 11:49:38 +07:00
Steven R. Loomis
ab4a0f36ab
feat(developer): Marker tests 🙀
...
- wip , still not working
For: #9119
2023-07-26 18:06:22 -05:00
Marc Durdin
c9e1e82a76
Merge branch 'feature-kmc-kmw' into feat/developer/introduce-kmc-keyboard-info
2023-07-26 19:24:34 +10:00
Marc Durdin
52869e0d15
Merge pull request #9323 from keymanapp/chore/developer/move-keyman-targets-to-common
...
refactor(developer): move keyman-targets.ts to common/web/types 🗜
2023-07-26 17:37:41 +10:00
Marc Durdin
393951ce8e
Merge branch 'chore/developer/move-keyman-targets-to-common' into feat/developer/introduce-kmc-keyboard-info
2023-07-26 14:34:40 +10:00
Marc Durdin
a2d45c00c7
chore(common): address review comments
2023-07-26 11:32:38 +07:00
Joshua Horton
9e028cad1f
chore(web): Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-26 08:26:49 +07:00
Joshua A. Horton
71201ddaa7
fix(web): better gesture test-tsconfig
2023-07-26 08:25:27 +07:00
Marc Durdin
7f5e0756d2
Merge pull request #9306 from keymanapp/chore/developer/9305-use-kmc-messages-for-errors-in-kmc-model-info
...
chore(developer): use kmc messages for kmc-model-info 🗜
2023-07-26 09:48:17 +10:00
Joshua A. Horton
5f6901314f
feat(web): gesture path snapshots ( segmenting on state transition)
2023-07-25 15:06:41 +07:00
Joshua A. Horton
f66fcfc34b
change(web): generic typing for path-stats
2023-07-25 14:44:39 +07:00
Joshua A. Horton
de9b5a386c
change(web): turtle.wait uses similar pattern to turtle.move again
2023-07-25 14:44:25 +07:00
Joshua A. Horton
0c3e1cd89e
chore(web): cleans up test-resource import path
2023-07-25 14:43:50 +07:00
Marc Durdin
b369fbb89b
feat(developer): implement kmc keyboard_info compiler
...
Fixes missing components of the kmc-keyboard-info compiler and
integration into kmc. Lots of cleanup making sure that the compiler
actually generates expected output against the keyboards repository.
2023-07-25 14:21:58 +07:00
Joshua A. Horton
9421ee6d16
fix(web): missed another affected case
2023-07-24 11:36:43 +07:00