platform/upstream/ibus.git
11 years agoFix some build warnings.
Peng Huang [Mon, 5 Nov 2012 14:24:15 +0000 (09:24 -0500)]
Fix some build warnings.

BUG=None

Review URL: https://codereview.appspot.com/6775097

11 years agoAdd some milliseconds interval before IME switcher is shown.
fujiwarat [Mon, 5 Nov 2012 05:28:02 +0000 (14:28 +0900)]
Add some milliseconds interval before IME switcher is shown.

Review URL: https://codereview.appspot.com/6826045

11 years agoibus-daemon: use GFileMonitor instead of polling
Daiki Ueno [Fri, 26 Oct 2012 07:56:34 +0000 (16:56 +0900)]
ibus-daemon: use GFileMonitor instead of polling

BUG=Issue#1514

Review URL: https://codereview.appspot.com/6589065

11 years agoibus-daemon: ignore standard component path if IBUS_COMPONENT_PATH is set
Daiki Ueno [Tue, 23 Oct 2012 04:35:24 +0000 (13:35 +0900)]
ibus-daemon: ignore standard component path if IBUS_COMPONENT_PATH is set

Don't load components from /usr/share/ibus/components if
IBUS_COMPONENT_PATH is set.  Currently the envvar is only useful
for testing and appending the standard path makes little sense.

BUG=none

Review URL: https://codereview.appspot.com/6753044

11 years agoAdd version property in IBusEngineDesc.
fujiwarat [Sat, 20 Oct 2012 02:45:05 +0000 (11:45 +0900)]
Add version property in IBusEngineDesc.

BUG=http://code.google.com/p/ibus/issues/detail?id=1524
TEST=Manually

Review URL: https://codereview.appspot.com/6736043

11 years agoAdd layout_variant and layout_option in IBusEngineDesc for XKB.
fujiwarat [Tue, 16 Oct 2012 01:28:26 +0000 (10:28 +0900)]
Add layout_variant and layout_option in IBusEngineDesc for XKB.

TEST=Manually

Review URL: https://codereview.appspot.com/6586075

11 years agoFix fallback 'C' locale in ibus-setup.
fujiwarat [Mon, 15 Oct 2012 02:45:30 +0000 (11:45 +0900)]
Fix fallback 'C' locale in ibus-setup.

BUG=RH#863673
TEST=Manually

Review URL: https://codereview.appspot.com/6649043

11 years agoFix a typo.
fujiwarat [Mon, 15 Oct 2012 02:39:42 +0000 (11:39 +0900)]
Fix a typo.

TEST=Manually

Review URL: https://codereview.appspot.com/6651061

11 years agoFix typo in data/dconf/profile/ibus
fujiwarat [Fri, 12 Oct 2012 02:31:35 +0000 (11:31 +0900)]
Fix typo in data/dconf/profile/ibus

http://git.gnome.org/browse/gdm/commit/?id=aa25b559c6e907485cc9e
I copied the typo by mitake. dconf_engine_source_new() supports
"user-db" or "system-db".
http://git.gnome.org/browse/dconf/tree/engine/dconf-engine-source.c#n75

TEST=Manually

Review URL: https://codereview.appspot.com/6640058

11 years agoFix make dist in the latet doc build.
fujiwarat [Mon, 8 Oct 2012 04:00:21 +0000 (13:00 +0900)]
Fix make dist in the latet doc build.

TEST=Manually

Review URL: https://codereview.appspot.com/6615051

11 years agoFix wrong return from key snooper. 1.4.99.20121006
Peng Huang [Fri, 5 Oct 2012 16:21:05 +0000 (12:21 -0400)]
Fix wrong return from key snooper.

BUG=None

Review URL: https://codereview.appspot.com/6623048

11 years agotests: set LC_ALL to C instead of en_US.Utf-8
Daiki Ueno [Fri, 5 Oct 2012 00:50:38 +0000 (09:50 +0900)]
tests: set LC_ALL to C instead of en_US.Utf-8

If LC_* is not "C" and there is no translation found in the current locale, gettext honors the LANGUAGE envvar.

BUG=Issue#1515

Review URL: https://codereview.appspot.com/6592074

11 years agoFix SIGABRT by finalized IBusIMContext during _request_surrounding_text
fujiwarat [Wed, 3 Oct 2012 02:48:20 +0000 (11:48 +0900)]
Fix SIGABRT by finalized IBusIMContext during _request_surrounding_text

BUG=RH#859879
TEST=Manually

Review URL: https://codereview.appspot.com/6573051

11 years agoFix wrong size of switcher window after removing some engines.
Peng Huang [Fri, 28 Sep 2012 14:11:01 +0000 (10:11 -0400)]
Fix wrong size of switcher window after removing some engines.

BUG=None

Review URL: https://codereview.appspot.com/6560060

11 years agoFix IBus.Bus.get_config is null.
fujiwarat [Thu, 27 Sep 2012 01:11:34 +0000 (10:11 +0900)]
Fix IBus.Bus.get_config is null.

Now im-ibus.so uses ibus_bus_new_async() instead of ibus_bus_new()
and then if ibus-setup-anthy calls GTK+ UI before ibus_bus_new(),
the async function is called instead and the delay is happened with
the latest ibus 1.5.
The fix is to call ibus_bus_new() before GTK+.

BUG=RH#859585
TEST=Manually

Review URL: https://codereview.appspot.com/6566053

11 years agoFix a docs build error with the latest libxslt-1.1.27.
fujiwarat [Wed, 26 Sep 2012 01:16:32 +0000 (10:16 +0900)]
Fix a docs build error with the latest libxslt-1.1.27.

TEST=manually

Review URL: https://codereview.appspot.com/6570048

11 years agoFix SIGABRT in bus_panel_proxy_register_properties
fujiwarat [Mon, 17 Sep 2012 03:12:15 +0000 (12:12 +0900)]
Fix SIGABRT in bus_panel_proxy_register_properties

TEST=Manually

Review URL: https://codereview.appspot.com/6499112

11 years agoFix make dist.
fujiwarat [Mon, 17 Sep 2012 03:09:31 +0000 (12:09 +0900)]
Fix make dist.

TEST=Manually

Review URL: https://codereview.appspot.com/6492121

11 years agoAdd IBusProperty.symbol for the short label.
fujiwarat [Fri, 14 Sep 2012 02:24:30 +0000 (11:24 +0900)]
Add IBusProperty.symbol for the short label.

IBusProperty.label had been shared between the panel menu label and
language-bar button label so the label is too short against the panel menu.
Now we redefines IBusProperty.label as the long label and the new
IBusProperty.symbol is defined as the short label for the language-bar
and the panel status icon.

TEST=Manually

Review URL: https://codereview.appspot.com/6495117

11 years agoibus-daemon: trigger engine to send RegisterProperties when panel appears
Daiki Ueno [Wed, 12 Sep 2012 01:06:57 +0000 (10:06 +0900)]
ibus-daemon: trigger engine to send RegisterProperties when panel appears

BUG=none

Review URL: https://codereview.appspot.com/6506094

11 years agoUse gdk_threads_add_idle_full() in gtkimmodule to avoid race condition in some multi...
Peng Huang [Tue, 11 Sep 2012 15:21:58 +0000 (11:21 -0400)]
Use gdk_threads_add_idle_full() in gtkimmodule to avoid race condition in some multi-threaded apps.

BUG=http://code.google.com/p/ibus/issues/detail?id=1505

Review URL: https://codereview.appspot.com/6488104

11 years agoPrevent IME menu being empty when focus out
Daiki Ueno [Fri, 7 Sep 2012 02:55:09 +0000 (11:55 +0900)]
Prevent IME menu being empty when focus out

Previously ibus-daemon did not make fake_context focused when focus-out, while it is supposed to do.

BUG=none

Review URL: https://codereview.appspot.com/6492086

11 years agogtk3: Call XIGrabKeycode directly from Vala
Daiki Ueno [Thu, 6 Sep 2012 02:06:35 +0000 (11:06 +0900)]
gtk3: Call XIGrabKeycode directly from Vala

Port the logic of grabkeycode.c into Vala.  This will make it easier to
implement XI2 GenericEvent handling in KeybindingManager.

BUG=none

