Commit graph

32747 commits

Author SHA1 Message Date
Marc Durdin
2e51955055 chore(web): Merge branch 'refactor/web/merge-engine-modules' into refactor/web/downgrade-web-utils-from-package-to-module 2025-11-06 14:07:19 +01:00
Marc Durdin
d94292959c chore(web): Merge branch 'epic/web-core' into refactor/web/merge-engine-modules 2025-11-06 10:54:25 +01:00
Marc Durdin
1f8f5d8796
Merge branch 'refactor/web/merge-engine-modules' into refactor/web/downgrade-web-utils-from-package-to-module 2025-11-06 08:08:38 +01:00
Eberhard Beilharz
e519d12032
Merge pull request #15096 from keymanapp/refactor/web/textStoreInterface
refactor(web): extract minimal TextStore interface that LanguageProcessor can use 🎼
2025-11-06 08:07:29 +01:00
Eberhard Beilharz
698b22f269
Merge pull request #15092 from keymanapp/refactor/web/outputtarget
refactor(web): rename OutputTarget related classes 🎼

Rename the OutputTarget related classes to better communicate what they are doing - they are interfacing with the text and thus roughly correspond to the TextStore on desktop platforms.
2025-11-06 08:06:59 +01:00
Marc Durdin
6cf378daf8 chore(web): address review comments 2025-11-06 07:51:43 +01:00
Marc Durdin
41c9cef797 refactor(web): change @keymanapp/web-utils to keyman/common/web-utils
Removes the need for package.json references for @keymanapp/web-utils,
and relies on bundler to include keyman/common/web-utils when building.
2025-11-06 07:24:36 +01:00
Eberhard Beilharz
a9f0e2d212
refactor(web): address code review comments
- rename TextStoreTranscriptionInterface → TextStoreLanguageProcessorInterface
- also fixup references to TextStore in languageProcessor.interface.ts
2025-11-05 16:54:16 +01:00
Eberhard Beilharz
6c755e7c86
refactor(web): address code review comments 2025-11-05 15:58:59 +01:00
Marc Durdin
9d2c23e0d3 refactor(web): merge engine modules
In order to simplify and make the build significantly faster, as well as
reduce duplication of configuration files, we have merged most of the
engine modules into a single module, engine:
  * engine/attachment
  * engine/core-processor
  * engine/dom-utils
  * engine/element-wrappers
  * engine/events
  * engine/interfaces
  * engine/js-processor
  * engine/keyboard
  * engine/keyboard-storage
  * engine/main
  * engine/osk

A few test-specific files have been moved from engine to test, such as
nodeCloudRequester.ts and nodeKeyboardLoader.ts.
2025-11-04 19:13:17 +01:00
Eberhard Beilharz
533473c199
refactor(web): extract minimal TextStore interface that LanguageProcessor can use 2025-11-04 18:22:58 +01:00
Eberhard Beilharz
b169aafa4f
refactor(web): cleanup exports of keyboards module
- explicitly list exports instead of using `*`
- remove `default` exports
2025-11-04 17:14:38 +01:00
Eberhard Beilharz
96275fff2c
refactor(web): cleanup 2025-11-04 17:14:38 +01:00
Eberhard Beilharz
07aa9e7af8
refactor(web): rename eventOutputTarget and outputTargetForElement
- Rename `eventOutputTarget` → `textStoreForEvent`
- Rename `outputTargetForElement` → `textStoreForElement`
2025-11-04 17:14:38 +01:00
Eberhard Beilharz
2997650f5a
refactor(web): remove DOMOutputTarget aliasing 2025-11-04 17:14:38 +01:00
Eberhard Beilharz
a82ebe8f97
refactor(web): rename file outputTargetElementWrapper.ts
Rename outputTargetElementWrapper.ts → abstractElementTextStore.ts.
2025-11-04 17:14:38 +01:00
Eberhard Beilharz
f5ee9a46a2
refactor(web): rename OutputTargetStubTextStoreStub 2025-11-04 17:14:38 +01:00
Eberhard Beilharz
f096be9848
refactor(web): rename element wrapper classes → *ElementTextStore 2025-11-04 17:14:38 +01:00
Eberhard Beilharz
e4d6ae9123
refactor(web): rename OutputTargetElementWrapperAbstractElementTextStore 2025-11-04 17:14:37 +01:00
Eberhard Beilharz
22a93cd3f6
refactor(web): rename directory element-wrapperselement-text-stores
Also rename module from element-wrappers → element-text-stores.
2025-11-04 17:14:37 +01:00
Eberhard Beilharz
0fc7416b68
refactor(web): rename MockSyntheticTextStore 2025-11-04 17:14:37 +01:00
Eberhard Beilharz
c9fa02f21c
refactor(web): rename OutputTargetBaseTextStore 2025-11-04 16:58:08 +01:00
Eberhard Beilharz
dce103bed2
refactor(web): rename OutputTargetInterfaceOutputTargetBase 2025-11-04 16:57:33 +01:00
Eberhard Beilharz
71ed528fc8
refactor(web): move files from js-processor to keyboard
This change moves
- deadkeys.ts
- mock.ts
- outputTargetBase.ts
- stringDivergence.ts

