helper/toolbar-systray-gtk.c (embedded_cb) : New. Connect to
uim helper.
(main) : Create toolbar with all icons again. Get icons
information after "embedded" signal to prevent getting incorrect
size of icons.
helper/toolbar-common-gtk.c : Rename TYPE_TOOLBAR to
TYPE_STANDALONE.
(uim_helper_toolbar_new) : Rename to uim_toolbar_standalone_new.
(uim_helper_trayicon_new) : Rename to uim_toolbar_trayicon_new.
Use all icons as in other types of toolbar.
(uim_helper_applet_new) : Rename to uim_toolbar_applet_new.
(check_helper_connection) : Rename to
uim_toolbar_check_helper_connection and remove static qualifier.
(prop_button_released) : Follow the rename in
check_helper_connection.
(toolbar_new) : Don't connect to uim-helper at this time with
TYPE_ICON.
helper/toolbar-standalone-gtk.c : Follow the rename in
toolbar-common-gtk.c
helper/toolbar-common-gtk.c : Enable IM selection from toolbar.
(OBJECT_DATA_IM_BUTTON) : New.
(OBJECT_DATA_BUTTON_TYPE) : Ditto.
(im_menu) : Ditto.
(BUTTON_IM) : New enum.
(BUTTON_PROP) : Ditto.
(BUTTON_TOOL) : Ditto.
(im_menu_activate) : New.
(popup_im_menu) : Ditto.
(popup_prop_menu) : Recreate prop menu to flush old contents.
(prop_button_pressed) : Rename to button_pressed. Handle
im_button, prop_button, and tool_button at once.
(prop_button_release) : Rename argument.
(tool_button_pressed_cb) : Removed.
(prop_button_create) : Set the type for buttons. Follow the
renaming.
(helper_toolbar_prop_list_update) : Ditto.
(im_data_flush) : New.
(im_button_append_menu) : New.
(helper_toolbar_im_list_update) : New.
(helper_toolbar_parse_helper_str) : Handle "focus_in" and
"im_list" messages.
(uim_toolbar_get_im_list) : New.
(regist_icon) : Register "uim-icon".
(toolbar_new) : Create IM menu button. Get IM list at the
startup.
helper/toolbar-systray-gtk.c (embedded_cb) : Get IM list.
(main) : Cosmetic changes.
xim/ximserver.cpp (InputContext::update_prop_list) : Show caret
state indicator with this function instead of
InputContext::update_prop_label.
(InputContext::update_prop_label) : Ditto.
gtk/gtk-im-uim.c (IMUIMContext) : Add comment about event_rec.
(event_key_equal) : New.
(init_event_key_rec) : New.
(store_event_key) : New.
(im_uim_filter_keypress) : Use event_key_equal instead of just
comparing the time as a paranoia check.
(im_uim_init) : Initialize event_rec totally.
(handle_key_on_toplevel) : Store all event attributes.
emacs/uim.el
- Add a function instead of kill-all-local-variables to
reset only local variables which are provided by uim.el
- Move encoding initializing part to uim-mode-on
to re-initialize encoding when uim-el-agent has been restarted.
helper/toolbar-common-gtk.c : Icon support for prop buttons.
(uim_factory) : New.
(uim_icon_list) : New.
(prop_button_create) : Add indication_id as a argument and use
button with a icon if possible.
(prop_button_append_menu) : Cosmetic change.
(helper_toolbar_prop_list_update) : Pass indication_id for
prop_button_create().
(is_icon_registered) : New.
(register_icon) : Change return type as gboolean. Initialization
part is moved to init_icon().
(init_icon) : New.
(toolbar_new) : Follow changes in register_icon() and init_icon().
gtk/gtk-im-uim.c (get_caret_state_label_from_prop_list) : New.
(update_prop_list_cb) : Set caret state indicator with this
callback.
gtk/caret-state-indicator.c : Include <string.h> for strcmp(3).
(caret_state_indicator_paint_window) : Bug fix.
(caret_state_indicator_new) : Use hbox as a container of state
labels.
(caret_state_indicator_update) : Add each label into the hbox
separately.
test/test-action.scm
- (test indicator-new, test activity-indicator-new, test
widget-state, test widget-update-state!, test
widget-debug-message, test indication-compose-label, test
indication-compose-branch, test indication-compose-leaf, test
widget-compose-live-branch, test
context-propagate-prop-label-update, test
context-propagate-prop-list-update, test
context-propagate-widget-states, test
context-propagate-widget-configuration): Follow the recent helper
message format changes
xim/ximserver.h (class InputContext) : Add
switch_app_global_im() and switch_system_global_im() public
member and switch_app_global_im_cb() and
switch_system_global_im_cb() static member.
qt/toolbar-common-uimstateindicator.h (class QHelperPopupMenu) :
Use indicationIdStr as an argument for insertHelperItem.
qt/toolbar-common-uimstateindicator.cpp : Include "config.h" for
UIM_PIXMAPSDIR.
(ICONDIR) : New.
(UimStateIndicator::propListUpdate) : Follow the change in icon
support to helper protocol.
(QHelperPopupMenu::insertHelperItem) : Use indicationIdStr as an
argument and draw its icon if possible.
with execv(3) for fullpath execution. This change only affects
semantic sanity. The previous execvp(3)'ed code does not have a
security problem since it certainly contains absolute path prefix
which contains slash. The execvp(3) specification ensures that the
command name is treated as absolute path without any path
searching if a slash character is contained in the command argument.
This commit fixes some warnings because of misprogramming. This commit
have some dirty hack (especially in fep/*). If some problem happens,
please revert them.
- gtk/test/entry.c: Add prototypes.
- gtk/caret-state-indicator.c:
+ change #include order.
+ (caret_state_indicator_update): Set value got from g_list_remove.
- fep/str.c
+ strwidth (str_byte, nr_wchars): Change type to size_t from int.
+ byte2width:
o (n, str_byte, nr_wchars): Change type to size_t from int.
o Fix bugs not allocating '\0' termination.
o Add dirty hack in mbsrtowcs caller because of glibc's stupid
implementation.
+ byte2width:
o (n, str_byte, nr_wchars): Change type to size_t from int.
o Fix bugs not allocating '\0' termination.
o Add dirty hack in mbsrtowcs caller because of glibc's stupid
implementation.
- str.h: Sync with the str.c's change.
- fep/callbacks.c
+ (strlen): Cast to int for comparing with signed int parameters.
- fep/escseq.c:
+ (strlen): Ditto.
- helper/toolbar-common-gtk.c:
+ (register_icon): Set value got from g_list_append.
- uim/uim-custom.c
+ Remove redifinition of uim_custom_key_list_free. This prototype is already
uim/canna.c
- Fix #include "config.h" with <config.h>
- Fix location of #include <config.h>
- See "Configuration Header Files" section of autoconf.info about
the change. Please follow this in other directories also
configure.ac
- Specify more safe file on AC_CONFIG_SRCDIR
- Replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
- Add 'dist-bzip2' option to AM_INIT_AUTOMAKE
- Reorder macros in accordance with the recommended layout
scm/anthy.scm : Add a functionality to rotate transposing state
proposed by Shun-ichi TAHARA (bug #6604).
(anthy-proc-transposing-state) : Handle rotation of the
transposing state. Handle anthy-begin-conv-key? and
anthy-cancel-key?
(anthy-proc-input-state-with-preedit) : Don't set
anthy-proc-transposing-state here, and set in
anthy-proc-transposing-state instead.
(anthy-context-transposing-state-preedit) : Use preedit-reverse
instaed of preedit-underline for the transposing text.
(anthy-proc-converting-state) : Handle transposing keys.
This commit is the same as r3324. From this commit, -Werror is enabled.
Thus compilation error can be happened.
- gtk/gtk-im-uim.c: Supress warning.
- emacs/prop.c: Ditto
- helper/pref-gtk-custom-widgets.c: Ditto.
- helper/eggtrayicon.c: Ditto.
- helper/im-switcher-gtk.c: Ditto.
- uim/m17nlib.c: Ditto.
- uim/slib.c: Ditto.
- confiugre.ac: Add -Werror and -pipe to CFLAGS and CXXFLAGS.
Static linking option for anthy plugin is added. You can enable it by adding
--enable-anthy-static in configure. If problem, please revert.
- uim/anthy.c: Adding support for static linking option.
- uim/Makefile.am: Ditto
- uim/uim.c: Ditto.
- configure.ac: Add --enable-anthy-static option.
Add new external process "uim-el-helper-agent" to process
messages from uim-helper-server immediately.
Now input with uim-input-pad-ja is available.
emacs/uim-helper.el
- New file
- Functions to process helper messages.
emacs/uim-var.el
- Add new variables for helper message processing.
emacs/uim.el
- Add new response message type "h" for uim-el-helper-agent.
- Start up uim-el-helper-agent.
- Fix indentation.
emacs/callback.c
emacs/callback.h
- Stop immediate output of committed string in callback function.
Keep it in buffer and output at end of each iteration.
- Remove helper_send_im_change_whole_desktop calling from
switch_system_global_im_cb.
emacs/commit.c
emacs/commit.h
- Remove do_commit and add new functions to stack committed strings.
emacs/context.c
emacs/context.h
- Add new global variable "focused" for simplification of
uim focus managing.
- Add new function for committed string output.
- Remove calls of uim_helper_client_focus_out and
uim_helper_client_focus_in and add helper_send_message instead.
emacs/helper-message.c
emacs/helper-message.h
- New file
- Provide simple encode/decode function.
For passing multibyte characters to uim-el-helper-agent
through Emacs...
emacs/helper.c
emacs/helper.h
- Remove helper_send_im_change_whole_desktop.
- Simplify helper_handler.
- Remove direct communication with helper_server.
emacs/output.c
emacs/output.h
- Remove output_enable flag.
- Now a_printf and a_putchar are same as printf and putchar.
emacs/prop.c
emacs/prop.h
- Remove direct communication with helper_server.
emacs/uim-el-agent.c
emacs/uim-el-agent.h
- Add new command "HELPER" and "NOP"
- Restructure command handler.
- Remove helper-server related codes.
emacs/uim-el-helper-agent.c
emacs/uim-el-helper-agent.h
- New file
- Receive messages from uim-helper-server and output them to STDOUT.
- Read commands from STDIN and send them to uim-helper-server.
uim-key.el
- Rewrite function key-map lookup part
- Improve prefix argument support
- Remove uim-replace-keyvec-with-functionkeymap and
uim-lookup-function-key-map (unused)
scm/mana.scm : Add the support of lerning the commit strings.
(mana-get-commit-path) : Renamed from mana-get-commit-string.
(mana-get-nth-path) : Renamed from mana-get-nth-candidate.
(mana-learn) : New function.
configure.ac
- Show the default value of some options.
- Remove unused '--without-gnome2' option.
- Fix broken '--default-toolkit' option.
- Add '--enable-pref' option (bug #2315). Default is yes.
- Add '--enable-warnings-into-error' option which adds '-Werror'
flag into CFLAGS and CXXFLAGS (default is yes).
helper/Makefile.am : Correspond to '--enable-pref'.
helper/dict-word-list-win-gtk.c (help_about_action_cb) :
Workaround for the warning on C89 string length limit. But
still remain the problem on line 139...
helper/uim-dict-ui.xml : New file from ui_info[] in
dict-word-list-win-gtk.c.
helper/dict-word-list-win-gtk.c (ui_info) : Move into
uim-dict-ui.xml.
(word_list_window_init) : Use gtk_ui_manager_add_ui_from_file
instead of gtk_ui_manager_add_ui_from_string.
helper/Makefile.am (EXTRA_DIST) : Add uim-dict-ui.xml.
(uim_dict_gtk_CPPFLAGS) : Add $(helper_defs).
(uim_dict_uidir) : New for uim-dict-ui.xml.
(uim_dict_ui_DATA) : Ditto.
helper/dict-canna.c : Fix category of some word types in
substantive_code[] ([Anthy-dev 2932]), and add some examples
from Canna37p3/dic/ideo/grammar/main.code.
uim/uim-custom.c (custom_file_path) : Fix wrong use of %ld for
UIM_EVAL_FSTRING3 since uim_sizeof_sexp_str() doesn't support
it, which breaks saving the custom setting.
helper/dict-word.h (_uim_word) : Add cclass_native to
distinguish cclass_code (uim-dict's notification) and native
code (like #T02 in anthy).
(word_append) : Change to use both cclass_code and cclass_native
for arguments.
helper/dict-canna.h (_category_code) : Constify code, desc, and
example.
(find_desc_from_code) : Change return type as const. Use only
code as a argument.
(find_desc_from_code_with_type) : New.
(find_code_from_desc) : Change return type as const.
helper/dict-canna.c (find_desc_from_code) : Rewrite.
(find_desc_from_code_with_type) : New. Rename from old
find_desc_from_code.
(find_code_from_desc) : Change the argument name appropriately.
(find_cclass_type_from_code) : Follow the constification and
rename of the function.
(find_cclass_type_from_desc) : Follow the constification.
helper/dict-anthy.c (dict_anthy_init) : Indentation fixes.
(dict_anthy_read_priv_dic_list) : Ditto. Use
find_desc_from_code_with_type() and follow the modification of
word_append().
(dict_anthy_add_priv_dic_with_flags) : Indentation fixes.
(dict_anthy_delete_priv_dic) : Ditto.
(uim_dict_anthy_add_word) : Follow the changes in uim_word.
(uim_dict_anthy_remove_word) : Ditto. Fix return value.
helper/dict-word-list-win-gtk.c (edit_remove_word_action_cb) :
Refresh word list at the removal.
(edit_edit_word_action_cb) : Connect to "word-added" signal to
refresh word list.
helper/dict-word.c (word_append) : Follow the change in
uim_word.
helper/dict-word-list-view-gtk.c (word_list_view_init) : Set
rules_hit for the tree_view.
helper/dict-word-win-gtk.c (word_window_add) : Follow the
changes in constification and uim_word.
(word_window_cclass_reset) : Follow the constification.
(button_cclass_browse_clicked_cb) : Ditto. Also follow the rename
of find_desc_from_code().
uim/anthy.c : Add code to get libanthy's version.
- #include <string.h> and <ctype.h>
- (libanthy_version_major) : New. Contains string of major
version as "7100".
- (libanthy_version_minor) : New. Contains string of minor
version as "b".
- (anthy_version) : New. Return libanthy's version as ("7100"
. "b").
- (get_libanthy_version) : New. Set version string to
libanthy_version_major and libanthy_version_minor.
- (init_anthy_lib) : Indentation fixes. Get libanthy's version
here.
- (get_nth_candidate) : Just indentation fixes.
- (uim_anthy_plugin_instance_init) : Export
"anthy-lib-get-anthy-version" for scheme side.
scm/anthy.scm : Enable katakana and hiragana conversion in
converting-state with libanthy (>= 7710).
- (anthy-lib-version) : New.
- (anthy-context-new) : Set libanthy's version while
initializing libanthy.
- (anthy-move-candidate) : Reset segment-transposing state.
- (anthy-set-segment-transposing) : New. Use hiragana and
katakana conversion in anthy (>= 7710).
- (anthy-proc-converting-state) : Handle hiragana and katakana
- (toggle-im): Rewrite to per-context version
- (toggle-state-rec-spec): New variable
- (record toggle-state): New record
- (reset-toggle-context!, context-primary-im?,
context-primary-im-name): New procedure
- (context-rec-spec): Add new field 'toggle-state'
- (key-press-handler): Follow the toggle-im change
scm/im-switcher.scm
- (context-update-widget-states-orig): New alias
- (context-update-widget-states!): New override procedure
- (widgets-refresh-switcher-widget): New procedure split from
context-refresh-switcher-widget!
- (context-refresh-switcher-widget!): Add toggle-state support
scm/im-custom.scm
- (custom toggle-im-alt-im): Add set-hook to reflect new value
helper/im-switcher-gtk.c
- (enum switcher_coverage): New type
- (changing_way, coverage): Rename changing_way to coverage
- (toggle_changing_way): Rename to toggle_coverage
- (toggle_coverage):
Renamed from toggle_changing_way
Replace the magic numbers
- (change_input_method): Replace the magic numbers
- (create_switcher):
scm/anthy.scm : Support rotate Hiragana and Katakana conversion
in anthy-proc-converting-state as well.
- (anthy-candidate-type-katakana) : New.
- (anthy-candidate-type-hiragana) : Ditto.
- (anthy-candidate-type-hankana) : Ditto. Not yet supported by
scm/latin.scm (latin-compose-rule) : Update with automatically
generated list from en_US.UTF-8/Compose.
(latin-commit) : Flush rk context all time.
(latin-proc-composing-state) : Don't commit character when user
input sequence doesn't match the rule.
pixmaps/Makefile.am (install-data-hook) : Check the existence of
m17n icon before making symlink
(reported by dai at http://vdr.jp/d/20060603.html#p02).
helper/Makefile.am (EXTRA_DIST) : Use uim-dict-ui.xml
instead of $(uim_dict_ui_DATA) to put it in the distribution
even when --enable-dict is not specified.
qt/immodule-quiminputcontext_with_slave.cpp
(QUimInputContextWithSlave::filterEvent) : Process key handling
with uim context before qt's simple context.
immodule-qhelpermanager.cpp
(QUimHelperManager::parseHelperStrImChange) : Set
custom-preserved-default-im-name as in gtk+ immodule.
(QUimHelperManager::send_im_change_whole_desktop) : New.
immodule-quiminputcontext.h : #include "uim/uim-im-switcher.h".
(class QUimInputContext) : Add switch_app_global_im_cb and
switch_system_global_im_cb static members. Add
switch_app_global_im and switch_system_global_im members.
immodule-quiminputcontext.cpp
(QUimInputContext::createUimContext) : Set callback functions for
uim_set_im_switch_request_cb().
(QUimInputContext::switch_app_global_im_cb) : New.
(QUimInputContext::switch_system_global_im_cb) : Ditto.
(QUimInputContext::switch_app_global_im) : New. Just ported from
gtk+ immodule.
(QUimInputContext::switch_system_global_im) : Ditto.
strlcpy.c and strlcat.c are added to replace/. These codes are derived from
NetBSD with a bit change. On *BSD, native strlcpy and strlcat are used.
.
Message to all comitters:
Use strlcpy instead of strcpy and strncpy.
Use strlcat instead of strcat.
- configure.ac: Add strlcpy and strlcat to AC_REPLACES_FUNCS.
- replace/Makefile.am: Add strlcpy.c and strlcat.c.
- replace/os_dep.h: Add strlcpy and strlcat.
- replace/strlcpy.c: New function strlcpy derived from NetBSD.
- replace/strlcat.c: New function strlcat derived from NetBSD.
- fep/callbacks.c: Use strlcat and strlcpy.
- fep/escseq.c: Ditto.
- fep/udsock.c: Ditto.
- fep/uim-fep-tick.c: Ditto.
- fep/draw.c: Ditto.
- uim/uim-util.c: Ditto.
- uim/prime.c: Ditto.
- uim/uim-helper-client.c: Ditto.
- uim/uim-compat-scm.c: Ditto.
- uim/uim-helper-server.c: Ditto.
- uim/anthy.c: Ditto.
- uim/uim-module-manager.c: Ditto.
- uim/skk.c: Ditto.
- uim/slib.c: Ditto.
- xim/locale.cpp: Ditto.
- xim/compose.cpp: Ditto.
- xim/ximserver.cpp: Ditto.
- xim/ximpacket.cpp: Ditto.
replace/os_dep.h : Export strlcpy and strlcat as uim_strlcpy and
uim_strlcat if these function are not os native because these
function is used in uim's IM modules.
- New. Enable to handle dictionaries other than Anthy.
- (word_list_window_class_init) : Set property.
- (word_list_window_init) : Don't open a dictionary here.
- (dict_get_property) : New.
- (dict_set_property) : Open a dictionary here.
- (dict_get_dictionary_type) : Return dictionary type.
- (word_list_window_new) : Use dictionary type for a argument.
helper/dict-word-win-gtk.c
- (word_window_new) : Disable frequency widget if canna.
- (word_window_add) : Set word type appropriately.
- (button_cclass_browse_clicked_cb) : Create cclass_dialog
appropriately.
helper/dict-main-gtk.c
- (create_window_canna) : New.
- (create_window) : Support Canna.
scm/anthy.scm : Enable segment transposing with latin and
wide-latin characters.
- (anthy-candidate-type-latin)
- (anthy-candidate-type-wide-latin)
- New.
- Don't use multi-segment-* in general.
- (anthy-make-whole-string) : Fix for kana input rule.
- (anthy-make-raw-string) : Indentation fix.
- (anthy-make-whole-raw-string) : Stop using
ja-raw-string-list-to-valid roma. Instead, valid roma is
revised in the processing of backspace key.
- (anthy-proc-input-state-with-preedit)
- Fix roma sequence as described above.
- Don't handle anthy-transpose-as-latin-key? and
anthy-transpose-as wide-latin-key? with kana input-rule.
- (anthy-proc-input-state-with-preedit)
- Fix raw-str handling in processing
anthy-beginning-of-preedit-key? and anthy-end-of-preedit-key?
- Fix for adding raw-str when return type of rk-push-key! is a
list.
- (anthy-get-raw-candidate) : New. Get latin and wide latin
scm/mana.scm Enable segment-transposing as in anthy.scm.
- Don't use multi-segment-* in general.
- (make-get-raw-candidate) : New. Make hiragana, katakana,
- (mana-set-segment-transposing) : New as in anthy.scm.
- (mana-proc-converting-state) : Same changes as in anthy.scm.
scm/canna.scm : Use ustr instead of multi-segment procedure and
enable segment transposing including latin and wide-latin
characters as in anthy and mana.
- Stop using multi-segment-*.
- (canna-type-hiragana)
- (canna-type-katakana)
- (canna-type-hankana)
- (canna-type-latin)
- (canna-type-wide-latin)
- (canna-candidate-type-katakana)
- (canna-candidate-type-hiragana)
- (canna-candidate-type-hankana)
- (canna-candidate-type-latin)
- (canna-candidate-type-wide-latin)
scm/anthy.scm (anthy-make-whole-raw-string) : Stop modifying rkc
and set pending char at the correct place. Most part is
separated into anthy-get-raw-str-seq.
(anthy-get-raw-str-seq) : New.
(anthy-get-raw-candidate) : Use anthy-get-raw-str-seq to fix the
treatment of pending char.
- Add check for ascii-with-preedit.
- Don't flush context if the context is already on.
- (action_anthy_ascii_with_preedit)
- New.
- (anthy-context-rec-spec)
- Add ascii-with-preedit member.
- (anthy-toggle-ascii-with-preedit?)
- New. Toggle ascii-with-preedit mode.
- (anthy-flush)
- Reset ascii-with-preedit.
- (anthy-proc-input-state-no-preedit)
- Check ascii-mode-on/off keys.
- Insert appropriate element to ustr according to ascii mode.
- (anthy-proc-input-state-with-preedit)
- Begin conversion with ascii-with-preedit.
- Don't fix raw-ustr to valid rome in ascii-with-preedit.
- Check ascii-mode-on/off keys.
- Don't process "n1" sequence hack in ascii-with-preedit.
- Insert appropriate element to ustr according to ascii mode.
- (anthy-proc-converting-state)
- Ignore anthy-begin-conv-with-ascii-mode-key in the state.
scm/anthy-custom.scm
- (anthy-advanced) : New group.
- (prediction) : New group.
- (anthy-use-with-vi?) : Move to anthy-advanced group.
- (anthy-use-prediction?) : New setting. Only enabled if
scm/canna-custom.scm
- (canna-advanced) : New group.
- (cannaserver) : Use this as a subgroup in canna-advanced.
- (canna-use-mode-transition-keys-in-off-mode?) : New.
scm/canna.scm : Same changes as in anthy.scm.
scm/mana-key-custom.scm : Same changes as in
canna-key-custom.scm.
scm/mana-custom.scm
- (mana-advanced) : New group.
- (mana-use-mode-transition-keys-in-off-mode?) : New.
uim/prime.c
- (clear_prime_fd) : New.
- (prime_read_msg_from_ud) : Close connection if read(2) failed.
- (prime_send_command) : Return meaning less string if
prime_read_msg_from_ud() failed.
- (uim_plugin_instance_quit) : Use clear_prime_fd().
This commit replace pixmaps/ with inputmethod-icons-1.1.1 (although
almost icons are identical to original ones). To make the filenames
synchronized with the inputmethod-icons package, some files have
been prefixed with 'scim-'. But since install procedure renames
them, no uim programs are affected with the renamings. And to follow
future update of the inputmethod-icons package easily, all icon
files except for large taiyaki.xcf have been copied into pixmaps/
without renamings. Developers, commit inputmethod-icons repository
first to update any icons
configure.ac
- Add AM_MAINTAINER_MODE to make rsvg(1) unneeded completely
uim/uim.h
- (enum UTextArea, enum UTextOrigin, enum UTextExtent): New type
- (uim_set_text_acquisition_cb, uim_input_string): New function
- (uim_set_surrounding_text_cb, uim_set_surrounding_text): Removed
gtk/gtk-im-uim.c
- (acquire_selection_text) : Set former and latter NULL.
- (acquire_clipboard_text) : Ditto.
- (acquire_text_cb) : Ditto for UTextArea_Unspecified.
- Merge acquire_selection_text().
- Implemented GTK+'s clipboard handling.
- UTextExtent_Line handling is not implemented.
- This function fails if origin is UTextOrigin_Cursor.
- (acquire_text_cb) : Use acquire_clipboard_text() upon
UTextArea_Selection.
- (delete_primary_text) : New. Separated from delete_text_cb()
and add comments.
- (delete_selection_text) : Ditto.
- (delete_text_cb) : Simplify using delete_primary_text() and
scm/latin.scm : Experimental implementation of deadkey and
compose key handling. Now rk-context can handle keys other than
ASCII code using its symbol string. If the key is needed to be
shown in a preedit area with rk-pending, set its representation
with set-symbol-value!.
- (latin-multi-key?) : Disable. Force to use Multi_key instated.
- (latin-compose-rule) : Add sequences with deadkeys.
- (action_latin_input) : Set symbol value of deadkeys which is
used for preedit string.
- (latin-proc-composing-state)
- Fix backspace key handling.
- Use Multi_key and deadkeys in the procedure.
- (dead-keys?) : New.
- (latin-proc-raw-state) : Use deadkeys.
scm/rk.scm
- (rk-backspace)
- (rk-delete)
- Add handling with symbol keys which cannot be shown in the
preedit are (e.g. Multi_key).
- (rk-pending) : Don't include keysym without its representation.
scm/anthy.scm : Experimental implementation of "Kana key"
handling for Kana layout keyboard. Synchronization of
Latin/Kana layout depending on the input state will be
needed to be implemented.
qt/toolbar-standalone-qt.cpp
- Include "toolbar-common-uimstateindicator.h" for BUTTON_SIZE.
- (TOOLBAR_MARGIN_SIZE) : New.
- (UimStandaloneToolbar::UimStandaloneToolbar) : Set margin for
QUimHelperToolbar.
- (UimToolbarDraggingHandler::sizeHint) : Update.
qt/toolbar-common-uimstateindicator.cpp
- Include <qimage.h>.
- (UimStateIndicator::propListUpdate)
- (QHelperPopupMenu::insertHelperItem)
- Use scaled icon with 16x16 pixels.
qt/toolbar-common-quimhelpertoolbar.cpp
- Include <qimage.h>.
- (QUimHelperToolbar::QUimHelperToolbar)
qt/immodule-qtextutil.h
- Reorganization of header include.
qt/immodule-quiminfomanager.h
- New file.
- (uimInfo) : Moved from UIMInfo in immodule-quiminputcontext.h
and use QString for the strings.
- (class QUimInfoManager) : New.
qt/immodule-quiminfomanager.cpp : New file.
qt/immodule-plugin.cpp
- Ditto.
- Separate class definition into immodule-plugin.h.
- (UimInputContextPlugin::create) : Get proper lang for IM.
- (UimInputContextPlugin::languages) : Return list of languages.
- (UimInputContextPlugin::displayName) : Don't add language
qt/toolbar-common-quimhelpertoolbar.cpp
- (QUimHelperToolbar::QUimHelperToolbar) : Use isApplet
argument to not to show quit item.
- (QUimHelperToolbar::contextMenu) : New.
qt/toolbar-applet-kde.cpp
- Include <qcursor.h>.
- (UimApplet::UimApplet) : Resize toolbar.
- (UimApplet::resizeEvent) : New. Fix to layout the toolbar.
- (UimToolbar::UimToolbar) : Follow the changes in
QUimHelperToolbar.
- (UimToolbar::mousePressEvent) : Fix to show context menu with