Commit graph

24978 commits

Author SHA1 Message Date
Eberhard Beilharz
50a9500c2a
Merge pull request #9312 from keymanapp/fix/linux/9213_Error-after-uninstall
fix(linux): Reword error if uninstalling non-existent keyboard
2023-07-20 18:35:09 +02:00
Eberhard Beilharz
ea469710d3
Merge pull request #9313 from keymanapp/refactor/linux/user
refactor(linux): Use better way to get username
2023-07-20 18:34:36 +02:00
dependabot[bot]
8f72f61cbb
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 11:17:39 +00:00
Eberhard Beilharz
2f25d198f4
fix(linux): Output not connected ibus as info instead of warning
There is nothing the user can do, and it's usually irrelevant
(except when troubleshooting).
2023-07-20 11:11:43 +02:00
Eberhard Beilharz
8a34a5d6ce
refactor(linux): Some refactorings 2023-07-20 11:09:55 +02:00
Eberhard Beilharz
33603c0f71
refactor(linux): Use better way to get username
`getpass.getuser()` tries several different ways to get the username
and is the recommended way of getting the username.
2023-07-20 11:04:04 +02:00
Eberhard Beilharz
8058d50999
fix(linux): Also output username 2023-07-20 10:48:50 +02:00
Eberhard Beilharz
b814bdd9fa
fix(linux): Reword error if uninstalling non-existent keyboard
This change reworks the output we show if the user tries to
uninstall a non-existing keyboard. This could be trying to uninstall
a shared keyboard when a user keyboard exists and vice versa. This
change rewords the message to include the area (shared/user), so
hopefully this makes it a bit clearer. We also now output this as a
warning instead of an error.

Completely suppressing the message as suggested in #9213 doesn't seem
to be the right way as that would lead to the user blaming uninstall
to not work when the real reason are wrong parameters.

Closes #9213.
2023-07-20 10:11:14 +02:00
Steven R. Loomis
96b11d8a73 feat(core): transform/reorder passing tests! 🙀
- remove a debug print call

#7375
2023-07-19 18:14:01 -05:00
Steven R. Loomis
c4c5f5ee6a
Merge branch 'master' into feat/core/7375-merge-transform-path-epic-ldml 2023-07-19 18:07:44 -05:00
Steven R. Loomis
7f07f951ae feat(core): transform/reorder passing tests! 🙀
- reorder now handles runs, where a run starts at primary=0
- reorder still returns as if it had matched/altered the entire string

#7375
2023-07-19 18:07:19 -05:00
Steven R. Loomis
9fc62790b9 feat(core): transform/reorder processing a little less broken 🙀
#7375
2023-07-19 15:29:38 -05:00
Keyman Server
2cd8f3c789
Merge pull request #9311 from keymanapp/auto/version-master-17.0.144
auto: increment master version to 17.0.144
2023-07-20 01:03:16 +07:00
Keyman Build Agent
6b6a8b1cb9 auto: increment master version to 17.0.144 2023-07-19 14:02:39 -04:00
Eberhard Beilharz
12165d73bc
fix(linux): Fix logging
We can't initialize Sentry during module initialization because our
`initialize_sentry` logs some status info. Setting the logging level
later on is then a no-op, breaking verbose and very-verbose logging.

This change fixes this by putting Sentry initialization into a
separate method that gets called after we set the log level.

Also refactor some common code into methods that appear in all our
executables.
2023-07-19 19:47:28 +02:00
Eberhard Beilharz
9255a56fe0
Merge pull request #9309 from keymanapp/chore/linux/wayland-tests
chore(linux): Fix running tests with Wayland
2023-07-19 18:20:17 +02:00
Eberhard Beilharz
c616be6bf1
refactor(linux): Move common code to included file 2023-07-19 17:39:34 +02:00
Eberhard Beilharz
6622c70fd2
chore(linux): Fix running tests with Wayland
Because we passed in a wrong parameter (`--wayland`) but checked for
just `wayland` we never run the tests with Wayland. This change
rectifies this.
2023-07-19 16:22:31 +02:00
Eberhard Beilharz
81f46e1a6d
feat(linux): Minimize tags before adding keyboards
This ensures that bcp47 language tags are in a form the OS
understands.
2023-07-19 16:20:27 +02:00
Eberhard Beilharz
152d36a654
fix(linux): Fix installation of keyboards with lang tag mul
We now use the canonical tag without appending the script (unless
necessary).

