Commit graph

1063 commits

Author SHA1 Message Date
Eberhard Beilharz
f1dcb71127
chore(linux): Run ibus-keyman tests as part of build
Part of #5613.
2021-11-22 15:40:37 +01:00
Eberhard Beilharz
07fb8084ee
chore(linux): Fix unit tests
Array has to be NULL terminated.
2021-11-22 15:40:17 +01:00
Eberhard Beilharz
65d1a3f9a0
chore(linux): Improve run-tests.sh script
Part of #5613.
2021-11-22 15:40:17 +01:00
Eberhard Beilharz
b9428c9ae8
chore(linux): Remove unused test methods
This change removes the pre-edit related test methods since we
don't use the pre-edit option.
2021-11-19 15:10:56 +01:00
Darcy Wong
c98ac9880c
Merge pull request #5841 from keymanapp/chore/common/crowdin-ff-ng
chore(common): Check in crowdin strings for Fulfulde Nigeria
2021-11-17 09:24:35 +07:00
Eberhard Beilharz
8f708a55e2
Merge pull request #5883 from keymanapp/chore/linux/comments
chore(linux): Update method comments
2021-11-16 07:55:54 +01:00
Darcy Wong
31b4fee7d0
Merge pull request #5857 from keymanapp/common/crowdin-mfi
chore(common): Check in crowdin strings for Mandara (Wandala)
2021-11-16 09:24:07 +07:00
Eberhard Beilharz
d8ee425eb2
chore(linux): fix memory allocation in keymanutil.c
Also add unit tests for keyman_put_options_todconf.
2021-11-15 19:22:04 +01:00
Darcy Wong
a44b300adb Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ff-ng 2021-11-15 09:15:43 +07:00
Darcy Wong
0c03a8b65a
Merge pull request #5839 from keymanapp/chore/common/crowdin-bwr
chore(android,linux,windows): Check in crowdin strings for Bura-Pabir
2021-11-15 08:10:31 +07:00
Eberhard Beilharz
642bad8d7d
fix(linux): fix freeing of options 2021-11-08 12:38:00 +01:00
Eberhard Beilharz
be7dd09cb0
chore(linux): Address code review comments 2021-11-08 12:02:30 +01:00
Eberhard Beilharz
16ebd7e653
Merge pull request #5884 from keymanapp/chore/linux/5613-unittests
chore(linux): fix failing ibus-keyman tests 🎫
2021-11-08 10:16:32 +01:00
Eberhard Beilharz
65fc5efce5
Merge pull request #5885 from keymanapp/chore/linux/removetests
chore(linux): cleanup defunct tests 🎫
2021-11-08 10:15:35 +01:00
Darcy Wong
7de5c724d8 Merge remote-tracking branch 'origin/master' into common/crowdin-mfi 2021-11-08 07:50:59 +07:00
Darcy Wong
5b9cc959fe chore(common): Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ff-ng 2021-11-08 07:30:10 +07:00
Darcy Wong
0c19f04245 chore(common): Merge remote-tracking branch 'origin/master' into chore/common/crowdin-bwr 2021-11-08 07:28:53 +07:00
Eberhard Beilharz
5e6585717d chore(linux): fix run-tests.sh script
Part of #5613.
2021-11-05 22:35:09 +01:00
Eberhard Beilharz
2974ac03d7
chore(linux): Cleanup
Remove unnecessary functionality from test client. Part of #5613.
2021-11-05 18:48:34 +01:00
Eberhard Beilharz
2095d98c14
chore(linux): Update method comments 2021-11-05 16:27:22 +01:00
Eberhard Beilharz
78da8aa33a
chore(linux): fix _delete_surrounding in ibus-keyman test client
Part of #5613.
2021-11-05 16:26:15 +01:00
Eberhard Beilharz
2ab39581eb
chore(linux): set options before running test
Part of #5613.
2021-11-05 16:26:04 +01:00
Eberhard Beilharz
ce4ced05a6
chore(linux): cleanup defunct tests
The previously existing ibus-keyman tests didn't work reliably and
were never executed automatically. This change removes them.
2021-11-05 15:56:37 +01:00
Eberhard Beilharz
2caaffd4e5
chore(linux): Fix build
# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #5613" to your commit message.
2021-11-05 12:00:37 +01:00
Eberhard Beilharz
cdee19e953
chore(linux): Add integration tests for ibus-keyman
This change adds integration/regression tests for ibus-keyman. It
re-uses the unit tests that we have for core.

Also modifies one test so that the context doesn't use characters
used in the keyboard. This makes it easier to setup in ibus-keyman
tests.
2021-11-04 09:22:28 +01:00
Eberhard Beilharz
db5b9db23b
refactor(linux): Remove unused variables 2021-11-03 19:05:43 +01:00
Eberhard Beilharz
29451ac5e8
chore(linux): Extract keycode_to_vk[] to separate header file
This will allow to use the array in unit tests.

# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #5613" to your commit message.
2021-10-29 18:22:56 +02:00
Eberhard Beilharz
b4208c90b8
chore(linux): Set correct version number on ibus component 2021-10-28 10:36:23 +02:00
Darcy Wong
a0228c6c30 chore(common): Check in crowdin strings for Mandara (Wandala) 2021-10-26 15:18:51 +07:00
Darcy Wong
dddfc8c64c chore(common): Check in crowdin strings for Fulfulde Nigeria
These use the locale `ff-NG` in contrast to the existing Pulaar-Fulfulde locale `ff-ZA`.
2021-10-20 11:18:22 +07:00
Darcy Wong
d54ba65eb4 chore(common): Check in crowdin strings for Bura-Pabir 2021-10-19 16:14:03 +07:00
Darcy Wong
c5005728da Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ha 2021-10-16 16:03:29 +07:00
Marc Durdin
024a36da9f
Merge pull request #5787 from keymanapp/chore/sentry-io
chore: sentry.io dsn 👮‍♂️
2021-10-06 07:32:43 +11:00
Marc Durdin
c951b35083 chore(linux): use secret in legacy sentry setup 2021-10-05 09:30:17 +11:00
Eberhard Beilharz
003d7810fd
chore(linux): Update changelog files for 14.0.282
This updates the changelog files to match what got uploaded into
Debian unstable (sid).

(cherry picked from commit b531ea187c)

# Conflicts:
#	common/core/desktop/debian/changelog
#	linux/debian/changelog
#	linux/ibus-keyman/debian/changelog
2021-10-04 17:35:07 +02:00
Eberhard Beilharz
41c6f6940b
Merge pull request #5758 from keymanapp/fix/linux/cherry/5756
fix(linux): Don't crash displaying keyboard details 🍒
2021-10-04 12:22:26 +02:00
Eberhard Beilharz
ad80128ded
Merge pull request #5755 from keymanapp/fix/linux/cherry/5753
fix(linux): Don't crash with non-keyboard package file 🍒
2021-10-04 12:21:39 +02:00
Marc Durdin
3219b44624 chore: sentry.io dsn 2021-10-04 15:01:36 +11:00
Eberhard Beilharz
1fd26dcf88
fix(linux): Fix debian package script 2021-09-29 12:35:19 +02:00
Darcy Wong
ef1be0cecb chore(common): Check in crowdin strings for Hausa 2021-09-29 10:47:56 +07:00
Eberhard Beilharz
6f31014ba0
fix(linux): Don't crash displaying keyboard details
At least one user got a crash trying to click on the "About" button
to display keyboard details for the ekwtamil99uni keyboard. I can't
reproduce the problem, but this change adds additional code that
should prevent the crash from happening.

Fixes #5756.

(cherry picked from commit 3d44b9987d)
2021-09-27 17:43:51 +02:00
Eberhard Beilharz
ed1746d3d0
fix(linux): Don't crash with non-keyboard package file
If a user tries to a install a model .kmp file, we now display a
message box instead of crashing.

Fixes #5753.

(cherry picked from commit 98e1269ae2)
2021-09-27 17:07:35 +02:00
Darcy Wong
d089b962af chore(common): Check in crowdin strings for Shuwa Latin 2021-09-21 14:42:58 +07:00
Darcy Wong
349ed55840 chore(common): Update strings
* also includes untranslated strings (fallback to English)
2021-09-16 08:29:29 +07:00
Darcy Wong
091628aed2 chore(common): Update additional strings 2021-09-14 06:08:13 +07:00
Darcy Wong
42197c896b chore(common): Check in crowdin strings for simplified Chinese 2021-09-13 12:16:58 +07:00
Eberhard Beilharz
df156672a3
Merge pull request #5655 from keymanapp/fix/linux/language
fix(linux): Use first keyboard language if none given
2021-09-01 09:05:47 +02:00
Eberhard Beilharz
27cede213c
fix(linux): Fix km-config man page
Previously the included file replaced the entire description,
including the parameters. With this change the text from the include
file gets added to the beginning of the description.
2021-08-31 08:26:07 +02:00
Eberhard Beilharz
8eb2a3c738
fix(linux): Fix launch of km-config
km-config provides a .desktop file that allows the user to start
the configuration app like any other app. Unfortunately, a recent
change that improved the consistency of the manual pages broke
that because the .desktop file used to call km-config with the
parameter `-i` (plus file if given). With the recent change `-i`
now requires a filename, which caused `km-config` to output an error
and quit. For the user this looked like it didn't do anything.

This change adds the file/url as a new optional positional parameter
while keeping the existing `-i`/`--install` parameter.
2021-08-31 08:26:07 +02:00
Eberhard Beilharz
fe0e423433
fix(linux): Use first keyboard language if none given
This fixes a bug introduced in #3290 where we added using the
language from search. Unfortunately that broke things in a lot of
other places because we didn't test for the empty string.
2021-08-27 11:04:42 +02:00