Review URL: https://codereview.appspot.com/6501080

11 years agoCleanup the vala code of gtk3 panel and tool by:
Daiki Ueno [Mon, 3 Sep 2012 03:53:18 +0000 (12:53 +0900)]
Cleanup the vala code of gtk3 panel and tool by:

- using config.vapi
- omitting unnecessary "using X"

Also localize ibus tool and make the argument handling better.

BUG=none

Review URL: https://codereview.appspot.com/6496066

11 years agotests: fix "make check" with dash
Daiki Ueno [Fri, 24 Aug 2012 14:13:41 +0000 (23:13 +0900)]
tests: fix "make check" with dash

/bin/dash does not support ERR trap signal and ">&" redirect.  Also
fix copying non-existing component file.

BUG=none

Review URL: https://codereview.appspot.com/6478058

11 years agoFix the last commit.
Daiki Ueno [Fri, 24 Aug 2012 12:52:06 +0000 (21:52 +0900)]
Fix the last commit.

Forgot to git add ibus-engine-switch.c.

Review URL: https://codereview.appspot.com/6480052

11 years agotests: add engine-switch test
Daiki Ueno [Fri, 24 Aug 2012 12:48:56 +0000 (21:48 +0900)]
tests: add engine-switch test

Moved engine specific test from ibus-bus.c to a separate
file, so that it can be conditionally built depending on
--enable-engine.

Also do not register duplicate engine when loading component files.
This is for the case when two engine descs with the
same name are in different directories in IBUS_COMPONENT_PATH.

BUG=none

Review URL: https://codereview.appspot.com/6480052

11 years agoFix to load the system gvdb with $DCONF_PROFILE in dconf 0.13.4
fujiwarat [Mon, 20 Aug 2012 01:14:01 +0000 (10:14 +0900)]
Fix to load the system gvdb with $DCONF_PROFILE in dconf 0.13.4

BUG=RH#844580
TEST=Manually

Review URL: https://codereview.appspot.com/6446145

11 years agoengine: delay D-Bus name request after factory creation
Daiki Ueno [Mon, 20 Aug 2012 01:00:17 +0000 (10:00 +0900)]
engine: delay D-Bus name request after factory creation

BUG=none

Review URL: https://codereview.appspot.com/6441157

11 years agoDo not use deprecated glib function g_atexit().
Peng Huang [Thu, 16 Aug 2012 19:26:39 +0000 (15:26 -0400)]
Do not use deprecated glib function g_atexit().

BUG=http://code.google.com/p/ibus/issues/detail?id=1489

Review URL: https://codereview.appspot.com/6454158

11 years agoFix testcase failure when IBus is not installed.
Daiki Ueno [Thu, 9 Aug 2012 01:58:47 +0000 (10:58 +0900)]
Fix testcase failure when IBus is not installed.

BUG=none

Review URL: https://codereview.appspot.com/6455068

11 years agoconf: always build ibus-memconf for testing
Daiki Ueno [Wed, 8 Aug 2012 03:33:15 +0000 (12:33 +0900)]
conf: always build ibus-memconf for testing

BUG=none

Review URL: https://codereview.appspot.com/6457087

11 years agoconf: cleanup GError usage
Daiki Ueno [Wed, 8 Aug 2012 03:24:12 +0000 (12:24 +0900)]
conf: cleanup GError usage

- there are missing g_error_free
- some code assume error != NULL when setting *error
- src/tests/ibus-config.c has unconditional "unset" but it checks the return value

BUG=none

Review URL: https://codereview.appspot.com/6449103

11 years agoSet proper error code when config daemon is not running.
Daiki Ueno [Fri, 3 Aug 2012 02:34:08 +0000 (11:34 +0900)]
Set proper error code when config daemon is not running.

BUG=none

Review URL: https://codereview.appspot.com/6453076

11 years agoFix double-unref when looping over attachment.
Daiki Ueno [Wed, 1 Aug 2012 01:26:48 +0000 (10:26 +0900)]
Fix double-unref when looping over attachment.

BUG=none

Review URL: https://codereview.appspot.com/6445057

