2009-01-19  Yong Sun <yong.sun@sun.com>

	* gtkimcontextiiim.c (im_context_initialize_with_input_languag):

	Fixed bug 6783991 gnome-terminal crashed in 
	im_context_initialize_with_input_language()

	If the target string is NULL or "", the 1st element in the list
	returned by g_strsplit() would be NULL.

2008-11-25  Yong Sun <yong.sun@sun.com>

	* gtkimcontextiiim.c:

	Fixed the long latency problem when starting gcf client in an 
	environment without iiim services.

	Revert the previous fix, and re-implement it in a timeout scheme.
	
	Extract the iiim initialization to a single function, and added
	timeout mechanism to call this function periodically with limited
	times. Therefore, avoid to call synchronized X functions intensively,
	which blocks the client application for a while.

2008-11-25  Yong Sun <yong.sun@sun.com>

	* imswitcher.c (im_info_switcher_new):
	* gtkimcontextiiim.c (get_iiim, im_context_iiim_filter_keypress,
	  iiim_get_session_context, im_context_iiim_set_client_window):
	Fixed the long latency problem when starting gcf client in an 
	environment without iiim services.

2008-06-19  Naoyuki Ishimura  <naoyuki.ishimura@sun.com
	* gtkimcontextiiim.c
	Avoid crash when gcf can not connect to im server

2008-06-16  Osamu Sayama  <osamu.sayama@sun.com>
	* imaux.c
	Fixed xiiimp.so.2 path issue for Sun Xorg Xlib.
	This causes xaux program cannot be launched through iiimgcf.

2008-05-30  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
        * imswitcher.c
        * gtkimcontextiiim.c:
        Modifier only hotkey and Left/Right modifier distinguishable hotkey support

2008-05-29  Makoto Fujiyoshi  <makoto.fujiyoshi@justsystem.com>
	* imaux.c
	* imaux.h
	* gtkimcontextiiim.c
	unload aux.so correctly when all IIIM contexts are destroyed.

2007-11-20  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	fixed the problem '2nd level dead key does not work if dead key
	is released before Shift key'
	
2007-11-01  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	fixed lang selection popup is hiden with hotkey release

2007-10-26  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	client side super hotkey handling support

2007-05-31  Noayuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	* IIIMGdkEventKey.c
	added keychar value for dead keys for layout emulation
	
2007-05-28  Noayuki Ishimura  <naoyuki.ishimura@sun.com>
	* IIIMGdkEventKey.c
	Added workaround code for multiple defined symbol (EURO_SIGN)

2007-04-10  Yong Sun <yong.sun@sun.com>

	* IIIMGdkEventKey.h
	* IIIMGdkEventKey.c:
	Enable AltGraph modifier mask to be sent to server.
	
2007-03-14  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* imswitcher.c
	Fixed: language indicator on iiim-panel sometimes does not
	sync with client input language
	
2006-12-29  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* imswitcher.c
	* gtkimcontextiiim.c
        Added IM activation synchronization for all application
        property handling
	
2006-12-14  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	Added searching keyboard layout type of language in get_input_language()
	
2006-12-01  Naoyuki Ishimura  <naoyuki.ishimura@sun.com>
	* gtkimcontextiiim.c
	* IIIMGdkEventKey.c
	* gtkimcontextiiim.h
        added kbd_layout info to IC attribute

2006-09-28  Kenji ABE  <abek@terre-sys.com>

	* gtkimcontextiiim.c (iiim_event_dispatch, check_stored_keyevent, im_context_iiim_filter_keypress)
	fix duplicated key processing problem.

2006-07-07  Osamu Sayama  <osamu.sayama@sun.com>

	* gtkimcontextiiim.c (iiim_event_dispatch) :
	 Use GdkEvent local variable instead of GdkEventKey to 
	avoid unexpected memory alignment problem.

2006-07-04  Yong Sun <yong.sun@sun.com>

	* IIIMGdkEventKey.c (convert_GdkEventKey_to_IIIMCF_keyevent):
	 clean the modifier masks of deadkey event, otherwise we will have trouble
	 to do the hotkey matching, since in different keyboard layout, the same 
	 deadkey may require different modifier key (shift or altgraph).

2006-04-28  Federic Zhang <federic.zhang@sun.com>

	* gtkimcontextiiim.c (im_context_iiim_reset): destroy any candidate
	  window when ic is reset, it fixs the problem that left click on
	  mouse, the candidate windows still exists.

2006-04-07  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* imaux.c (delete_aux_ic): move the assignment of prev_aux_ic into
	the loop.  the assignment seems accidentally placed outside of the
	loop.

