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

2986 Коммитов

Автор SHA1 Сообщение Дата
Emilio Herrera c0170aeac3 po: Update translation (Spanish)
Update po/es.po at 97.4%
https://translate.fedoraproject.org/projects/ibus/ibus/es/

BUG=https://github.com/ibus/ibus/pull/2305
2021-08-18 13:01:21 +09:00
Olivier Fourdan 71ca4a9859 client/x11: Add support for XFixes ClientDisconnectMode
The Xserver itself is capable of terminating itself once all X11 clients
are gone, yet in a typical full session, there are a number of X11
clients such as ibus-x11 running continuously.

Those always-running clients will prevent the Xserver from terminating,
because the actual number of X11 clients will never drop to 0.

Use XFixes ClientDisconnectMode to inform the X11 server that it can
terminate even if ibus-x11 is still running.

That will allow Xwayland from terminating automatically when regular
clients have quit.

On plain Xorg servers, the lifetime of the session is usually tied to
the session manager or window manager, and this change will have no
effect.

BUG=https://github.com/ibus/ibus/pull/2314
2021-08-18 11:54:31 +09:00
fujiwarat a823161768 client/gtk2/ibusimcontext: Enable sync process in GTK4
gtk_im_context_filter_key() does not forward control keys likes
BackSpace, Return and change the process mode to the synchronization.

BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/3465
2021-08-09 12:36:40 +09:00
fujiwarat 17ae266cad Code reviews
- Use fstat() and fchmod() but not stat() and chmod() to
  fix race conditions
- Avoid to use after free
- Fix dereference of IBusComposeTable->priv
- Fix to divide by zero
2021-07-26 22:53:34 +09:00
fujiwarat 4259f16324 src/ibusenginesimple: Make Compose preedit less intrusive
Tweak the preedit display for Compose sequences to
be not so distracting. We only show the Compose key
when it occurs in the middle of the sequence or is
the only key so far.

BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/3669
BUG=https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3220
BUG=https://blog.gtk.org/2021/03/24/input-revisited/
2021-07-26 22:53:19 +09:00
fujiwarat df495660a6 src/ibusenginesimple: Change gint to int 2021-07-26 22:52:23 +09:00
fujiwarat 3e2609e68c src: Update ibuskeysyms.h for latest dead keys 2021-07-26 22:52:21 +09:00
fujiwarat 2fc1a028aa src/ibusenginesimple: Multi_key to 0xB7
Use · instead of ⎄ to display Multi_key in pre-edit.

BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/3669
BUG=https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3220
2021-07-26 22:52:18 +09:00
fujiwarat 7e12d589ee src/ibuscomposetable: Move ibus_compose_table_check
- Move ibus_compose_table_check and ibus_compose_table_compact_check
  from ibusenginesimple.c to ibuscomposetable.c
- Fix src/tests/ibus-compose.c to read compose sequences correctly.
2021-07-26 22:52:12 +09:00
fujiwarat a4939f67f9 setup: Enhance engine search function
ibus-setup can search both the language names and input method names
in the top language list but when you search a language keyword
in the language list and move to the input method list after click
the hit language name, any input methods could not be shown because
the language didn't hit in any input method names.

In this enhancement, ibus-setup can show the input methods to hit
the language names.
2021-07-16 13:08:02 +09:00
fujiwarat b952d30a1b Change default Emoji shortcut key
The shortcut key was Ctrl-Shit-e to follow Unicode code point
shortcut key but now the shorcut key is changed to Ctrl-period
to follow GTK.

BUG=https://github.com/ibus/ibus/issues/2325
2021-07-14 22:31:47 +09:00
fujiwarat ab6b9587a4 src/tests: Delete G_MESSAGES_DEBUG in desktop-testing for gsettings
G_MESSAGES_DEBUG message could be appended to the output of gsettings
command and it's not useful to check the output.
2021-06-29 12:40:20 +09:00
lf- 7f09379b3c src/ibuscomposetable: Fix a buffer overflow in compose handling
I believe this has no security impact but it is making my Valgrind sad.

Thanks to Omni for the help in finding the root cause of this.

~/.XCompose is:
```
<Multi_key> <g> <h> : "η"
<Multi_key> <g> <v> <t> <h> : "ϑ"
<Multi_key> <g> <h>     : "ɣ"
```

