platform/upstream/ibus.git
11 years agoAvoid compiler error in ibus_engine_dbus_property_changed
David King [Mon, 2 Sep 2013 02:15:13 +0000 (11:15 +0900)]
Avoid compiler error in ibus_engine_dbus_property_changed

Do not return a value in a function that returns void.

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

Review URL: https://codereview.appspot.com/13334044
Patch from David King <dking@redhat.com>.

11 years agoCall _set_content_type in _create_input_context_done in im-ibus.so
fujiwarat [Fri, 30 Aug 2013 09:25:42 +0000 (18:25 +0900)]
Call _set_content_type in _create_input_context_done in im-ibus.so

TEST=password dialog in gnome-shell

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

11 years agoImplement IME state per window.
fujiwarat [Wed, 28 Aug 2013 04:10:46 +0000 (13:10 +0900)]
Implement IME state per window.

BUG=http://code.google.com/p/ibus/issues/detail?id=1568
TEST=Disable global engine with ibus-setup.

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

11 years agoUpdate french translation
Julien Humbert [Wed, 28 Aug 2013 00:53:56 +0000 (09:53 +0900)]
Update french translation

Review URL: https://codereview.appspot.com/13260043
Patch from Julien Humbert <julroy67@gmail.com>.

11 years agoUse gsettings instead of ibus-config in ibus-setup and ibus-ui-gtk3.
fujiwarat [Tue, 20 Aug 2013 06:01:42 +0000 (15:01 +0900)]
Use gsettings instead of ibus-config in ibus-setup and ibus-ui-gtk3.

TEST=ibus-setup and ibus-ui-gtk3

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

11 years agoUpdate translations
fujiwarat [Thu, 15 Aug 2013 06:18:21 +0000 (15:18 +0900)]
Update translations

Update po/LINGUAS po/as.po po/de.po po/es.po po/fr.po po/gu.po
po/hi.po po/hu.po po/ia.po po/it.po po/ja.po po/kn.po po/ko.po
po/ml.po po/mr.po po/nl.po po/or.po po/pa.po po/pl.po po/pt_BR.po
po/ru.po po/uk.po po/ta.po po/te.po po/uk.po po/zh_CN.po po/zh_TW.po

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

11 years agoNotify engines of the content-type of input context
Daiki Ueno [Wed, 14 Aug 2013 11:29:45 +0000 (13:29 +0200)]
Notify engines of the content-type of input context

Add a new D-Bus method SetContentType to InputContext and Engine, to
notify engines of the content-type (primary purpose and hints) of
input context.  This is useful to implement intelligent features in
engines, such as automatic input-mode switch and text prediction.

The "purpose" and "hints" arguments are compatible with
GtkInputPurpose and GtkInputHints:
https://developer.gnome.org/gtk3/unstable/GtkEntry.html#GtkInputPurpose
https://developer.gnome.org/gtk3/unstable/GtkEntry.html#GtkInputHints

and the API is similar to the content_type event in the Wayland Input
Method Framework:
http://cgit.freedesktop.org/wayland/weston/tree/protocol/input-method.xml#n202

BUG=

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

11 years agowayland: Add wayland client
Jan Arne Petersen [Tue, 13 Aug 2013 08:30:52 +0000 (10:30 +0200)]
wayland: Add wayland client

This patch adds a new client which supports the Wayland input method
protocol.  Note that the support is disabled by default until the
input method protocol becomes official in the Wayland upstream.
Supply --enable-wayland to configure to try it.  Also, you will need
to set the executable path of ibus-wayland under the "input-method"
section of weston.ini, like this:

 [input-method]
 path=.../libexec/ibus-wayland

BUG=Issue#1617

Review URL: https://codereview.appspot.com/11320043
Patch from Jan Arne Petersen <jan.petersen@kdab.com>.

11 years agoUpdate source files with LGP 2.1 according to COPYING.
fujiwarat [Fri, 9 Aug 2013 04:48:17 +0000 (13:48 +0900)]
Update source files with LGP 2.1 according to COPYING.

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

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