2006-03-17  Yong Sun <yong.sun@sun.com>

	Fixed the shift_left can not highlight text in editor.

	* IIIMGdkEventKey.c convert_IIIMCF_keyevent_to_GdkEventKey ():
	Try to find the key whose group is 0, since the group member in GdkEventKey 
	is normall 0. One key may have 4 (2x2) symbols, the horizontal direction is 
	group, the vertical direction is level. However, I found the AltGraph key
	may cause the level to 2, but not group to 1.

2006-03-11  Osamu Sayama  <osamu.sayama@sun.com>

	* IIIMGdkEventKey.c (convert_IIIMCF_keyevent_to_GdkEventKey) :
	  Add the error handing for gdk_unicode_to_keyval().
	* gtkimcontextiiim.c
	  Add the null pointer check for %s parameter. Without this,
	  GTK application sometimes crash in this message by 
	  <cntrl>+<backspace> operation.

2006-03-07  Naoyuki Ishimura  <Naoyuki.Ishimur@Sun.COM>
	* gtkimcontextiiim.c
	* gtkimcontextiiim.h
	fixed : changing focus causes iiimd memory growing with the following condition
	- lang swithing mode is 'per desktop'
	- select the language which has plural engines
	
2006-03-03  Osamu Sayama  <osamu.sayama@sun.com>
	* IIIMGdkEventKey.c : Add Xsun keysyms used in ten-key.

2006-02-28  Federic Zhang <federic.zhang@sun.com>

	* gtkimcontextiiim.c (im_context_iiim_focus_in): ensure per Desktop language
	   switching will be executed when client gets focus.

2006-02-14  Osamu Sayama  <osamu.sayama@sun.com>

	* imaux.c : destroy_ic(aux) is called at delete_aux_ic() in imaux.c.
	  However, it is not called if context_iiim->context is null because
	  aux_get() returns null when this case. This causes that the 
	  destroy function in atokx2aux.so is not called by im-iiim.so and
	  causes some GTK application like gedit to crash. So changed to
	  continue even when context_iiim->context is null,

2006-02-14  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (iiim_event_dispatch): 
	revive a code segment which fake key release event, which is
	disabled at 2006-01-19.
	
2006-02-09  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	partial implementation of xaux proxy feature.  when im-iiim.so
	receives IM_AUX_START message, im-iiim.so forwards the message to
	iiim-xbe.  then xaux.so attached to iiim-xbe starts xaux external
	process, if necessary.  note that xaux.so which is loaded by
	im-iiim.so must not start any external processes.

	* imaux.c (xaux_proxy_aux_start_process): new.  this function
	loads xiiimp.so and call iiimxcf_xaux_proxy_aux_start() in it.
	(create_aux_im_data): add argument ev which is required for
	iiimxcf_xaux_proxy_aux_start().  call
	xaux_proxy_aux_start_process().
	(aux_get): call create_aux_im_data() with ev.

2006-02-03  Naoyuki Ishimura  <Naoyuki.Ishimura@Sun.COM>

	* imswitcher.c
	* gtkimcontextiiim.h : added "LE SWITCH", "CYCLE LE SWITH" hotkeys support
	(IIIMSetHotkey())
	
2006-01-19  Federic Zhang <federic.zhang>

	* gtkimcontextiiim.c (im_context_iiim_reset):
	  input method would be reset if button is clicked and preedit text exists,
	  use iiim_event_dispatch to forecely commit the preedit text.
	
2006-01-19  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (iiim_event_dispatch): handle key release
	event.  disabled a code segment which fake key release event.
	
2006-01-10  Naoyuki Ishimura  <Naoyuki.Ishimura@Sun.COM>
	* gtkimcontextiiim.c
        implemented per IC or Desktop lanuage switching
	- get _IIIM_SWITCHER_DESKTOP_LANGUAGE property from root window
	at focus in timing if language switching mode is per Desktop
	- same mechanism is implemented in iiimxcf and gnome-im-switcher-applet
	
2005-12-26  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* Makefile.am (im_iiim_la_LDFLAGS): add -export-symbols
	$(top_srcdir)/im-iiim.sym
	* im-iiim.sym: new.
	This change resolves conflict of symbols that are defined in
	im-iiim.so.  The conflict is found on Solaris, which crash
	mozilla/firefox with flash player.

2005-12-22  Yong Sun <yong.sun@sun.com>

	* IIIMGdkEventKey.c (i2gcode, g2icode):
	To support Hangul and Hanja keys.

2005-12-21  Federic Zhang <federic.zhang@sun.com>

	support trigger key setting via iiim-properties.
	
	* imswitcher.c (im_context_switcher_get_hotkey_with_atom): 
	  get the hotkey list with _IIIM_SWITCHER_HOTKEY_LIST atom instead,
	  which can be set by iiim-properties.
	  (IIIMSetHotkey): new
	* imswitcher.h (): updated
	* gtkimcontextiiim.c (im_context_iiim_focus_in): put hotkey handling 
	  code into IIIMSetHotkey.
	
