Peng Huang [Tue, 2 Nov 2010 11:30:02 +0000 (20:30 +0900)]
Fix crash when icon of property is Null
fujiwarat [Mon, 1 Nov 2010 09:16:25 +0000 (18:16 +0900)]
Fix UnsetValue name.
fujiwarat [Mon, 1 Nov 2010 07:13:55 +0000 (16:13 +0900)]
Fix serialized order.
Peng Huang [Mon, 1 Nov 2010 06:05:29 +0000 (15:05 +0900)]
Rename ibus_engine_desc_new2 and ibus_component_new2 to *_new_varargs.
wip.
Peng Huang [Mon, 1 Nov 2010 05:03:17 +0000 (14:03 +0900)]
Fix a typo.
Peng Huang [Fri, 29 Oct 2010 08:28:13 +0000 (17:28 +0900)]
Fix a typo in client/gtk3/Makefile.am
Peng Huang [Fri, 29 Oct 2010 08:08:38 +0000 (17:08 +0900)]
Fix some problems in debian packages.
Peng Huang [Fri, 29 Oct 2010 05:25:50 +0000 (14:25 +0900)]
Add i18n.py.
Peng Huang [Fri, 29 Oct 2010 03:16:52 +0000 (12:16 +0900)]
Fix some merge failed.
Peng Huang [Thu, 28 Oct 2010 04:00:54 +0000 (13:00 +0900)]
Rewrite memconf in c languages.
Peng Huang [Wed, 27 Oct 2010 05:36:30 +0000 (14:36 +0900)]
Emit NameOwnerChanged signal with non-zero serial to make libdbus happy.
Peng Huang [Wed, 27 Oct 2010 05:35:36 +0000 (14:35 +0900)]
Add metadata file to fix some object ownership correctly
Peng Huang [Tue, 26 Oct 2010 04:50:36 +0000 (13:50 +0900)]
Add vala test for config module
Peng Huang [Thu, 21 Oct 2010 12:03:37 +0000 (21:03 +0900)]
Fix vala and gir build issues.
Peng Huang [Wed, 20 Oct 2010 11:48:07 +0000 (20:48 +0900)]
Remove ibusdbus.h
Peng Huang [Wed, 20 Oct 2010 10:48:01 +0000 (19:48 +0900)]
wip.
Peng Huang [Wed, 20 Oct 2010 08:15:56 +0000 (17:15 +0900)]
wip.
Peng Huang [Tue, 19 Oct 2010 12:19:06 +0000 (21:19 +0900)]
Fix some runtime errors.
Peng Huang [Tue, 19 Oct 2010 09:23:19 +0000 (18:23 +0900)]
Change version to 1.3.99
Peng Huang [Tue, 19 Oct 2010 01:26:08 +0000 (10:26 +0900)]
Use va_list in IBusEngineDesc and IBusComponent for back compatibility.
Provided by fujiwarat <takao.fujiwara1@gmail.com>
Conflicts:
bus/engineproxy.c
bus/factoryproxy.c
bus/ibusimpl.c
src/ibuscomponent.c
src/ibusenginedesc.c
src/test-bus.c
src/tests/ibus-global-engine.c
Peng Huang [Wed, 16 Jun 2010 15:47:09 +0000 (23:47 +0800)]
Use gdbus in glib, and get rid of libdbus
fujiwarat [Tue, 2 Nov 2010 02:21:24 +0000 (11:21 +0900)]
Replace s/gdk_drawable_get_size/gdk_window_get_height/ for GTK3.
Peng Huang [Fri, 29 Oct 2010 09:46:07 +0000 (18:46 +0900)]
Use block mode of g_main_context_iteration to avoid consuming too much cpu time.
BUG=none
TEST=manual
Review URL: http://codereview.appspot.com/2768043
Peng Huang [Tue, 26 Oct 2010 10:27:56 +0000 (19:27 +0900)]
Use the automake 1.10 in autogen.sh
BUG=ibus:1039
TEST=manual
Review URL: http://codereview.appspot.com/2746041
Peng Wu [Mon, 25 Oct 2010 06:52:21 +0000 (14:52 +0800)]
sort combo box by locale strcoll
fujiwarat [Tue, 26 Oct 2010 02:49:48 +0000 (11:49 +0900)]
Fix s/python/@PYTHON@/ in libexec scripts.
The patch is provided by federico.schwindt@google.com
fujiwarat [Tue, 26 Oct 2010 02:45:29 +0000 (11:45 +0900)]
Fix ENV value for NetBSD
Peng Huang [Fri, 22 Oct 2010 06:15:39 +0000 (15:15 +0900)]
Bump the version to 1.3.8
Peng Huang [Fri, 22 Oct 2010 06:15:12 +0000 (15:15 +0900)]
Comment out test-keymap test case.
Comment out test-keymap test case, because it is not automatic test
case. it will cause make distcheck failed.
BUG=none
TEST=manual
Review URL: http://codereview.appspot.com/2667041
Peng Huang [Fri, 22 Oct 2010 05:56:12 +0000 (14:56 +0900)]
Limit typing rate to 800 hits/minutes, and fix make distcheck error.
The old version test-stress will send key events to ibus-daemon as fast as possible. It will take all CPU resources, and the daemon, UI and input methods will not get enouch CPU resources to process those events. So all key events will be putted in the buffer. It will causes out of system memory. So I add a limitation of typing rate as 800 hits/minute.
BUG=none
TEST=manual
Review URL: http://codereview.appspot.com/2662042
Peng Huang [Fri, 22 Oct 2010 03:27:37 +0000 (12:27 +0900)]
Catch exceptions from os.kill.
BUG=none
TEST=manual
Review URL: http://codereview.appspot.com/2659042
fujiwarat [Thu, 21 Oct 2010 09:44:40 +0000 (18:44 +0900)]
Fix CPU 100% usage with signal.SIGCHLD
fujiwarat [Thu, 21 Oct 2010 08:30:42 +0000 (17:30 +0900)]
Fix keyval and state in __keycode_button_clicked_cb
Peng Huang [Thu, 21 Oct 2010 08:27:12 +0000 (17:27 +0900)]
Destroy existing connection before creating a new connection, and only create the fake context once.
BUG=chromium-os:7998
TEST=manual
Review URL: http://codereview.appspot.com/2640041
Yusuke Sato [Thu, 21 Oct 2010 04:27:06 +0000 (13:27 +0900)]
Move the candidate window just above the cursor when the window and a preedit string overlap.
BUG=http://code.google.com/p/ibus/issues/detail?id=1106
TEST=manually done.
Review URL: http://codereview.appspot.com/2599041
Yusuke Sato [Thu, 21 Oct 2010 01:35:07 +0000 (10:35 +0900)]
Remove compiler warnings.
BUG=none
TEST=checked by ./autogen.sh && make
Review URL: http://codereview.appspot.com/2632041
Yusuke Sato [Wed, 20 Oct 2010 13:21:00 +0000 (22:21 +0900)]
Enable key snooper by default again, except Chrome/Chromium browsers, to fix application compatibility issues like 1068.
This change is logically a revert of http://github.com/ibus/ibus/commit/
7e715146794d5fa5324885f8d1dcebb8805bc31b
The new behavior is:
1) If IBUS_DISABLE_SNOOPER environment variable is set, and the value of the variable is "" (an empty string) or "0" or "false" or "False" or "FALSE", key snooper is enabled.
2) If IBUS_DISABLE_SNOOPER environment variable is set, and the value of the variable is other than the 5 above, e.g. "1", "true", .., key snooper is disabled.
3) If IBUS_DISABLE_SNOOPER environment variable is not set, and ibus-daemon is explicitly configured with --disable-key-snooper, key snooper is disabled.
4) If IBUS_DISABLE_SNOOPER environment variable is not set, and ibus-daemon is not configured with --disable-key-snooper, the GTK_IM_MODULE, im-ibus.so, checks IBUS_NO_SNOOPER_APPS environment variable:
4-a) if IBUS_NO_SNOOPER_APPS environment variable is not set, and the application name matches ".*chrome", key snooper is disabled.
4-b) if IBUS_NO_SNOOPER_APPS environment variable, which should be comma-separated regexps, is set, and one of the regexps matches the application name, key snooper is disabled.
4-c) otherwise, key snooper is enabled.
Please note that when no configure options nor no environment variables are set, key snooper is enabled on all applications except Chrome/Chromium web browsers. For example, key snooper would be enabled on xchat and gedit by default. I believe the new default behavior would satisfy both Linux desktop and Chromium OS requirements.
Test:
- With ibus built without --disable-key-snooper:
yusukes@harapeko:~$ gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER= gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER=0 gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="0" gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="false" gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="False" gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="FALSE" gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="1" gedit # no-snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="true" gedit # no-snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="unknownstring" gedit # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS=gedit gedit # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS='g.*dit' gedit # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS='foobar,g.*dit' gedit # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS=foobar gedit # snoop
yusukes@harapeko:~$ google-chrome # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS=foobar google-chrome # snoop
- With ibus built with --disable-key-snooper:
yusukes@harapeko:~$ gedit # no-snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="false" gedit # snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="true" gedit # no-snoop
yusukes@harapeko:~$ IBUS_DISABLE_SNOOPER="unknownstring" gedit # no-snoop
yusukes@harapeko:~$ IBUS_NO_SNOOPER_APPS=foobar gedit # no-snoop, because IBUS_NO_SNOOPER_APPS is ignored when --disable-key-snooper is specified.
BUG=http://code.google.com/p/ibus/issues/detail?id=1068
TEST=manually done. see above.
Review URL: http://codereview.appspot.com/2568043
Peng Huang [Wed, 20 Oct 2010 11:53:36 +0000 (20:53 +0900)]
Always consume the hotkey, even if the hotkey associated engine already activated.
BUG=6376
TEST=manual
Review URL: http://codereview.appspot.com/2596042
Yusuke Sato [Tue, 19 Oct 2010 11:30:09 +0000 (20:30 +0900)]
Fix race condition in bus_ibus_impl_create_engine()
If the bus_ibus_impl_create_engine() function is called right after an ibus_component_start() call, the function might fail getting a factory object.
To avoid the problem, we should use the busy-wait logic even when ibus_component_is_running() returns true.
BUG=http://crosbug.com/7244
TEST=see the bug (comment #4,7,9)
Review URL: http://codereview.appspot.com/2562041
fujiwarat [Wed, 13 Oct 2010 05:05:02 +0000 (14:05 +0900)]
Fix a build error of IBus-1.0.gir with gobject-introspection 0.9.6
Peng Huang [Tue, 12 Oct 2010 23:14:58 +0000 (08:14 +0900)]
Fix a typo.
Peng Huang [Fri, 8 Oct 2010 02:41:41 +0000 (10:41 +0800)]
Remove unused dbus-1 package in gir includes
BUG=none
TEST=manual
Review URL: http://codereview.appspot.com/2331041
Hirotake Kobayashi [Fri, 1 Oct 2010 15:45:49 +0000 (00:45 +0900)]
Implement stress tool for ibus.
A test-stress.c sends key message each time by client.
Client.h and client.c store modifier key and send key event.
They check ibus-daemon and engine is alive.
Review URL: http://codereview.appspot.com/2204051
Patch from Hirotake Kobayashi <hkobayash@google.com>.
fujiwarat [Thu, 30 Sep 2010 01:58:31 +0000 (10:58 +0900)]
Fix a build error with GTK3 gdkkeysyms.h
Peng Huang [Mon, 20 Sep 2010 22:57:10 +0000 (06:57 +0800)]
Update gu.po from Sweta Kothari <swkothar@redhat.com>
Yusuke Sato [Fri, 17 Sep 2010 13:26:50 +0000 (22:26 +0900)]
Fix g_assertion failure in bus_ibus_impl_{load,save}_global_engine_name functions.
Add NULL checks to the functions so they don't abort with assertion failure even if the functions are called before the ibus configuration daemon gets ready.
See http://code.google.com/p/chromium-os/issues/detail?id=6689#c27 for details.
Peng Huang [Fri, 10 Sep 2010 11:04:25 +0000 (19:04 +0800)]
Add some comments about registry
BUG=none
TEST=built fine
Review URL: http://codereview.appspot.com/2159046
Satoru Takabayashi [Thu, 9 Sep 2010 04:24:42 +0000 (13:24 +0900)]
Add Emacs modeline for .c and .h files.
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
TEST=confirmed that the modelines for vim and emacs both worked.
BUG=none
Review URL: http://codereview.appspot.com/2168042
Satoru Takabayashi [Thu, 9 Sep 2010 02:05:55 +0000 (11:05 +0900)]
Move the log handler code from bus/main.cc to src/ibusshare.cc.
The log handler is useful for IBus client programs. For instance,
the log handler was used inside the chromium browser for debugging
IBus startup issue:
http://code.google.com/p/chromium-os/issues/detail?id=6375#c29
(chrome:11824): IBUS-DEBUG: 00:00:46.929430: The socket file is now created (monitoring done).
BUG=none
TEST=manually ran ibus-daemon with and without -v
Review URL: http://codereview.appspot.com/2122047
Satoru Takabayashi [Wed, 8 Sep 2010 06:58:31 +0000 (15:58 +0900)]
Add codereview.settings.
This is for us to use codereview.appspot.com for code reviews.
Instructions to use codereview.appspot.com:
1. Get depot_tools and add PATH to the directory
http://dev.chromium.org/developers/how-tos/depottools
2. In your local IBus git repository,
% git checkout master
% git checkout -b somefix
make changes
% git cl upload
do code reviews at codereview.appspot.com
once it's done, run "git cl push" if you can commit.
otherwise, ask committers to commit on behalf.
Review URL: http://codereview.appspot.com/2166043
Peng Huang [Tue, 7 Sep 2010 00:35:03 +0000 (08:35 +0800)]
Add time info in log message from satorux@chromium.org
Peng Huang [Mon, 6 Sep 2010 09:17:24 +0000 (17:17 +0800)]
Fix memory leak in ibus_input_context_process_key_event by Fujiwarat
fujiwarat [Thu, 2 Sep 2010 03:58:42 +0000 (12:58 +0900)]
Fix segv in bus_engine_proxy_process_key_event_reply_cb
Peng Huang [Mon, 6 Sep 2010 08:16:51 +0000 (16:16 +0800)]
Set CFLAGS to "-Wall -Werror" in autogen.sh
Peng Huang [Thu, 12 Aug 2010 07:22:00 +0000 (15:22 +0800)]
Fix property issue.
Peng Huang [Fri, 6 Aug 2010 06:02:25 +0000 (14:02 +0800)]
Update fr.po
Peng Huang [Thu, 5 Aug 2010 09:13:56 +0000 (17:13 +0800)]
Fix a build warning
Peng Huang [Tue, 3 Aug 2010 08:59:32 +0000 (16:59 +0800)]
Release 1.3.7
Peng Huang [Tue, 3 Aug 2010 06:43:42 +0000 (14:43 +0800)]
Update ko.po
Peng Huang [Tue, 3 Aug 2010 02:04:19 +0000 (10:04 +0800)]
Update po files.
James Su [Tue, 29 Jun 2010 02:39:31 +0000 (19:39 -0700)]
Make sure that we won't wrongly match a hotkey after losing and getting focus.
BUG=http://crosbug.com/3892
TEST=manually
Review URL: http://codereview.chromium.org/2884006
satorux [Wed, 26 May 2010 09:03:29 +0000 (18:03 +0900)]
When the previous engine name is unknown, switch to the next engine in menu.
Before the change, hitting the "previous-engine" key does nothing if the
previous engine name is unknown. The behavior is not good for users as
they think the hot key is not working.
TEST=manually on the netbook
BUG=3579
Review URL: http://codereview.chromium.org/2255002
James Su [Tue, 11 May 2010 20:41:59 +0000 (13:41 -0700)]
Support engine specific hotkey.
BUG=http://crosbug.com/2543
TEST=none
With this CL, each engine can specify one or more special activation hotkeys. This CL doesn't support customizing global hotkeys per engine.
I'd still prefer to customize the global hotkeys based on current locale rather than input method engine.
Add hotkeys property to IBusEngineDesc, so that each engine can specify their own special hotkeys. This is useful for input methods that have dedicated hotkeys, such as Japanese input methods, which has a dedicated hotkey key: Kana.
Review URL: http://codereview.chromium.org/1702015
Peng Huang [Fri, 30 Jul 2010 15:32:20 +0000 (23:32 +0800)]
Update po files.
Peng Huang [Thu, 29 Jul 2010 23:12:15 +0000 (07:12 +0800)]
Fake IC does not grab focus, if other real IC has focus.
Peng Huang [Tue, 27 Jul 2010 07:57:05 +0000 (15:57 +0800)]
Keep input window for fake IC
Peng Huang [Fri, 23 Jul 2010 08:11:22 +0000 (16:11 +0800)]
Support switching keyboard by hotkey without input focus Add fake input context in im module. The fake input context will hold the focus if no other input context has focus. This change for fixing input method switch issue if no focus input context.
BUG=http://crosbug.com/4381
Review URL: http://codereview.chromium.org/3052003
Peng Huang [Fri, 23 Jul 2010 03:41:44 +0000 (11:41 +0800)]
Add memcomf/main.cc
Peng Huang [Fri, 23 Jul 2010 07:25:45 +0000 (15:25 +0800)]
Fix a problem in build script of memconf
Yusuke Sato [Tue, 30 Mar 2010 04:45:19 +0000 (13:45 +0900)]
Reimplement ibus-gconf so it does not depend on GConf-2 database.
(Please review the README.chromium first.)
BUG=crosbug.com/1638
TEST=run autotest/files/config/site_tests/desktopui_IBusTest
Review URL: http://codereview.chromium.org/1539001
Peng Huang [Fri, 30 Jul 2010 09:46:51 +0000 (17:46 +0800)]
Update po files.
Peng Huang [Fri, 30 Jul 2010 09:34:41 +0000 (17:34 +0800)]
Update po files
Peng Huang [Fri, 30 Jul 2010 03:55:03 +0000 (11:55 +0800)]
Update po files.
Peng Huang [Thu, 29 Jul 2010 23:15:30 +0000 (07:15 +0800)]
Update po files.
Peng Huang [Thu, 29 Jul 2010 13:25:52 +0000 (21:25 +0800)]
Update po files.
Peng Huang [Tue, 27 Jul 2010 03:23:30 +0000 (11:23 +0800)]
Add pt_BR.po from Glaucia Freitas <gcintra@redhat.com>
Peng Huang [Thu, 15 Jul 2010 07:04:25 +0000 (15:04 +0800)]
Fix a memory leak in IBusConfigService.
Peng Huang [Tue, 13 Jul 2010 05:57:40 +0000 (13:57 +0800)]
Add a new ibus-daemon option to set cache mode.
--cache=[auto/refresh/none]
auto:
Loads registry from cache. If the cache does not exist or the cache is
outdated, ibus-daemon will recreate the cache.
refresh:
Does not load the cache, force load components information from
/usr/share/ibus/components/*.xml and write registry to cache file.
none:
Always loads components from /usr/share/ibus/components/*.xml, does not read
or write cache.
Peng Huang [Thu, 8 Jul 2010 10:01:38 +0000 (18:01 +0800)]
Use dbus.Interface.
Daiki Ueno [Wed, 30 Jun 2010 03:05:32 +0000 (12:05 +0900)]
Fix "Show language panel: Embedded in menu" behavior.
Signed-off-by: Daiki Ueno <ueno@unixuser.org>
Peng Huang [Mon, 5 Jul 2010 05:44:22 +0000 (13:44 +0800)]
Release 1.3.6
Peng Huang [Mon, 5 Jul 2010 05:42:38 +0000 (13:42 +0800)]
Set interface for config and inputcontext proxy
Peng Huang [Mon, 5 Jul 2010 05:42:27 +0000 (13:42 +0800)]
Update gtk-doc
Peng Huang [Mon, 5 Jul 2010 05:42:10 +0000 (13:42 +0800)]
Update libibus2.symbols
Peng Huang [Mon, 5 Jul 2010 05:10:00 +0000 (13:10 +0800)]
Remove some patches.
Peng Huang [Thu, 1 Jul 2010 03:52:30 +0000 (11:52 +0800)]
Update es.po from daniel cabrera <logan@fedoraproject.org>
Peng Huang [Mon, 28 Jun 2010 05:16:02 +0000 (13:16 +0800)]
Update zh_TW.po from Tseng, Cheng-Chia <pswo10680@gmail.com>
Peng Huang [Thu, 24 Jun 2010 03:11:51 +0000 (11:11 +0800)]
Fix next_engine & prev_engine settings problems.
Peng Huang [Wed, 23 Jun 2010 05:35:00 +0000 (13:35 +0800)]
Update po files
Peng Huang [Wed, 23 Jun 2010 05:32:04 +0000 (13:32 +0800)]
Update desktop files.
Peng Huang [Wed, 23 Jun 2010 02:35:32 +0000 (10:35 +0800)]
fill right value of GdkEventKey::is_modifier
Peng Huang [Sun, 20 Jun 2010 00:02:58 +0000 (08:02 +0800)]
workaround for applications do not set client window and refine code.
Peng Huang [Fri, 18 Jun 2010 01:14:18 +0000 (09:14 +0800)]
Check gtk2 too if configure with --enable-xim
Peng Huang [Thu, 17 Jun 2010 12:19:23 +0000 (20:19 +0800)]
Use IBUS_TYPE_OBJECT_PATH for return value of CurrentInputContext
Peng Huang [Tue, 15 Jun 2010 09:02:31 +0000 (17:02 +0800)]
Preload all values.
Peng Huang [Tue, 15 Jun 2010 08:21:29 +0000 (16:21 +0800)]
Fix conflict between --restart and --replace
Peng Huang [Tue, 15 Jun 2010 08:18:10 +0000 (16:18 +0800)]
Set release = 0
Peng Huang [Mon, 14 Jun 2010 16:23:44 +0000 (00:23 +0800)]
Update es.po from daniel cabrera <logan@fedoraproject.org>
Peng Huang [Mon, 14 Jun 2010 14:47:21 +0000 (22:47 +0800)]
Add --restart option by satorux@chromium.org
Peng Huang [Sat, 12 Jun 2010 01:00:00 +0000 (09:00 +0800)]
read env IBUS_SNOOPER_APPS