Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
495ee46938 chore(web): minor extra cleanup 2024-02-29 12:59:17 +07:00
Darcy Wong
158d6dacd7
Merge pull request #10886 from keymanapp/chore/beta-b17s1
chore: Merge 17.0.270 beta back to master
2024-02-29 11:29:08 +07:00
Marc Durdin
5062bbad98 feat(developer): adds kmc message command
Realtes to #10207.

Adds a new `kmc message` command which prints detailed information about
any or all compiler messages, in JSON, text, or markdown formats.

Markdown format is emitted to file in a structured way to be deployed to
the help site automatically (coming in a subsequent commit).
2024-02-29 11:05:27 +07:00
Darcy Wong
a2cf9e646f chore(common): revert tier to alpha 2024-02-29 09:43:15 +07:00
Darcy Wong
177175a7a9 chore(common): Merge beta-17-0-270 into chore/beta-b17s1 2024-02-29 09:40:50 +07:00
Joshua A. Horton
e83ff96efb fix(android): context-initial handling with repeated-char rotation 2024-02-29 09:24:16 +07:00
Joshua A. Horton
5f524d69a6 fix(android): fixes context-change detection for repeated-char cases 2024-02-29 09:04:10 +07:00
Joshua A. Horton
7ed5ae407d fix(android): selection range indexing 2024-02-29 08:49:00 +07:00
Steven R. Loomis
f4328866b7 fix(resources): patch to bn.xml data 2024-02-28 17:22:30 -06:00
rc-swag
e7776b74a7 feat(windows): oops checkin in new system-main-pas 2024-02-29 09:05:47 +10:00
Keyman Server
20853c76cc
Merge pull request #10883 from keymanapp/auto/version-beta-17.0.279
auto: increment beta version to 17.0.279
2024-02-29 01:05:08 +07:00
Keyman Build Agent
5da309630a auto: increment beta version to 17.0.279 2024-02-28 13:04:21 -05:00
Eberhard Beilharz
973af61495
fix(linux): Fix libkeymancore-dev dependencies
This change adds `libicu-dev` as a dependency for `libkeymancore-dev`.
While it is possible to dynamically build without ICU it is required
when doing a static build.

Closes #10864 and [Debian bug #1064915](
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064915).
2024-02-28 18:58:42 +01:00
Darcy Wong
cbda2b46c7
Merge pull request #10857 from keymanapp/fix/android/subsequence-crash
fix(android/engine): Check selection indexes
2024-02-28 21:26:58 +07:00
Darcy Wong
ef2a78610e
Update android/KMEA/app/src/main/java/com/keyman/engine/KMKeyboardJSHandler.java
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-02-28 21:26:00 +07:00
Darcy Wong
76ac8d1dd5
Merge pull request #10868 from keymanapp/chore/android/cleanup-toasts
chore(android/engine): Reduce toast notifications after installations
2024-02-28 21:25:11 +07:00
Joshua Horton
062b08852e
Merge pull request #10869 from keymanapp/fix/web/caret-move-context-state-save 2024-02-28 21:22:30 +07:00
Eberhard Beilharz
8e6a032537
Merge pull request #10858 from keymanapp/docs/linux/whatsnew
docs(linux): Updated whatsnew for Keyman for Linux 17
2024-02-28 11:09:20 +01:00
Eberhard Beilharz
664b5e0d54
Update linux/help/about/whatsnew.md
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2024-02-28 10:15:45 +01:00
Marc Durdin
4bb9b39ba2 refactor(developer): reorganize messages for adding details
Moved the ERROR_Message line above the Error_Message line for every
message in the compiler message files, as it makes the grouping clearer
once we start adding message details. For example, see the start of the
KmnCompilerMessages class.

Also wraps potentially-undefined parameters to the messages with a new
function `def`, shorthand for `CompilerMessageDef`, which converts the
parameter to '<param>' if it is undefined, which is helpful for
documentation.
2024-02-28 16:00:02 +07:00
Joshua A. Horton
220351aace chore(android): per Darcy review comment 2024-02-28 14:01:05 +07:00
sgschantz
07bf055edb mostly deletions of obsolete pre-core code 2024-02-28 13:25:03 +07:00
rc-swag
4211820c05 feat(windows): Move code form dpr to unit
The IDE would put strange indents into the main loop code
in the dpr project file. This code has now been removed to
the a new unit Keyman.Configuration.System.Main
2024-02-28 15:20:55 +10:00
Marc Durdin
c7afed7201 refactor(developer): split messages with callstacks into separate generator
Relates to #10207.

In order to include message detail in messages, it is helpful to split
out the exception messages which have a separate parameter, so that
parameter at the same position can be the message detail.