Fixes #8620.
2023-07-19 12:01:52 +02:00
Eberhard Beilharz
499572f9b0
Merge pull request #9277 from keymanapp/docs/linux/doc
docs(linux): Update documentation
2023-07-19 11:09:41 +02:00
Eberhard Beilharz
3ec45837d2
Merge pull request #9291 from keymanapp/chore/linux/verbose
docs(linux): Update man page and remove do-nothing option
2023-07-19 11:08:54 +02:00
Joshua Horton
6581dbbbdb
chore(web): Apply suggestions from code review 2023-07-19 15:36:02 +07:00
Joshua A. Horton
6b5b847b02 fix(web): syncs timestamps of active contact points, paths 2023-07-19 15:26:13 +07:00
Marc Durdin
6fde628f31
Merge pull request #9289 from keymanapp/refactor/developer/9288-remove-node-deps-from-kmc-model
refactor(developer): remove node deps from kmc-model 🗜
2023-07-19 18:25:27 +10:00
Marc Durdin
1034d6944c
Merge pull request #9287 from keymanapp/refactor/developer/9286-remove-node-deps-from-kmc-model-info
refactor(developer): remove node dependencies from kmc-model-info 🗜
2023-07-19 18:25:18 +10:00
Marc Durdin
23b9f7bf93
Merge pull request #9283 from keymanapp/chore/developer/9272-work-around-experimental-json-modules
chore(developer): work around experimental JSON modules in node 🗜
2023-07-19 18:25:08 +10:00
Marc Durdin
ea6f8c1882
Merge pull request #9281 from keymanapp/feat/developer/add-model-info-keyboard-info-to-kmc-build-activities
feat(developer): add model_info and keyboard_info build activities to kmc 🗜
2023-07-19 18:25:01 +10:00
Marc Durdin
85d3c20943
Merge branch 'feature-kmc-kmw' into feat/developer/add-model-info-keyboard-info-to-kmc-build-activities 2023-07-19 18:24:51 +10:00
Marc Durdin
de69ffea84
Merge pull request #9280 from keymanapp/feat/developer/kmc-model-info-tests
feat(developer): unit tests for kmc-model-info 🗜
2023-07-19 18:24:30 +10:00
Marc Durdin
2a1bbad5f8
chore: Update common/web/types/src/util/compiler-interfaces.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-19 18:23:42 +10:00
Joshua Horton
042f33ecc9
Merge pull request #9275 from keymanapp/chore/web/gesture-unit-test-touchup
chore(web): gesture-engine unit test touchup 🐵
2023-07-19 15:23:39 +07:00
Joshua Horton
bae0e940ff
Merge pull request #9267 from keymanapp/feat/web/gesture-path-matching
feat(web): gesture model touch-contact-path evaluation 🐵
2023-07-19 15:23:32 +07:00
Joshua Horton
cc1eae24a9
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-19 15:23:22 +07:00
Joshua Horton
bd303220ac
Merge pull request #9294 from keymanapp/chore/web/ci-gesture-testing
chore(web): connects gesture-recognizer tests for Web CI testing 🐵
2023-07-19 15:23:13 +07:00
Joshua Horton
1cf0110849
chore(web): Apply suggestions from code review 2023-07-19 15:23:06 +07:00
Marc Durdin
f639d1e6d2
Update common/web/types/src/util/file-types.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-19 18:22:15 +10:00
Marc Durdin
45dc9761d2
chore: Update common/web/types/build.sh 2023-07-19 18:16:59 +10:00
Marc Durdin
794bf8a3be chore(developer): use kmc messages for kmc-model-info
Fixes #9305.
2023-07-19 15:15:54 +07:00
Marc Durdin
6d291f6f10
Merge branch 'fix/developer/9296-9297-9298-9299-9300-compiler-warning-tweaks' into fix/developer/9302-double-add-of-keyboard_info 2023-07-19 18:14:59 +10:00
Marc Durdin
ab80e3c292 fix(developer): LexicalModelCompiler now takes a callbacks constructor parameter 2023-07-19 15:14:08 +07:00
Joshua A. Horton
d31118c63d fix(web): allows registering precached keyboards 2023-07-19 14:21:59 +07:00
Marc Durdin
e731e1acb5 fix(developer): don't add .keyboard_info twice
Fixes #9302.
2023-07-19 14:13:41 +07:00
Marc Durdin
fd8e17e05c fix(developer): respect checkFilenameConventions in kmc
Fixes #9300.
2023-07-19 13:56:21 +07:00
Marc Durdin
79a31b1914 fix(developer): clean up warning KM02093
Fixes #9299.
2023-07-19 12:57:57 +07:00
Marc Durdin
bf1fa7ef71 fix(developer): use relative paths for KM05009
Fixes #9298. Previous commit partially fixed this as well.

Throws in: warning colour changed to orange to differentiate from line
number colour.
2023-07-19 12:56:49 +07:00
Marc Durdin
db2f708bf8 fix(developer): consistently show filename for messages in kmc
Fixes #9297.
2023-07-19 12:56:11 +07:00
Marc Durdin
0ec7ae8ccf fix(developer): reduce KM0208A to info severity
Fixes #9296.

208A in kmcmplib is the awkwardly-named CWARN_Info. We now have an
'info' severity in kmc, so this tidies that up (we can keep the same
flag in kmcmplib for now).
2023-07-19 12:54:20 +07:00
Joshua A. Horton
230ede74f7 fix(web): cherrypicked code generic mismatch 2023-07-19 12:04:30 +07:00
Steven R. Loomis
a70bf69082
Merge pull request #9292 from keymanapp/spec/core-7375-maps-epic-ldml 2023-07-18 23:30:03 -05:00