OutputTarget is the same regardless of whether it's a JS or KMX keyboard.
2025-11-04 16:57:32 +01:00
Eberhard Beilharz
2dc87f2e37
refactor(web): move isEmptyTransform to @keymanapp/web-utils 2025-11-04 16:57:32 +01:00
Marc Durdin
8f08bd2e8a
Merge pull request #15080 from keymanapp/chore/epic/web-core/vs2022
chore(windows): VS2022 patch for epic/web-core 🎼
2025-10-31 15:39:18 +01:00
Marc Durdin
3e659c676d chore(windows): upgrade VC++ projects to v143 (VS2022)
Test-bot: skip
Build-bot: skip release:developer,windows
2025-10-31 13:34:45 +01:00
Keyman Server
ed3b4ea275
Merge pull request #15019 from keymanapp/chore/A19S14-merge-master-into-web-core
auto: A19S14 merge master into web-core 🎼
2025-10-24 14:28:01 +02:00
Keyman Server
744bd8fecc
Merge branch 'epic/web-core' into chore/A19S14-merge-master-into-web-core 2025-10-24 11:14:51 +02:00
Marc Durdin
da364f978d
Merge pull request #14038 from cvosoft/test-warn-previousmap
test(developer): add test to kmc-analyze for Warn_PreviousMapFileCouldNotBeLoaded
2025-10-24 11:07:22 +02:00
Marc Durdin
a7a8cb0b72
Merge pull request #15002 from keymanapp/fix/developer/14411-handle-missing-begin-unicode
fix(developer): handle missing `begin Unicode` in KMW compiler
2025-10-24 09:19:10 +02:00
Marc Durdin
e862f533ce
Merge pull request #15001 from keymanapp/fix/developer/14988-string-escape-syntax-highlight
fix(developer): do not treat backslash as a string escape in syntax highlighting
2025-10-24 09:18:49 +02:00
Christoph Völker
15ea1f321e test(developer): use unitTestEndPoints for loadPreviousMap and clean up test 2025-10-24 08:09:14 +02:00
Christoph Völker
d57274b26d test(developer): add unit test for Warn_PreviousMapFileCouldNotBeLoaded and raise coverage threshold to 75% 2025-10-23 21:03:52 +02:00
Keyman Server
b9c50f3724
Merge pull request #15003 from keymanapp/auto/version-master-19.0.145
auto: increment master version to 19.0.145
2025-10-23 20:03:52 +02:00
Keyman Build Agent
f93b39bcd0 auto: increment master version to 19.0.145
Test-bot: skip
Build-bot: skip
2025-10-23 13:01:54 -05:00
Marc Durdin
c6a96fc457 fix(developer): handle missing begin Unicode in KMW compiler
This probably arose with the move to kmcmplib in WASM, and as it was
never unit tested, we missed it. A simple signed vs unsigned issue.

Fixes: #14411
Test-bot: skip
2025-10-23 15:08:12 +02:00
Marc Durdin
4307073464
Merge pull request #15000 from keymanapp/revert-14984-dependabot/npm_and_yarn/playwright-1.56.1
chore(web): revert "chore(deps-dev): bump playwright from 1.46.1 to 1.56.1"
2025-10-23 14:39:39 +02:00
Marc Durdin
a6f476e557 fix(developer): do not treat backslash as a string escape in syntax highlighting
Adjust two incorrect rules that caused backslash to be treated as an
escape in strings in syntax highlighting in .kmn language.

Fixes: #14988
Test-bot: skip
Build-bot: skip
2025-10-23 11:55:17 +02:00
Marc Durdin
58b56f7ed1
Revert "chore(deps-dev): bump playwright from 1.46.1 to 1.56.1" 2025-10-23 11:02:53 +02:00
Marc Durdin
75ef3d66ac
Merge pull request #14984 from keymanapp/dependabot/npm_and_yarn/playwright-1.56.1
chore(deps-dev): bump playwright from 1.46.1 to 1.56.1
2025-10-23 10:31:33 +02:00
dependabot[bot]
006f0a57cf
chore(deps-dev): bump playwright from 1.46.1 to 1.56.1
Bumps [playwright](https://github.com/microsoft/playwright) from 1.46.1 to 1.56.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.46.1...v1.56.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.56.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:55:50 +00:00
Keyman Server
8b5b733969
Merge pull request #14983 from keymanapp/auto/version-master-19.0.144
auto: increment master version to 19.0.144
2025-10-20 20:03:56 +02:00
Keyman Build Agent
2dd0dbbae4 auto: increment master version to 19.0.144
Test-bot: skip
Build-bot: skip
2025-10-20 13:01:27 -05:00
Darcy Wong
cfddda8d1e
Merge pull request #14935 from keymanapp/fix/android/style-status-bar-white
fix(android): Set the main app background white
2025-10-20 15:25:49 +07:00
Darcy Wong
3fa69fe663 fix(android): Only apply statusBarHeight in portrait orientation 2025-10-20 10:05:23 +07:00
Darcy Wong
9d32743d3a fix(android): Let textView overflow under keyboard 2025-10-20 09:34:21 +07:00
Keyman Server
6c20584b98
Merge pull request #14978 from keymanapp/auto/version-master-19.0.143
auto: increment master version to 19.0.143
2025-10-17 20:04:07 +02:00
Keyman Build Agent
dcc08caec9 auto: increment master version to 19.0.143
Test-bot: skip
Build-bot: skip
2025-10-17 13:01:42 -05:00
Eberhard Beilharz
e77d2432ef
Merge pull request #14973 from keymanapp/chore/linux/14957_parseversion
chore(linux): replace deprecated `parse_version`

`pkg_resources` which contains `parse_version` is deprecated. Latest versions output a warning. This change uses the suggested replacement, `package.version.parse` which is available in all supported Ubuntu versions.

Fixes: #14957
2025-10-17 09:15:18 +02:00