Commit graph

405 commits

Author SHA1 Message Date
Eberhard Beilharz
02b36a8d8d
Merge pull request #8294 from keymanapp/fix/linux/debian
fix(linux): Fix debian postinst script
2023-02-28 15:02:30 +01:00
Marc Durdin
b809a60936
Merge pull request #7054 from keymanapp/feature-ldml
epic: LDML keyboard support 🙀
2023-02-28 20:38:00 +11:00
Eberhard Beilharz
67bd5fb399
fix(linux): Fix ibus-keyman/build.sh
Paths that describe outputs are supposed to be relative to root,
not absolute. Also, it turns out we don't use the `--output`
parameter, so this change removes it.
2023-02-27 18:42:38 +01:00
Eberhard Beilharz
ec0048955b
chore(linux): Improve detecting presence of test files
With recent work the location where we generate the test files
changed, but the test setup script didn't completely work.
2023-02-24 09:00:40 +01:00
Marc Durdin
a0fa39232d chore(linux): use core kmx tests from source rather than build 2023-02-24 05:57:15 +07:00
Eberhard Beilharz
efe94598ac
fix(linux): Fix setting libexecdir
Follow-up of the move to meson.
2023-02-23 17:43:09 +01:00
Eberhard Beilharz
a507ac6cab
chore(core): Update path to test library 2023-02-23 16:22:10 +01:00
Marc Durdin
9eb472579c chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2 2023-02-23 08:05:31 +07:00
Marc Durdin
699b289899
Merge pull request #8289 from keymanapp/chore/dirname-to-builtin
chore: use builtin instead of dirname for perf
2023-02-23 08:42:29 +11:00
Marc Durdin
80689a794b
Merge pull request #8288 from keymanapp/chore/readlink-only-instead-of-greadlink
chore: remove greadlink from standard script prolog
2023-02-23 08:42:21 +11:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
e645b8665f chore: Merge branch 'feature-ldml' into chore/A17S7-master-to-feature-ldml
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS)
* developer/src/kmlmc/build.sh -- delete file
*	linux/debian/rules -- accept master changes, fixup call to core/build.sh
*	linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh
*	linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh
*	linux/scripts/reconf.sh -- accept master changes
2023-02-22 08:00:08 +07:00
Eberhard Beilharz
4d3755770c
fix(linux): Collect consecutive backspaces
When using Wayland `im-wayland.so` (which is part of libgtk) gets
loaded into the client app instead of `im-ibus.so`. This means that
our ordered output doesn't work with Wayland.

This change works around a problem with keyboards that use multiple
consecutive backspace actions. Because method calls get processed
asynchronously some backspaces get lost. In clients that support
surrounding text we can count the consecutive backspaces and then
do one call to delete surrounding text with the appropriate number
of characters.

This can be tested with "Khmer Angkor" keyboard by typing `xEjmr`,
or with "Vedic Sanskrit Devanagari Phonetic (ITRANS)" keyboard by
typing `shrI`.

