platform/upstream/ibus.git
11 years agoRemove g_type_init() calls.
fujiwarat [Tue, 4 Jun 2013 02:12:53 +0000 (11:12 +0900)]
Remove g_type_init() calls.

https://git.gnome.org/browse/glib/commit/?id=1dc774a653e992e1153fbed16f90097fa8db467f
https://git.gnome.org/browse/vala/commit/?id=f1fbafdfdc91fadaa57d2e073fc29cc6804d6ae3

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

11 years agoDelete ibus.desktop
Colin Walters [Wed, 29 May 2013 01:56:17 +0000 (10:56 +0900)]
Delete ibus.desktop

This is not an actual application, it just starts the daemon in the
background.  That's not something that should be in the application
list.  It should be started in the background when necessary.

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

Review URL: https://codereview.appspot.com/9833043
Patch from Colin Walters <walters@verbum.org>.

11 years agoLet users know the default hotkey is Super+space with libnotify.
fujiwarat [Fri, 17 May 2013 03:12:54 +0000 (12:12 +0900)]
Let users know the default hotkey is Super+space with libnotify.

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

11 years agoAdd man files of /usr/bin files.
fujiwarat [Wed, 15 May 2013 03:03:54 +0000 (12:03 +0900)]
Add man files of /usr/bin files.

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

11 years agoDefalut triggers key is changed to <Super>space.
fujiwarat [Mon, 13 May 2013 07:36:19 +0000 (16:36 +0900)]
Defalut triggers key is changed to <Super>space.

We have been used <Control>space as the default triggers key.
GNOME3 and Windows7 applied <Super>space as the default trigger key
and IBus follows it for the consistent key between desktops.

BUG=RH#953404

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

11 years agoCheck GtkIMContext:input-purpose to disable IM on lock screen
Daiki Ueno [Mon, 13 May 2013 02:47:29 +0000 (11:47 +0900)]
Check GtkIMContext:input-purpose to disable IM on lock screen

Recent GtkIMContext has "input-purpose" property, which can be used to check if the target widget is a password entry, in a more reliable way.

BUG=none
R=Shawn.P.Huang@gmail.com

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

11 years agoImplement embed_preedit_text.
fujiwarat [Tue, 30 Apr 2013 12:46:02 +0000 (21:46 +0900)]
Implement embed_preedit_text.

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

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

11 years agoUse EXTRA_DIST instead of DIST_SOURCES.
fujiwarat [Wed, 24 Apr 2013 04:44:35 +0000 (13:44 +0900)]
Use EXTRA_DIST instead of DIST_SOURCES.

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

11 years agoFix make dist errors.
fujiwarat [Mon, 22 Apr 2013 11:16:31 +0000 (20:16 +0900)]
Fix make dist errors.

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

11 years agoRelease 1.5.2 1.5.2
fujiwarat [Wed, 17 Apr 2013 00:57:33 +0000 (09:57 +0900)]
Release 1.5.2

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

11 years agoDraw highlight for focused IME in IME switcher.
Peng Huang [Tue, 26 Mar 2013 10:55:09 +0000 (06:55 -0400)]
Draw highlight for focused IME in IME switcher.

BUG=None
TEST=Manual

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

11 years agoFix build error and warnings in Fedora 18.
Peng Huang [Tue, 26 Mar 2013 10:54:43 +0000 (06:54 -0400)]
Fix build error and warnings in Fedora 18.

BUG=None
TEST=Manual

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

11 years agoMerge pull request #6 from maxiaojun/master
Peng Huang [Mon, 25 Mar 2013 14:29:41 +0000 (07:29 -0700)]
Merge pull request #6 from maxiaojun/master

Show all g-ir-scanner warnings

11 years agoMove ibus.bash script from /etc to /usr/share
fujiwarat [Thu, 21 Mar 2013 02:13:52 +0000 (11:13 +0900)]
Move ibus.bash script from /etc to /usr/share

BUG=RH#922996

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

11 years agobash completion: No need to install it as executable.
Ville Skyttä [Tue, 12 Mar 2013 02:17:59 +0000 (11:17 +0900)]
bash completion: No need to install it as executable.

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

Review URL: https://codereview.appspot.com/7696043
Patch from Ville Skyttä <ville.skytta@iki.fi>.

11 years agoAdd textdomain property to IBusEngineDesc
Daiki Ueno [Mon, 11 Mar 2013 21:41:43 +0000 (06:41 +0900)]
Add textdomain property to IBusEngineDesc

BUG=Issue#1580

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

11 years agoSimplify component xml generation using sed
Daiki Ueno [Sun, 10 Mar 2013 05:55:42 +0000 (14:55 +0900)]
Simplify component xml generation using sed

BUG=none

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

11 years agoLaunch the second ibus engine too to reduce the launching time.
fujiwarat [Fri, 8 Mar 2013 02:21:25 +0000 (11:21 +0900)]
Launch the second ibus engine too to reduce the launching time.