11 years agoSupport dconf 0.13.4
fujiwarat [Thu, 19 Jul 2012 00:57:01 +0000 (09:57 +0900)]
Support dconf 0.13.4

TEST=Manually

Review URL: https://codereview.appspot.com/6426044

11 years agoIBusBus: honor new connect-async prop in the socket monitor callback
Peng Huang [Thu, 12 Jul 2012 20:41:30 +0000 (16:41 -0400)]
IBusBus: honor new connect-async prop in the socket monitor callback

I think we should make use of the async connection here if the
property is set.

But we also need a new flag for ongoing async connection attempts
because the socket monitor callback may be called several times before
the connection is established.

BUG=http://code.google.com/p/ibus/issues/detail?id=1482
TEST=

Review URL: https://codereview.appspot.com/6346090

11 years agobus: Own a name on the DBus session bus
Rui Matos [Thu, 12 Jul 2012 15:11:23 +0000 (11:11 -0400)]
bus: Own a name on the DBus session bus

This makes it easier for third parties to track the ibus-daemon life
cycle.

BUG=http://code.google.com/p/ibus/issues/detail?id=1476
TEST=

Review URL: https://codereview.appspot.com/6374058
Patch from Rui Matos <tiagomatos@gmail.com>.

11 years agoFix issue - keybinding with Super, Hyper and Meta Modifiers does not work.
Peng Huang [Fri, 8 Jun 2012 14:28:33 +0000 (10:28 -0400)]
Fix issue - keybinding with Super, Hyper and Meta Modifiers does not work.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/6302047

11 years agoRefine IME switch keybinding related code.
Peng Huang [Fri, 8 Jun 2012 14:12:54 +0000 (10:12 -0400)]
Refine IME switch keybinding related code.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/6295047

11 years agoUse IM icon in switcher dialog.
Peng Huang [Tue, 5 Jun 2012 13:59:06 +0000 (09:59 -0400)]
Use IM icon in switcher dialog.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/6274044

11 years agoEnhance ibus-ui-gtk3 switcher labels.
fujiwarat [Thu, 31 May 2012 02:45:15 +0000 (11:45 +0900)]
Enhance ibus-ui-gtk3 switcher labels.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5956045

11 years agoFix a SEGV when close the shortcutkey dialog and update mnemonic.
fujiwarat [Thu, 31 May 2012 02:38:40 +0000 (11:38 +0900)]
Fix a SEGV when close the shortcutkey dialog and update mnemonic.

TEST=Manually

Review URL: https://codereview.appspot.com/6256068

11 years agoChange engines order when global_engine is changed.
Peng Huang [Wed, 30 May 2012 15:38:40 +0000 (11:38 -0400)]
Change engines order when global_engine is changed.

BUG=http://code.google.com/p/ibus/issues/detail?id=1464
TEST=Manually

Review URL: https://codereview.appspot.com/6249064

11 years agoUpdate setup ui file to gtk 3.0 and remove a debug print.
Peng Huang [Wed, 30 May 2012 11:42:51 +0000 (07:42 -0400)]
Update setup ui file to gtk 3.0 and remove a debug print.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/6244057

11 years agodconf: don't regenerate 00-upstream-settings after intltool-merge
Daiki Ueno [Mon, 28 May 2012 01:59:22 +0000 (10:59 +0900)]
dconf: don't regenerate 00-upstream-settings after intltool-merge

BUG=https://codereview.appspot.com/6215062/#msg10
TEST=manually with make distcheck

Review URL: https://codereview.appspot.com/6245050

11 years agoRefine inline document of ibus_engine_update_preedit_text_with_mode()
Peng Huang [Mon, 28 May 2012 01:45:58 +0000 (21:45 -0400)]
Refine inline document of ibus_engine_update_preedit_text_with_mode()

BUG=http://code.google.com/p/ibus/issues/detail?id=1045
TEST=None

Review URL: https://codereview.appspot.com/6249058

11 years agogtk3: don't show "missing" icon for each submenu
Daiki Ueno [Wed, 23 May 2012 00:55:38 +0000 (09:55 +0900)]
gtk3: don't show "missing" icon for each submenu

BUG=none
TEST=manually

Review URL: https://codereview.appspot.com/6211072