Part of #4273.
2023-02-20 18:47:51 +01:00
Eberhard Beilharz
2d97381fbf
Merge pull request #8113 from keymanapp/chore/linux/5981_refactorScripts
chore(linux): Refactor scripts and packaging 🏗️
2023-02-20 09:45:06 +01:00
Eberhard Beilharz
2e12021a74
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-20 09:43:04 +01:00
Eberhard Beilharz
9179af611e
chore(linux): Remove all action
Instead this can be done with internal dependencies (except
running `clean` first). Running `./build.sh clean build` will
achieve the same.
2023-02-15 17:39:25 +01:00
Eberhard Beilharz
89c59c6940
chore(linux): Set correct flags on debug builds
This adds setting the appropriate variables when doing a debug build.
This eliminates the need to have those in the documentation.
2023-02-15 17:16:22 +01:00
Eberhard Beilharz
f286cd1f07
chore(linux): Remove po files from ibus-keyman
We currently don't have any localizable strings in ibus-keyman,
so we don't need the po directory.
2023-02-14 09:52:55 +01:00
Eberhard Beilharz
958b7db068
chore(linux): Remove autotools related files 2023-02-14 09:51:46 +01:00
Eberhard Beilharz
95bcb8b5a9
fix(linux): Skip failing Wayland tests
This change skips the four failing Wayland tests so that the builds
pass on CI. They will have to be re-enabled once Wayland support
is implemented (#4273).

Also remove `run-tests.sh` which got moved to `scripts/run-tests.sh`
but I forgot to delete the old one when I did the move.
2023-02-14 09:42:13 +01:00
Eberhard Beilharz
61ba40a212
chore(linux): Refactor scripts and packaging
This change modifies the scripts and the Debian packaging to use
the meson build / build.sh script for building instead of autotools.
2023-02-14 09:42:13 +01:00
Steven R. Loomis
db272e08e7 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230210-epic-ldml 2023-02-10 11:01:27 -06:00
Eberhard Beilharz
182acf21a4
chore(linux): Fix installation
Also update README.md.
2023-02-08 17:10:36 +01:00
Eberhard Beilharz
0fad0ee1c5
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/5981_addBuild.sh 2023-02-08 08:31:42 +01:00
Eberhard Beilharz
c02741a535
chore(linux): Add output descriptions for ibus-keyman
Also since core doesn't use the new build.sh syntax the dependency
on core doesn't work yet.
2023-02-07 18:31:06 +01:00
Darcy Wong
7a7ba2f70c chore(linux): Set test-helper script executable 2023-02-07 10:38:08 +07:00
Eberhard Beilharz
a3d1654364
chore(linux): Address code review comments 2023-02-06 20:25:56 +01:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Eberhard Beilharz
93bcea6947
chore(linux): Merge branch 'chore/linux/5981_ibus-keyman_meson' into chore/linux/5981_addBuild.sh 2023-02-03 10:11:49 +01:00
Eberhard Beilharz
e937e1395c
chore(linux): Address code review comments
- make use of new meson features
- some refactoring
2023-02-03 10:11:11 +01:00
Eberhard Beilharz
a05040fb0c
chore(linux): Merge branch 'chore/linux/5981_ibus-keyman_meson' into chore/linux/5981_addBuild.sh 2023-02-02 19:07:25 +01:00
Eberhard Beilharz
0367df8652
chore(linux): Fix a few bugs in meson scripts 2023-02-02 19:06:55 +01:00
Eberhard Beilharz
3dbdef651d
chore(linux): Add build.sh to ibus-keyman 2023-02-01 08:49:26 +01:00
Eberhard Beilharz
c176ebc6af
chore(linux): Address code review comments 2023-01-31 17:38:29 +01:00
Eberhard Beilharz
eb076c08c8
chore(linux): Build with meson instead of autotools
This change introduces meson for building ibus-keyman instead of
autotools.

Closes #5981.
2023-01-30 16:32:38 +01:00
Eberhard Beilharz
ffc59553e2
Merge pull request #8102 from keymanapp/chore/linux/legacy
chore(linux): Remove legacy projects
2023-01-27 15:56:42 +01:00
Eberhard Beilharz
f2cfccb572
chore(linux): Fix warnings
This warnings showed up when building with Meson.
2023-01-26 16:58:27 +01:00
Eberhard Beilharz
ea059df541
chore(linux): Remove legacy projects
This change removes the KMFL legacy projects. They are still
available in the stable-16 branch if we need them.

Also removed some shellcheck warnings.
2023-01-26 11:51:13 +01:00
Eberhard Beilharz
d20812d043
Merge pull request #8036 from TheSchlunz/TheSchlunz/issue7540
chore(linux): log failures to `km_kbp_context_clear(context)`
2023-01-19 11:46:49 +01:00
Eberhard Beilharz
4f19ea690f
Merge pull request #8037 from TheSchlunz/TheSchlunz/issue7541
chore(linux): use faster zero-length string check
2023-01-19 11:41:24 +01:00
Kevin Schluensen
28baf30135 Add status output 2023-01-18 18:27:37 +01:00
Kevin Schluensen
c7dedf6643 chore(linux): use faster zero-length string check
Fixes #7541
2023-01-18 13:06:16 +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
3afc6961d7
fix(linux): Properly set context after changing IP
This change fixes a bug where we the context was wrong after
putting the IP in a new location by mouse-click.

Fixes #8024.

(cherry picked from commit a085fa244b)
2023-01-16 17:19:05 +01:00
Steven R. Loomis
015e7185a6 chore: merge master into feature-ldml 2023-01-02 13:44:21 -06: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
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06: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