Currently the first ibus engine only is running but the second engine
is also frequently used. It is good to run the second engine before
user types Ctrl+space.

BUG=RH#838734
TEST=src/tests/ibus-bus

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

11 years agoChange set_use_system_keyboard_layout() timing.
fujiwarat [Thu, 7 Mar 2013 04:16:10 +0000 (13:16 +0900)]
Change set_use_system_keyboard_layout() timing.

Call set_use_system_keyboard_layout() before update_engines() is called
in panel.vala because update_engines() calls switch_engine().

BUG=http://code.google.com/p/ibus/issues/detail?id=1558#c43

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

11 years agoImplement use-system-keyboard-layout
fujiwarat [Mon, 4 Mar 2013 01:10:53 +0000 (10:10 +0900)]
Implement use-system-keyboard-layout

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

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

11 years agoFix make rpm errors due to ibus-dconf and pygobject override
Daiki Ueno [Tue, 26 Feb 2013 22:12:09 +0000 (07:12 +0900)]
Fix make rpm errors due to ibus-dconf and pygobject override

BUG=Issue#1600

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

11 years agodaemon: allow "eavesdrop" match rule
Daiki Ueno [Mon, 25 Feb 2013 22:42:14 +0000 (07:42 +0900)]
daemon: allow "eavesdrop" match rule

Recent dbus-monitor supplies "eavesdrop" match rule which ibus-daemon
does not accept.  This patch silently ignores the rule so ibus-daemon
behave the same as before.

BUG=none

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

11 years agoFix annotation in ibus_bus_create_input_context
fujiwarat [Thu, 21 Feb 2013 03:41:08 +0000 (12:41 +0900)]
Fix annotation in ibus_bus_create_input_context

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

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

11 years agoShow all GIR warnings
Ma Xiaojun [Tue, 19 Feb 2013 11:31:54 +0000 (19:31 +0800)]
Show all GIR warnings

11 years agoFix no rule to make target test-override-ibus.py
fujiwarat [Fri, 15 Feb 2013 03:28:25 +0000 (12:28 +0900)]
Fix no rule to make target test-override-ibus.py

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

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

11 years agoclient: Queue events while the IBus context isn't ready
Rui Matos [Wed, 9 Jan 2013 15:14:55 +0000 (10:14 -0500)]
client: Queue events while the IBus context isn't ready

There are actually 3 patches here.

---
client: Queue events while the IBus context isn't ready

We may lose events that ought to be processed while the IBus context
isn't ready or if the connection to IBus isn't fully established yet.

To avoid that, enqueue events to be processed later when the IBus
context creation finishes.

---
client: Don't cancel an ongoing create input context on another request

This would only add more delays.

---
client: Cancel any ongoing create input context request on finalize

BUG=

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

11 years agoUse Variant.unpack() instead of Variant.dup_strv().
fujiwarat [Sat, 15 Dec 2012 08:40:18 +0000 (17:40 +0900)]
Use Variant.unpack() instead of Variant.dup_strv().

Variant.dup_strv() returns a tuple in pygobject 3.2, e.g. (['<Control>space'], 1L), and a list in pygobject 3.4, e.g. ['<Control>space'] .

BUG=RH#887153

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

11 years agoRelease 1.5.1 1.5.1
fujiwarat [Tue, 11 Dec 2012 13:35:21 +0000 (22:35 +0900)]
Release 1.5.1

BUG=

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

11 years agoAdd fr(bepo) XKB engine.
fujiwarat [Tue, 11 Dec 2012 13:32:06 +0000 (22:32 +0900)]
Add fr(bepo) XKB engine.

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

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

11 years agoFix IBus.py errors.
fujiwarat [Mon, 10 Dec 2012 23:20:50 +0000 (08:20 +0900)]
Fix IBus.py errors.

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

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

11 years agoRelase 1.5.0 1.5.0
Peng Huang [Fri, 7 Dec 2012 23:02:23 +0000 (18:02 -0500)]
Relase 1.5.0

BUG=None

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

11 years agoRemove transfer container in ibus_engine_simple_add_table.
fujiwarat [Fri, 7 Dec 2012 21:43:00 +0000 (06:43 +0900)]
Remove transfer container in ibus_engine_simple_add_table.

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

11 years agoUpdate translations.
fujiwarat [Fri, 7 Dec 2012 02:18:20 +0000 (11:18 +0900)]
Update translations.

Update po/LINGUAS
po/as.po po/bg.po po/bn_IN.po po/es.po po/et.po po/eu.po po/fr.po
po/gu.po po/hi.po po/hu.po po/ja.po po/ko.po po/ml.po po/nl.po
po/or.po po/pa.po po/pl.po po/ta.po po/te.po po/uk.po po/zh_CN.po
po/zh_TW.po

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