2005-12-12  Naoyuki Ishimura  <Naoyuki.Ishimura@Sun.COM>

	* gtiimcontextiiim.c
	Implemented On/off policy at language switching.
	
2005-12-06  Naoyuki Ishimura <Naoyuki.Ishimura@Sun.COM>

	* gtkimcontext.c (get_default_engine) : fixed language which is not in
	langlist causes crash.
	
2005-12-05  Yong Sun <yong.sun@sun.com>

	* IIIMGdkEventKey.c (g2icode): added Sun special deadkey symbols.

2005-12-02  Naoyuki Ishimura <Naoyuki.Ishimura@Sun.COM>

	* added default LE handling for primary locale
	(gtkimcontextiiim.c)
	
2005-12-01  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* configure.ac: add --enable-iiim-properties option.  this option
	will be removed when iiim-properties is fully implemented and be
	stable enough.

2005-11-30  Naoyuki Ishimura <Naoyuki.Ishimura@Sun.COM>

	* gtkimcontextiiim.c : compare engine name with 'id' not 'hrn' when
	use HAS_IIIM_PROPERTIES at im_context_initialize_with_input_language ()
	
2005-11-25  Federic Zhang <federic.zhang@sun.com>

        * imswitcher.c (change_hotkey_with_type): return if the hotkey setting
        remain unchanged to avoid that new memory is  malloced.

2005-11-25  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (get_im_settings_property):
	XGetWindowProperty() (gdk_property_get) 64 bit issue.

2005-11-15  Federic Zhang <federic.zhang@sun.com>

	* gtkimcontextiiim.c (get_input_language): change lang to "zh_CN" to
	fix one problem that 'en' is default IM in Solaris zh locale.
	
2005-10-28  Federic Zhang <federic.zhang@sun.com>

	Take out Sriram's patch to fix one problem that trigger key doesn't work with NumLock is ON.
	
	* IIIMGdkEventKey.c (modifier): don't handle GDK_MOD3_MASK
	* IIIMGdkEventKey.h: remove IIIMF_ALT_GRAPH_MODIFIER from IIIMF_MODIFIER enum
	