BUG=https://github.com/ibus/ibus/pull/2297
2021-06-24 16:10:12 +09:00
fujiwarat a755d1601a src/ibuscomposetable: Do not include the same compose file
BUG=https://github.com/ibus/ibus/pull/2296
2021-06-18 15:39:50 +09:00
lf- 9f9c88be46 src/ibuscomposetable: Add support for the include directive
We also fix an issue with excess space at the start of lines stopping
comments being recognized.

BUG=https://github.com/ibus/ibus/pull/2296
2021-06-18 15:39:19 +09:00
fujiwarat bc7811c624 src/tests: Fix ibus-desktop-testing-runner to get gsettings result
gsettings null string is '' and the quote mark needs to be parsed.
Also no-overview gsetting should be changed before run gnome-session.
2021-06-16 20:39:35 +09:00
fujiwarat e9e1642870 Fix code reviews 2021-06-16 18:00:31 +09:00
fujiwarat d105a3941a client/gtk2: Implement ibus_im_context_set_surrounding_with_selection()
Selection bounds need to be re-calculated when pre-edit text is
inserted and the selection position is changed.
GTK4 has a new API GtkIMContext.set_surrounding_with_selection()
to fix this issue and now IBus GTK module inherits the API.

BUG=https://github.com/ibus/ibus/issues/2013
2021-05-12 18:54:30 +09:00
fujiwarat 214b60a3af src/tests: Run gnome-session with no-overview mode
gnome-shell 40 now shows the overview mode by login and
gnome-desktop-testing-runner cannot get the input focus.
Running gnome-session with no-overview shell extension can
get the input focus or mutter is another option.
The default may be changed to twm if mutter also will be changed
not to accept the application focus in the future.

Disable Tour dialog which prevent test application from getting the
input focus.

Don't output FAIL if the actual failure is 0 for Fedora CI.

BUG=https://discourse.gnome.org/t/focus-on-autostart-application-by-login/5863
2021-03-26 22:48:08 +09:00
fujiwarat 4d51b73b69 Release 1.5.24 2021-02-21 23:59:05 +09:00
fujiwarat 5012b69c7c engine: Update simple.xml 2021-02-21 23:27:26 +09:00
Gunnar Hjalmarsson 72ca5c932e setup: Hide IBus Preferences from AppStream
BUG=https://github.com/ibus/ibus/issues/2286
2021-02-21 22:03:42 +09:00
Takao Fujiwara 27baf2047f po: Update translation (Japanese)
Update po/ja.po at 98.0%
https://translate.fedoraproject.org/projects/ibus/ibus/ja/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:35:29 +09:00
Julien Humbert 583420539f po: Update translation (French)
Update po/fr.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/fr/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:35:23 +09:00
Ricky Tigg ef497424f5 po: Update translation (Finnish)
Update po/fi.po at 19.2%
https://translate.fedoraproject.org/projects/ibus/ibus/fi/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:35:10 +09:00
Jan Kuparinen 1470078b91 po: Update translation (Finnish)
Update po/fi.po at 18.9%
https://translate.fedoraproject.org/projects/ibus/ibus/fi/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:35:10 +09:00
Dingzhong Chen ceea02ef35 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/2266
2021-02-21 00:35:06 +09:00
Mike FABIAN 37ec7304a0 po: Update translation (German)
Update po/de.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/de/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:35:01 +09:00
Sebastian Rasmussen e9cd26d9a7 po: Update translation (Swedish)
Update po/sv.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/sv/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:34:58 +09:00
Yuri Chornoivan 3af102b387 po: Update translation (Ukrainian)
Update po/uk.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/uk/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:34:50 +09:00
Oğuz Ersen ceea329ab6 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/2266
2021-02-21 00:34:39 +09:00
Piotr Drąg fece06e271 po: Update translation (Polish)
Update po/pl.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/pl/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:34:32 +09:00
Henrique Roberto Gattermann Mittelstaedt 54652f5d8d po: Update translation (Portuguese (Brazil))
Update po/pt_BR.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/pt_BR/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:34:10 +09:00
Emilio Herrera 54224eee95 po: Update translation (Spanish)
Update po/es.po at 96.5%
https://translate.fedoraproject.org/projects/ibus/ibus/es/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:34:00 +09:00
Adolfo Jayme Barrientos c62043f4db po: Update translation (Spanish)
Update po/es.po at 96.5%
https://translate.fedoraproject.org/projects/ibus/ibus/es/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:33:56 +09:00
Tawsif Hossain Shafi abca464929 po: Update translation (Bengali)
Update po/bn.po at 69.8%
https://translate.fedoraproject.org/projects/ibus/ibus/bn/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:33:44 +09:00
scootergrisen 2d4925645f po: Update translation (Danish)
Update po/da.po at 100.0%
https://translate.fedoraproject.org/projects/ibus/ibus/da/

