1 2006-01-05 Kenichi Handa <handa@m17n.org>
3 * HELLO.utf8: Fix Hindi and Oriya.
5 * HELLO.xml: Adjusted for the latest HELLO.utf8.
7 * HELLO.html: Adjusted for the latest HELLO.utf8.
9 * mdate.c (main): Call m17n-view; not mview.
11 2005-12-22 Kenichi Handa <handa@m17n.org>
13 * Version 1.3.0 released.
15 2005-12-06 Kenichi Handa <handa@m17n.org>
17 * medit.c (mt_modified): New variable.
18 (KeyProc): Update screen if input method modified a text.
19 (surrounding_text_handler): Set mt_modified to 1 if a text is
21 (main): Fix handling of --font arg.
23 2005-12-02 Kenichi Handa <handa@m17n.org>
25 * medit.c (main): Handle --font arg.
27 2005-11-21 Kenichi Handa <handa@m17n.org>
29 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
30 conditionally on WITH_GUI.
32 2005-11-11 Kenichi Handa <handa@m17n.org>
34 * medit.c (surrounding_text_handler): Directly delete characters
35 instead of calling delete_char.
37 2005-11-08 Kenichi Handa <handa@m17n.org>
39 * medit.c (delete_char): Fix the case of deleting the previous
41 (surrounding_text_handler): Check number of characters to delete.
43 2005-11-07 Kenichi Handa <handa@m17n.org>
45 * medit.c (surrounding_text_handler): New function.
46 (setup_input_methods): Add callback functions for surrounding text
49 2005-10-20 Kenichi Handa <handa@m17n.org>
51 * medit.c (setup_input_methods): Ignore an input method of name
54 2005-10-14 Kenichi Handa <handa@m17n.org>
56 * medit.c (main): Don't leave a fontset unfreed.
58 2005-10-03 Kenichi Handa <handa@m17n.org>
60 * mdump.c (main): Make the image tranparent.
62 2005-09-27 Kenichi Handa <handa@m17n.org>
64 * mdump.c (dump_image): If FILTER is "-", print the image to
67 2005-09-22 Kenichi Handa <handa@m17n.org>
69 * medit.c (select_input_method): Open an input method if
70 necessary. Handle left bitmap of input method menus here.
71 (show_cursor): Don't open an input method here.
72 (ExposeProc): Likewise.
73 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
74 (InputMethodProc): Don't handle left bitmap of input method menus
76 (setup_input_methods): Don't open an input method here.
78 2005-09-16 Kenichi Handa <handa@m17n.org>
80 * medit.c (ButtonProc): Don't reset ic, instead send
81 Minput_focus_move event to the current input method.
82 (FocusInProc, FocusOutProc): New functions.
83 (actions): Add elements for FocusIn and FocusOut.
84 (main): Add elements for FocusIn and FocusOut to trans2.
86 2005-09-12 Kenichi Handa <handa@m17n.org>
88 * medit.c (redraw): Don't redraw an area where not text is
91 2005-09-05 Kenichi Handa <handa@m17n.org>
93 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
95 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
97 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
98 directory listing libraries.
99 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
102 2005-08-22 Kenichi Handa <handa@m17n.org>
104 * mdump.c: Don't include config.h.
110 * mimx-anthy.c: Likewise.
112 * mimx-ispell.c: Likewise.
114 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
116 2005-08-18 Kenichi Handa <handa@m17n.org>
118 * medit.c (main): Adjusted for the change of symbol's language
119 property (now in lowercase).
121 * mdump.c (main): Handle --fontset arg.
123 2005-05-19 Kenichi Handa <handa@m17n.org>
125 * medit.c (main): Explicitly set minput_driver.
127 2005-04-28 Kenichi Handa <handa@m17n.org>
129 * .cvsignore: Change mXXXX to m17n-XXXX.
131 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
133 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
136 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
139 2005-04-15 Kenichi Handa <handa@m17n.org>
141 * medit.c: Include dlfcn.h.
142 (Mword): New variable.
143 (show_cursor): Check Mlanguage text property of the cursor
145 (delete_char): Pay attention to the change of line beginning
146 position because of filling.
147 (insert_chars): Likewise.
148 (word_constituent_p, forward_word, backward_word): New functions.
149 (KeyProc): Assign XK_b and XK_f for back/foreward word.
150 (line_break): Delete extern.
151 (LineBreakProc): Use mdraw_default_line_break.
152 (FilterProc): New function.
153 (main): Handle --filter arg. Initialize Mword.
155 * mdump.c (main): Set control.line_break to
156 mdraw_default_line_break.
158 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
159 (m17n_dump_SOURCES): Likewise.
160 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
161 (m17n_dump_LDADD): Likewise.
163 2005-03-09 Kenichi Handa <handa@m17n.org>
165 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
167 2005-02-17 Kenichi Handa <handa@m17n.org>
169 * medit.c (setup_input_methods): Fix for the case that no input
172 2005-01-12 Kenichi Handa <handa@m17n.org>
174 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
175 Myanmar kinzi to the new proposal by Myanmar NLP.
177 2004-12-27 Kenichi Handa <handa@m17n.org>
179 * Version 1.2.0 released.
181 2004-12-27 Kenichi Handa <handa@m17n.org>
183 * M17NEdit.ja: Renamed from MEdit.ja.
185 * Makefile.am: Put prefix "m17n-" instead of single "m" to
187 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
189 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
190 changed ("mXXXX" -> "m17n-XXXX").
192 2004-12-21 Kenichi Handa <handa@m17n.org>
194 * medit.c (ButtonProc): Reset the current input method (if
195 activated) and insert the produced text.
196 (KeyProc): Cancel the previous change.
198 2004-12-21 Kenichi Handa <handa@m17n.org>
200 * medit.c (KeyProc): Handle C-\ as resetting input context.
202 2004-12-17 Kenichi Handa <handa@m17n.org>
204 * medit.c (main): Allocagte filename by strdup if not specified.
206 2004-12-10 Kenichi Handa <handa@m17n.org>
208 * mview.c (VERSION): Update to 1.2.0.
210 * medit.c (VERSION): Update to 1.2.0.
211 (main): If filename is not specified, open /dev/null.
213 * mdate.c (VERSION): Update to 1.2.0.
215 * mconv.c (VERSION): Update to 1.2.0.
217 2004-12-09 Kenichi Handa <handa@m17n.org>
219 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
220 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
222 2004-12-09 handa <handa@m17n.org>
224 * Makefile.am (common_ldflags): Include libm17n-core.la.
225 (common_ldflags_gui): Include ${common_ldflags}
227 2004-12-03 Kenichi Handa <handa@m17n.org>
229 * mimx-anthy.c (AnthyContext): New member ic.
230 (new_context): When something goes wrong, return NULL without
232 (get_context): New function.
233 (init): Pay attention to the case of multiple calls.
235 (convert, change, resize, commit): Use get_context.
237 * mimx-ispell.c (face_available): New variable.
238 (init): Check if GUI APIs are available or not. If not, set
240 (fini): Free a face only if face_available is not zero.
241 (ispell_word): Put face property only if available.
243 2004-10-29 Kenichi Handa <handa@m17n.org>
245 * medit.c (main): Fix handling of "-s" arg.
247 2004-10-12 Kenichi Handa <handa@m17n.org>
249 * medit.c (KeyProc): Cast buf to `unsigned char *'.
250 (FaceProc): Call hide_cursor () at first.
252 2004-09-27 Kenichi Handa <handa@m17n.org>
254 * HELLO.html: Add Sinhala.
256 2004-09-23 Kenichi Handa <handa@m17n.org>
258 * HELLO.utf8, HELLO.xml: Add Sinhala.
260 2004-09-14 Kenichi Handa <handa@m17n.org>
262 * medit.c (update_selection): Fix for the case that the selection
265 2004-08-27 Kenichi Handa <handa@m17n.org>
267 * mdump.c (help_exit): Describe about the arg "-r".
268 (reverse_bit_order, init_reverse_bit_order): Delete them.
269 (main): Handle the arg "-r".
271 2004-08-25 Kenichi Handa <handa@m17n.org>
273 * medit.c: Adjusted for the member name change
274 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
276 * mdump.c: Adjusted for the member name change
277 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
279 2004-08-16 Kenichi Handa <handa@m17n.org>
281 * Version 1.1.0 released.
283 2004-08-15 Kenichi Handa <handa@m17n.org>
285 * MEdit.ja: Add Dhivehi.
287 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
289 * medit.c (covert_selection): Handle explicit request of
291 (ExposeProc): If an initial input method is specifed, activate it.
292 (setup_input_methods): New arg initial_input_method. If it's not
293 NULL, set current_input_method to the corresponding index.
294 (help_exit): Fix help message.
295 (main): Handle --im and -s command args.
297 * mdump.c (help_exit): Fix help message.
299 2004-08-09 Kenichi Handa <handa@m17n.org>
301 * mconv.c (VERSION): Updated to 1.1.
303 * mdate.c (VERSION): Likewise.
305 * medit.c (VERSION): Likewise.
307 * mview.c (VERSION): Likewise.
309 2004-07-28 Kenichi Handa <handa@m17n.org>
311 * HELLO.utf8: Add language names for Telugu and Gujarati.
313 * HELLO.xml: Add language names for Telugu and Gujarati.
315 2004-07-26 Kenichi Handa <handa@m17n.org>
317 * medit.c (redraw_cursor): Fix checking of redrawing area.
318 (set_input_method_spot): Don't check face if the buffer is empty.
319 (show_cursor): Likewise.
320 (delete_char): Fix adjustment of nchars.
321 (CursorProc): Call update_cursor.
323 2004-07-23 Kenichi Handa <handa@m17n.org>
325 * HELLO.xml: Add Myanmar.
327 * HELLO.utf8: Add Myanmar.
329 2004-07-22 Kenichi Handa <handa@m17n.org>
331 * medit.c (get_selection): If decoding fails and *type is not
332 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
334 2004-07-20 Kenichi Handa <handa@m17n.org>
336 * medit.c (main): If frame creation is falied, exit by error.
337 Call M17N_FINI after destroying the application context.
339 2004-07-18 Kenichi Handa <handa@m17n.org>
341 * Makefile.am (common_ldflags): Don't include
342 ${top_srcdir}/src/libm17n-core.la.
344 2004-07-07 Kenichi Handa <handa@m17n.org>
346 * medit.c (Mcoding_compound_text): New variable.
347 (covert_selection): Fix previous change.
348 (main): Set Mcoding_compound_text.
350 2004-07-06 Kenichi Handa <handa@m17n.org>
352 * mdump.c: Cancel previous change.
354 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
355 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
357 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
359 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
360 target is XA_UTF8_STRING, encode by utf-8.
361 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
362 XA_UTF8_STRING, decode by utf-8.
364 2004-07-05 Kenichi Handa <handa@m17n.org>
366 * HELLO.utf8: Add Kannada.
368 2004-06-30 Kenichi Handa <handa@m17n.org>
370 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
372 * Makefile.am (X_LD_FLAGS): New variable.
373 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
375 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
376 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
377 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
379 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
381 * HELLO.utf8: Add Punjabi.
383 2004-06-24 Kenichi Handa <handa@m17n.org>
385 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
386 (libmimx_anthy_la_LDFLAGS): Add -module.
388 2004-06-23 Kenichi Handa <handa@m17n.org>
390 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
393 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
394 of cursor.this.width.
396 2004-06-21 Kenichi Handa <handa@m17n.org>
398 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
401 2004-06-17 Kenichi Handa <handa@m17n.org>
403 * mdump.c (main): Don't set control.as_image to 1.
405 2004-06-16 Kenichi Handa <handa@m17n.org>
407 * mdump.c (main): Fix typo of error message.
409 * medit.c (face_freeserif): New variable.
410 (face_table): Add an entry for freeserif.
411 (main): Initialized and free face_freeserif.
413 2004-06-15 Kenichi Handa <handa@m17n.org>
415 * mdump.c: Add command line arguments --family and --language.
416 (help_exit): Print info about those arguemnts.
417 (main): Make family name to lowercase.
419 2004-06-04 Kenichi Handa <handa@m17n.org>
421 * mconv.c (compare_coding_name): New function.
422 (list_coding): Sort the list of codings by their names.
424 2004-06-03 Kenichi Handa <handa@m17n.org>
426 * medit.c (InputMethodInfo): New type.
427 (input_method_table): Type changed to `InputMethodInfo *'.
428 (select_input_method): Adjusted for the change of
430 (show_cursor): Open an input method here if necessary.
431 (compare_input_method): Adjusted for the change of
433 (setup_input_methods): Likewise. Don't open input methods here
435 (main): Adjusted for the change of input_method_table.
437 * mconv.c (main): Close `in' and `out'.
439 * HELLO.utf8: Fix Greek line.
441 * HELLO.xml: Fix Greek line.
443 2004-05-28 Kenichi Handa <handa@m17n.org>
445 * Makefile.am (VINFO): New variable.
446 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
449 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
450 (main): Use PROGRAM_VERSION.
452 * medit.c (main): Make face_input_status copy of face_default.
454 2004-05-27 Kenichi Handa <handa@m17n.org>
456 * medit.c (show_cursor): Check hline->width and box->width.
457 (main): Set reverse videomode in a face for selection.
459 * mdump.c: Include config.h. Include <gd.h> instead of
460 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
461 function main that just print an error message.
462 (help_exit): Adjusted for the change of spec.
463 (dump_image): Argument changed. Dump PNG image instead of PBM.
464 (main): Adjusted for the change of spec.
466 * Makefile.am (common_ldflags_gui): Renamed from
467 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
468 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
470 * HELLO.xml: Add Bengali.
472 2004-05-21 Kenichi Handa <handa@m17n.org>
474 * HELLO.utf8: Add Bengali.
476 2004-05-20 Kenichi Handa <handa@m17n.org>
478 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
479 (ButtonMoveProc): Don't give control.anti_alias to redraw.
480 (default_face_list): New variable.
481 (FaceProc): If no selection, change the default face.
482 (main): Initialize and finalize default_face_list.
484 2004-04-27 Kenichi Handa <handa@m17n.org>
486 * mimx-ispell.c: Add coding tag euc-jp.
488 * mimx-anthy.c: Add coding tag euc-jp.
490 * medit.c: Add coding tag euc-jp.
491 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
492 (main): Set control.anti_alias to 1.
494 * mdump.c: Add coding tag euc-jp.
496 * mdate.c: Add coding tag euc-jp.
498 * mconv.c: Add coding tag euc-jp.
500 2004-04-20 Kenichi Handa <handa@m17n.org>
502 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
504 (mview_LDFLAGS): Likewise.
506 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
508 2004-03-29 Kenichi Handa <handa@m17n.org>
510 * Version 1.0 Patch Level 2 released.
512 2004-03-19 Kenichi Handa <handa@m17n.org>
514 * Version 1.0 Patch Level 1 released.
516 2004-03-19 Kenichi Handa <handa@m17n.org>
518 * medit.c (VERSION): Changed to 1.0.1.
519 (update_selection): Fix for the case that the selected region is
520 expanded to the opposite direction.
521 (ButtonMoveProc): Likewise.
522 (main): Use alloca instead of malloc for allocating menu names.
523 Free several memory areas and GCs.
525 2004-03-12 Kenichi Handa <handa@m17n.org>
527 * medit.c (input_status_control): New variable.
528 (input_status): Use input_status_control.
529 (main): Initialize input_status_control.
531 2004-03-01 Kenichi Handa <handa@m17n.org>
533 * Version 1.0 released.
536 Copyright (C) 2003, 2004
537 National Institute of Advanced Industrial Science and Technology (AIST)
538 Registration Number H15PRO112
540 This file is part of the m17n library.
542 The m17n library is free software; you can redistribute it and/or
543 modify it under the terms of the GNU Lesser General Public License
544 as published by the Free Software Foundation; either version 2.1 of
545 the License, or (at your option) any later version.
547 The m17n library is distributed in the hope that it will be useful,
548 but WITHOUT ANY WARRANTY; without even the implied warranty of
549 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
550 Lesser General Public License for more details.
552 You should have received a copy of the GNU Lesser General Public
553 License along with the m17n library; if not, write to the Free
554 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA