Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
124a0794f1
chore(linux): Update docker builds
- add keyman ppa and update to patched ibus
- install nodejs 18
- update documentation
2023-07-05 12:19:51 +02:00
Eberhard Beilharz
c6419a9e4c
chore(linux): Add clarifying comment 2023-07-05 11:57:23 +02:00
Eberhard Beilharz
9f5ac8eb4a
fix(linux): Fix uninstalling keyboard for multiple languages with ibus
After this change uninstalling a keyboard will remove all installed
language/keyboard combinations for that particular keyboard.
Previously we only uninstalled for the first language listed in the
keyboard.
2023-07-05 11:57:23 +02:00
Eberhard Beilharz
1b63cf59b4
chore(linux): Address code review comments 2023-07-05 11:56:55 +02:00
Eberhard Beilharz
e02b1514da
refactor(linux): Some refactorings 2023-07-05 11:56:54 +02:00
Eberhard Beilharz
66461b7677
feat(linux): Remove message box if same kbd version already installed
We no longer ask the user if he tries to install a keyboard that is
already installed with the same version. The only time we ask is for
downgrades.

A similar change is implemented in `km-package-install` where we
changed the logic to match `install_window.py`. We now silently
install the new version unless it's a downgrade in which case we
output a error message and exit. This change also introduces the
`--force` parameter which allows to install the downgrade. For
upgrades or re-installing the same version it will cause an
uninstall of the current version first.
2023-07-05 11:56:54 +02:00
Eberhard Beilharz
4775c522bb
refactor(linux): Allow to install keyboard for multiple languages
This change makes it possible to install the same keyboard again
for a different language. It won't be visible in the GUI if the
keyboard is installed for more than language, but it will show up
for the installed languages in the keyboard dropdown.

Closes #8619.
2023-07-05 11:56:53 +02:00
Eberhard Beilharz
9b7070b8a6
fix(linux): Remove tags from package description
This is a temporary workaround - see discussion on #8057. While
this is not the perfect solution it should improve things in most
cases.

Fixes #4769.
2023-07-05 11:43:32 +02:00
Eberhard Beilharz
76f0979f3c
fix(linux): Add scrollbar to About dialog
Fixes #9005.
2023-07-05 11:42:51 +02:00
Eberhard Beilharz
d7d5d3220e
fix(linux): Fix vertical alignment of labels in About dialog 2023-07-05 11:41:16 +02:00
Eberhard Beilharz
595b19b9a0
refactor(linux): Extract methods 2023-07-05 11:40:42 +02:00
Eberhard Beilharz
ad1919da29
refactor(linux): Revert type hints
Turns out `list[str] | None` doesn't work with Python < 3.9 which
comes with Ubuntu 20.04 Focal, so we revert that change.
2023-07-05 11:39:33 +02:00
Eberhard Beilharz
481cb4a281
refactor(linux): Code refactoring 2023-07-05 11:39:33 +02:00
Joshua Horton
3c77839de3
Merge pull request #9179 from keymanapp/fix/web/sentry-sourcemapping
fix(web): re-establishes web srcmap uploading
2023-07-05 12:55:29 +07:00
Joshua Horton
915021e7dd
Merge pull request #9175 from keymanapp/fix/web/inline-osk-test-page
fix(web): fixes up Web's InlinedOSK manual test page
2023-07-05 12:55:14 +07:00
Joshua Horton
2c6b395d3d
Merge pull request #9092 from keymanapp/chore/ios/rework-main-build-script
chore(ios): standardizes iOS build scripts
2023-07-05 12:55:03 +07:00
Joshua A. Horton
1918352a7d fix(web): right, no 'npm run' for sentry-cli now 2023-07-05 10:50:49 +07:00
Marc Durdin
413e32f389 fix(developer): strip pure whitespace from key text in kvks reader
Fixes #9184.

kmcomp was unable to track pure whitespace in .kvks files. To match this
behaviour, we should strip pure space whitespace from key element values
in .kvks files only.
2023-07-05 10:19:46 +07:00
Marc Durdin
0a9c95feb4 fix(developer): off-by-one index calculations in js output
Fixes #9185.
2023-07-05 10:08:18 +07:00
Marc Durdin
aa999180c0 fix(developer): kmc: cleanup handling of whitespace in import files
Fixes #9183.

* CSS: blank line required at EOF if not present, but only if the CSS
  file was not empty!
* Embedded HTML needs a blank line at EOF if not present
* `\r` is converted to `\\n` and `\n` is converted to ` `, to match
  kmcomp
2023-07-05 10:03:31 +07:00
Joshua A. Horton
fe23fbb855 fix(web): use proper git-tag for Sentry upload 2023-07-05 10:02:27 +07:00
Marc Durdin
2d31055f74 fix(developer): escape font name correctly in vk
Fixes #9182.
2023-07-05 09:54:25 +07:00
Joshua A. Horton
40067b36fb fix(web): fixes sim-device swapping aspect 2023-07-05 09:53:17 +07:00
Marc Durdin
a2c54599a9 fix(developer): call statements were misreferenced in kmc
Fixes #9181.

Two issues:

* First use of a `call` statement had an incorrect index (misuse of
  `push` return value)
* The .call_js files were incorrectly prepended with the basename of the
  keyboard