Introduces the CompilerMessageSpecWithException function which takes an
exceptionVar parameter to achieve this differentiation.
2024-02-28 11:34:49 +07:00
Joshua A. Horton
f6ceef0816 chore(android): minor debug-message format tweak 2024-02-28 10:25:26 +07:00
Joshua A. Horton
0fcbb84dfa fix(web): context save-state on reset 2024-02-28 10:15:37 +07:00
Darcy Wong
36baa5845b chore(android/engine): Reduce toast notifications after installations
Remove Toast notifications for:
* Dictionary download is finished
* Resources successfully updated
2024-02-28 09:47:57 +07:00
sgschantz
10b60006bd added lowLevelBackspaceCount, eliminated redundant keymanCode 0xFF event 2024-02-28 09:37:04 +07:00
Steven R. Loomis
9c2a73a290 chore(common,developer): rename unicodeSet to uset in code
Fixes: rename unicodeSet to uset 🙀  #10657
2024-02-27 18:15:57 -06:00
Steven R. Loomis
209717a24a chore(core,developer): rename unicodeSet to uset in xml
chore(developer): rename unicodeSet to uset 🙀  #10657
2024-02-27 18:11:18 -06:00
Steven R. Loomis
828369c8a9 fix(resources): support xmlns on keyboard3
- add xmlns to schema manually

For: chore(developer): support xmlns on keyboard3 files 🙀  #10803
2024-02-27 17:58:21 -06:00
Marc Durdin
534d5ec64f refactor(developer): cleanup kmn compiler message namespaces
This is in preparation for message documentation.

Moves all messages with the KmnCompiler namespace into
KmnCompilerMessages. For now, keeps CompilerMessages class as a subclass
of KmnCompilerMessages, for removal in 18.0.

Moves messages with KmnCompiler namespace from kmw-compiler-messages.ts
to kmn-compiler-messages.ts. This avoids confusion as to source of
message, and should allow us in the future to split the classes
entirely.
2024-02-28 06:58:19 +07:00
Steven R. Loomis
db32e409db chore(resources): update to latest LDML
- maybe last 'techpreview' update

Unblocks: chore(developer): support xmlns on keyboard3 files 🙀  #10803
Unblocks: chore(developer): rename unicodeSet to uset 🙀  #10657

For: #10803
2024-02-27 17:23:53 -06:00
Eberhard Beilharz
196796b67a
feat(linux): Start dbus if not running
This change checks the DBus environment variables when initializing the
`keyman_config` module and starts DBus if the variables are not set.
This particularly happens when trying to install or uninstall a keyboard
for a different user, which will now be possible with this change.

Fixes #9363.
2024-02-27 19:13:02 +01:00
Keyman Server
b215842a7d
Merge pull request #10862 from keymanapp/auto/version-master-18.0.7
auto: increment master version to 18.0.7
2024-02-28 01:05:54 +07:00
Keyman Server
a92d475c1f
Merge pull request #10861 from keymanapp/auto/version-beta-17.0.278
auto: increment beta version to 17.0.278
2024-02-28 01:05:47 +07:00
Keyman Build Agent
ef591f74d7 auto: increment master version to 18.0.7 2024-02-27 13:05:16 -05:00
Keyman Build Agent
4d8623064c auto: increment beta version to 17.0.278 2024-02-27 13:05:11 -05:00
Eberhard Beilharz
b9ef6d7bb5
fix(linux): Replace deprecated pkg_resources module with packaging.version
Fixes #10850.
2024-02-27 17:41:07 +01:00
Eberhard Beilharz
f94650fd6a
docs(linux): Updated whatsnew for Keyman for Linux 17
Closes #10715.
2024-02-27 16:30:30 +01:00
Eberhard Beilharz
1518e1ec00
chore(linux): Merge remote-tracking branch 'origin/beta' into fix/linux/postinst 2024-02-27 16:02:26 +01:00
Eberhard Beilharz
753ae80bea
chore(linux): Merge remote-tracking branch 'origin/beta' into fix/linux/postinst 2024-02-27 16:01:36 +01:00
Darcy Wong
6a3bba4a2e fix(android/engine): Check selection indexes 2024-02-27 16:51:52 +07:00
Marc Durdin
a350e6c161
Merge pull request #10854 from keymanapp/docs/developer/10207-kmc-analyze-documentation
docs(developer): add documentation for kmc-analyze
2024-02-27 16:05:15 +07:00
Marc Durdin
e1a8ce47e3
Merge pull request #10821 from keymanapp/fix/developer/10396-repeated-options-in-kmc
fix(developer): repeated options in kmc must now be fully specified
2024-02-27 16:04:50 +07:00
Eberhard Beilharz
c4f612b6c0
Merge pull request #10828 from keymanapp/chore/linux/changelog
chore(linux): Update debian changelog
2024-02-27 10:01:43 +01:00
Eberhard Beilharz
9737ba39cd
Merge pull request #10827 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2024-02-27 10:01:29 +01:00
Marc Durdin
bfb2e53481 docs(developer): kmc-kmn api documentation and some message documentation
Relates to #10207.

Adds basic documentation for the API surfaces for kmc-kmn, and provides
documentation for a small subset of compiler messages.
2024-02-27 14:55:06 +07:00
Joshua A. Horton
b09a1ba176 change(web): concurrency lock-management ordering 2024-02-27 13:31:08 +07:00
Joshua A. Horton
fd30786ac5 feat(web): an extra unit test 2024-02-27 13:16:33 +07:00