Граф коммитов

3037 Коммитов

Автор SHA1 Сообщение Дата
Oğuz Ersen 58fe1e56b2 po: Update translation (Turkish)
Update po/tr.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/tr/

BUG=https://github.com/ibus/ibus/pull/2338
2022-03-14 10:33:51 +09:00
Dingzhong Chen 0199dde0d9 po: Update translation (Chinese (Simplified) (zh_CN))
Update po/zh_CN.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/zh_CN/

BUG=https://github.com/ibus/ibus/pull/2338
2022-03-14 10:33:49 +09:00
simmon 6df55eb2d9 po: Update translation (Korean)
Update po/ko.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/ko/

BUG=https://github.com/ibus/ibus/pull/2338
2022-03-14 10:33:46 +09:00
Jan Kuparinen e77f80cf7c po: Update translation (Finnish)
Update po/fi.po at 20.7%
https://translate.fedoraproject.org/projects/ibus/ibus/fi/

BUG=https://github.com/ibus/ibus/pull/2338
2022-03-14 10:33:43 +09:00
fujiwarat 9bf9ef0126 src: Update ibusunicodegen.h with unicode-ucd 14.0.0 2022-03-14 10:33:40 +09:00
fujiwarat a3c07241f3 engine: Update simple.xml with xkeyboard-config 2.35.1 2022-03-14 10:33:34 +09:00
fujiwarat 1f27521425 ui/gtk3: Check XDG_SESSION_DESKTOP for Plasma desktop
If ibus-dameon is launched from systemd, XDG_CURRENT_DESKTOP
environment variable could be set after ibus-dameon would be
launched and XDG_CURRENT_DESKTOP could be "(null)".
But XDG_SESSION_DESKTOP can be set with systemd's PAM.
2022-03-14 10:31:21 +09:00
fujiwarat df664b1f18 src/ibusenginesimple: Support GTK4 coompose file
Load $XDG_CONFIG_HOME/gtk-4.0/Compose
2022-03-01 19:23:25 +09:00
fujiwarat 19377ad22d src/ibuscompose: Check algorithm dead key by 9 length
This change fixes the D-Bus timeout by a long compose preedit text.
check_normalize_nfc() calculates the factorical of the compse preedit
length and assigne the value to an INT variable and it could excceed
the MAX_INT.
Probably I think the length of the compose algorizhm dead key would be
enough 9. I.e. 9! == 46320 <= SHRT_MAX == 32767

BUG=https://github.com/ibus/ibus/issues/2385
2022-03-01 18:26:21 +09:00
fujiwarat a82bda58a4 src/tests: Fix typos
- test_metas_in location
- Check ibus processes in CI
- Fix libexec path
2022-02-18 12:04:09 +09:00
Changwoo Ryu 5cfe838715 client/gtk2/ibusimcontext: Fix forward key keycode for GTK4
When a keycode is provided (!= 0) for a forwarded key event, convert it to a
GTK keycode before passing it to gtk_im_context_filter_key().

Also free GdkKeymapKey after gdk_display_map_keyval() is called.