12 years agodconf: use text-based key file and dconf update
Daiki Ueno [Sun, 20 May 2012 06:01:01 +0000 (15:01 +0900)]
dconf: use text-based key file and dconf update

BUG=none
TEST=manually

Review URL: https://codereview.appspot.com/6215062

12 years agoDon't not set orientation when hide lookup table to improve UI performance.
Peng Huang [Thu, 17 May 2012 15:08:14 +0000 (11:08 -0400)]
Don't not set orientation when hide lookup table to improve UI performance.

BUG=http://code.google.com/p/ibus/issues/detail?id=1461
TEST=manually

Review URL: https://codereview.appspot.com/6203085

12 years agoImproved the language of a couple of dialogs.
Daiki Ueno [Wed, 16 May 2012 07:23:55 +0000 (16:23 +0900)]
Improved the language of a couple of dialogs.

Also update all po files.

BUG=https://github.com/ibus/ibus/pull/4
TEST=manually

Review URL: https://codereview.appspot.com/6212048

12 years agoFix IBusBus gobject introspection by connecting in the constructor.
Jason Conti [Mon, 14 May 2012 17:55:30 +0000 (13:55 -0400)]
Fix IBusBus gobject introspection by connecting in the constructor.

BUG=http://code.google.com/p/ibus/issues/detail?id=1452
TEST=Manually

Review URL: https://codereview.appspot.com/6210055
Patch from Jason Conti <jason.conti@gmail.com>.

12 years agoFix a typo.
Kim, Seung Won [Wed, 9 May 2012 14:05:59 +0000 (10:05 -0400)]
Fix a typo.

BUG=None
TEST=None

Review URL: https://codereview.appspot.com/6188057
Patch from Kim, Seung Won <seungzzang@gmail.com>.

12 years agoAdd tests for ibus_bus_new_async
Jason Conti [Wed, 9 May 2012 13:29:30 +0000 (09:29 -0400)]
Add tests for ibus_bus_new_async

BUG=http://code.google.com/p/ibus/issues/detail?id=1452

Review URL: https://codereview.appspot.com/6200055
Patch from Jason Conti <jason.conti@gmail.com>.

12 years agoUse ibus_bus_new_async in gtk2 client.
Jason Conti [Tue, 8 May 2012 19:42:38 +0000 (15:42 -0400)]
Use ibus_bus_new_async in gtk2 client.

BUG=http://code.google.com/p/ibus/issues/detail?id=1452
TEST=Manually

Review URL: https://codereview.appspot.com/6198052
Patch from Jason Conti <jason.conti@gmail.com>.

12 years agoAdd function ibus_bus_new_async to create a new IBusBus object and asynchronously...
Jason Conti [Tue, 8 May 2012 18:01:57 +0000 (14:01 -0400)]
Add function ibus_bus_new_async to create a new IBusBus object and asynchronously connect to the IBus daemon.

BUG=http://code.google.com/p/ibus/issues/detail?id=1452
TEST=Manually

Review URL: https://codereview.appspot.com/6159047
Patch from Jason Conti <jason.conti@gmail.com>.

12 years agoFix GtkBuilder bindtextdomain in ibus-setup.
fujiwarat [Tue, 8 May 2012 01:44:36 +0000 (10:44 +0900)]
Fix GtkBuilder bindtextdomain in ibus-setup.

The patch was provided by Akio Obata <obata at lins dot jp>

BUG=http://code.google.com/p/ibus/issues/detail?id=1453
TEST=Linux desktop

Review URL: https://codereview.appspot.com/6203045

12 years agoFix some test codes.
fujiwarat [Fri, 27 Apr 2012 02:42:00 +0000 (11:42 +0900)]
Fix some test codes.

BUG=http://code.google.com/p/ibus/issues/detail?id=1438
TEST=Linux desktop

Review URL: https://codereview.appspot.com/6121053

12 years agoEnable to fall back /etc/machine-id
fujiwarat [Fri, 27 Apr 2012 02:27:03 +0000 (11:27 +0900)]
Enable to fall back /etc/machine-id

http://cgit.freedesktop.org/dbus/dbus/commit/dbus/dbus-sysdeps-unix.c?id=66e52541d5bdd4927a5c702963749760643313f4