2005-10-06  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* imswitcher.c (im_context_switcher_set_conversion_mode): 
	XChangeProperty() data argument must be `long *' if format is 32.
	* IIIMGdkEventKey.c (toggle_kana_flag): kanamode, which is passed
	to XChangeProperty() with format 32 must be long, not int.
	XChangeProperty() nelements argument is the number of data, not
	byte length.

2005-10-05  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* configure.ac (--enable-default-gtk-im-module): new option to set
	IIIM_DEFAULT_GTK_IM_MODULE.  disabled by default.
	* imiiim.c (GtkIMContextInfo iiim_info): when
	IIIM_DEFAULT_GTK_IM_MODULE is defined, iiim_info claims to be
	default im module for all languages.
	* imaux.c (ROUNDUP): fix for 64 bit environment.
	Commit on behalf of <osamu.sayama@sun.com>.

2005-09-27  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (get_iiim): add client_group support

2005-09-22  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (get_iiim): fix access to freed memory

2005-09-16  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (im_context_iiim_filter_keypress): check if
	context_iiim->iiim_info is NULL.

2005-09-05  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* IIIMGdkEventKey.c: include <X11/Sunkeysym.h> if sun
	(g2icode): add symbols for F11 and F12 on Solaris
	(i2gcode): add symbols for F11 and F12 on Solaris

2005-09-02  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* IIIMGdkEventKey.c (g2icode): fix platform dependent keycode problem

2005-08-09  Federic Zhang <federic.zhang@sun.com>

        support the hotkey configuration at client side

        * gtkimcontextiiim.h:
          new TRIGGER_KEY_LABEL
        * IIIMGdkEventKey.h:
          move IIIM_MODIFIERS enum here
        * IIIMGdkEventKey.c (g2icode):
          make it global
        * gtkimcontextiiim.c
          (im_context_iiim_focus_in): get hotkey property for gimlet window,
          if failed, get hotkey info within IIIMCF_context and change the atom
          property to notify gimlet. if hotkey propery gets changed, update
          the both hotkey of current profile and trigger on/off keys in IIIMCF_handle.
        * imswitcher.c:
          add set_hotkey_atom to _SwitcherInfo struct
          (im_info_switcher_new): create the "_IIIM_SWITCHER_SET_HOTKEY" atom
          (im_context_switcher_set_hotkey): new
          (im_context_switcher_get_hotkey_with_type): new
          (im_context_switcher_get_hotkey): new
          (change_hotkey_with_type): new
          (convert_hotkey_to_IIIMCF_keyevent): new
          (im_context_switcher_change_hotkey_with_type): new
          (im_context_switcher_get_hotkey_with_atom): new

2005-08-08  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c: fix - compile error on some platform.
	GDK_dead_hook and GDK_dead_horn are not defined.
	(im_context_iiim_filter_keypress): call
	iiimcf_is_capability_supported() to determine whether the server
	supports IIIMP_CAPABILITY_KEY_RELEASE.

2005-07-26  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (im_context_iiim_commit_cb): new function to emit
	  a commit signal with the string from GtkIMContextSimple.
	(im_context_iiim_init): connect to a commit signal to grab the string
	  from GtkIMContextSimple.
	(im_context_iiim_filter_keypress): modified to support the dead key
	  without UNIT.
	(im_context_iiim_finalize): disconnect a signal.
	 call the parent class's finalize function at the end.

2005-07-20  Federic Zhang <federic.zhang@sun.com>

	* gtkimcontextiiim.c (iiim_event_dispatch): add comment to explain why the code to handle 
	  the IIIMCF_EVENT_TYPE_KEYEVENT case is needed.

2005-07-13  Ervin Yan  <ervin.yan@sun.com>
	* gtkimcontextiiim.c (im_context_iiim_filter_keypress)
	(iiim_event_dispatch):
	- remove the following line that Federic added wrongly in the IIIMCF_EVENT_TYPE_KEYEVENT case.
            return FALSE;

2005-07-12  Ervin Yan  <ervin.yan@sun.com>

	* gtkimcontextiiim.c
	* gtkimcontextiiim.h
	fix bug: gedit hangs with Click + ESC/CapsLock/NumLock/ScrollLock/F2/F8/F12

2005-07-08  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* IIIMGdkEventKey.c (convert_GdkEventKey_to_IIIMCF_keyevent):
	remove keytype for key release

2005-06-30  Federic Zhang <federic.zhang@sun.com>

	Enable Input Method Engine (IME) switching and display IME list in the language submenu of GIMLET.

	* gtkimcontextiiim.c (format_utf8_string), (get_imelist), (iiim_get_im_list), 
	(im_context_initialize_with_input_language): 
	  - New get_imelist () concatenates the name of each IME in UTF-8 to one string, in which the name
	    is delimitered by ','.
	  - append the imename string to the original LE name, as part of le_list, the new LE name will be 
	    sent to gimlet with the _IIIM_SWITCHER_LANGUAGE_ENGINE_LIET atom.
	  - check whether the `new_lang' contains any IME name, which is sent from gimlet. Within the new_lang,
	    the LE name and IME name are separated by the delimiter '-'. If found, update the input method name
	    (in fact LE name) by appending the IME name to the original LE name and send to server with the
	    ICAttribute protocol.

2005-06-17  Federic Zhang <federic.zhang@sun.com>

	Add support for Key Release Event
	* gtkimcontextiiim.c (im_context_iiim_filter_keypress)
	(iiim_event_dispatch):
	- return FALSE in the IIIMCF_EVENT_TYPE_KEYEVENT case, FIXME needed.
	- process key release event as well by sending it to IIIMSF with forward_event.
	- don't commit the key release event if the key event isn't forwarded yet.
	* IIIMGdkEventKey.c (convert_GdkEventKey_to_IIIMCF_keyevent):
	- new keytype member in IIIMCF_keyevent

2005-06-07  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (iiim_get_im_list): fixed a memory leak issue when
	some error happens at iiimcf_*.
	(im_context_initialize_with_input_language): fixed a memory leak issue.

