Eberhard Beilharz
f43950143a
chore: Merge branch 'epic/web-core' into chore/merge-master-into-web-core
2025-01-30 15:11:23 +01:00
Joshua Horton
4832903b0a
fix(web): do not simplify nul-prefixed contexts when rule-matching
...
Fixes : #12987
2025-01-23 09:30:34 +07:00
Eberhard Beilharz
f8ed96a2c6
refactor(web): explicitly list exports
2025-01-14 15:35:30 +01:00
Eberhard Beilharz
bd724a574e
refactor(web): rename KeyboardProcessor class to JSKeyboardProcessor
...
Also rename file `keyboardProcessor.ts` to `jsKeyboardProcessor.ts`.
2025-01-14 15:35:30 +01:00
Eberhard Beilharz
62cd0d6509
refactor(web): rename KeyboardInterface class to JSKeyboardInterface
...
Also rename file from `kbdInterface.ts` to `jsKeyboardInterface.ts`.
2025-01-14 15:35:29 +01:00
Eberhard Beilharz
d82fa81ef6
refactor(web): rename JS Keyboard class to JSKeyboard
2025-01-14 15:35:28 +01:00
Marc Durdin
e6cf6186c2
chore: Merge remote-tracking branch 'origin/epic/web-core' into chore/merge-master-into-web-core
2024-12-05 15:04:11 +07:00
Marc Durdin
b10634eb97
refactor(common): move all lexical model types into LexicalModelTypes container
...
Many of the types had very generic names (e.g. `Configuration`), and as
the types are now exported from `@keymanapp/common-types`, this was
unhelpful.
For units with many references, I used TypeScript's import-equals to
reduce the change impact. For units with only a few references, I added
the `LexicalModelTypes.` prefix to the references in source.
(Best reference I could find for import-equals: b722fa4e49 )
Fixes : #12516
2024-11-27 09:46:09 +07:00
Eberhard Beilharz
b38ceb9427
Merge pull request #12418 from keymanapp/chore/web/kbdInterfaceTests
...
refactor(web): move kbdInterface tests to typescript 🎼
2024-09-18 04:01:56 +07:00
Eberhard Beilharz
5d92ff6635
chore(web): move kbdInterface tests to typescript
2024-09-13 17:29:49 +02:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
...
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
cf3eef418a
chore(web): remove obsolete comment
2024-08-28 14:32:27 +07:00
Joshua A. Horton
2938ee110b
refactor(web): remove engine/interfaces dependency on engine/js-processor
2024-08-15 10:12:27 +07:00
Eberhard Beilharz
89abdbd64c
refactor(web): move some files around
...
- move `outputTarget.ts` → `js-processor`
- move `deadkeys.ts` → `js-processor`
- move `stringDivergence.ts` → `js-processor`
- split `Mock` into `mock.ts`
- create `keyboard/outputTarget.interface.ts`
2024-08-14 19:06:32 +02:00
Eberhard Beilharz
7459ab0bf8
refactor(web): move tests
...
Some tests test functionality defined in `js-processor`, so we move
these to the appropriate location. Addresses code review comments.
2024-08-14 19:06:31 +02:00
Eberhard Beilharz
73aa5afee3
Merge branch 'refactor/web/12067_js-processor' into refactor/web/12110_keyboard
2024-08-13 18:43:58 +02:00
Eberhard Beilharz
dedc18e156
refactor(web): move some files around
...
- move `systemStore.ts` → `js-processor`
- move `keyEventSource.interface.ts` → `osk`
- move `defaultRules.ts` → back to `keyboard-processor`
- in `KeyboardProcessor` pass `ruleBehavior` as parameter to `forAny`,
looks like that accidentally got omitted previously
Addresses code review comments.
2024-08-13 18:26:00 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
...
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.
Fixes : #12110
2024-08-12 19:40:15 +02:00
Eberhard Beilharz
bba694c306
refactor(web): work around global in interface
2024-08-12 19:33:29 +02:00
Eberhard Beilharz
c09c895333
refactor(web): move parts of keyboard-processor → js-processor
...
Move parts of `common/web/keyboard-processor/` →
`web/src/engine/js-processor/`.
Note this temporarily disable tests for keyboard-processor which depend on
js-processor, until #12110 is fixed.
Fixes : #12067
2024-08-08 18:25:03 +02:00