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>.
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
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
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
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
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
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
Refactor old getter and setter to dbus property in bus/ibusimpl.c

Review URL: https://codereview.appspot.com/9477043
Delete the python xdg dependency.

BUG=RH#980749

Review URL: https://codereview.appspot.com/10930043
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
Delete xdg in ibus-setup.

Review URL: https://codereview.appspot.com/11100044
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
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
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
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>.
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>.
Remove arrow buttons in ibus-setup, which no longer work.

BUG=RH#851758
TEST=ibus-setup

Review URL: https://codereview.appspot.com/6475068
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>.
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
Add Norwegian keyboard in engine/simple.xml.in

BUG=RH#987222

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