Commit graph

22320 commits

Author SHA1 Message Date
Marc Durdin
2f42dd41f0
Merge pull request #9937 from keymanapp/chore/common/npm-prepublish-remove
chore(common): remove prepublish step from package.json
2023-11-06 14:57:43 +11:00
Marc Durdin
3e3fb92d59
Merge pull request #9924 from keymanapp/chore/developer/remove-CompileErrorCodes
chore(developer): remove compile.pas and CompileErrorCodes.pas
2023-11-06 14:57:35 +11:00
Eberhard Beilharz
33eae05cb0
Merge branch 'master' into fix/linux/9878_fixpkgenv 2023-11-04 21:35:52 +07:00
Marc Durdin
c5c5b35415 chore(common): remove prepublish step from package.json
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.
...
```
2023-11-04 07:34:18 +07:00
Keyman Server
8782d32a59
Merge pull request #9936 from keymanapp/auto/version-master-17.0.206
auto: increment master version to 17.0.206
2023-11-04 01:09:49 +07:00
Keyman Build Agent
46caf92ba2 auto: increment master version to 17.0.206 2023-11-03 14:09:17 -04:00
Steven R. Loomis
791a9aea44
Merge pull request #9919 from keymanapp/chore/developer/9838-cldr44-moredata-epic-ldml
feat(common): ldml update to WIP cldr data 🙀
2023-11-03 12:29:51 -05:00
Marc Durdin
7878864c44
Merge pull request #9935 from keymanapp/chore/developer/9929-common-include-dep-for-kmcmplib
chore(developer): common/include dep for kmcmplib
2023-11-03 18:50:45 +11:00
Marc Durdin
0605d48c94
Merge pull request #9934 from keymanapp/chore/developer/9925-remove-obsolete-settings
chore(developer): remove obsolete 'Allow Multiple Instances' and 'Use Legacy Compiler' options
2023-11-03 18:50:38 +11:00
Marc Durdin
c6fdb76121
Merge pull request #9932 from keymanapp/fix/developer/9930-kmc-invalid-for-context-n-in-context
fix(developer): kmc code generation for context(n) in context
2023-11-03 18:43:06 +11:00
Marc Durdin
fa30924b54 chore(developer): common/include dep for kmcmplib
Fixes #9929.
2023-11-03 13:31:45 +07:00
Marc Durdin
3336539ec5 chore(developer): remove obsolete 'Allow Multiple Instances' and 'Use Legacy Compiler' options
Fixes #9925.

Allow Multiple Instances is now always true.
Use Legacy Compiler did nothing (there is no legacy compiler!).
2023-11-03 13:24:05 +07:00
Marc Durdin
186132dcb9 fix(developer): kmc code generation for context(n) in context
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%.
2023-11-03 12:29:56 +07:00
Eberhard Beilharz
a5e6966d74
Merge pull request #9877 from keymanapp/chore/linux/9801_apiversion
chore(linux): Add Core API version number 🎬
2023-11-03 10:13:48 +07:00
Eberhard Beilharz
0667411a2e
Merge pull request #9866 from keymanapp/refactor/linux/packagingScript
chore(linux): Refactor deb-packaging.sh script 🎬
2023-11-03 10:12:54 +07:00
Eberhard Beilharz
8c508051b7
Merge pull request #9865 from keymanapp/chore/linux/9548_manualTrigger
chore(linux): Improve repository_dispatch 🎬
2023-11-03 10:12:07 +07:00
Marc Durdin
cd5be3d819
Merge pull request #9917 from keymanapp/fix/developer/9845-server-no-osk-always-visible-on-touch
fix(developer): don't use osk-always-visible on touch devices
2023-11-03 12:22:41 +11:00
Marc Durdin
1ffa3e2494
Merge pull request #9913 from keymanapp/fix/developer/8147-use-KeymanWeb.Codes
fix(developer): use KeymanWeb.Codes for 17.0+
2023-11-03 12:21:34 +11:00
Steven R. Loomis
09411eba33 feat(common): ldml update to WIP cldr data 🙀
- 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
2023-11-02 17:44:14 -05:00
Keyman Server
19c5164449
Merge pull request #9928 from keymanapp/auto/version-master-17.0.205
auto: increment master version to 17.0.205
2023-11-03 01:05:42 +07:00
Keyman Build Agent
fd1e6bde10 auto: increment master version to 17.0.205 2023-11-02 14:05:06 -04:00
Eberhard Beilharz
517c300abc
chore(linux): Revert to repository_dispatch
This addresses code review comments. Also add readme how to manually
trigger a GHA build, e.g. for testing changes to the GHA.
2023-11-02 22:42:49 +07:00
Eberhard Beilharz
6adfa8a9cf
fix(linux): Fix environment for Debian packages
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.
2023-11-02 22:18:02 +07:00
Marc Durdin
6f6e07975b chore(developer): remove compile.pas and CompileErrorCodes.pas
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.
2023-11-02 13:12:28 +07:00
Marc Durdin
a1c1658880
Merge pull request #9906 from keymanapp/fix/developer/9444-line-breaks-in-debugger
fix(developer): enable line breaks in debugger
2023-11-02 15:09:27 +11:00
Marc Durdin
38d2c92ecf
Merge pull request #9922 from keymanapp/fix/developer/7851-restore-selection-to-same-key-in-layout-builder
fix(developer): restore selection in layout builder even with duplicate ids
2023-11-02 15:06:32 +11:00
Marc Durdin
6be9fe6012
Merge pull request #9921 from keymanapp/fix/developer/8000-warn-if-layer-switch-key-missing-id
fix(developer): warn if layer switch key is missing ID
2023-11-02 15:06:23 +11:00
Marc Durdin
328f80847f
Merge pull request #9920 from keymanapp/chore/developer/rename-compiler-messages
chore(developer): rename messages.ts for clarity
2023-11-02 15:06:15 +11:00
Marc Durdin
e052178231
Merge pull request #9910 from keymanapp/feat/developer/7891-compile-button-in-toolbar
feat(developer): Compile button in TIKE toolbar
2023-11-02 15:06:03 +11:00
Marc Durdin
a98e5f6837
Merge pull request #9908 from keymanapp/fix/developer/7880-error-if-virtual-key-in-context
fix(developer): raise error if virtual key in context string
2023-11-02 15:05:54 +11:00
Marc Durdin
d9e759a8d2 chore(developer): address review comments 2023-11-02 11:05:23 +07:00
Marc Durdin
4341fc00b0
Merge pull request #9859 from keymanapp/feat/developer/9858-kmc-keyboard-info-extract-font-family
feat(developer): extract font family from .ttf in kmc-keyboard-info
2023-11-02 15:03:09 +11:00
Marc Durdin
c01a37145a chore(developer): address review comments 2023-11-02 11:02:20 +07:00
Marc Durdin
0dac92da57
Merge pull request #9914 from keymanapp/fix/developer/7852-layout-builder-maintain-presentation-during-undo
fix(developer): layout builder - maintain presentation during undo
2023-11-02 14:54:50 +11:00
Marc Durdin
539cfc18d3
Merge pull request #9907 from keymanapp/fix/developer/enable-and-update-tests
fix(developer): enable and update unit tests
2023-11-02 14:53:52 +11:00
Marc Durdin
067b7767c7
Merge pull request #9905 from keymanapp/fix/developer/9849-open-editor-links-in-new-window
fix(developer): open editor links in new window
2023-11-02 14:53:36 +11:00
Marc Durdin
7fec53af81
Merge pull request #9904 from keymanapp/chore/developer/9853-related-package-id-label
chore(developer): change field label to 'Related Package ID' in Related Packages dialog
2023-11-02 14:53:15 +11:00
Marc Durdin
2f227b61ed
Merge pull request #9903 from keymanapp/chore/common/9854-SchemaValidator-error-management
chore(common): fixup SchemaValidators error handling
2023-11-02 14:52:54 +11:00
Marc Durdin
edde4ed76d
Merge pull request #9902 from keymanapp/fix/developer/9899-project-mru
fix(developer): Project MRU now saves correctly
2023-11-02 14:51:33 +11:00
Marc Durdin
45b5db1974
Merge pull request #9844 from keymanapp/chore/developer/verify-kmp-json-output-from-kmc-package
chore(developer): verify kmp.json output from kmc-package
2023-11-02 14:50:50 +11:00
Marc Durdin
9dad46107a
Merge pull request #9901 from keymanapp/fix/developer/9885-debug-flag-not-working-in-tike
fix(developer): debug flag for compiling keyboards
2023-11-02 14:49:56 +11:00
Marc Durdin
e333632d81
Merge pull request #9898 from keymanapp/fix/developer/9889-compiler-crash-without-project
fix(developer): compiler crash when no project loaded
2023-11-02 14:49:43 +11:00
Marc Durdin
bb23a53678
Merge branch 'fix/developer/9885-debug-flag-not-working-in-tike' into fix/developer/8147-use-KeymanWeb.Codes 2023-11-02 14:48:13 +11:00
Marc Durdin
5e2a91b3bb
Merge branch 'fix/developer/9889-compiler-crash-without-project' into fix/developer/9885-debug-flag-not-working-in-tike 2023-11-02 14:47:54 +11:00
Marc Durdin
67ec7a5fa2
Merge branch 'master' into fix/developer/9889-compiler-crash-without-project 2023-11-02 14:47:40 +11:00
Marc Durdin
e2ecf5726c
chore: Apply suggestions from code review 2023-11-02 14:17:49 +11:00
Joshua Horton
b4843b25ab
Merge pull request #9891 from keymanapp/fix/web/default-layer-display-when-not-first
fix(web): fixes doc-kbd display of default layer when it's not defined first
2023-11-02 09:57:24 +07:00
Marc Durdin
bd2315dbac fix(developer): restore selection in layout builder even with duplicate ids
Fixes #7851.

Note that this fixes the selection pop issue with duplicate ids in some
scenarios but not all. For example, the undo stack doesn't have enough
detail at this point to be able to track this. This fix addresses the
most egregious issue relating to key size adjustment and similar.
2023-11-01 10:43:48 +07:00
Marc Durdin
15523dfe11 fix(developer): warn if layer switch key is missing ID
Fixes #8000.

In earlier versions of KeymanWeb, it was assumed that layer switch keys
would not necessarily need an identifier, as they would not be
generating a standard KeymanWeb key event. However, this assumption does
not really hold, so we should be warning on missing identifiers for
layer switch keys.
2023-11-01 09:48:13 +07:00
Marc Durdin
0ec76f0761 chore(developer): rename messages.ts for clarity
Renames two messages.ts to kmn-compiler-messages.ts and
kmw-compiler-messages.ts, as otherwise confusion reigns.

Also a minor cleanup of the error messages from touch layout processing,
to clarify message names and return appropriate message for missing
layout file.
2023-11-01 09:30:31 +07:00