BUG=https://github.com/ibus/ibus/issues/2380
BUG=https://github.com/ibus/ibus/issues/2382
2022-02-18 09:07:02 +09:00
fujiwarat b5423f0cff src/services: Add org.freedesktop.IBus.session.generic.service
Move bus/*.service.in & src/*.service.in into bus/services

BUG=https://github.com/ibus/ibus/pull/2381
2022-02-17 20:15:38 +09:00
Carlos Garnacho a076b388d8 src, client/x11: Add systemd unit file
This so far depends on GNOME targets, and is thus just usable there.
Other DEs wishing to use systemd and ibus will need to add the
necessary dependencies where applicable.

There are 2 scenarios here:
- On X11 sessions, ibus-daemon will be launched with --xim parameter,
  so ibus-x11 is started with it.
- On Wayland sessions, ibus-daemon will be started without XIM support,
  ibus-x11 will be launched and tear down together with all other
  session X11 services while Xwayland is running.

For the second part of the second situation, additionally install
a script at /etc/xdg/Xwayland-session.d, which takes care of X11
service initialization together with the Xwayland instance.

BUG=https://github.com/ibus/ibus/pull/2377
2022-02-09 23:07:56 +01:00
fujiwarat c69b61aa66 src: Fix ibus_key_event_from_string for gobject-introspection
BUG=https://github.com/ibus/ibus/issues/2330
2022-02-04 15:08:36 +09:00
fujiwarat dfd3fbf26f bus: Do not mkdir abstract unix socket
IBus ran mkdir for unix abstract sockets for --address=unix:abstract
but should not need to mkdir.

BUG=https://github.com/ibus/ibus/issues/2363
2022-02-03 17:31:08 +09:00
fujiwarat 787b564982 bus: mkdir socket dirs instead of socket paths
IBus ran mkdir for socket paths for --address=unix:path
but should does the socket directories instead.

BUG=https://github.com/ibus/ibus/issues/2363
2022-02-03 14:34:34 +09:00
fujiwarat 0f1485bfa6 src: Add IBUS_INPUT_HINT_PRIVATE for browser private mode
GTK4 added GTK_INPUT_HINT_PRIVATE recently for Web brower
private or guest mode.

BUG=https://github.com/ibus/ibus/issues/2315
2022-02-03 14:03:30 +09:00
Sibo Dong ad95015dc4 ui/gtk3: Update man page for Emoji shortcut key
The default Emoji shortcut key was changed but not updated in
the ibus-emoji.7 man page.

BUG=https://github.com/ibus/ibus/pull/2353
2022-02-02 19:18:02 +09:00
Eberhard Beilharz 5a455b1ead
Fix unref problems with floating references
When running with debug-enabled GLIB there are several critical
errors output: "A floating object ... was finalized. This means
that someone called g_object_unref() on an object that had only
a floating reference; the initial floating reference is not
owned by anyone and must be removed with g_object_ref_sink()."

This change fixes this by calling `g_object_ref_sink()` before
`g_object_unref()` if we have a floating reference.

It also fixes another related problem where we called
`g_object_unref()` on a static IBusText string (created with
`ibus_text_new_from_static_string()`) for which the API documentation
says not to free.

BUG=https://github.com/ibus/ibus/pull/2359
2022-01-24 11:44:27 +01:00
fujiwarat d9ff2bb6b0 data/dconf: Add Ctrl-semicolon to Emoji shortcut key
period key is needed Shift key in French keyboard and Ctrl-period does
not work.
Add Ctrl-semicolon in org.freedesktop.ibus.panel.emoji.hotkey to fix
the problem.

BUG=https://github.com/ibus/ibus/issues/2360
2022-01-20 16:41:37 +09:00
fujiwarat 0e118e7e57 data/dconf: Change XKB layout string color in panel
Replace '#415099' with '#51a2da' in XKB layout string color

BUG=https://github.com/ibus/ibus/issues/2364
2022-01-20 16:33:11 +09:00
fujiwarat f5757ada54 ibusenginesimple: Fix to send char position at update_preedit_text
ibus_engine_update_preedit_text() should send the character position
instead of the byte position.

BUG=https://github.com/ibus/ibus/issues/2368
2022-01-06 11:20:26 +09:00
fujiwarat 675b94f63a travis: Add autopint dependency 2021-12-03 00:07:49 +09:00
fujiwarat 104148bcda src: Disable emoji shortcut key with no-emoji hint
BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/4337
2021-12-02 23:53:28 +09:00
fujiwarat 2bc47f0983 autogen: Delete gnome-autogen dependency
You may like to call ./autogen.sh --enable-gtk-doc with your custom
configure options.
Also set SAVE_DIST_FILE=1 by default
2021-12-02 23:52:36 +09:00
fujiwarat be179342cc travis: Fix bindings/pygobject/test-override-ibus.py
Recently Travis default python was changed to version 2 in Ubuntu focal
and I have to specify python3 in configure.
2021-12-02 23:39:57 +09:00
Naïm Favier cfcc6f194c
src/ibuscomposetable: invalidate cache based on symlink mtime too
When the compose file is a symbolic link, take the link itself's
modification time into account (in addition to its target's) in
determining whether to invalidate the compose cache.

This is useful e.g. on NixOS systems where the compose file might point
to a store path with an irrelevant modification time, and we want the
cache to expire when the symlink itself changes.

BUG=https://github.com/ibus/ibus/pull/2362
2021-11-17 15:09:15 +01:00
fujiwarat d53d31d2db travis: git config pull.rebase false
`git pull` fails with local commits
2021-11-17 22:54:00 +09:00
fujiwarat 28acfd433b ui/gtk2: Deprecate gettext.bind_textdomain_codeset() since Python 3.8
setup/i18n.py is a symlink of ui/gtk2/i18n.py
env PYTHONWARNINGS='d' ibus-setup

BUG=https://github.com/ibus/ibus/issues/2276
2021-11-05 07:22:34 +09:00
fujiwarat acc5570511 ui/gtk3: Erase Emojier preedit/lookup popup between applications
It would be better to erase Emojier popup window when users change
the input focus between applications. But it hasn't been implemented
because the focus-out/in events also happen when the Emojier popup window
is launching or rebuilding to the category list in GNOME Wayland.
The focus-out/in events do not happen in Xorg desktops with the rebuilding
GUI because GTK popup window causes focus-in/out evnets in Wayland.

Now I'm convinced with several issues and added a little complicated logic
to erase Emojier popup window with the focus changes between input contexts
to handle focus-in/out events in Wayland.

BUG=rhbz#1942970
2021-10-29 12:56:49 +09:00
fujiwarat 51e3295659 src/tests: Add --screendump option in ibus-desktop-testing-runner
The screendump is useful in CI to if check gnome-shell-extension-no-overview
works.
Also add ibus-desktop-testing-autostart to get the debug info in CI.
You can copy ibus-desktop-testing.desktop to $HOME/.config/autostart
if CI fails.
2021-09-10 00:39:25 +09:00
fujiwarat 6b979e7897 client/gtk2/ibusimcontext: Fix a key event loop with forwarding keys
_ibus_context_forward_key_event_cb() caused a key event loop in
_key_snooper_cb() with key release events.
2021-09-10 00:39:17 +09:00
fujiwarat fbea5441fc Fix build errors in Ubuntu focal
- Ubuntu focal uses glib 2.64.6 which does not include errno.h
  so config.h includes errno.h as the workaround.
- make autogen.sh not to delete dist files in Travis
- Call $(PYTHON) for gensimple.py for Ubuntu python3
- Add a code review in src/ibuscomposetable.c

BUG=https://github.com/ibus/ibus/pull/2348
2021-09-10 00:09:26 +09:00
fujiwarat 4957d1468d client/gtk2/ibusimcontext: Calculate keycode from keysym in GTK3 forward-key-event
IBus GTK3 mode also calculates keycode from keysym if keycode == 0
with forward-key-event signal to follow GTK4.
2021-09-06 20:25:52 +09:00
fujiwarat 5487a6baa4 client/gtk2/ibusimcontext: Implement clear preedit for GTK4
IBus IM module uses synchornized key processes for GTK4 and the timing
of the GTK reset siginal may work with focus-in/out between windows.
(I don't test GTK4 firefox and terminal yet and the verification is not
completed.)
So ibus_im_context_clear_preedit_text() is now called with the GTK4 reset
siginal.
ibus_im_context_clear_preedit_text() works with ibus-setup-anthy ->
"Conversion" tab -> "Behavior on Focus Out" pull down menu.

BUG=https://github.com/ibus/ibus/issues/2334
2021-09-06 20:23:59 +09:00
Eberhard Beilharz ecca9db0d9
Update URLS
IBus got moved to GitHub. This changes the remaining URLs that
still pointed to the old site. Also fixed a typo.

BUG=https://github.com/ibus/ibus/pull/2342
2021-09-01 09:01:44 +02:00
Alynx Zhou 936a0e76df client/gtk2/ibusimcontext: Fix wrong cursor location in gtk3 apps
If you apply this patch in your tarball, please also apply this to
client/gtk3/ibusimcontext.c besides client/gtk2/ibusimcontext.c .

BUG=https://github.com/ibus/ibus/issues/2337
2021-09-01 12:04:12 +09:00
fujiwarat cfb263f04f Release 1.5.25 2021-08-20 09:44:49 +09:00
fujiwarat 5bd2ecc54d src/ibuscomposetable: Do not output incompleted compose dead keys
Incompleted dead keys are used in fi_FI compose.
2021-08-20 09:42:15 +09:00
fujiwarat 238eb612b5 engine: Update simple.xml with xkeyboard-config 2.33 2021-08-20 09:42:12 +09:00
fujiwarat 934c456e61 autogen: Check xkeyboard-config-devel for XKBCONFIG_BASE variable 2021-08-20 09:36:43 +09:00
user202729 bc265fb6c3 src: Fix a typo in ibusenginesimple.h
BUG=https://github.com/ibus/ibus/pull/2332
2021-08-18 16:24:34 +09:00
Gunnar Hjalmarsson e465011b48 setup: Start ibus-daemon with the --daemonize option
When starting ibus-daemon from IBus Preferences, it's started
with the command "ibus-daemon --xim". However, ibus-daemon is
killed once you close IBus Preferences.

This commit adds the "--daemonize" option, so ibus-daemon keeps
running also after IBus Preferences has been closed.

BUG=https://github.com/ibus/ibus/issues/2316
2021-08-18 16:11:40 +09:00
JungHee Lee 32d54e0f07 po: Update translation (Korean)
Update po/ko.po at 100.0%
기존 번역 입력 방식, 입력 방법, 입력기로 번역된 것을 입력기로 통일하였습니다.
새로 추가된 내용을 번역하였습니다.
기타 등등...

BUG=https://github.com/ibus/ibus/pull/2318
2021-08-18 16:00:51 +09:00
Seong-ho Cho 904f162ee3 po: Update translation (Korean)
Update po/ko.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/ko/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:10:29 +09:00
simmon b85c399cc1 po: Update translation (Japanese) (Korean)
Update po/ja.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/ja/

Update po/ko.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/ko/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:08:00 +09:00
Alexey Rubtsov a7ebfc9462 po: Update translation (Russian)
Update po/ru.po at 98.4%
https://translate.fedoraproject.org/projects/ibus/ibus/ru/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:06:58 +09:00
Liu Tao 883f517273 po: Update translation (Chinese (Simplified) (zh_CN))
Update po/zh_CN.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/zh_CN/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:04:47 +09:00
Quentin PAGÈS 6e1588d041 po: Update translation (Occitan)
Update po/oc.po at 52.6%
https://translate.fedoraproject.org/projects/ibus/ibus/oc/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:04:05 +09:00
Jan Kuparinen 3ceecf38cf po: Update translation (Finnish)
Update po/fi.po at 20.3%
https://translate.fedoraproject.org/projects/ibus/ibus/fi/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:02:47 +09:00