2005-04-26  Akira TAGOH  <tagoh@redhat.com>

	* configure.ac (IIIMLIBDIR): Use IMDIR instead of the hardcoded path. (#68)
	(IIIMLEDIR): Use IM_LEIFDIR instead of the hardcoded path.

2005-04-21  Sriram Swaminathan  <sriram.swaminathan@sun.com>

	* gtkimcontextiiim.c

	IIIMGCF should set the display_id as an attribute before calling
	iiimcf_create_handle() inorder to distinguish clients from different
	display but same hostname.

2005-04-14  Sriram Swaminathan  <sriram.swaminathan@sun.com>

	* IIIMGdkEventKey.c

	MOD3 modifier has to be enabled for supporting EURO SYMBOL
	input using keyboard shortcuts 
             <Altgraph> + 'e'
             <Altgraph> + 'E'
             <Altgraph> + '4'
             <Altgraph> + '5'

2005-04-14  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (im_context_iiim_focus_in): enforce to update
	the status window position when the window is focused in. (RH#139809)

2005-04-14  Jens Petersen  <petersen@redhat.com>

	* Makefile.am (im_iiim_la_SOURCES): Add missing header files.
	(EXTRA_DIST): Fix filelist.

	* autogen.sh: Run libtoolize.  Pass --copy to automake.

2005-04-13  Jens Petersen  <petersen@redhat.com>

	* Makefile.am (ACLOCAL_AMFLAGS): Include toplevel acfiles.

	* configure.ac: Name package iiimf-client-gtk, bump version, and
	update project mail address.  Do not call AC_CONFIG_AUX_DIR.

2005-04-11  Akira TAGOH  <tagoh@redhat.com>

	* imswitcher.c (im_context_switcher_set_input_language):
	make sure if input_lang is valid.

2005-04-04  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (get_input_language): return a proper language
	only.
	(iiim_get_session_context): check NULL.
	(im_context_initialize_with_input_language): likewise.

2005-04-01  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (iiim_keylist_free): fixed a crash issue when it's
	destroying. (ref. RH#153020)

2005-03-31  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* gtkimcontextiiim.c (get_iiim): Lookup IIIM_SERVER atom.

2005-03-23  Jens Petersen  <petersen@redhat.com>

	* configure.ac: call AM_INIT_AUTOMAKE without args so that it
	works with newer automake

2005-03-21  Akira TAGOH  <tagoh@redhat.com>

	* imaux.c (iiim_aux_download): ensure that there is a directory
	separator after the base path.

2005-03-17  AShiZaWa KaZuNoRi  <kasha@sun.co.jp>

	* configure.ac: path name changes.
	* imaux.c: path name changes.

2005-03-15  Sriram Swaminathan  <sriram.swaminathan@sun.com>

	* gtkimcontextiiim.c

	- Fixed the crash problem while switching languages using
	  "<Ctrl>IM_VK_UP" or "<Ctrl>IM_VK_DOWN" 

	- Instead of destroying and creating input context everytime when
          switching language, iiimcf_context_set_attr() is used to change
          the language attribute for the IC using IM_SETICVALUES protocol.

2005-03-11  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* IIIMGdkEventKey.c (i2gmodifier, modifier): ignore MOD3 modifier, or
	hot keys and trigger keys are ignored when Num_Lock is ON on Solaris.
	As MOD2 modifier's been ignored here, I did so for MOD3 here.
	Maybe, hot key and trigger key events should be taken regardless of
	MOD2/MOD3?

2005-03-04  Akira TAGOH  <at@gclab.org>

	* gtkimcontextiiim.c (im_context_iiim_reset): emit commit signal after
	the resetting IC was done.

2005-03-03  Akira TAGOH  <at@gclab.org>

	* gtkimcontextiiim.c (im_context_iiim_reset): don't emit commit signal
	when the preedit string is nothing.
	(im_context_iiim_reset): if the preedit length is 0, don't do anything.
	emit preedit_changed signal when only there is the preedit.

2005-02-24  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c (im_context_iiim_reset): implemented. more works
	will be needed to fix a workaround.

2005-01-21  Makoto Fujiyoshi <makoto_fujiyoshi@justsystem.co.jp>

	* IIIMGdkEventKey.c(get_kana_flag):
	Avoid crash when e->window point to NULL.

2004-12-14  Makoto Fujiyoshi <makoto_fujiyoshi@justsystem.co.jp>

	* IIIMGdkEventKey.c:
	Added processing of Zenkaku_Hankaku key.

	* gtkimcontextiiim.c
	* imaux.c :
	When it checks NULL in im_context_iiim_finalize(), 
	IIim_aux_destrory_ic () being to become unable to call,
	it moves NULL check to aux_get().

2004-12-07  Makoto Fujiyoshi <makoto_fujiyoshi@justsystem.co.jp>

	* gtkimcontextiiim.c:
	Fixed the problem which does not notfify the focusing event
	to the server, when status window is updated.

2004-12-01  Makoto Fujiyoshi <makoto_fujiyoshi@justsystem.co.jp>

	* IIIMGdkEventKey.c:
	1. avoid crash when the window of other process is destroyed.
	2. set correct time_stamp and modifier of key event.

	* imaux.c:
	1. check NULL pointer.
	2. correct the position of Lookup window.

2004-11-29  Hidetoshi Tajima  <tajima@red.iplanet.com>

	* gtkimcontextiiim.c (im_context_iiim_shutdown): reset
	iiim_is_initialized after calling iiimcf_finalize().

2004-11-23  Hidetoshi Tajima  <tajima@SFBay.Sun.COM>

	* gtkimcontextiiim.c (im_context_iiim_finalize):
	avoid crash when the finalize() method is called with NULL context
	handler. This could happen to kill client application right after
	it starts without giving any key input.

2004-11-08  Akira TAGOH  <tagoh@redhat.com>

	* imaux.c: added the prototype declaration for delete_aux_ic().

2004-11-08  Makoto Fujiyoshi <makoto_fujiyoshi@justsystem.co.jp>

	* IIIMGdkEventKey.c: implement Japanese kana mode like iiimxcf(xiiimp.so).
	* gtkimcontextiiim.c, imaux.c:
	notify Destroy/SetFocus/UnsetFocus events to AUX.

2004-11-02  Jens Petersen  <petersen@redhat.com>

	* configure.ac: Don't override CFLAGS, CXXFLAGS and LDFLAGS.

2004-10-26  Akira TAGOH  <tagoh@redhat.com>

	* gtkimcontextiiim.c: clean up the compiler warnings.

	* imswitcher.h (im_context_switcher_set_conversion_mode): added
	im_context_switcher_set_language_engine_list's prototype declaration.

2004-09-21  Jens Petersen  <petersen@redhat.com>

	* gtkimcontextiiim.c (status_callback): Update the status atom
	even when status is attached to the application frame for now.

2004-09-20  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (status_window_set_text): don't set status text
	when status_window is disclaimed.

2004-09-14  Motonobu Ichimura  <famao@openi18n.org>

        * gtkimcontextiiim.c (iiim_candidate_show): set current_candidate to 0
        when LE sends negative value for current_candidate.

2004-08-26  Sriram Swaminathan  <sriram.swaminathan@sun.com>
	* gtkimcontextiiim.c

  Need to update the title of Candidate window whenever
  LOOKUP_DRAW is received.

2004-08-21  Motonobu Ichimura  <famao@openi18n.org>

        * IIIMGdkEventKey.c: don't send GdkKeySym as IIIMCF's keycode.

2004-08-09  Sriram Swaminathan  <sriram.swaminathan@sun.com>

	* gtkimcontextiiim.c: Removed the Language Switching functionality
    from iiimgcf (from Language Switching Window) and moved it to the 
    server side.

2004-08-02  Motonobu Ichimura <famao@openi18n.org>

        * gtkimcontextiiim.c: can re-connect to iiimsf
        when remote connection is closed.

2004-07-29  Makoto Fujiyoshi  <makoto_fujiyoshi@justsystem.co.jp>

        * imaux-int.h, imaux.c, imaux.h, gtkimcontextiiim.c,
          gtkimcontextiiim.h: 
        Added new aux interface (same as xiiimp.so)
         - use new aux interface if "aux_info" symbol is found in an
           aux module.
         - aux_info replaces aux_dir, and should hold aux_info_t
           structure instance:
             if_version : aux interface version, 0x00020000 or greater
             register_service: register service methods to aux modules
             aux_dir : aux_dir symbol, same as the previous aux interface
         - aux modules must implement three new methods in aux_method_t
           to be compiliant to the new aux interface.
                Bool (* destroy_ic)(aux_t *);
                Bool (* set_icforcus)(aux_t *);
                Bool (* unset_icforcus)(aux_t *);

2004-07-15  Hidetoshi Tajima  <tajima@d-sjc07-023-223.SFBay.Sun.COM>

	* imswitcher.c, imswitcher.h, gtkimcontextiiim.c :
	switch multilple language engines for the same input language
	( great help from Yu Shao in adding this feature in GIMLET and IIIMGCF)

2004-06-17  Sriram Swaminathan  <sriram.swaminathan@sun.com>

	* gtkimcontextiiim.c: Enabled the language switching using
    lookup window (as part of HOTKEY protocol), mainly for 
    client applications that doesn't have access GIMLET.

2004-05-17  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c: should enable input method by default when 
	there is no _IM_SETTINGS.

2004-04-28  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c: use CONV_ON(=1)/CONV_OFF(=0) enum values,
	instead of TRUE/FALSE.

2004-04-26  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c: use _IM_SETTINGS only to decide status style.

2004-04-23  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c :
	get _IM_SETTINGS property on root_window for
	enabling/disabling input-methods, status, and lookup.

2004-04-22  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (get_iiim):
	use gtk-im-status-style gtk-setting to change status
	appearance, among "callback", "nothing" and "none".

2004-04-09  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* imaux.c : surpress compile warnings, code cleanup.

2004-03-31  Hidetoshi Tajima  <tajima@SFBay.Sun.COM>

	* imaux-int.h, imaux.c:
	new aux_getvalues methods must be added at the end of structures.

	* gtkimcontextiiim.c (iiim_candidate_move):
        candidate window position should be adjusted when it is at
	screen edge. (suggested by Yu Shao <yshao@redhat.com>'s patch)

	code cleanup (removed unused variables and functions).

2004-03-29  Hidetoshi Tajima  <tajima@SFBay.Sun.COM>

	* imaux-int.h, imaux.h, imaux.c, gtkimcontextiiim.c :
	changes to receive and handle aux_getvalues_reply messages from server.

	* gtkimcontextiiim.h, gtkimcontextiiim.c :
	added im_context_aux_get_values()
	* imaux.c, imaux-int.h: added service_aux_getvalue()

	added IM_AUX_GETVALUES/IM_AUX_GETVALUES_REPLY

2004-03-18  Hidetoshi Tajima  <tajima@SFBay.Sun.COM>

        * IIIMGdkEventKey.c, gtkimcontextiiim.c :
        GTK_MINOR_VERSION check should be >=2, instead of == 2.

        * IIIMGdkEventKey.c (convert_IIIMCF_keyevent_to_GdkEventKey):
        CapsLock ON ShiftLock ON Alphabet keys are returned back to
        lower letters, instead of upper ones (#4996278)

        * gtkimcontextiiim.c (iiim_candidate_move):
        candidate window position should adjust according to the screen
        height

        lookup window doesn't resize itself when length(width) of candidate
        changes

        * imaux-int.h:
        * imaux.c
        added two new aux services to set/get conversion mode.

2004-01-21  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (im_context_iiim_filter_keypress):
	fix Num_Lock, Caps_Lock..
	* imaux.c: fix a typo

2004-01-14  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* imaux.c: added
	* imaux.h, imaux-int.h: added
	* gtkimcontextiiim.c: handle aux events.
	* Makefile.am: added imaux.c
	Aux support. With this change, IIIMGCF client should be
	able to use AUX windows.
	
2004-01-06  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (set_error_message):
	show an error message when htt_server is not running.

2004-01-05  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.h:
	* gtkimcontextiiim.c:
	* imswitcher.c

	 ported status window handling code from gtkimcontextxim:

         Mon Aug 18 17:19:12 2003  Owen Taylor  <otaylor@redhat.com>
	
	   * modules/input/gtkimcontextxim.[ch]: Substantially
	   rework the handling of status windows:
	
	   - Store the current StatusWindow in the 
	   GtkIMContextXIM structure and vice-versa, so we
	   don't have to hunt the window hierarchy on cleanup.
	   - Use the Gtkidget hierarchy instead of/or as well
	   as the GdkWindow hierarchy when finding the toplevel;
	   this helps for things like GtkHandlebox
	   - Watch GtkWidget::hierarchy_changed to catch 
	   changes in the toplevel without changes in the
	   GdkWindow (reparenting)
	   - Never create the GtkWindow for the status window
	   unless we have text to display.
	   - Various cleanups, add lots of comments.

2003-12-11  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* autogen.sh (have_automake): fix error
	* acinclude.m4 : removed

2003-12-04  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c, gtkimcontextiiim.h:
	* imswitcher.c, imswitcher.h: added initially.

	    Communicate with gnome-im-switcher.

2003-12-02  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (struct _GtkIIIMInfo):
	- allow GTK_MINOR_VERSION greater than 2 (for gtk+-2.3.x)
	- guess input language from current locale names.

2003-11-25  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (iiim_event_dispatch):
	emit preedit_changed signal for PREEDIT_DONE again, otherwise
	preedit text remains when turning conversion off..
	[at least it is the case when using iiimf-canna.]

	It's would be better if we could commit remaining preedit
	text when conversion is turned off, just like XIM does..
	
2003-11-25  Motonobu Ichimura  <famao@momonga-linux.org>

	* IIIMGdkEventKey.c (i2gcode): API changed to treat
	IIIMCF_keyevent->keychar for a special case. (such as '?', '%').


2003-11-22  Motonobu Ichimura  <famao@momonga-linux.org>

	* gtkimcontextiiim.c (iiim_event_dispatch):
	emit preedit_end signal in the case of
	IIIMCF_EVENT_TYPE_UI_PREEDIT_DONE, not preedit_changed.

	* IIIMGdkEventKey.c (i2gcode):
	return keycode by default.

2003-11-18  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (forward_event):
	Don't return events when some errors occur, otherwise
	applications would often crash for me.

	* IIIMGdkEventKey.c (g2icode):
	send Multi_key as VK_COMPOSE to the server.

	* gtkimcontextiiim.c (struct _GtkIIIMInfo):
	put le_name and locale into IMinfo, instead of IMContext.

2003-11-17  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* enable NLS

	* gtkimcontextiiim.c :
	 * fixed a typo "preedit_change" -> "preedit_changed".
	 * fixed a typo IIIM_status -> IIIMF_status.
	 * The 1st argument of forward_event is GtkIMContextIIIM(3 places).
	
	 * fix visual feedback attributes in preedit text.


2003-11-17  Motonobu Ichimura  <famao@momonga-linux.org>
	
	* gtkimcontextiiim.c (forward_event): 
	new function.

	(set_error_message): 
	new function.

	(im_context_iiim_filter_keypress):
	move event related actions to iiim_event_dispatch.


2003-11-14  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* gtkimcontextiiim.c (iiim_create_candidate_window):
	fix some missing initializations for lookup choice operation.

	(im_context_iiim_filter_keypress):
	support reconnection and delayed-connection to IIIMSF.

2003-11-11  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* TODO: added initially.

	* gtkimcontextiiim.c (im_context_iiim_get_preedit_string):
	patch from Choe Hwanjin <krisna@kldp.org> caret_position should be
	assigned to cursor_pos.

	* autogen.sh, acinclude.m4
	initially added.
	* remove config.h.in, aclocal.m4, Makefile.in, configure

2003-11-11  Motonobu Ichimura  <famao@momonga-linux.org>

      CHANGES

	* When GtkIMContextIIIM has a candidate window, and 
	  a client window lose focus, hide a candidate window
	* Fix a bug that iiimgf sometime calls iiimcf_dispatch_event 
	  while an iiimcf event isn't initialized yet.
	* Add a member "GSList *keylist" to struct _GtkIMContextIIIMInfo.
	* Added a convert_IIIMCF_keyevent_to_GdkEventKey function and 
	  handle a case of IIIMCF_EVENT_TYPE_KEYEVENT propery.
	* Do not put messages to stdout when DEBUG is not defined 
	  at compile time. (it effects some applications using pipe)
	* Re-initialize an iiimf context when an application set a
	  client_window.
	* Fix some memory leaks on some cases on im_context_iiim_finalize.
	* Arrange a source code using indent.
	* Some code cleanup of unused variables and funtcion (from Tajima-san)
	* Call iiim_dispatch_event on im_context_iiim_filter_keypress. (from Tajima-san)
      TODO

        * merge status window related works from gtk+-2.2.4
	* and a lot..

2003-08-16  MIYASHITA Hisashi  <himi@li18nux.org>

	* gtkimcontextiiim.c (iiim_event_dispatch):
	Do iiimcf_ignore_event() for all events that are
	obtained by iiimcf_get_next_event().

2003-06-12  MIYASHITA Hisashi  <himi@li18nux.org>

	* gtkimcontextiiim.c: Included string.h.

2003-05-26  MIYASHITA Hisashi  <himi@li18nux.org>

	* gtkimcontextiiim.c (iiim_get_languages, iiim_get_im_list) 
	(iiim_event_dispatch, iiim_candidate_show) 
	(iiim_create_candidate_window, iiim_get_session_context) 
	(im_context_iiim_filter_keypress) 
	(im_context_iiim_set_client_window, im_context_iiim_focus_in) 
	(im_context_iiim_focus_out, im_context_iiim_get_preedit_string):
	Check the status code of IIIMCF API.

2003-05-23  MIYASHITA Hisashi  <himi@li18nux.org>

	* IIIMGdkEventKey.c: Reformated it to the GNU coding style.
	* IIIMGdkEventKey.h: Ditto.
	* gtkimcontextiiim.c: Ditto.
	* gtkimcontextiiim.h: Ditto.
	* imiiim.c: Ditto.

2003-05-20  MIYASHITA Hisashi  <himi@li18nux.org>

	* gtkimcontextiiim.c: Include IIIMGdkEventKey.h
	instead of KeyMap.h.
	(im_context_iiim_filter_keypress): Use
	convert_GdkEventKey_to_IIIMCF_keyevent
	to generate IIIMCF_keyevent.  And don't dispatch the
	forwarded event.

	* Makefile.am (im_iiim_la_SOURCES): Substitute IIIMGdkEventKey.c
	and IIIMGdkEventKey.h for KeyMap.c and KeyMap.h.
	* KeyMap.c: Removed.
	* KeyMap.h: Ditto.
	* IIIMGdkEventKey.c: New file.
	* IIIMGdkEventKey.h: Ditto.

	* AUTHORS: Added.

2003-05-16  MIYASHITA Hisashi  <himi@li18nux.org>

	* configure.ac: Added -I$(IM_INCLUDEDIR)/iiimp.

	* Makefile.am (im_iiim_la_LIBADD): Spcified the pato of
	libiiimcf.la and libiiimp.la.

	* Import iiimcf-gtk version 0.5.

