- Nov 08, 2023
-
-
Eberhard Beilharz authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
- Nov 07, 2023
-
-
Eberhard Beilharz authored
One reason for the sometimes small text on the spacebar besides the too small font size on `kmw-spacebar-caption` was that the calculation of the ideal font size added double padding: it added two pixels of padding to the height, but also multiplied the height value by 0.9 which effectively added more padding. This change removes the 2 pixel padding from the calculation. The existing calculation varies the text size to fit in the available width of the spacebar, so calculating with font size of 1em is reasonable and better than the previous 0.6em. The previous value would lead to even an smaller font size for long texts, far below the size that would be sufficient to fit the text.
-
Eberhard Beilharz authored
The caption on the spacebar used to be 60%. This change increases it to 100%, but that might be sometimes too big. On the other hand, 80% still seemed to be too small. Fixes #7940.
-
Keyman Server authored
auto: increment master version to 17.0.207
-
Keyman Build Agent authored
-
- Nov 06, 2023
-
-
Marc Durdin authored
fix(developer): resilience in loading Server config and cache files
-
Marc Durdin authored
fix(developer): Sentry in Server should honour reporting settings
-
Marc Durdin authored
feat(developer): provide line number for some kmw compiler messages
-
Marc Durdin authored
chore(common): remove prepublish step from package.json
-
Marc Durdin authored
chore(developer): remove compile.pas and CompileErrorCodes.pas
-
Marc Durdin authored
Merge branch 'fix/developer/9939-sentry-support-in-server' into fix/developer/9848-resilient-cache-state-loading
-
Marc Durdin authored
-
Marc Durdin authored
Fixes #9848. Root cause of #9848 is unknown, because the cache state file was filled with nul bytes. It is unclear how that could have happened, but seems likely to be external interference. The cascade was that Server failed to start because it would crash when attempting to load the cache state file. So this fix resolves that by handling invalid file exceptions.
-
Marc Durdin authored
Fixes #9939. Uses refactored KeymanSentry.ts in developer-utils and updates the loader in Server to run from that. The changes to tray.ts and friends are required to deal with a top-level await issue with the shutdown call. The top-level await issue is described in detail at https://marc.durdin.net/2023/11/dynamic-import-on-node-js-with-circular-dependencies-leads-to-interesting-failure-modes/ tl;dr: shutdown needed to do a proper Sentry shutdown. The shutdown code was in index.ts. This led to a circular dependency and caused a silent and abrupt exit code 13 in Node.js. Moved shutdown code into shutdown.ts to resolve this.
-
- Nov 05, 2023
-
-
Marc Durdin authored
Relates to #9939. Splits KeymanSentry.ts into common functionality in developer-utils, and TestKeymanSentry.ts.
-
Marc Durdin authored
Adds line number context for: * Error_VirtualCharacterKeysNotSupportedInKeymanWeb * Error_VirtualKeysNotValidForMnemonicLayouts * Warn_ExtendedShiftFlagsNotSupportedInKeymanWeb * Hint_UnreachableKeyCode * Warn_HelpFileMissing * Warn_EmbedJsFileMissing * Error_NotAnyRequiresVersion14 Line number metadata is not easily accessible where the following messages are generated, so these are a potential future improvement: * Warn_OptionStoreNameInvalid * Error_NotSupportedInKeymanWebStore
-
Marc Durdin authored
Fixes #9931. Provide additional line and file context for some KeymanWeb compiler messages. This change requires debug data in the intermediate kmx data provided to the kmw compiler, which should have no impact on the final .js if debug=false. This commit only addresses line number data in Error_NotSupportedInKeymanWebContext and Error_NotSupportedInKeymanWebOutput. There are other compiler messages which could benefit from this data: * Warn_OptionStoreNameInvalid * Error_VirtualCharacterKeysNotSupportedInKeymanWeb * Error_VirtualKeysNotValidForMnemonicLayouts * Warn_ExtendedShiftFlagsNotSupportedInKeymanWeb * Hint_UnreachableKeyCode * Error_NotSupportedInKeymanWebStore * Warn_HelpFileMissing * Warn_EmbedJsFileMissing * Error_NotAnyRequiresVersion14
-
- Nov 04, 2023
-
-
Eberhard Beilharz authored
-
Marc Durdin authored
Given we've just run a build, this (a) seems unnecessary, and (b) seems to go wrong in some circumstances anyway, e.g. https://build.palaso.org/buildConfiguration/Keyman_Developer_Release/421326?buildTab=log&focusLine=19936&linesState=18839&logView=flowAware: ``` 07:01:29 > @keymanapp/kmc@17.0.205-alpha prepublishOnly 07:01:29 > npm run build 07:01:29 07:01:31 07:01:31 > @keymanapp/kmc@17.0.205-alpha build 07:01:31 > tsc -b 07:01:31 07:01:35 ../../../common/web/types/build/src/kmx/kmx.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts. 07:01:35 ../../../common/web/types/build/src/kmx/kmx.d.ts(1,2): error TS1345: An expression of type 'void' cannot be tested for truthiness. ... ```
-
Keyman Server authored
auto: increment master version to 17.0.206
-
Keyman Build Agent authored
-
Steven R. Loomis authored
feat(common): ldml update to WIP cldr data
🙀
-
- Nov 03, 2023
-
-
Marc Durdin authored
chore(developer): common/include dep for kmcmplib
-
Marc Durdin authored
chore(developer): remove obsolete 'Allow Multiple Instances' and 'Use Legacy Compiler' options
-
Marc Durdin authored
fix(developer): kmc code generation for context(n) in context
-
Marc Durdin authored
Fixes #9929.
-
Marc Durdin authored
Fixes #9925. Allow Multiple Instances is now always true. Use Legacy Compiler did nothing (there is no legacy compiler!).
-
Marc Durdin authored
Fixes #9930. * Fixes the index offset calculation, with +1 for >=v10.0 keyboards and -1 for <v10.0 keyboards (difference is because older version keyboards have context offsets calculated in the opposite direction). Note that this happened because the `CODE_CONTEXTEX` index is stored in memory as 0-based in kmc, but was 1-based in kmcomp. * Adds unit tests for v9.0 and v10.0 keyboards for `context(n)` in context. * Adds unit tests for v9.0 and v10.0 keyboards for `context(n)` in output. These were already correct but now we can be assured that they are being tested. * Enables code coverage for kmw-compiler, and sets a lower threshold for pass because coverage is still just over 70%.
-
Eberhard Beilharz authored
chore(linux): Add Core API version number
🎬 -
Eberhard Beilharz authored
chore(linux): Refactor deb-packaging.sh script
🎬 -
Eberhard Beilharz authored
chore(linux): Improve repository_dispatch
🎬 -
Marc Durdin authored
fix(developer): don't use osk-always-visible on touch devices
-
Marc Durdin authored
fix(developer): use KeymanWeb.Codes for 17.0+
-
Steven R. Loomis authored
- bn-bengali with a basic test - fr-optimise - note: disabling bengali reorders for now, not working properly due to tertiary reordering feat(core): tertiary reorders
🙀 #9707 For: #9916 -
Keyman Server authored
auto: increment master version to 17.0.205
-
Keyman Build Agent authored
-
- Nov 02, 2023
-
-
Eberhard Beilharz authored
This addresses code review comments. Also add readme how to manually trigger a GHA build, e.g. for testing changes to the GHA.
-
Eberhard Beilharz authored
When didn't set the correct environment when building Debian packages with GitHub actions. The version information wasn't included in the source file but instead was generated at binary package build time, at which time not all necessary environment variables were available. This change will create a patch file on-the-fly which gets included in the source package that contains the correct information. Fixes #9878.
-
Marc Durdin authored
Fixes #9923. These are no longer used because we now use kmc for builds. This also means that the kmcomp-x64-structures test is no longer required, because that was used to keep the Delphi and C++ structures in sync. There are some minor details around error message identifiers that are still present in a handful of places, but they are work for another time.
-
Marc Durdin authored
fix(developer): enable line breaks in debugger
-