Commit graph

21442 commits

Author SHA1 Message Date
Keyman Build Agent
442900a52b auto: increment master version to 17.0.159 2023-08-09 14:06:08 -04:00
Marc Durdin
add9a43f9e
Merge pull request #9441 from keymanapp/chore/developer/report-fatal-compiler-errors-to-sentry
chore(developer): improve kmc sentry reporting on fatal build errors
2023-08-09 18:35:53 +10:00
Marc Durdin
0692b8200a chore: address review comments 2023-08-09 15:35:33 +07:00
Marc Durdin
22f7bdc011
Merge pull request #9432 from keymanapp/feat/developer/9430-default-long-press
feat(developer): add 'default' property for longpress keys
2023-08-09 18:32:32 +10:00
Marc Durdin
087c68f4ca
chore: Apply suggestions from code review 2023-08-09 18:32:20 +10:00
Marc Durdin
9e45159e9e
Merge pull request #9431 from keymanapp/chore/stats-script-reverb
chore: stats script parameters
2023-08-09 18:28:51 +10:00
Marc Durdin
efe3c707d8
chore: Apply suggestions from code review 2023-08-09 18:28:41 +10:00
rc-swag
7e8e7be86f
Merge pull request #9353 from keymanapp/feat/windows/5822/notify-core-on-kbd-activation
feat(windows): Use Keyboard Activated event API call to turn off caps lock (if required) 🚏
2023-08-09 14:12:00 +10:00
rc-swag
e79cfc90d2
feat(windows): review comment
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-09 12:59:59 +10:00
Marc Durdin
fa19eea873 chore(developer): improve kmc sentry reporting on fatal build errors
kmc already reported unhandled exceptions, but any handled fatal errors
were captured and only reported to the user. It is better to report
these to Sentry as these are still unexpected.

I have refactored all the fatal exception messages in various kmc
modules to use a common mechanism, keeping all the Sentry integration in
kmc, now passing exception data up in the `CompilerEvent.exceptionVar`
property.

* I took the opportunity to rename messages.ts to
  infrastructureMessages.ts

* @types/chai was missing which gave intellisense errors in vscode

* normal exit of kmc now provides an opportunity for error reports to
  Sentry to be finalized

* Added a unit test for fatal errors in kmc

* Added a manual test pathway with `SENTRY_CLIENT_TEST_BUILD_EXCEPTION`
  env var to trip the build fatal error mechanism and verify that it
  looks ok; the following shows test runs demonstrate how fatal build
  errors are reported:

```
mcdurdin@THARK MINGW64 /c/Projects/keyman/app/developer/src/kmc (chore/developer/report-fatal-compiler-errors-to-sentry)
$ SENTRY_CLIENT_TEST_BUILD_EXCEPTION=1 node . --error-reporting build
fatal KM05001: Unexpected exception: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION

Call stack:
Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION
    at build (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:78:19)
    at Command.<anonymous> (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:66:24)
    at Command.listener [as _actionHandler] (C:\Projects\keyman\app\node_modules\commander\lib\command.js:482:17)
    at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:65
    at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12)
    at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:27)
    at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1081:27
    at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12)
    at Command._dispatchSubcommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1077:23)
    at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1248:19)

    This error has been automatically reported to the Keyman team.
      Identifier:  6f0fca1a26694c22b03f02b2463d39c5
      Application: Keyman Developer
      Reported at: https://sentry.io/organizations/keyman/projects/keyman-developer/events/6f0fca1a26694c22b03f02b2463d39c5/

mcdurdin@THARK MINGW64 /c/Projects/keyman/app/developer/src/kmc (chore/developer/report-fatal-compiler-errors-to-sentry)
$ SENTRY_CLIENT_TEST_BUILD_EXCEPTION=1 node . --no-error-reporting build
fatal KM05001: Unexpected exception: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION

Call stack:
Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION
    at build (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:78:19)
    at Command.<anonymous> (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:66:24)
    at Command.listener [as _actionHandler] (C:\Projects\keyman\app\node_modules\commander\lib\command.js:482:17)
    at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:65
    at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12)
    at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:27)
    at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1081:27
    at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12)
    at Command._dispatchSubcommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1077:23)
    at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1248:19)
```
2023-08-09 09:34:44 +07:00
Marc Durdin
0d957937ed
Merge pull request #9435 from keymanapp/chore/linux/launchpad
chore(linux): Disable Mantic builds on Launchpad
2023-08-09 08:40:07 +10:00
Keyman Server
f7ab7dba43
Merge pull request #9437 from keymanapp/auto/version-master-17.0.158
auto: increment master version to 17.0.158
2023-08-09 01:02:51 +07:00
Keyman Build Agent
dadf174273 auto: increment master version to 17.0.158 2023-08-08 14:02:18 -04:00
Eberhard Beilharz
ab7a1a952a chore(linux): Disable Mantic builds on Launchpad
Mantic builds currently fail because there's a newer ibus version in
the official Ubuntu repos that overrides our patched ibus version.
Ubuntu is trying to get ibus 1.5.29-beta to work so there are often
new packages. We wait until that stabilized before we're providing a
new patched ibus version at which point we can enable building for
Ubuntu 23.10 Mantic.

Closes #9428.
2023-08-08 14:02:48 +02:00
Eberhard Beilharz
93731dba8d
Merge pull request #9413 from keymanapp/fix/linux/smallfixes
fix(linux): fix memory leaks and method name
2023-08-08 13:51:25 +02:00
Marc Durdin
c02f5ab419 feat(developer): add 'default' property for longpress keys
Fixes #9430.