BUG=http://code.google.com/p/ibus/issues/detail?id=1389
TEST=Linux desktop

Review URL: https://codereview.appspot.com/6111060

12 years agoFix make check.
Daiki Ueno [Wed, 18 Apr 2012 01:37:07 +0000 (10:37 +0900)]
Fix make check.

The make variable TESTS is reserved by automake:
https://www.gnu.org/software/automake/manual/automake.html#index-TESTS-832
and thus it causes error when make check:
 make[4]: Entering directory `/home/ueno/devel/ibus/src'
 /bin/sh: line 9: ./tests: Is a directory
 FAIL: tests

BUG=none
TEST=manually

Review URL: https://codereview.appspot.com/6056043

12 years agoAdd options to disable to build UI and engines.
fujiwarat [Tue, 17 Apr 2012 01:25:58 +0000 (10:25 +0900)]
Add options to disable to build UI and engines.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/6031059

12 years agoFix the order of arguments in NameOwnerChanged
fujiwarat [Mon, 16 Apr 2012 01:19:57 +0000 (10:19 +0900)]
Fix the order of arguments in NameOwnerChanged

BUG=RH#799571
TEST=Linux desktop

Review URL: https://codereview.appspot.com/6022044

12 years agoIgnore mouse masks in ui/gtk3/keybindingmanager for accessibility.
fujiwarat [Tue, 10 Apr 2012 02:31:49 +0000 (11:31 +0900)]
Ignore mouse masks in ui/gtk3/keybindingmanager for accessibility.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5975069

12 years agoFix ibus-x11 SEGV in _process_key_event_done.
fujiwarat [Fri, 6 Apr 2012 03:11:35 +0000 (12:11 +0900)]
Fix ibus-x11 SEGV in _process_key_event_done.

IMForwardEvent() calls _Xi18nFindClient() and it could return NULL.
Maybe the connect_id would be disconnected during the async
process_key_event.
This fix checks XIM_DISCONNECT in ims_protocol_handler() to cancel
IMForwardEvent() in _process_key_event_done().

BUG=RH#769135
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5498090

12 years agoFix ibus-setup SEGV on C locale.
fujiwarat [Thu, 5 Apr 2012 01:44:26 +0000 (10:44 +0900)]
Fix ibus-setup SEGV on C locale.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5976076

12 years agoFix typo in ibusfactory.c.
Yusuke Sato [Tue, 3 Apr 2012 09:31:47 +0000 (18:31 +0900)]
Fix typo in ibusfactory.c.

BUG=None
TEST=None

Review URL: https://codereview.appspot.com/5969068

12 years agoEnable bindtextdomain in ibus-ui-gtk3.
fujiwarat [Fri, 23 Mar 2012 02:40:29 +0000 (11:40 +0900)]
Enable bindtextdomain in ibus-ui-gtk3.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5876049

12 years agoAdd --help in ibus tool.
fujiwarat [Fri, 23 Mar 2012 02:25:28 +0000 (11:25 +0900)]
Add --help in ibus tool.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5868046

12 years agoSet the custom font in ui.gtk3.CandidatePanel.
fujiwarat [Tue, 20 Mar 2012 05:25:56 +0000 (14:25 +0900)]
Set the custom font in ui.gtk3.CandidatePanel.

BUG=RH#803250
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5845047

12 years agoShow language id on ibus-ui-gtk3.switcher window.
fujiwarat [Mon, 19 Mar 2012 07:20:55 +0000 (16:20 +0900)]
Show language id on ibus-ui-gtk3.switcher window.

BUG=RH#803177
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5843059

12 years agoibus-daemon: make sure to focus out engine when unset.
Daiki Ueno [Thu, 15 Mar 2012 05:42:43 +0000 (14:42 +0900)]
ibus-daemon: make sure to focus out engine when unset.

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5824046

12 years agogtk3: show language name on the IME menu.
Daiki Ueno [Thu, 15 Mar 2012 04:21:08 +0000 (13:21 +0900)]
gtk3: show language name on the IME menu.

BUG=https://bugzilla.redhat.com/show_bug.cgi?id=803177
TEST=manual

Review URL: https://codereview.appspot.com/5819049

12 years agogtk3: honor lookup table labels and orientation
Daiki Ueno [Wed, 14 Mar 2012 02:07:47 +0000 (11:07 +0900)]
gtk3: honor lookup table labels and orientation

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5798074

12 years agolibibus: Fix a refcount issue in ibus_prop_list_deserialize()
Peng Huang [Tue, 13 Mar 2012 16:02:15 +0000 (12:02 -0400)]
libibus: Fix a refcount issue in ibus_prop_list_deserialize()

BUG=None
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5796079

12 years agoFix to ungrab ui/gtk3/switcher for GTK 3.3.18 and GLib 2.31.20
fujiwarat [Mon, 12 Mar 2012 01:29:23 +0000 (10:29 +0900)]
Fix to ungrab ui/gtk3/switcher for GTK 3.3.18 and GLib 2.31.20

BUG=RH#800897
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5795048

12 years agoRemove some unused code.
Peng Huang [Wed, 7 Mar 2012 05:41:14 +0000 (00:41 -0500)]
Remove some unused code.

BUG=None
TEST=Make

Review URL: https://codereview.appspot.com/5756061

12 years agoRefine coding style.
Peng Huang [Wed, 7 Mar 2012 05:40:47 +0000 (00:40 -0500)]
Refine coding style.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/5753058

12 years agoShrink the IME switcher window size if necessary.
Peng Huang [Wed, 7 Mar 2012 05:39:17 +0000 (00:39 -0500)]
Shrink the IME switcher window size if necessary.

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/5753056

12 years agoRestrict config notification to panel.
Daiki Ueno [Tue, 6 Mar 2012 01:03:25 +0000 (10:03 +0900)]
Restrict config notification to panel.

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5729064

12 years agoFix python library to load libibus.so.Y
fujiwarat [Mon, 5 Mar 2012 04:25:53 +0000 (13:25 +0900)]
Fix python library to load libibus.so.Y

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5731060

12 years agoEnhance make dist
fujiwarat [Mon, 5 Mar 2012 01:19:05 +0000 (10:19 +0900)]
Enhance make dist

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5730046

12 years agoRevert Gdk.DeviceManager.list_devices to work with vala 0.15
fujiwarat [Mon, 5 Mar 2012 01:14:07 +0000 (10:14 +0900)]
Revert Gdk.DeviceManager.list_devices to work with vala 0.15

Fixed a build error in ui/gtk3 with vala 0.15

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5720068

12 years agoibus-setup: improve ibus-daemon auto start
Daiki Ueno [Fri, 2 Mar 2012 06:58:36 +0000 (15:58 +0900)]
ibus-setup: improve ibus-daemon auto start

Instead of repeatedly launch the daemon and wait, start it once and wait for
IBusBus::connected signal for 5 seconds.

BUG=none
TEST=manually on Fedora 17

Review URL: https://codereview.appspot.com/5716045

12 years agoChange LT_VERSION_INFO so that SONAME is changed for ibus 1.5.
fujiwarat [Fri, 2 Mar 2012 02:18:38 +0000 (11:18 +0900)]
Change LT_VERSION_INFO so that SONAME is changed for ibus 1.5.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5707059

12 years agoibus-setup: minor typo fixes of GI enum names
Daiki Ueno [Fri, 2 Mar 2012 01:27:47 +0000 (10:27 +0900)]
ibus-setup: minor typo fixes of GI enum names

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5710049

12 years agoFix build errors in ui/gtk3 with vala-0.15.1 and gtk3-3.3.14
fujiwarat [Thu, 1 Mar 2012 03:09:07 +0000 (12:09 +0900)]
Fix build errors in ui/gtk3 with vala-0.15.1 and gtk3-3.3.14

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5704053

12 years agoFix no gconf engines_order and the engine setup button on ibus-setup.
fujiwarat [Thu, 1 Mar 2012 02:55:48 +0000 (11:55 +0900)]
Fix no gconf engines_order and the engine setup button on ibus-setup.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5702057

12 years agoFix to launch ibus-setup without running ibus-daemon.
fujiwarat [Thu, 1 Mar 2012 02:38:15 +0000 (11:38 +0900)]
Fix to launch ibus-setup without running ibus-daemon.

BUG=RH#796070
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5704054

12 years agoFix page_up and page_down signals in ibus-ui-gtk3
fujiwarat [Thu, 1 Mar 2012 02:33:52 +0000 (11:33 +0900)]
Fix page_up and page_down signals in ibus-ui-gtk3

BUG=RH#796555
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5705050

12 years agoSimplify ibus_config_watch tests using fixtures.
Daiki Ueno [Thu, 1 Mar 2012 01:50:37 +0000 (10:50 +0900)]
Simplify ibus_config_watch tests using fixtures.

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5702058

12 years agoAdd ibus_config_watch/unwatch.
Daiki Ueno [Wed, 29 Feb 2012 08:00:32 +0000 (17:00 +0900)]
Add ibus_config_watch/unwatch.

Currently IBusConfig proxy is notified every config value change.
e.g. ibus-m17n will get notified even when ibus-anthy's config values
are changed.

With this patch, IBusConfig proxy will be able to restrict
notification by calling ibus_config_watch().  For example, after:

ibus_config_watch (config, "engine/M17N/hi/inscript", NULL);

it will be notified value changes only under
"engine/M17N/hi/inscript" section.

BUG=none
TEST=manually with modified ibus-m17n

Review URL: https://codereview.appspot.com/5091045

12 years agoFix to return false in ibus_simple_engine_process_key_event
fujiwarat [Wed, 29 Feb 2012 06:44:00 +0000 (15:44 +0900)]
Fix to return false in ibus_simple_engine_process_key_event

IM clients expect filter_keypress returns FALSE when IME is disabled.
Now we use the simple engine instead of the disabled state so
it would be better that process_key_event returns FALSE for ASCII.

BUG=RH#769133
TEST=Linux desktop

Review URL: https://codereview.appspot.com/5707057

12 years agodconf: remove workaround for self-write notification.
Daiki Ueno [Wed, 29 Feb 2012 03:58:46 +0000 (12:58 +0900)]
dconf: remove workaround for self-write notification.

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5709051

12 years agoRemove redefinition of typedef IBusEngineSimplePrivate.
Peng Huang [Mon, 27 Feb 2012 15:28:18 +0000 (10:28 -0500)]
Remove redefinition of typedef IBusEngineSimplePrivate.

BUG=None
TEST=Make on Linux desktop

Review URL: https://codereview.appspot.com/5699087

12 years agoRefine inline doc and test for ibus_bus_get_engines_by_names().
Peng Huang [Mon, 27 Feb 2012 14:57:47 +0000 (09:57 -0500)]
Refine inline doc and test for ibus_bus_get_engines_by_names().

BUG=None
TEST=Manually

Review URL: https://codereview.appspot.com/5697067

12 years agoFix build with vala 0.14.2.
Daiki Ueno [Mon, 27 Feb 2012 04:34:15 +0000 (13:34 +0900)]
Fix build with vala 0.14.2.

BUG=none
TEST=manual

Review URL: https://codereview.appspot.com/5697071

12 years agoMerge remote-tracking branch 'origin/devel'
Peng Huang [Sun, 26 Feb 2012 21:28:40 +0000 (16:28 -0500)]
Merge remote-tracking branch 'origin/devel'

TEST=Linux Desktop

Review URL: https://codereview.appspot.com/5517048

12 years agoAdd ibus_unset_log_handler to remove the handler in ibus_set_log_handler
fujiwarat [Thu, 23 Feb 2012 03:07:44 +0000 (12:07 +0900)]
Add ibus_unset_log_handler to remove the handler in ibus_set_log_handler

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5690064

12 years agoibus-engine-simple: Use icon ibus-keyboard for xkb layouts.
Peng Huang [Tue, 31 Jan 2012 15:40:40 +0000 (10:40 -0500)]
ibus-engine-simple: Use icon ibus-keyboard for xkb layouts.

12 years agovala: Fix vala binding
Peng Huang [Fri, 27 Jan 2012 15:18:59 +0000 (10:18 -0500)]
vala: Fix vala binding