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
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
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
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
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
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
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
61d5d69a12
refactor(linux): Address code review comments
2022-11-25 17:31:32 +01: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