2023-07-05 09:52:15 +07:00
Marc Durdin
7ac6bfc189 fix(developer): kmc - support bitmap field in .kvk/kvks files
Fixes #9180.
2023-07-05 09:45:59 +07:00
Marc Durdin
c11393b834 fix(developer): strip default values when compiling touch layout
Fixes #9178.

The values `pad`, `width`, and `hint` should not be emitted in a
compiled touch layout file, if they have default values of `0`, `0`,
or `""`, respectively. This matches the legacy kmcomp pattern.
2023-07-05 09:40:08 +07:00
Marc Durdin
1a06133d9d fix(developer): vk constants requires K_oDF and K_?C1
Fixes #9177.

Some imported visual keyboards include `K_oDF` or `K_?C1` key codes.
These are not made visible in the UI but as they are "valid" VK codes,
they should not cause an error.
2023-07-05 09:37:41 +07:00
Joshua A. Horton
3b22c198c1 fix(web): re-establishes web srcmap uploading 2023-07-05 09:32:12 +07:00
Joshua A. Horton
ff3e108ff2 fix(web): fixes up Web's InlinedOSK manual test page 2023-07-05 08:17:13 +07:00
Steven R. Loomis
50f0b3112a Merge remote-tracking branch 'upstream/master' into chore/common-8950-node18-engine 2023-07-04 15:51:37 -05:00
Steven R. Loomis
049b8c0a86 chore(common): update docs around Node.js 2023-07-04 15:49:19 -05:00
Steven R. Loomis
d8a57418b0
Merge branch 'master' into feat/developer-7377-reorder-uset 2023-07-04 15:25:18 -05:00
Steven R. Loomis
2370f97cbe
Merge branch 'chore/developer-7377-refactor-kmn-epic-ldml' into fix/common-7377-multi-escape-reorder-epic-ldml 2023-07-04 15:20:09 -05:00
Steven R. Loomis
5588e3fc34
Merge branch 'fix/developer-8069-coverage-todo-epic-ldml' into chore/developer-7377-refactor-kmn-epic-ldml 2023-07-04 15:19:44 -05:00
Steven R. Loomis
b6992d378b fix(developer): improve coverage, add todos 🙀
- fix to the fix

for: #8069
2023-07-04 15:05:10 -05:00
Eberhard Beilharz
aaa1fd1ae4
Merge pull request #9172 from keymanapp/fix/linux/packaginggha
fix(linux): Fix packaging GHA
2023-07-04 21:42:04 +02:00
Keyman Server
81b18cfde2
Merge pull request #9174 from keymanapp/auto/version-master-17.0.134
auto: increment master version to 17.0.134
2023-07-05 01:35:55 +07:00
Keyman Build Agent
aa0ba8fb7d auto: increment master version to 17.0.134 2023-07-04 14:35:21 -04:00
Steven R. Loomis
8cd846f298 fix(common): support multichar escapes in element sets 🙀
- \u{22 0127} acts like \u{22}\u{0127}

for: #7377
2023-07-04 12:47:58 -05:00
Eberhard Beilharz
9afbbcd7f9
fix(linux): Fix packaging GHA
Revert to relative paths.
2023-07-04 19:35:48 +02:00
Steven R. Loomis
a5af734160 chore(developer): refactor so KmnCompiler only created once within kmc 🙀
- remove async SectionCompiler.init()  and all callers
- the usetparser lives on the DependencySections, initialized by kmc-ldml (and by the test harnesses)

for: #7377
2023-07-04 11:39:57 -05:00
Steven R. Loomis
69c9ddc99e fix(developer): improve coverage, add todos 🙀
- skip coverage on some actual internal errors
- add todos where coverage is needed

for: #8069
2023-07-04 11:10:05 -05:00
Steven R. Loomis
e8c24c5df1
Merge branch 'master' into feat/developer-7377-reorder-uset 2023-07-04 11:09:16 -05:00
Steven R. Loomis
1126cfb9a2 chore(developer): robust reorder tests 🙀
For: #7377
2023-07-04 10:50:03 -05:00
Eberhard Beilharz
a63ce22260
Merge pull request #9169 from keymanapp/fix/linux/packaginggha
fix(linux): Fix packaging GHA
2023-07-04 17:31:00 +02:00
Steven R. Loomis
52b8dfb205 feat(common): preflighting on uset 🙀
- update docs on UnicodeSet
- uset parser: fix/clarify that the wasm interface takes a bufferSize, but the ts interface takes a range count. This was muddled before.

For: #7377
2023-07-04 10:26:50 -05:00
Eberhard Beilharz
f1989b65b6
fix(linux): Fix packaging GHA
Next iteration of fixing packaging GHA.
2023-07-04 16:53:33 +02:00
Eberhard Beilharz
58f4d11f52
Merge pull request #9164 from keymanapp/fix/linux/packaginggha
fix(linux): Fix packaging GHA
2023-07-04 16:12:35 +02:00
Eberhard Beilharz
2ab9777c07
fix(linux): Fix packaging GHA
Use absolute path to source directory.
2023-07-04 15:51:00 +02:00
Marc Durdin
8ebc849345 fix(developer): kmc/kmw was not stripping codes correctly
Fixes #9156.

The compiler was only skipping the first codepoint in a CODE sequence.
2023-07-04 14:48:36 +07:00