handa [Fri, 25 Nov 2005 06:45:08 +0000 (06:45 +0000)]
*** empty log message ***
handa [Fri, 25 Nov 2005 06:45:03 +0000 (06:45 +0000)]
(run_command): Print debug info for
left/rigth_padding
handa [Fri, 25 Nov 2005 06:44:08 +0000 (06:44 +0000)]
(layout_glyphs): Fix handling of left/righ_padding.
handa [Fri, 25 Nov 2005 02:40:50 +0000 (02:40 +0000)]
*** empty log message ***
handa [Fri, 25 Nov 2005 02:40:46 +0000 (02:40 +0000)]
(mface__for_chars): Check rfont before accessing the
members.
handa [Mon, 21 Nov 2005 10:32:16 +0000 (10:32 +0000)]
*** empty log message ***
handa [Mon, 21 Nov 2005 10:32:02 +0000 (10:32 +0000)]
(bin_PROGRAMS, lib_LTLIBRARIES): Define them
conditionally on WITH_GUI.
handa [Mon, 21 Nov 2005 10:31:34 +0000 (10:31 +0000)]
(lib_LTLIBRARIES): Define it conditionaly on
WITH_GUI.
handa [Mon, 21 Nov 2005 10:31:11 +0000 (10:31 +0000)]
(pkgconfig_DATA): Define it conditionally on
WITH_GUI.
handa [Mon, 21 Nov 2005 10:30:45 +0000 (10:30 +0000)]
Handle --with-gui/--without-gui arg.
handa [Mon, 21 Nov 2005 10:29:38 +0000 (10:29 +0000)]
(parse_nested_list_value): Fix previous change.
(resolve_command): Fix handling of the return value of
get_nested_list.
handa [Mon, 21 Nov 2005 01:09:06 +0000 (01:09 +0000)]
*** empty log message ***
handa [Mon, 21 Nov 2005 01:09:01 +0000 (01:09 +0000)]
(handle_key): For debugging, print information about
alias key.
(filter): Add an alias for Meta and Alt modifiers.
(Mcond, Mplus, Mminus, Mstar, Mslush, Mand, Mor, Mnot): New
variables.
(minput__init): Initialize them.
(parse_expression): New function.
(resolve_expression): New function.
(parse_action_list): Handle expressions by parse_expression.
(take_action_list): Handle expressions by resolve_expression.
handa [Mon, 21 Nov 2005 01:06:37 +0000 (01:06 +0000)]
(fontset_table): New variable.
(free_fontset): Call M17N_OBJECT_UNREGISTER.
(mfont__fontset_init): Add fontset_table as an object array.
(mfont__realize_fontset): Ref FONTSET.
(mfont__free_realized_fontset): Unref REALIZED->fontset.
(mfontset): Call M17N_OBJECT_REGISTER.
(mfontset_copy): Likewise.
handa [Fri, 18 Nov 2005 11:00:19 +0000 (11:00 +0000)]
*** empty log message ***
handa [Fri, 18 Nov 2005 11:00:13 +0000 (11:00 +0000)]
(OTF_tag): Delete it.
(load_otf_script_list): Define only when HAVE_OTF is defined.
(mfont__fini): Unref otf_script_list only when HAVE_OTF is
defined.
handa [Fri, 18 Nov 2005 10:58:02 +0000 (10:58 +0000)]
(ft_check_otf): Define only when HAVE_OTF is defined.
(ft_list_capability): Call ft_check_otf only when HAVE_OTF is
defined.
(ft_select): Likewise.
handa [Fri, 18 Nov 2005 10:56:32 +0000 (10:56 +0000)]
Add --with-libotf option. Use AC_HELP_STRING.
handa [Fri, 18 Nov 2005 10:47:32 +0000 (10:47 +0000)]
*** empty log message ***
handa [Fri, 18 Nov 2005 10:47:16 +0000 (10:47 +0000)]
(mfont_list): Fix for the case that FONT is NULL.
handa [Fri, 18 Nov 2005 10:46:43 +0000 (10:46 +0000)]
(truncate_gstring): Be sure to truncate at
glapheme-cluster boundary.
handa [Fri, 11 Nov 2005 11:54:29 +0000 (11:54 +0000)]
*** empty log message ***
handa [Fri, 11 Nov 2005 11:54:25 +0000 (11:54 +0000)]
Cancel previous change.
handa [Fri, 11 Nov 2005 11:53:52 +0000 (11:53 +0000)]
Fix previous change.
handa [Fri, 11 Nov 2005 11:52:57 +0000 (11:52 +0000)]
(surrounding_text_handler): Directly delete characters
instead of calling delete_char.
handa [Fri, 11 Nov 2005 11:25:43 +0000 (11:25 +0000)]
*** empty log message ***
handa [Fri, 11 Nov 2005 11:25:16 +0000 (11:25 +0000)]
(compose_glyph_string): Check cursor_pos to decide on
which region to run FLT.
handa [Fri, 11 Nov 2005 11:24:14 +0000 (11:24 +0000)]
(update_cursor): Update control.cursor_pos.
handa [Fri, 11 Nov 2005 01:36:57 +0000 (01:36 +0000)]
*** empty log message ***
handa [Fri, 11 Nov 2005 01:36:46 +0000 (01:36 +0000)]
(delete_surrounding_text): Clear cache if necessary.
handa [Wed, 9 Nov 2005 12:37:43 +0000 (12:37 +0000)]
*** empty log message ***
handa [Wed, 9 Nov 2005 12:37:39 +0000 (12:37 +0000)]
(compose_glyph_string): Update prev->rface->rfont if the
glyph prev is also supported by the current flt.
handa [Tue, 8 Nov 2005 12:50:11 +0000 (12:50 +0000)]
(surrounding_text_handler): Fix previous change.
handa [Tue, 8 Nov 2005 12:48:37 +0000 (12:48 +0000)]
*** empty log message ***
handa [Tue, 8 Nov 2005 12:48:32 +0000 (12:48 +0000)]
(delete_char): Fix the case of deleting the previous
multiple characters.
(surrounding_text_handler): Check number characters to delete.
handa [Tue, 8 Nov 2005 08:01:18 +0000 (08:01 +0000)]
*** empty log message ***
handa [Tue, 8 Nov 2005 08:01:14 +0000 (08:01 +0000)]
(xft_render): Cancel previous change.
handa [Mon, 7 Nov 2005 13:04:54 +0000 (13:04 +0000)]
(filter): Unref ic_info->preceding_text and
ic_info->following_text.
handa [Mon, 7 Nov 2005 13:04:48 +0000 (13:04 +0000)]
*** empty log message ***
handa [Mon, 7 Nov 2005 12:59:09 +0000 (12:59 +0000)]
*** empty log message ***
handa [Mon, 7 Nov 2005 12:58:56 +0000 (12:58 +0000)]
(surrounding_text_handler): New function.
(setup_input_methods): Add callback functions for surrounding text
handling.
handa [Mon, 7 Nov 2005 12:58:07 +0000 (12:58 +0000)]
Include <stdlib.h>.
(get_surrounding_text, delete_surrounding_text)
(get_preceding_char, get_following_char): New functions.
(integer_value): New arg surrounding. If it is nonzero, try to
get a surrounding character. Callers changed.
(take_action_list): Check `value' before setting an element.
(destroy_ic): Unref ic_info->preceding_text and
ic_info->following_text.
(minput__init): Initialize Minput_get_surrounding_text and
Minput_delete_surrounding_text.
(Minput_get_surrounding_text, Minput_delete_surrounding_text): New
variables.
handa [Mon, 7 Nov 2005 12:55:18 +0000 (12:55 +0000)]
(Minput_get_surrounding_text, Minput_delete_surrounding_text):
Extern them.
handa [Mon, 7 Nov 2005 12:54:39 +0000 (12:54 +0000)]
(MInputContextInfo): New members preceding_text and
following_text.
ntakahas [Fri, 4 Nov 2005 08:38:29 +0000 (08:38 +0000)]
Add extren int mtext_lowercase (), mtext_titlecase (), mtext_uppercase ().
handa [Fri, 4 Nov 2005 07:25:21 +0000 (07:25 +0000)]
*** empty log message ***
handa [Fri, 4 Nov 2005 07:25:15 +0000 (07:25 +0000)]
(parse_nested_list_value): Fix handling of the global
definition.
(get_nested_list): Get global definitions by load_partial_im_info.
(preedit_commit): Set ic->candidates_changed to bitwise or of enum
MInputCandidatesChanged.
(take_action_list): Likewise.
(reset_ic): Likewise.
(create_ic): Don't pay special attention to
Mcandidates_group_size.
(load_partial_im_info): Call mdatabase_find with correct 4th arg.
(minput_set_variable): Get a definition of varible by
mplist_find_by_value, not mplist_get.
handa [Fri, 4 Nov 2005 07:19:44 +0000 (07:19 +0000)]
(enum MInputCandidatesChanged): New enum.
handa [Tue, 1 Nov 2005 12:16:49 +0000 (12:16 +0000)]
(xft_render): Check xft_draw's drawable before changing
it.
(mwin__destroy_window): If xft_draw's drawable is win, change it
to device->drawable before destroying win.
handa [Mon, 31 Oct 2005 06:34:13 +0000 (06:34 +0000)]
*** empty log message ***
handa [Mon, 31 Oct 2005 06:34:08 +0000 (06:34 +0000)]
(load_im_info): Fix adding of state.
handa [Mon, 31 Oct 2005 06:33:37 +0000 (06:33 +0000)]
(m17n_init_win): Fix reporting of module
finalization.
handa [Mon, 31 Oct 2005 06:33:31 +0000 (06:33 +0000)]
(m17n_fini): Fix reporting of module finalization.
handa [Mon, 31 Oct 2005 06:33:27 +0000 (06:33 +0000)]
(m17n_fini_core): Fix reporting of module
finalization.
handa [Sat, 29 Oct 2005 03:16:52 +0000 (03:16 +0000)]
*** empty log message ***
handa [Sat, 29 Oct 2005 03:16:40 +0000 (03:16 +0000)]
*** empty log message ***
handa [Sat, 29 Oct 2005 03:16:34 +0000 (03:16 +0000)]
(get_candidate_list): Fix the timing of refering plist.
handa [Fri, 28 Oct 2005 12:06:31 +0000 (12:06 +0000)]
*** empty log message ***
handa [Fri, 28 Oct 2005 11:48:40 +0000 (11:48 +0000)]
(load_branch): Ignore an undefined map name.
(load_im_info): Set im_info->title from `name' only if it's not
Mnil.
(shift_state): Always update ic->status.
(adjust_candidates): Renamed from adjust_candidate_command.
Argument changed. Caller changed.
(get_candidate_list, regularize_action): New functions.
(take_action_list): Use them. On handling Munhandle, don't set
ic_info->used to 0.
(handle_key): If KEY is not handled by MAP, and MAP has
branch_actions, perform them.
handa [Fri, 28 Oct 2005 11:36:53 +0000 (11:36 +0000)]
(mdatabase__fini): Free dir_info->filename;
handa [Tue, 25 Oct 2005 02:36:26 +0000 (02:36 +0000)]
*** empty log message ***
handa [Thu, 20 Oct 2005 12:13:23 +0000 (12:13 +0000)]
*** empty log message ***
handa [Thu, 20 Oct 2005 12:12:52 +0000 (12:12 +0000)]
(take_action_list): Fix previous change.
handa [Thu, 20 Oct 2005 12:03:08 +0000 (12:03 +0000)]
(marker_code): Accept '@@'.
(integer_value): Handle '@@'.
(parse_action_list): Accept a symbol argument.
(take_action_list): Resolve the symbol argument. Treat the
integer argument as the number keys to redo.
handa [Thu, 20 Oct 2005 03:57:56 +0000 (03:57 +0000)]
(setup_input_methods): Ignore an input method of name
nil.
handa [Tue, 18 Oct 2005 02:32:01 +0000 (02:32 +0000)]
*** empty log message ***
handa [Tue, 18 Oct 2005 02:02:04 +0000 (02:02 +0000)]
*** empty log message ***
handa [Tue, 18 Oct 2005 02:01:57 +0000 (02:01 +0000)]
Include "charset.h".
(M_candidates, Mcandidates_group_size, Mcandidates_charset): New
variables.
(MIMState): New member (M17NObject control).
(lookup_nested_list, set_nested_list, parse_nested_list_value)
(get_nested_list, resolve_variable): New functions.
(integer_value): New arg (MPlist **value). Set it to the plist
element containing the value.
(resolve_command): New function.
(load_translation): New arg (MPlist *map_actions).
(load_branch): New args language and name. If `keylist' is a
symbol, resolved that as a command name.
(free_map): New arg top. Free map->map_actions only if top is
nonzero.
(free_state): New function.
(load_state): New arg name.
(im_info_list): New variable.
(free_im_info, get_im_info_by_tags): New functions.
(load_im_info): Arg key changed to plist. Handle `include'.
Return (MInputMethodInfo *).
(preedit_commit): Ref ic->candidate_list.
(get_select_charset, adjust_candidate_command): New functions.
(take_action_list): Handle `include'. Adjust candidate action
properly. Handle control variables `candidates-charset' and
`candidates-group-size'.
(open_im): Use get_im_info.
(create_ic): Get global variables.
(load_partial_im_info): New function.
(get_im_info): New function.
(check_command_keyseq, check_command_list, check_variable_list):
New functions.
(minput__init): Don't handle M_database_hook and Mdetail_text.
Initialize M_candidates, Mcandidates_group_size,
Mcandidates_charset.
(parse_variable_list, get_variable_list, parse_command_list)
(get_command_list): Delete them.
(MDatabaseStatList, imdir_stat_list, input_method_hook): Delete them.
(minput__fini): Simply unref command_list and variable_list.
(minput_get_description): Adjusted for the new form of description.
(minput_get_commands): Use get_nested_list.
(minput_assign_command_keys): Likewise.
(minput_get_variables, minput_set_variable): Likewise.
handa [Tue, 18 Oct 2005 01:33:10 +0000 (01:33 +0000)]
(MInputMethodInfo): New members im and maps.
handa [Tue, 18 Oct 2005 01:32:35 +0000 (01:32 +0000)]
(M_database_hook): Delete extern.
(MDatabaseHookFunc): Delete extern.
(mdatabase__check): Extern it.
handa [Tue, 18 Oct 2005 01:32:01 +0000 (01:32 +0000)]
(MDatabaseList): New type.
handa [Tue, 18 Oct 2005 01:30:32 +0000 (01:30 +0000)]
Include <glob.h>.
(MAX_TIME): New macro.
(Masterisk): New variable.
(get_database_stream): Argument changed to (MDatabaseInfo *).
Callers changed.
(get_dir_info): Renamed from duplicate_dirname. Callers changed.
(find_database): New function.
(update_database_list): New function.
(mdatabase__init): Initialize Masterisk. Setup mdb_list by
calling update_database_list.
(mdatabase__check): New function.
(mdatabase_find): Use update_database and find_database. Don't
handle MDatabaseHookFunc.
(mdatabase_list): Call update_database at first.
(mdatabase_define): Adjusted for the change of mdb->extra_info.
handa [Tue, 18 Oct 2005 01:25:06 +0000 (01:25 +0000)]
*** empty log message ***
handa [Tue, 18 Oct 2005 01:24:51 +0000 (01:24 +0000)]
(mplist__conc): Renamed from mplist_conc. Don't ref
tail.
(mplist_conc): Renamed to mplist__conc.
(mplist__pop_unref): New function.
handa [Tue, 18 Oct 2005 01:24:21 +0000 (01:24 +0000)]
(mplist_conv, mplist__pop_unref): Extern them.
handa [Tue, 18 Oct 2005 01:22:57 +0000 (01:22 +0000)]
(Mdetail_text): Delete extern.
handa [Tue, 18 Oct 2005 01:22:37 +0000 (01:22 +0000)]
(mplist_conc): Delete extern.
handa [Fri, 14 Oct 2005 02:32:53 +0000 (02:32 +0000)]
(main): Don't leave a fontset unfreed.
handa [Fri, 14 Oct 2005 02:31:02 +0000 (02:31 +0000)]
(read_mtext_element): Ignore the sequence of '\\' and
newline.
(read_element): If keys is an empty plist, return any element
found first.
(dump_plist_element): Check if plist is nested.
(mplist_conc): Always ref tail.
(mplist_set): If key is a managing key, ref val in advance.
handa [Fri, 14 Oct 2005 02:26:38 +0000 (02:26 +0000)]
(MPLIST_VAL_MANAGED_P): Delete this macro.
(MPLIST_NESTED_P, MPLIST_SET_NESTED_P): New macros.
(MPLIST_ADD_PLIST, MPLIST_PUSH_PLIST, MPLIST_PUT_PLIST): New
macros.
handa [Fri, 14 Oct 2005 02:25:02 +0000 (02:25 +0000)]
(free_fontset): Unref fontset_list if necessary.
(mfont__fontset_fini): Don't free fontset_list. Unref
default_fontset.
(mfont__realize_fontset): Initialize request.
(mfontset): Ref default_fontset or fontset only if necessary.
(mfontset_copy): Don't ref copy.
handa [Fri, 14 Oct 2005 02:22:04 +0000 (02:22 +0000)]
(render_glyphs): Check gend->type before checking
gend->to.
handa [Fri, 14 Oct 2005 02:21:10 +0000 (02:21 +0000)]
(mfont__ft_fini): Unref ft_default_list. Set all
unrefed plists to NULL.
handa [Tue, 4 Oct 2005 11:39:08 +0000 (11:39 +0000)]
*** empty log message ***
handa [Tue, 4 Oct 2005 11:38:58 +0000 (11:38 +0000)]
(mtext_serialize): Be sure to make mt
MTEXT_FORMAT_UTF_8 and NULL terminated.
handa [Tue, 4 Oct 2005 11:38:05 +0000 (11:38 +0000)]
(m17n_init_win): Initialize Mcolormap.
handa [Tue, 4 Oct 2005 11:37:31 +0000 (11:37 +0000)]
(mdraw_glyph_list): Fix settting of glyphs->font->source.
handa [Mon, 3 Oct 2005 13:34:04 +0000 (13:34 +0000)]
(mdraw_glyph_info): Pay attention to the case that FROM
is not at the beginning of line.
handa [Mon, 3 Oct 2005 13:33:19 +0000 (13:33 +0000)]
(main): Make the image tranparent.
handa [Tue, 27 Sep 2005 11:30:15 +0000 (11:30 +0000)]
*** empty log message ***
handa [Tue, 27 Sep 2005 11:29:54 +0000 (11:29 +0000)]
(dump_image): If FILTER is "-", print the image to
stdout.
handa [Thu, 22 Sep 2005 08:08:13 +0000 (08:08 +0000)]
*** empty log message ***
handa [Thu, 22 Sep 2005 08:08:04 +0000 (08:08 +0000)]
(select_input_method): Open an input method if
necessary. Handle left bitmap of input method menus here.
(show_cursor): Don't open an input method here.
(ExposeProc): Likewise.
(FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
(InputMethodProc): Don't handle left bitmap of input method menus
here.
(setup_input_methods): Don't open an input method here.
handa [Thu, 22 Sep 2005 08:04:16 +0000 (08:04 +0000)]
Include <sys/stat.h> and <unistd.h>.
(Minclude, Mcommit, Munhandle): New variables.
(minput__init): Initialize them. Push only Mstate to
load_im_info_keys. Add aliases C-lowercase for C-uppercase.
(parse_action_list): Allow integer arg for undo. Handle Mcommit
and Munhandle.
(load_input_method): Handle "include" directive. If no states are
loaded, return -1.
(shift_state): If state_name is Mt, shift back to the previous
state. Call preedit_commit to commit preedit text.
(preedit_commit): New function.
(take_action_list): Improve debug printing. Handle commit and
unhandle commands.
(handle_key): Check the return value of take_action_list. Don't
take branch_actions just after changing to the root map.
(reset_ic): Reset all ic_info members.
(filter): When a key is not handled, just move ic_info->keys
instead fo calling reset_ic.
(load_im_info): If key is not Mstate, push Mmap to
load_im_info_keys.
(MDatabaseStatList): New type.
(imdir_stat_list): New variable.
(input_method_hook): Don't cancel the hook. Check the
modification time of directories.
(minput__fini): Free imdir_stat_list;
handa [Thu, 22 Sep 2005 07:53:49 +0000 (07:53 +0000)]
*** empty log message ***
handa [Thu, 22 Sep 2005 07:29:07 +0000 (07:29 +0000)]
(mplist_conc): Extern it.
handa [Thu, 22 Sep 2005 07:28:49 +0000 (07:28 +0000)]
(mplist_conc): New function.
handa [Thu, 22 Sep 2005 07:28:21 +0000 (07:28 +0000)]
(mdebug_dump_mtext): Escape '"' and '\\' by '\\'.
handa [Thu, 22 Sep 2005 07:27:37 +0000 (07:27 +0000)]
(MRealizedFont): New member average_width.
handa [Thu, 22 Sep 2005 07:27:03 +0000 (07:27 +0000)]
(ft_open): Set rface->average_width.