summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* data/dconf: Add Ctrl-semicolon to Emoji shortcut keymasterfujiwarat2022-01-201-1/+1
| | | | | | | | | 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
* data/dconf: Change XKB layout string color in panelfujiwarat2022-01-201-1/+1
| | | | | | Replace '#415099' with '#51a2da' in XKB layout string color BUG=https://github.com/ibus/ibus/issues/2364
* ibusenginesimple: Fix to send char position at update_preedit_textfujiwarat2022-01-061-2/+2
| | | | | | | ibus_engine_update_preedit_text() should send the character position instead of the byte position. BUG=https://github.com/ibus/ibus/issues/2368
* travis: Add autopint dependencyfujiwarat2021-12-031-0/+2
|
* src: Disable emoji shortcut key with no-emoji hintfujiwarat2021-12-021-2/+6
| | | | BUG=https://gitlab.gnome.org/GNOME/gtk/-/issues/4337
* autogen: Delete gnome-autogen dependencyfujiwarat2021-12-023-41/+80
| | | | | | You may like to call ./autogen.sh --enable-gtk-doc with your custom configure options. Also set SAVE_DIST_FILE=1 by default
* travis: Fix bindings/pygobject/test-override-ibus.pyfujiwarat2021-12-021-0/+2
| | | | | Recently Travis default python was changed to version 2 in Ubuntu focal and I have to specify python3 in configure.
* src/ibuscomposetable: invalidate cache based on symlink mtime tooNaïm Favier2021-11-171-2/+6
| | | | | | | | | | | | 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
* travis: git config pull.rebase falsefujiwarat2021-11-171-0/+1
| | | | `git pull` fails with local commits
* ui/gtk2: Deprecate gettext.bind_textdomain_codeset() since Python 3.8fujiwarat2021-11-051-1/+7
| | | | | | | setup/i18n.py is a symlink of ui/gtk2/i18n.py env PYTHONWARNINGS='d' ibus-setup BUG=https://github.com/ibus/ibus/issues/2276
* ui/gtk3: Erase Emojier preedit/lookup popup between applicationsfujiwarat2021-10-293-8/+94
| | | | | | | | | | | | | | | 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
* src/tests: Add --screendump option in ibus-desktop-testing-runnerfujiwarat2021-09-104-4/+93
| | | | | | | | 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.
* client/gtk2/ibusimcontext: Fix a key event loop with forwarding keysfujiwarat2021-09-101-2/+9
| | | | | _ibus_context_forward_key_event_cb() caused a key event loop in _key_snooper_cb() with key release events.
* Fix build errors in Ubuntu focalfujiwarat2021-09-107-2/+26
| | | | | | | | | | - 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
* client/gtk2/ibusimcontext: Calculate keycode from keysym in GTK3 ↵fujiwarat2021-09-061-4/+18
| | | | | | | forward-key-event IBus GTK3 mode also calculates keycode from keysym if keycode == 0 with forward-key-event signal to follow GTK4.
* client/gtk2/ibusimcontext: Implement clear preedit for GTK4fujiwarat2021-09-061-3/+6
| | | | | | | | | | | | | 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
* Update URLSEberhard Beilharz2021-09-015-7/+7
| | | | | | | 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
* client/gtk2/ibusimcontext: Fix wrong cursor location in gtk3 appsAlynx Zhou2021-09-011-1/+4
| | | | | | | 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
* Release 1.5.251.5.25fujiwarat2021-08-201-1/+1
|
* src/ibuscomposetable: Do not output incompleted compose dead keysfujiwarat2021-08-202-26/+6
| | | | Incompleted dead keys are used in fi_FI compose.
* engine: Update simple.xml with xkeyboard-config 2.33fujiwarat2021-08-201-53/+161
|
* autogen: Check xkeyboard-config-devel for XKBCONFIG_BASE variablefujiwarat2021-08-201-1/+5
|
* src: Fix a typo in ibusenginesimple.huser2027292021-08-181-1/+1
| | | | BUG=https://github.com/ibus/ibus/pull/2332
* setup: Start ibus-daemon with the --daemonize optionGunnar Hjalmarsson2021-08-181-1/+1
| | | | | | | | | | | 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
* po: Update translation (Korean)JungHee Lee2021-08-181-109/+138
| | | | | | | | | Update po/ko.po at 100.0% 기존 번역 입력 방식, 입력 방법, 입력기로 번역된 것을 입력기로 통일하였습니다. 새로 추가된 내용을 번역하였습니다. 기타 등등... BUG=https://github.com/ibus/ibus/pull/2318
* po: Update translation (Korean)Seong-ho Cho2021-08-181-14/+14
| | | | | | | Update po/ko.po at 100.0% https://translate.fedoraproject.org/projects/ibus/ibus/ko/ BUG=https://github.com/ibus/ibus/pull/2305
* po: Update translation (Japanese) (Korean)simmon2021-08-182-51/+50
| | | | | | | | | | 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
* po: Update translation (Russian)Alexey Rubtsov2021-08-181-61/+77
| | | | | | | Update po/ru.po at 98.4% https://translate.fedoraproject.org/projects/ibus/ibus/ru/ BUG=https://github.com/ibus/ibus/pull/2305
* po: Update translation (Chinese (Simplified) (zh_CN))Liu Tao2021-08-181-4/+5
| | | | | | | 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
* po: Update translation (Occitan)Quentin PAGÈS2021-08-182-0/+3289
| | | | | | | Update po/oc.po at 52.6% https://translate.fedoraproject.org/projects/ibus/ibus/oc/ BUG=https://github.com/ibus/ibus/pull/2305
* po: Update translation (Finnish)Jan Kuparinen2021-08-181-11/+11
| | | | | | | Update po/fi.po at 20.3% https://translate.fedoraproject.org/projects/ibus/ibus/fi/ BUG=https://github.com/ibus/ibus/pull/2305
* po: Update translation (Bengali)Abu Huraira2021-08-181-6/+14
| | | | | | | Update po/bn.po at 71.0% https://translate.fedoraproject.org/projects/ibus/ibus/bn/ BUG=https://github.com/ibus/ibus/pull/2305
* po: Update translation (Spanish)Emilio Herrera2021-08-181-6/+12
| | | | | | | Update po/es.po at 97.4% https://translate.fedoraproject.org/projects/ibus/ibus/es/ BUG=https://github.com/ibus/ibus/pull/2305
* client/x11: Add support for XFixes ClientDisconnectModeOlivier Fourdan2021-08-183-0/+20
| | | | | | | | | | | | | | | | | | | | | 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
* client/gtk2/ibusimcontext: Enable sync process in GTK4fujiwarat2021-08-091-24/+41
| | | | | | | 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
* Code reviewsfujiwarat2021-07-263-10/+27
| | | | | | | | - 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
* src/ibusenginesimple: Make Compose preedit less intrusivefujiwarat2021-07-263-160/+325
| | | | | | | | | | | 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/
* src/ibusenginesimple: Change gint to intfujiwarat2021-07-263-96/+96
|
* src: Update ibuskeysyms.h for latest dead keysfujiwarat2021-07-261-1/+185
|
* src/ibusenginesimple: Multi_key to 0xB7fujiwarat2021-07-262-27/+30
| | | | | | | 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
* src/ibuscomposetable: Move ibus_compose_table_checkfujiwarat2021-07-265-528/+601
| | | | | | - 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.
* setup: Enhance engine search functionfujiwarat2021-07-161-6/+20
| | | | | | | | | | | 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.
* Change default Emoji shortcut keyfujiwarat2021-07-141-1/+1
| | | | | | | | 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
* src/tests: Delete G_MESSAGES_DEBUG in desktop-testing for gsettingsfujiwarat2021-06-291-2/+9
| | | | | G_MESSAGES_DEBUG message could be appended to the output of gsettings command and it's not useful to check the output.
* src/ibuscomposetable: Fix a buffer overflow in compose handlinglf-2021-06-241-3/+12
| | | | | | | | | | | | | | | 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
* src/ibuscomposetable: Do not include the same compose filefujiwarat2021-06-181-30/+100
| | | | BUG=https://github.com/ibus/ibus/pull/2296
* src/ibuscomposetable: Add support for the include directivelf-2021-06-181-5/+95
| | | | | | | 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
* src/tests: Fix ibus-desktop-testing-runner to get gsettings resultfujiwarat2021-06-161-7/+11
| | | | | gsettings null string is '' and the quote mark needs to be parsed. Also no-overview gsetting should be changed before run gnome-session.
* Fix code reviewsfujiwarat2021-06-1629-172/+524
|
* client/gtk2: Implement ibus_im_context_set_surrounding_with_selection()fujiwarat2021-05-121-9/+44
| | | | | | | | | 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