11 years agotool: add "address" command to print D-Bus address
Daiki Ueno [Fri, 2 Aug 2013 08:33:21 +0000 (10:33 +0200)]
tool: add "address" command to print D-Bus address

This would be helpful to debug with dbus-monitor.  Instead of:

  $ . .config/ibus/bus/*
  $ dbus-monitor --address $IBUS_ADDRESS ...

one can do:

  $ dbus-monitor --address $(ibus address) ...

This patch also adds help message to each sub-command.

BUG=

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

11 years agoRemove IBUS_IS_ENGINE_DESC for freed pointer in ibus-bus.c
fujiwarat [Wed, 31 Jul 2013 00:59:26 +0000 (09:59 +0900)]
Remove IBUS_IS_ENGINE_DESC for freed pointer in ibus-bus.c

BUG=http://code.google.com/p/ibus/issues/detail?id=1646
TEST=src/tests/ibus-bus.c

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

11 years agoRelease 1.5.3 1.5.3
fujiwarat [Fri, 26 Jul 2013 08:18:24 +0000 (17:18 +0900)]
Release 1.5.3

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

11 years agoAdd Norwegian keyboard in engine/simple.xml.in
fujiwarat [Fri, 26 Jul 2013 01:00:46 +0000 (10:00 +0900)]
Add Norwegian keyboard in engine/simple.xml.in

BUG=RH#987222

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

11 years agodaemon: fix PropertiesChanged signal emission
Daiki Ueno [Thu, 25 Jul 2013 09:12:26 +0000 (18:12 +0900)]
daemon: fix PropertiesChanged signal emission

This fixes a few problems of PropertiesChanged signal emission.
First, it should be sent only when the properties have changed.
Second, invalidated_properties should be set when the properties have
been reset, not on error.  Finally, the sender should be
"org.freedesktop.IBus" rather than "org.freedesktop.DBus".

BUG=
R=takao.fujiwara1@gmail.com

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

11 years agoRemove reference to primary owner on ReleaseName
Eduardo Lima (Etrunko) [Tue, 23 Jul 2013 01:43:36 +0000 (10:43 +0900)]
Remove reference to primary owner on ReleaseName

BUG=http://code.google.com/p/ibus/issues/detail?id=1636
TEST=src/tests/ibus-bus.c

Review URL: https://codereview.appspot.com/11004043
Patch from Eduardo Lima (Etrunko) <eduardo.lima@intel.com>.

11 years agoRemove arrow buttons in ibus-setup, which no longer work.
fujiwarat [Fri, 19 Jul 2013 09:19:07 +0000 (18:19 +0900)]
Remove arrow buttons in ibus-setup, which no longer work.

BUG=RH#851758
TEST=ibus-setup

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

11 years agoFix error with gcc -Wformat -Werror=format-security
Osamu Aoki [Fri, 19 Jul 2013 09:14:19 +0000 (18:14 +0900)]
Fix error with gcc -Wformat -Werror=format-security

BUG=http://code.google.com/p/ibus/issues/detail?id=1638
TEST=bus/ibusimpl.c

Review URL: https://codereview.appspot.com/11471044
Patch from Osamu Aoki <osamu@debian.org>.

11 years agoFix error with gcc -Wformat -Werror=format-security
Peter Michael Green [Fri, 19 Jul 2013 09:09:43 +0000 (18:09 +0900)]
Fix error with gcc -Wformat -Werror=format-security

BUG=http://code.google.com/p/ibus/issues/detail?id=1638
TEST=src/ibusfactory.c

Review URL: https://codereview.appspot.com/11503043
Patch from Peter Michael Green <plugwash@debian.org>.

11 years agoRemove ibus_bus_list_active_engines in bus/test-client.c
fujiwarat [Wed, 17 Jul 2013 02:50:25 +0000 (11:50 +0900)]
Remove ibus_bus_list_active_engines in bus/test-client.c

BUG=http://code.google.com/p/ibus/issues/detail?id=1637
TEST=bus/test-client.c

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

11 years agoregistry: use binary format instead of XML for cache
Daiki Ueno [Fri, 12 Jul 2013 09:39:54 +0000 (18:39 +0900)]
registry: use binary format instead of XML for cache

Currently the registry cache is in the XML format, that may cause
unnecessary parsing overhead on ibus-daemon startup.  This patch
changes the format to GVariant based binary representation.

BUG=
R=takao.fujiwara1@gmail.com

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

11 years agobuild: fix make check
Daiki Ueno [Fri, 12 Jul 2013 09:05:06 +0000 (18:05 +0900)]
build: fix make check

This contains several fixes to the current tests:

- Remove glib mem profiler call from src/tests, which is known not to
  work with the latest glib release:
  https://bugzilla.gnome.org/show_bug.cgi?id=701694
  valgrind could be used instead.

- Replace g_type_init() call in tests with ibus_init().

- Fix ibus-bus test after the DBus property change (commit 458945e7).
  no global engine may be set in the test environment.  Also add more
  assertions to check the return values.

- Fix pygobject test to use LOG_COMPILER and move sys.path adjustment
  into the test script itself.

- Add new files to po/POTFILES.in.

BUG=
R=takao.fujiwara1@gmail.com

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

11 years agoDelete xdg in ibus-setup.
fujiwarat [Fri, 12 Jul 2013 01:41:38 +0000 (10:41 +0900)]
Delete xdg in ibus-setup.

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

11 years agoLoad the system registry cache prior to the user one.
fujiwarat [Wed, 10 Jul 2013 07:55:19 +0000 (16:55 +0900)]
Load the system registry cache prior to the user one.

gnome-settings-daemon runs ibus-daemon after the user configures
any input method engines and causes a delay to show the engines
on UI because no cache exists for ibus-daemon.
The system cache can avoid the user timing.

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

11 years agoDelete the python xdg dependency.
fujiwarat [Fri, 5 Jul 2013 04:03:49 +0000 (13:03 +0900)]
Delete the python xdg dependency.

BUG=RH#980749

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

11 years agoRefactor old getter and setter to dbus property in bus/ibusimpl.c
fujiwarat [Fri, 14 Jun 2013 03:13:13 +0000 (12:13 +0900)]
Refactor old getter and setter to dbus property in bus/ibusimpl.c

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

11 years agoMake ibus-config tests side effect free
Daiki Ueno [Fri, 14 Jun 2013 02:01:08 +0000 (11:01 +0900)]
Make ibus-config tests side effect free

Previously we assumed that test cases are executed in the order of
registration.  This is no longer true after glib change 89aa9dbd which
fixed test case grouping.  Clear the default match rule in each test
case to avoid side effect.

BUG=

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

11 years agoModify valac --target-glib.
fujiwarat [Tue, 11 Jun 2013 03:46:02 +0000 (12:46 +0900)]
Modify valac --target-glib.

valac --ccode --target-glib=2.36 can disable g_type_init in the
generated C files since g_type_init is deprecated in glib 2.36.
But ibus tarball includes C files so that users do not require
vala and vala versions are different between dist and build.
If dist could have glib 2.36 to generate the ibus tarball but
a user build would have glib 2.34, the user build would be
failed because glib 2.34 requires g_type_init.
This change makes sure the target-glib is minimum of the glib
version for ibus.

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

11 years agoFix an error message of gnome-autogen in autogen.sh
fujiwarat [Tue, 11 Jun 2013 03:42:16 +0000 (12:42 +0900)]
Fix an error message of gnome-autogen in autogen.sh

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

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

11 years agoSuppress warnings with Automake 1.13
Daiki Ueno [Mon, 10 Jun 2013 02:22:39 +0000 (11:22 +0900)]
Suppress warnings with Automake 1.13

The make variable INCLUDES is now obsoleted by AM_CPPFLAGS.

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

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

11 years agobuild: improve test harness
Daiki Ueno [Fri, 7 Jun 2013 04:01:44 +0000 (13:01 +0900)]
build: improve test harness

Run each test in isolated directory so it can run in parallel.  Also
improve the test wrapper and rename it to a better name.

BUG=

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

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

11 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