Commit graph

1376 commits

Author SHA1 Message Date
Kevin Schluensen
28baf30135 Add status output 2023-01-18 18:27:37 +01:00
Kevin Schluensen
b7c27886c0 chore(linux): log failures to km_kbp_context_clear(context)
Fixes #7540
2023-01-18 12:57:13 +01:00
Eberhard Beilharz
87025202e3
Merge pull request #8008 from TheSchlunz/TheSchlunz/issue8004
bug(linux): Empty keyboard after failed installation
2023-01-12 17:03:42 +01:00
Eberhard Beilharz
19a82a9ac8
Merge pull request #8006 from TheSchlunz/issue6288
feat(linux): Display error messages in the UI
2023-01-12 10:48:24 +01:00
Kevin Schluensen
a3e57bf3f0 bug(linux): Empty keyboard after failed installation
Fixes #8004
2023-01-11 15:12:55 +01:00
Kevin Schluensen
6bc87991e0 feat(linux): Display error messages in the UI
Fixes #6288
2023-01-11 13:58:46 +01:00
Eberhard Beilharz
f79cdf8976
Merge pull request #8002 from keymanapp/chore/linux/refactor
chore(linux): Refactor completion script
2023-01-11 08:52:02 +01:00
Eberhard Beilharz
903be8738c
Merge pull request #7995 from keymanapp/feat/linux/3501_List-fonts-in-uninstall-dlg
feat(linux): List fonts in the uninstall confirmation dialog
2023-01-10 14:21:59 +01:00
Eberhard Beilharz
c5938fab8e
chore(linux): Fix more warnings 2023-01-10 12:29:45 +01:00
Eberhard Beilharz
c9fad367f8
chore(linux): Fix shellcheck warnings 2023-01-10 11:40:12 +01:00
Eberhard Beilharz
7df84301b0
chore(linux): Refactor completion script 2023-01-10 10:46:37 +01:00
Eberhard Beilharz
d54beee0ab
feat(linux): List fonts in the uninstall confirmation dialog
Fixes #3501
2023-01-09 16:52:09 +01:00
Eberhard Beilharz
fb58ddd04a
feat(linux): Add Back button to "Download Keyman Keyboards" dialog
Fixes #4828
2023-01-09 14:46:17 +01:00
Eberhard Beilharz
16067a36fd
chore(linux): Remove unnecessary variable
We can directly use `logging.error` instead of `logging.log`. Then
we don't need the `severity` variable.
2023-01-06 18:50:40 +01:00
Steven R. Loomis
73a6a92e63
Merge pull request #7958 from keymanapp/fix/linux/ibus-prefilter-test
fix(linux): add IBUS_HAS_PREFILTER ifdef to linux/ibus-keyman/tests
2023-01-02 12:05:38 -06:00
Eberhard Beilharz
1e703d5df0
Merge pull request #7920 from keymanapp/chore/linux/reconf
chore(linux): Remove unused JENKINS parameter
2023-01-02 11:59:01 +01:00
Steven R. Loomis
fdb2f6bf08 fix(linux): add IBUS_HAS_PREFILTER ifdef to linux/ibus-keyman/tests/ibusimcontext.c 2022-12-30 15:52:45 -06:00
Marc Durdin
d9eae3869d
Merge branch 'master' into chore/a17s2-beta-to-master 2022-12-23 08:44:42 +11:00
Eberhard Beilharz
3f03a40f10
chore(linux): Remove unused JENKINS parameter
This change removes the unused JENKINS environment variable
from `reconf.sh`. The code got refactored some time ago to use
the common scripts to retrieve the version. That made the JENKINS
variable obsolete.
2022-12-16 20:45:26 +01:00
Eberhard Beilharz
8aa4e88a7f
fix(linux): Fix dependency of ibus-keyman
When we added the API check we introduced a mis-spelled dependency
which lead to Keyman being uninstallable. This change fixes things.

