*** empty log message ***
[m17n/m17n-lib.git] / src / ChangeLog
index 6420ff9..7bf76fd 100644 (file)
@@ -1,3 +1,150 @@
+2004-12-21  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-gui.h (mfont_from_spec): Delete extern.
+
+       * input-gui.c (win_callback): Handle Minput_reset.
+       (minput__win_init): Register reset_ic as a callback for
+       Minput_reset.
+
+       * input.c (reset_ic): New arg IGNORE which is ignored.  Caller
+       changed.  At first, shift to the initial state.
+       (minput__init): Initialize Minput_reset.  Register reset_ic as a
+       callback for Minput_reset.
+       (Minput_reset): New variable.
+       (minput_filter): Always set ic->xxx_changed to 0.
+       (minput_reset_ic): New function.
+       (integer_value): Fix typo ('>' -> '<') and calculation of length
+       of preedit text.
+
+       * m17n-core.c (merror_code): Change type to `int'.
+
+       * m17n-misc.h (merror_code): Adjust type.
+
+       * m17n.h (Minput_reset, minput_reset_ic): Extern them.
+
+       * m17n-core.h (MTEXT_FORMAT_UTF_16, MTEXT_FORMAT_UTF_32): Adjust types.
+       (mtext_change_prop): Delete extern.
+
+       * mtext.c (MTEXT_FORMAT_UTF_16, MTEXT_FORMAT_UTF_32): Change types
+       to `int'.  Move the documents to m17n-core.h.
+
+2004-12-13  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-core.h (m17n_object): Rename extern from m17n_object_setup.
+       (MTextProperty): Document it.
+
+2004-12-09  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-core.h: Fix typo (MTextStatus -> M17NStatus).
+
+2004-12-03  Kenichi Handa  <handa@m17n.org>
+
+       * internal.h (m17n__core_initialized, m17n__shell_initialized,
+       m17n__gui_initialized): New externs.
+
+       * m17n-core.h (enum M17NStatus): New enum.
+       (m17n_status): Extern it.
+
+       * m17n-core.c (core_initialized): Delete this variable.
+       (m17n__core_initialized, m17n__shell_initialized,
+       m17n__gui_initialized): New variables.
+       (m17n_init_core, m17n_fini_core): Check m17n__core_initialized
+       instead of core_initialized.
+       (m17n_status): New function.
+
+       * m17n.c (shell_initialized): Delete this variable.
+       (m17n_init, m17n_fini): Check m17n__shell_initialized instead of
+       shell_initialized.
+
+       * m17n-gui.h (m17n_init_win): Adjust the prototype.
+
+       * m17n-gui.c (win_initialized): Delete this variable.
+       (m17n_init_win, m17n_fini_win): Check m17n__gui_initialized
+       instead of gui_initialized.
+
+2004-11-19  Kenichi Handa  <handa@m17n.org>
+
+       * input.c (reset_ic): Check if ic_info->state is NULL.
+       (filter): If ic_info->state is NULL, return 0.
+       (load_input_method): Don't unref `maps' it it's not created.
+
+2004-11-15  Kenichi Handa  <handa@m17n.org>
+
+       * input.c (find_candidates_group): If INDEX is -1, find the last
+       candidate group.
+       (take_action_list): If the previous of the first candidate is
+       requested, select the last candidate.
+
+2004-11-08  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-X.c (device_open): Try at most 32 fonts to find a
+       non-autoscaled font.
+
+       * font.c (xlfd_parse_name): Fix previous change.
+
+2004-11-05  Kenichi Handa  <handa@m17n.org>
+
+       * font.c: (commont_style): Include dummy elements "slanted" and
+       "rslanted" to prefer "o" to "r" if "i" is requested.
+
+       * font-ft.c (ft_to_prop): Fix "oblique" entry.
+
+2004-10-29  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (xlfd_parse_name): If avgwidth is 0, set the size to 0.
+
+       * m17n-X.c (MXFont): Change type of the member `sizes' to int.
+       New members smallest and larger.
+       (SET_SIZE, HAVE_SIZE): Adjusted for the above change.
+       (xfont_registry_list): Likewise.
+       (xfont_select): Likewise.
+       
+
+2004-10-28  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-X.c (xfont_registry_list): Include '-' before PIXEL_SIZE in
+       font name comparison.
+       (xfont_select): Fix logic for selecting a larger size font.
+
+2004-10-25  Kenichi Handa  <handa@m17n.org>
+
+       * input.c (take_action_list): Initialize `ret' to 0 for "=", "<",
+       ">" actions.
+
+2004-10-22  Kenichi Handa  <handa@m17n.org>
+
+       * input.c (update_candidate): Renamed from udpate_candidate.
+       (take_action_list): Show more debugging info on arithmetic commands.
+
+       * m17n-X.c (device_open): Fix previous change.
+
+       * draw.c (compose_glyph_string): Don't get face property at the
+       end of M-text.
+
+2004-10-21  Kenichi Handa  <handa@m17n.org>
+
+       * draw.c (compose_glyph_string): Fix for the case of category
+       being Mnil.
+
+2004-10-19  Kenichi Handa  <handa@m17n.org>
+
+       * input.c (mdebug_mask): New variable.
+       (shift_state): Print debug information.
+       (take_action_list): Likewise.
+       (handle_key): Likewise.
+
+2004-10-14  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-X.c (device_open): Accept Mxft as the value of key Mfont.
+
+2004-10-13  Kenichi Handa  <handa@m17n.org>
+
+       * m17n-X.c (device_open): Be sure to register at least one font
+       driver.
+
+       * font-ft.c: Include <freetype/ftbdf.h> conditionally.  Check
+       HAVE_FTBDF_H before calling FT_Get_BDF_Property.
+
 2004-10-12  Kenichi Handa  <handa@m17n.org>
 
        * draw.c (alloc_gstring): Fix previous change.