Commit graph

24978 commits

Author SHA1 Message Date
Steven R. Loomis
c594186f95
Merge pull request #9195 from keymanapp/common/8069-todo-and-coverage-epic-ldml 2023-07-05 21:24:58 -05:00
Joshua A. Horton
5cbccdc155 fix(web): yesterday's 'fix' unfortunately doesn't upload the maps 2023-07-06 08:43:18 +07:00
Steven R. Loomis
4dff5bdbc3 feat(core): kmxplus uset implementation in core 🙀
- this is the uset section, not UnicodeSet from ICU

For: #9120
2023-07-05 18:49:56 -05:00
Steven R. Loomis
5510321e04 spec(core): marker spec 🙀
- first cut

Fixes: #9118
2023-07-05 18:16:09 -05:00
Steven R. Loomis
1bea614fd5 chore(common): improve coverage, fix todos 🙀
- remove SectionCompiler.required as unused
- minor fixes to common setSplitter
- add edge case tests

for: #8069
2023-07-05 15:48:12 -05:00
Keyman Server
cc64546f68
Merge pull request #9194 from keymanapp/auto/version-master-17.0.135
auto: increment master version to 17.0.135
2023-07-06 02:40:36 +07:00
Keyman Build Agent
53abcc99af auto: increment master version to 17.0.135 2023-07-05 15:39:59 -04:00
Eberhard Beilharz
0bce446f6a
Merge pull request #9188 from keymanapp/chore/linux/docker
chore(linux): Update docker builds
2023-07-05 18:58:00 +02:00
Eberhard Beilharz
6f6a2e9269
chore: Update standards data 2023-07-05 18:16:58 +02:00
Steven R. Loomis
917e2c9e22
Merge pull request #9173 from keymanapp/fix/common-7377-multi-escape-reorder-epic-ldml
fix(common): support multichar escapes in element sets 🙀
2023-07-05 10:46:29 -05:00
Eberhard Beilharz
fee21869fb
chore(linux): Allow to run tests without integration tests 2023-07-05 17:08:06 +02:00
Steven R. Loomis
06f99f7c90
Merge pull request #9171 from keymanapp/chore/developer-7377-refactor-kmn-epic-ldml
chore(developer): refactor so KmnCompiler only created once within kmc 🙀
2023-07-05 10:03:50 -05:00
Steven R. Loomis
8c9f66b430
Merge pull request #9170 from keymanapp/fix/developer-8069-coverage-todo-epic-ldml
fix(developer): improve coverage, add todos 🙀
2023-07-05 10:03:24 -05:00
Steven R. Loomis
6f3c503ddd
Merge pull request #9144 from keymanapp/feat/developer-7377-reorder-uset
feat(developer): uset in element string 🙀
2023-07-05 10:03:05 -05:00
Eberhard Beilharz
aec3ee8ca7
Merge pull request #9130 from keymanapp/fix/linux/uninstallibus
fix(linux): Fix uninstalling keyboard for multiple languages with ibus
2023-07-05 16:29:09 +02:00
Eberhard Beilharz
28b16a4ef9
Merge pull request #9190 from keymanapp/docs/linux/readme
docs(linux): Update readme
2023-07-05 16:28:45 +02:00
Eberhard Beilharz
6b4b4fda61
Merge pull request #9165 from keymanapp/fix/linux/4769_tags
fix(linux): Remove tags from package description
2023-07-05 16:26:29 +02:00
Eberhard Beilharz
d60f30e7d9
Merge pull request #9166 from keymanapp/fix/linux/9005_AboutPage
fix(linux): Add scrollbar to About dialog
2023-07-05 16:15:33 +02:00
Eberhard Beilharz
0a0658c1ad
docs(linux): Allow to build with docker without root 2023-07-05 15:21:59 +02:00
Eberhard Beilharz
764d1c47bb
docs(linux): Update readme
Closes #9065.
2023-07-05 15:13:18 +02:00
Eberhard Beilharz
f7a593deac
Merge pull request #9167 from keymanapp/fix/linux/vertical_align
fix(linux): Fix vertical alignment of labels in About dialog
2023-07-05 14:53:49 +02:00
Eberhard Beilharz
55fbd1a814
Merge pull request #9168 from keymanapp/refactor/linux/extractions
refactor(linux): Extract methods
2023-07-05 14:53:33 +02:00
Eberhard Beilharz
67237608cb
Merge pull request #9129 from keymanapp/refactor/linux/km-config
refactor(linux): Code refactoring
2023-07-05 14:53:18 +02:00
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