Commit graph

1966 commits

Author SHA1 Message Date
Eberhard Beilharz
b0b605709a
refactor(linux): Don't free consts 2022-11-11 18:44:28 +01:00
Eberhard Beilharz
b3a20f16eb
Merge pull request #7683 from keymanapp/chore/linux/standards
chore(linux): Update Debian standards version
2022-11-11 08:25:56 +01:00
Eberhard Beilharz
f7f2a00f66
Merge pull request #7682 from keymanapp/chore/linux/cherry-pick/beta/changelog
chore(linux): Update debian changelog 🍒
2022-11-11 08:25:44 +01:00
Eberhard Beilharz
31340b5b51
refactor(linux): Use consts instead of strings
This refactoring makes use of the already defined strings.
It also simplifies setting the values by directly specifying an
UTF-16 string.

Motivated by the changes in PR #7667.
2022-11-10 19:56:35 +01:00
Eberhard Beilharz
26516e65d8
chore(linux): Update Debian standards version
This removes a warning on the Debian package page
(https://tracker.debian.org/pkg/keyman).
2022-11-10 18:08:23 +01:00
Eberhard Beilharz
33e59ed40e
chore(linux): Update debian changelog
(cherry picked from commit acdb16fd7e)
2022-11-10 17:42:46 +01:00
Eberhard Beilharz
d030678fa5
chore(linux): Update debian changelog
(cherry picked from commit acdb16fd7e)
2022-11-10 17:39:56 +01:00
Eberhard Beilharz
b0c11a660e
chore(linux): Update debian changelog
(cherry picked from commit 3b3d4e9e7e)
2022-11-10 17:38:19 +01:00
Eberhard Beilharz
053ee52281
fix(linux): Fix keyboard icon in system tray
Show the keyboard specific icon in the system tray on Wasta instead
of the generic keyman one.

Fixes #7547.
2022-11-10 09:11:44 +01:00
Eberhard Beilharz
a780cc47f5
Merge pull request #7492 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2022-11-10 09:03:40 +01:00
Darcy Wong
77d43c08aa
Update linux/help/about/whatsnew.md
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-11-10 07:35:42 +07:00
Eberhard Beilharz
38557ccb89
chore(linux): Update debian changelog
(cherry picked from commit 3b3d4e9e7e)
2022-11-09 18:32:49 +01:00
Darcy Wong
8b93717206 chore(linux): tweak line about reordering 2022-11-09 09:13:54 +07:00
Darcy Wong
37248899f6 chore(linux): Update whatsnew 2022-11-09 08:55:34 +07:00
Marc Durdin
fc6b496834 chore: update help version and whatsnew 2022-11-01 08:15:57 +11:00
Darcy Wong
d04893b638
Merge pull request #7558 from keymanapp/chore/help-16-0
chore(common): Update help references from 15.0 to 16.0
2022-10-28 07:32:04 +07:00
Darcy Wong
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
5cf0ae6d64 chore(common): Update help references from 15.0 to 16.0 2022-10-27 13:05:38 +07:00
Marc Durdin
deeb246783
Merge pull request #7084 from keymanapp/fix/linux/improvecontext
fix(linux): Improve setting context
2022-10-26 12:34:24 +11:00
Marc Durdin
ad4a673df7
Merge pull request #7504 from keymanapp/fix/linux/7490_package
fix(core): Add missing include files
2022-10-26 12:33:53 +11:00
Marc Durdin
3a264bed22 chore(linux): revert folder rename 2022-10-26 12:33:12 +11:00
Marc Durdin
cc620dc067 chore(linux): rename tests to test 2022-10-26 12:30:39 +11:00
Darcy Wong
1bc6e6a06f chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Darcy Wong
8b781cdcff chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
Marc Durdin
c37a15b317 chore(core): update linux test makefile refs to debuglog 2022-10-25 06:33:44 +11:00
Marc Durdin
5321538d1d
Merge pull request #7503 from keymanapp/chore/linux/clearify
chore(linux): call `reset_context` instead of `...focus_in`
2022-10-25 06:23:42 +11:00
Eberhard Beilharz
f6afee246e
fix(linux): Add packaging tests
The tests in `debian/tests` build a program against libkmnkbp-dev to verify
that all headers and pkg-config are included and installed correctly.
2022-10-20 17:04:11 +02:00
Eberhard Beilharz
7b3f891eb9
chore(linux): Rename internal method to commit_string
The previous method name `ibus_keyman_engine_commit_string`
suggests that this method is overridden from ibus-engine class.
However, while it is true that ibus-engine has a
`ibus_engine_commit_string` method it can't be overridden. This
change renames the method to make it clearer that this is an internal
method that won't be called by ibus.
2022-10-20 09:34:28 +02:00
Eberhard Beilharz
e529052dc5
chore(linux): call reset_context instead of ...focus_in
Both `ibus_keyman_engine_reset` and `ibus_keyman_engine_focus_in`
are methods that get called by ibus. Having `ibus_keyman_engine_reset`
call `ibus_keyman_engine_focus_in` makes it much harder to see in
log files which methods get really called by ibus.

This change replaces the call of `...focus_in` with `reset_context`,
which is what `...focus_in` does as well. The only other thing that
`ibus_keyman_engine_focus_in` does in addition to that is calling
`ibus_engine_register_properties` - which shouldn't be necessary on
a reset (besides that we don't seem to do anything with the one
status property we register).
2022-10-20 09:22:11 +02:00
Eberhard Beilharz
cfe0998b2e
refactor(linux): Comment unused methods
Closes #7297.
2022-10-20 09:06:27 +02:00
Eberhard Beilharz
448baad79d
refactor(linux): Replace tabs with spaces 2022-10-20 09:02:48 +02:00
Eberhard Beilharz
d4283754df
refactor(linux): Refactor alignment of params 2022-10-20 09:02:48 +02:00
Eberhard Beilharz
2dab491a10
chore(linux): Always output function name in debug messages 2022-10-20 08:56:58 +02:00
Eberhard Beilharz
2663aa738c
chore(linux): Improve debug output 2022-10-20 08:56:36 +02:00
Darcy Wong
081c23c798 chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +07:00
Marc Durdin
df34c064c7 chore: Merge branch 'feature-ldml' into chore/merge-master-into-feature-ldml 2022-10-20 06:33:57 +11:00
Eberhard Beilharz
ed3a804a7d
fix(linux): Fix upload script 2022-10-19 17:49:34 +02:00
Eberhard Beilharz
50ea6ef19f
docs(linux): Update installation requirements in README.md 2022-10-18 10:25:32 +02:00
Eberhard Beilharz
f4410616e8
fix(linux): Fix tests
The previous changes didn't work when we output a character +
deadkey. In response to outputting the character we get a
`ibus_keyman_engine_set_surrounding_text` call in which we
called `reset_context` which removed the deadkey marker. This change
fixes this problem by comparing the surrounding text with the
context we already have. Only if it's different we reset the
context.
2022-10-17 20:27:04 +02:00
Eberhard Beilharz
696f683d0e
chore(linux): address code review comments 2022-10-13 11:13:28 +02:00
Marc Durdin
0945b92732 chore: Merge branch 'master' into chore/merge-master-into-feature-ldml 2022-10-13 13:38:31 +11:00
Eberhard Beilharz
d2262f2223
refactor(linux): Some refactorings
- adjust indentation of `reset_context`
- move variable definition to block where they're used
- make use of method to detect surrounding text support
2022-10-12 21:19:10 +02:00
Eberhard Beilharz
bad0feea9b
fix(linux): Improve setting context
This change always gets the context from the surrounding text
if `reset_context` gets called. This helps when the user puts the
IP after a certain character. Previously we basically lost the
context, with this change we restore the context so that it's like
the user just typed the previous characters.
2022-10-12 21:14:26 +02:00
Steven R. Loomis
f668f6db7c
Merge pull request #7435 from keymanapp/chore/linux/7102-nodejs-docker
chore(linux): Add Node.js to the docker container
2022-10-12 11:03:46 -05:00
Eberhard Beilharz
c891f870b6
fix(linux): Fix make install
Several fixes for building and installing locally.

Fixes #7397. Closes #7398. Closes #7400.
2022-10-12 12:28:46 +02:00
Eberhard Beilharz
1e8e598cd3
chore(linux): Update readme
This change adds separate READMEs for the legacy projects, and
removes mentioning of the legacy projects in the current READMEs.
The motivation is to make it later easier to remove the legacy
projects, as well as reducing the efforts to testing the README with
legacy projects. Since legacy projects aren't maintained anymore
it doesn't make sense to still have them in the regular README,
suggesting that the instructions work for the legacy projects as
well.
2022-10-12 12:28:46 +02:00
Steven R. Loomis
71ed48ba2e chore(linux): Add Node.js to the docker container
- used in feature-ldml

Relates to #7102
2022-10-11 15:57:55 -05:00
Eberhard Beilharz
bcd29634bf
feat(linux): Address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-11 18:44:30 +02:00
Eberhard Beilharz
908dfbeefb
feat(linux): Optimize if surrounding text is supported
Only send fake event if client does not support surrounding text.
2022-10-11 18:44:30 +02:00
Eberhard Beilharz
e6601f205c
feat(linux): match state of original event when creating fake event
We forward a fake event for both keydown and keyup. This change
will set the flag on the fake event so that we get keydown and keyup.
This is probably not technically necessary, but it helps in
debugging because you can then see that both fake events still
belong to the same keypress.
2022-10-11 18:44:30 +02:00