11 years agoRevert required valac version to 0.14.
Daiki Ueno [Thu, 6 Dec 2012 21:21:56 +0000 (06:21 +0900)]
Revert required valac version to 0.14.

BUG=none

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

11 years agoHide some unused settings on ibus-setup.
fujiwarat [Thu, 6 Dec 2012 02:51:09 +0000 (11:51 +0900)]
Hide some unused settings on ibus-setup.

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

11 years agobuild: quote $@ in autogen.sh
Evan Nemerson [Wed, 5 Dec 2012 03:18:51 +0000 (12:18 +0900)]
build: quote $@ in autogen.sh

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

Review URL: https://codereview.appspot.com/6867067
Patch from Evan Nemerson <evan@coeus-group.com>.

11 years agoChange the default config to ibus-dconf.
fujiwarat [Wed, 5 Dec 2012 03:00:30 +0000 (12:00 +0900)]
Change the default config to ibus-dconf.

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

11 years agoAdd Ctrl+space customization.
fujiwarat [Wed, 5 Dec 2012 02:20:37 +0000 (11:20 +0900)]
Add Ctrl+space customization.

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

11 years agoModernize vala binding generation
Daiki Ueno [Tue, 4 Dec 2012 21:11:54 +0000 (06:11 +0900)]
Modernize vala binding generation

Use vapigen.m4 and Makefile.vapigen from vala to handle vapi file
generation.  Also generate vapi always when gir is updated.

BUG=none

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

11 years agoFix red colour in rgb value in pango.vala
Mike FABIAN [Tue, 4 Dec 2012 15:50:40 +0000 (10:50 -0500)]
Fix red colour in rgb value in pango.vala

The red part of the rgb value was always passed as 0
to Pango.attr_foreground_new(r, g, b) and
Pango.attr_background_new(r, g, b).

BUG=

Review URL: https://codereview.appspot.com/6874050
Patch from Mike FABIAN <maiku.fabian@gmail.com>.

11 years agoIBusFactory: Fix syntax of gtk-doc comment
Colin Walters [Mon, 3 Dec 2012 18:06:10 +0000 (23:36 +0530)]
IBusFactory: Fix syntax of gtk-doc comment

This was always invalid, but older versions of gobject-introspection
accepted it.

BUG=https://bugzilla.gnome.org/show_bug.cgi?id=689354

Review URL: https://codereview.appspot.com/6846138
Patch from Colin Walters <walters@verbum.org>.

11 years agoFix xmllint errors.
fujiwarat [Fri, 30 Nov 2012 02:43:43 +0000 (11:43 +0900)]
Fix xmllint errors.

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

11 years agoFix out-of-tree build
Daiki Ueno [Fri, 23 Nov 2012 02:14:48 +0000 (11:14 +0900)]
Fix out-of-tree build

Also cleanup Makefiles and fix build error with older valac.

BUG=none

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

11 years agoInstall pygobject override
Daiki Ueno [Thu, 22 Nov 2012 23:17:23 +0000 (08:17 +0900)]
Install pygobject override

To mitigate the gap between the old python binding and
pygobject, add wrapper to some classes.

BUG=none

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

11 years agoRemove gnome-icon-theme-legacy dependency.
fujiwarat [Thu, 22 Nov 2012 06:07:12 +0000 (15:07 +0900)]
Remove gnome-icon-theme-legacy dependency.

gtk_image_set_from_icon_name() accesses the icon_name only but
gtk_image_set_from_stock() can fallback the stock name to the real name.
E.g. "gtk-about.png" is the symlink of "help-about.png" and
"gtk-about.png" is included in gnome-icon-theme-legacy package in Fedora.

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

11 years agoAdd cedilla_compose_seqs table for pt_BR compose keys.
fujiwarat [Mon, 19 Nov 2012 02:58:35 +0000 (11:58 +0900)]
Add cedilla_compose_seqs table for pt_BR compose keys.

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

11 years agoChange the default icon to ibus-keyboard due to gnome ibus integration.
fujiwarat [Thu, 15 Nov 2012 07:58:06 +0000 (16:58 +0900)]
Change the default icon to ibus-keyboard due to gnome ibus integration.

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

11 years agoUpdate simple.xml to enable layout_variant tag.
fujiwarat [Tue, 13 Nov 2012 03:05:07 +0000 (12:05 +0900)]
Update simple.xml to enable layout_variant tag.

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

12 years agoDisable IME switcher window when switcher-delay-time is less than 0 1.4.99.20121109
fujiwarat [Fri, 9 Nov 2012 01:26:23 +0000 (10:26 +0900)]
Disable IME switcher window when switcher-delay-time is less than 0

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

12 years agogtk3: use different prev/next icons depending on orientation
Daiki Ueno [Tue, 6 Nov 2012 08:31:55 +0000 (17:31 +0900)]
gtk3: use different prev/next icons depending on orientation

Use rotated icons for prev/next buttons on lookup table.

BUG=none

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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>.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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