Adds a 'default' property to subkeys, only used by longpress-type
subkeys:

* Added property to schema and readers/writers
* Added property to touch layout validator
* Added editor for property to layout builder
2023-08-08 14:20:52 +07:00
Marc Durdin
d4c7486662 chore: stats script parameters 2023-08-08 13:07:16 +07:00
Keyman Server
574e8505fd
Merge pull request #9429 from keymanapp/auto/version-master-17.0.157
auto: increment master version to 17.0.157
2023-08-08 01:10:08 +07:00
Keyman Build Agent
030e17580a auto: increment master version to 17.0.157 2023-08-07 14:09:30 -04:00
rc-swag
3bcd919922
feat(windows): review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-07 12:08:09 +10:00
Marc Durdin
49d471ba17
Merge pull request #8954 from keymanapp/feature-kmc-kmw
epic: kmc-kmw KeymanWeb compiler in Typescript 🗜
2023-08-07 11:37:39 +10:00
Keyman Server
c53ec3ce38
Merge pull request #9425 from keymanapp/auto/version-master-17.0.156
auto: increment master version to 17.0.156
2023-08-06 01:02:50 +07:00
Keyman Build Agent
854c50917c auto: increment master version to 17.0.156 2023-08-05 14:02:17 -04:00
Steven R. Loomis
d88c04df97
Merge pull request #9374 from keymanapp/feat/developer/9119-marker-update-spec-epic-ldml
chore(developer): update markers per review 🙀
2023-08-04 14:12:49 -05:00
Keyman Server
db8e82937e
Merge pull request #9424 from keymanapp/auto/version-master-17.0.155
auto: increment master version to 17.0.155
2023-08-05 01:03:18 +07:00
Keyman Build Agent
e786c40998 auto: increment master version to 17.0.155 2023-08-04 14:02:49 -04:00
Marc Durdin
c92f28e5f7
Merge pull request #9420 from keymanapp/chore/merge-master-into-feature-kmc-kmw-a17s18
chore: merge master into feature-kmc-kmw (A17S18) 🗜
2023-08-04 18:56:45 +10:00
Darcy Wong
f305cf303b
Merge pull request #9419 from keymanapp/chore/common/history-16-0
chore(common): Update history.md with 16.0 stable entries
2023-08-04 13:00:50 +07:00
Marc Durdin
cdf026c2ba chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-feature-kmc-kmw-a17s18 2023-08-04 12:54:10 +07:00
Darcy Wong
c172dd31cb chore(common): Update history.md with 16.0 stable entries 2023-08-04 11:31:00 +07:00
Joshua Horton
9bd12cb7f4
Merge pull request #9409 from keymanapp/fix/web/lm-worker-es5-minification
fix(web): forgot to target es5 when minifying polyfilled worker
2023-08-04 09:16:14 +07:00
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
Darcy Wong
1127071d65
Merge pull request #9410 from keymanapp/chore/gha-crowdin-daily
chore(common): Update crowdin GHA to trigger daily
2023-08-04 06:48:30 +07:00
Steven R. Loomis
9598148a30 feat(developer): fix basic.txt for updated markers 🙀
#9119
2023-08-03 15:29:10 -05:00
Keyman Server
a211dd0e56
Merge pull request #9414 from keymanapp/auto/version-master-17.0.154
auto: increment master version to 17.0.154
2023-08-04 01:03:38 +07:00
Keyman Build Agent
4ff375cba7 auto: increment master version to 17.0.154 2023-08-03 14:03:03 -04:00
Steven R. Loomis
af05f5155e chore(developer): test fix
For: #9119
2023-08-03 12:39:49 -05:00
Eberhard Beilharz
5a03371052
fix(linux): Get name, not version 2023-08-03 17:04:17 +02:00
Eberhard Beilharz
aac11a2c1e
chore(linux): Fix memory leaks 2023-08-03 17:04:16 +02:00
Eberhard Beilharz
464f702b00
Merge pull request #9400 from keymanapp/chore/linux/gha-environment
chore(linux): Properly treat test builds with packaging GHA
2023-08-03 09:25:33 +02:00
Darcy Wong
ca1c15c8bd chore(common): Update crowdin GHA to trigger daily 2023-08-03 14:20:14 +07:00
Eberhard Beilharz
19fef7f25a
Merge pull request #9399 from keymanapp/chore/linux/gha
chore(linux): Remove Kinetic from GHA
2023-08-03 09:03:18 +02:00
Joshua Horton
11fcac112c
Merge pull request #9397 from keymanapp/fix/web/active-target-maintenance
fix(web): maintenance of focus when changing keyboard via Toolbar UI
2023-08-03 10:14:32 +07:00
Joshua Horton
bdff790eb9
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-03 10:14:22 +07:00
Ross
85ad6125bf feat(windows): typos 2023-08-03 13:09:12 +10:00
rc-swag
ba572f1f31
feat(windows): apply suggestions from code review 2023-08-03 13:08:11 +10:00
Joshua A. Horton
d69d67fa03 fix(web): forgot to target es5 when minifying polyfilled worker 2023-08-03 10:00:06 +07:00
Ross
792899c124 feat(windows): add ProcessActionsExternalEvent 2023-08-03 12:12:57 +10:00
Marc Durdin
166e0ca992
Merge pull request #9395 from keymanapp/chore/developer/9394-not-a-project-file
chore(developer): add Error_NotAProjectFile 🗜
2023-08-03 11:01:43 +10:00