(cherry picked from commit 29fe7dae59)
2022-12-16 16:40:48 +01:00
Eberhard Beilharz
29fe7dae59
fix(linux): Fix dependency of ibus-keyman
When we added the API check we introduced a mis-spelled dependency
which lead to Keyman being uninstallable. This change fixes things.
2022-12-16 16:31:44 +01:00
Marc Durdin
e1ce5d9f40
Merge branch 'master' into chore/beta-to-master 2022-12-14 06:50:32 +11:00
Eberhard Beilharz
7b3de475da
Merge pull request #7813 from keymanapp/chore/linux/updateTests
refactor(linux): Update ibusimcontext.c
2022-12-10 19:57:15 +01:00
Eberhard Beilharz
8873ab5bcb
chore(linux): Fix make install
Another attempt to fix #7400.
2022-12-09 12:40:40 +01:00
Marc Durdin
25abcbc10a
Merge branch 'master' into chore/beta-to-master 2022-12-09 20:47:31 +11:00
Eberhard Beilharz
a43a6d47df
chore(linux): Fix failing tests 2022-12-09 10:16:59 +01:00
Eberhard Beilharz
ae1c816afb
Merge pull request #7874 from keymanapp/chore/linux/shellcheckwarnings
chore(linux): Remove some shellcheck warnings
2022-12-07 09:02:48 +01:00
Eberhard Beilharz
531cf174fa
Merge pull request #7873 from keymanapp/chore/linux/removebionic
chore(linux): Remove building for Bionic
2022-12-07 09:02:33 +01:00
Eberhard Beilharz
8a14372e0a
chore(linux): Improve package build
During package builds on Debian servers the build often failed
with an error related to X11 when running the tests. This change
skips the tests in `linux/ibus-keyman/src/test` when building
packages, similar to the way we already do it for the tests in
`linux/ibus-keyman/tests`.
2022-12-07 09:00:52 +01:00
Eberhard Beilharz
5413247e59 chore(linux): Remove some shellcheck warnings 2022-12-06 11:28:30 +01:00
Eberhard Beilharz
353c6a066a chore(linux): Remove building for Bionic 2022-12-06 11:26:46 +01:00
Eberhard Beilharz
5cf88878da docs(linux): Move Linux documentation
This change moves the Linux developer documentation to the new location
`docs/linux` as discussed in our planning meeting.
2022-12-05 18:07:10 +01:00
Eberhard Beilharz
b42061a732 chore(linux): Update debian changelog
(cherry picked from commit ec46a34509)
2022-12-01 20:41:50 +01:00
Eberhard Beilharz
c06e32186a
chore(linux): Cleanup previous commit
- fix debug output in case surrounding-text is not supported
- conditionally set prefilter flag if ibus supports it. We can now
  uncomment the check because beta branch got merged which added the
  variable to autotools.
2022-11-30 19:14:01 +01:00
Eberhard Beilharz
e1305a7f5d
refactor(linux): Update ibusimcontext.c
This change adds the upstream changes to ibusimcontext.c to our
test ibusimcontext.c file up to commit
506ac9993d5166196b7c4e9bfa9fb0f9d3792ffa plus our two prefilter
commits.
2022-11-30 19:14:01 +01:00
Eberhard Beilharz
d0734ceef4
Merge pull request #7833 from keymanapp/chore/linux/DebUploadScript
chore(linux): Fix upload-to-debian script
2022-11-29 10:48:27 +01:00
Eberhard Beilharz
f54ea7a7f2
Merge pull request #7804 from keymanapp/refactor/linux/kbdOptions
refactor(linux): Refactor setting keyboard options ⚙️
2022-11-29 10:48:02 +01:00
Eberhard Beilharz
16c91e695a
chore(linux): Use flag for beta phase
This addresses code review comments.
2022-11-29 08:57:41 +01:00
Eberhard Beilharz
0f2c9972c6
refactor(linux): Fix more memory leaks
Turns out there are more things we need to clean out if we run
into an error condition in the c'tor. Easiest is to call the
destroy method.
2022-11-28 16:46:55 +01:00
Eberhard Beilharz
8b4d3e09ed
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-28 16:40:02 +01:00
Eberhard Beilharz
e834c3c467
chore(linux): Update debian changelog
(cherry picked from commit 0ecc03dbac)
2022-11-28 12:31:48 +01:00
Eberhard Beilharz
7bec18615f
chore(linux): Fix upload-to-debian script
While we're in beta phase we need to modify `changelog` in beta
branch instead of `master`.
2022-11-28 12:28:01 +01:00
Eberhard Beilharz
61d5d69a12
refactor(linux): Address code review comments 2022-11-25 17:31:32 +01:00
Darcy Wong
fded9721e2 chore(common): Merge branch 'beta' into chore/common/beta-b16s2 2022-11-25 07:58:23 +07:00
Eberhard Beilharz
35b678a931
refactor(linux): Fix failing tests 2022-11-24 19:16:14 +01:00
Eberhard Beilharz
ddd8e5b08c
refactor(linux): Address code review comments 2022-11-24 17:00:11 +01:00
Eberhard Beilharz
afd5fc86f1
refactor(linux): Refactor setting keyboard options
- set keyboard options in a call to `km_kbp_state_options_update`
  separate from setting the environment options
- output status value if method fails
- if any of the methods fails we now return NULL
- split setting the options in multiple methods

Fixes #7717.
2022-11-23 19:05:54 +01:00
Eberhard Beilharz
5da4f17dd1
refactor(linux): Don't free consts
(cherry picked from commit b0b605709a)
2022-11-23 18:21:01 +01:00
Eberhard Beilharz
0f0ab06f53
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.

(cherry picked from commit 31340b5b51)
2022-11-23 18:20:52 +01:00
Eberhard Beilharz
1f7d6682a8
chore(linux): Update autotools configuration
This fixes some deprecation warnings:
- "The macro `AC_GNU_SOURCE' is obsolete"
- "The macro `AM_DISABLE_STATIC' is obsolete"
- "The macro `AC_ISC_POSIX' is obsolete"
- "The macro `AC_HEADER_STDC' is obsolete"
- "The macro `AM_PROG_LIBTOOL' is obsolete"
2022-11-23 08:46:41 +01:00