- Aug 17, 2023
-
-
Marc Durdin authored
Moves responsibility for loading .kps into kmc-keyboard-info, away from the caller, and removes other fields with kmc-keyboard-info can calculate by itself. Have not moved project parsing into kmc-keyboard-info, because that's a bigger job, as currently that is mostly happening within kmc itself. A project for a future version I think.
-
Marc Durdin authored
-
Marc Durdin authored
-
- Aug 16, 2023
-
-
Marc Durdin authored
Also fixes a file reference issue in kmpJson.options, where paths were stripped too early in the process. Removes a now-irrelevant unit test for keyboard_info. TODO: markdown to html during the keyboard_info build.
-
Marc Durdin authored
Relates to #9351. Adds support for building a .keyboard_info file without having source .keyboard_info file: * Constructs a default source .keyboard_info in memory * Hints if license is missing * If LICENSE.md is present, verifies it matches the MIT license text * Adds project option to turn on or off metadata generation. This will default to False for version 1.0 projects, and to True for version 2.0 projects. This means that the keyboard repository will need a PR to enable metadata generation for existing projects in the repository, but this is important to avoid breaking builds for existing projects that are not in the repository. * Turns on additional c8 coverage for kmc projects
-
Marc Durdin authored
* Removes font size * Restricts font source to array * Removes example * Add examples * Loosen structure of KeyboardExample
-
Marc Durdin authored
Adds license file to .kps, kmp.json, kmc-package, package editor, and new project templates. The intent is for LICENSE.md to be the file used, and for any keyboards on keymanapp/keyboards, it should always be a standard MIT license.
-
- Aug 15, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
While a package supports a .ttf or .otf font for the OSK and Display fonts for use within the Keyman apps, on websites it also supports .woff and .woff2. This change makes it possible to specify a set of fonts for a package which will be provided through api.keyman.com to websites. This means that .woff and .woff2 fonts may also be included in the package and may not be used on target devices at this time, it further opens the pathway to deploying .kmp packages to web in the future. The deployment stage of keymanapp/keyboards will require a new phase to copy web fonts from packages to s.keyman.com.
-
- Aug 14, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
Adds relatedPackages support to: * .kps schema * .kps file format for Typescript * kmp.json file format for Typescript * kmc-package compiler * Package Editor
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
Adds info.description, options.fonts, keyboard.examples metadata to .kps and kmp.json files, updates schemas, and Typescript compiler.
-
- Aug 11, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
Removes the following fields: * legacyId * documentationFilename * documentationFileSize * links * related[].note None of these fields are needed any longer; see #9351 for steps to remove data. Eliminates difference between keyboard_info source and distribution, renaming to keyboard_info.schema.json, and updating the required members of the json accordingly. Will have corresponding commits in keyman.com, api.keyman.com, help.keyman.com, and keyboards repositories.
-
Steven R. Loomis authored
-
Steven R. Loomis authored
- simplify and improve context processing For: #9119 Co-authored-by:rc-swag <58423624+rc-swag@users.noreply.github.com>
-
- Aug 10, 2023
-
-
Steven R. Loomis authored
Co-authored-by:rc-swag <58423624+rc-swag@users.noreply.github.com>
-
Keyman Server authored
auto: increment master version to 17.0.159
-
Keyman Build Agent authored
-
Steven R. Loomis authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Steven R. Loomis authored
- move prepend_marker() to inline - clear the string in context_to_string() For: #9119
-
Steven R. Loomis authored
-
- Aug 09, 2023
-
-
Marc Durdin authored
chore(developer): improve kmc sentry reporting on fatal build errors
-
Marc Durdin authored
-
Marc Durdin authored
feat(developer): add 'default' property for longpress keys
-
Marc Durdin authored
-
Marc Durdin authored
chore: stats script parameters
-
Marc Durdin authored
-
rc-swag authored
feat(windows): Use Keyboard Activated event API call to turn off caps lock (if required)
🚏 -
rc-swag authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Marc Durdin authored
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) ``` -
Steven R. Loomis authored
-
Marc Durdin authored
chore(linux): Disable Mantic builds on Launchpad
-
Keyman Server authored
auto: increment master version to 17.0.158
-
Keyman Build Agent authored
-