BUG=https://github.com/ibus/ibus/pull/2266
2021-02-21 00:33:27 +09:00
fujiwarat ef4c5c7ef7 setup: Search engine name directly
Currently users can search language names only in the language list
in ibus-setup. After a language is selected and open, engine names can
be searched.
Now engine names also can be searched in the language list.
2021-01-20 17:26:47 +09:00
fujiwarat d0a47c3c82 client/gtk2: Add XTranslateCoordinates for GTK4 X11 coordinate
GdkWindow had the absolute coordiante in the private class in GTK3
but the absolute coordiane no longer exists in GTK4 for Wayland.
Now get the toplevel window coordiante for the warkaround in GTK4
but the coordiante of the inner widgets is no longer available too.

BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/3024#note_987835
2021-01-08 18:48:13 +09:00
fujiwarat c7928b1587 Add GTK4 IM module
BUG=https://github.com/ibus/ibus/issues/2291
2021-01-08 18:45:55 +09:00
fujiwarat 30a3641e19 travis: Add CI 2021-01-01 07:02:43 +09:00
fujiwarat 29959e1d25 engine: Fix input in gensimple.py
Replace datarootdir with XKBCONFIG_BASE.
2020-12-31 20:00:02 +09:00
fujiwarat 5d68b00e04 engine: Fix iso-path in gensimple.py
Replace datarootdir with ISOCODES_PREFIX.
2020-12-31 17:28:45 +09:00
Gunnar Hjalmarsson aec2ac75ea ui/gtk3: Warning dialog for any deprecated IBus XKB engine
This is a follow-up of commit 5322c447. That commit introduced
a warning dialog in case of an empty engines list.

This commit makes a differently worded warning dialog be shown
in cases where the engines list is not empty but preload-engines
includes at least one deprecated engine. It also fixes a variable
confusion so a deprecated engine is mentioned in the first kind
of warning dialog and not the US engine.

BUG=https://github.com/ibus/ibus/issues/2274
2020-12-11 16:27:36 +09:00
fujiwarat 5322c447c7 ui/gtk3: Warn deprecated IBus XKB engines /w dialog
simple.xml is updated by IBus release and some XKB engines
could be deprecated with xkeyboard-config updates.
Now a warning dialog is launched when the deprecated engines are
changed to xkb🇺🇸:eng engine.

BUG=https://github.com/ibus/ibus/issues/2274
2020-11-21 07:41:23 +09:00
fujiwarat b72efea42d src: Update IBusInputPurpose and IBusInputHints in ibustypes.h
Copy IBUS_INPUT_PURPOSE_TERMINAL, IBUS_INPUT_PURPOSE_PIN,
IBUS_INPUT_PURPOSE_TERMINAL from GTK 3.24.14
2020-11-20 10:56:11 +09:00
fujiwarat aa558de80c src: Fix to build emoji-*.dict in CLDR 38
root.xml and sr_Cyrl.xml have included no contents since
cldr-emoji-annotation-38 and make install failed because of no
emoji-root.dict and emoji-sr.Cyrl.dict.
Now the build creates the no content files but remove those files
in the install hook.

BUG=rhbz#1898065
2020-11-20 09:03:32 +09:00
fujiwarat 02338ce751 docs: Fix make dist 2020-11-20 08:58:52 +09:00
fujiwarat dd4cc5b028 ui/gtk3: Fix arguments in GLib.DBusSignalCallback for Vala 0.50
BUG=https://github.com/ibus/ibus/issues/2265
2020-09-30 20:35:23 +09:00
fujiwarat 447908702f Release 1.5.23 2020-09-29 19:52:04 +09:00