1 2008-06-13 Kenichi Handa <handa@m17n.org>
3 * M17NEdit.ja: Shinalese -> Shinhala.
5 2008-04-04 Kenichi Handa <handa@m17n.org>
7 * medit.c (unicode_input_method, saved_input_method): New
9 (KeyProc): Make `C-=' activate the unicode input method
11 (setup_input_methods): Set unicode_input_method if any.
13 2008-04-03 Kenichi Handa <handa@m17n.org>
15 * medit.c (update_cursor): Update control.cursor_pos at first.
17 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp>
19 * Version 1.5.1 released.
21 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp>
23 * mview.c: Include <stdlib.h>.
25 2007-12-28 Kenichi Handa <handa@ni.aist.go.jp>
27 * Version 1.5.0 released.
29 2007-10-29 Kenichi Handa <handa@m17n.org>
31 * Makefile.am (common_ldflags_gui): Add
32 ${top_builddir}/src/libm17n-flt.la.
34 * .gdb.util (xgstring): Adjusted for the change of dump_gstring.
37 2007-09-18 Kenichi Handa <handa@m17n.org>
39 * mdump.c (main): Use "generic" fontset by default.
41 2007-07-13 Kenichi Handa <handa@m17n.org>
43 * Version 1.4.0 released.
45 2007-05-21 Kenichi Handa <handa@m17n.org>
47 * medit.c (show_cursor): Use msymbol_name (not mlangauge_name).
49 2007-05-16 Kenichi Handa <handa@m17n.org>
51 * mdate.c (VERSION): Delete it.
52 (main): Use M17NLIB_VERSION_NAME to print the version number.
54 * mconv.c (VERSION): Delete it.
55 (main): Use M17NLIB_VERSION_NAME to print the version number.
57 * mdump.c (PROGRAM_VERSION): Delete it.
58 (main): Use M17NLIB_VERSION_NAME to print the version number.
60 * medit.c (VERSION): Delete it.
61 (main): Use M17NLIB_VERSION_NAME to print the version number.
63 * mview.c (VERSION): Delete it.
64 (main): Use M17NLIB_VERSION_NAME to print the version number.
66 2007-03-29 Kenichi Handa <handa@m17n.org>
68 * medit.c (setup_input_methods): Use mplist_put_func.
70 2006-12-06 Kenichi Handa <handa@m17n.org>
72 * Version 1.3.4 released.
74 * mview.c (VERSION): Changed to 1.3.4.
76 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
78 * mdate.c (VERSION): Changed to 1.3.4.
80 * medit.c (VERSION): Changed to 1.3.4.
82 * mconv.c (VERSION): Changed to 1.3.4.
84 2006-10-27 Kenichi Handa <handa@m17n.org>
86 * medit.c (surrounding_text_handler): Be sure to set surround text
89 2006-10-16 Kenichi Handa <handa@m17n.org>
91 * medit.c (create_menu_button): Set XtNinternational to True.
93 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
95 * Makefile.am (common_ldflags, common_ldflags_gui): Use
98 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
100 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
102 2006-06-23 Kenichi Handa <handa@m17n.org>
104 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
106 * medit.c (show_cursor): Call mlanguage_name to get English name
108 (compare_input_method): Likewise.
111 2006-02-22 Kenichi Handa <handa@m17n.org>
113 * Version 1.3.3 released.
115 2006-02-22 Kenichi Handa <handa@m17n.org>
117 * mview.c: Fix some typo in documention.
119 * medit.c: Fix some typo in documention.
121 * mdump.c: Fix some typo in documention.
123 2006-02-06 Kenichi Handa <handa@m17n.org>
125 * Version 1.3.2 released.
127 2006-02-03 Kenichi Handa <handa@m17n.org>
129 * mdump.c: Describe the supported color names.
131 2006-01-19 Kenichi Handa <handa@m17n.org>
133 * HELLO.utf8: Fix greek.
135 * HELLO.xml: Fix greek.
137 2006-01-17 Kenichi Handa <handa@m17n.org>
139 * mdump.c (main): Use gdImageCreateTrueColor and
140 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
142 2006-01-16 Kenichi Handa <handa@m17n.org>
144 * Version 1.3.1 released.
146 2006-01-16 Kenichi Handa <handa@m17n.org>
148 * mdump.c (help_exit): Describe -fg, -bg, -r args.
149 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
152 2006-01-05 Kenichi Handa <handa@m17n.org>
154 * HELLO.utf8: Fix Hindi and Oriya.
156 * HELLO.xml: Adjusted for the latest HELLO.utf8.
158 * HELLO.html: Adjusted for the latest HELLO.utf8.
160 * mdate.c (main): Call m17n-view; not mview.
162 2005-12-22 Kenichi Handa <handa@m17n.org>
164 * Version 1.3.0 released.
166 2005-12-06 Kenichi Handa <handa@m17n.org>
168 * medit.c (mt_modified): New variable.
169 (KeyProc): Update screen if input method modified a text.
170 (surrounding_text_handler): Set mt_modified to 1 if a text is
172 (main): Fix handling of --font arg.
174 2005-12-02 Kenichi Handa <handa@m17n.org>
176 * medit.c (main): Handle --font arg.
178 2005-11-21 Kenichi Handa <handa@m17n.org>
180 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
181 conditionally on WITH_GUI.
183 2005-11-11 Kenichi Handa <handa@m17n.org>
185 * medit.c (surrounding_text_handler): Directly delete characters
186 instead of calling delete_char.
188 2005-11-08 Kenichi Handa <handa@m17n.org>
190 * medit.c (delete_char): Fix the case of deleting the previous
192 (surrounding_text_handler): Check number of characters to delete.
194 2005-11-07 Kenichi Handa <handa@m17n.org>
196 * medit.c (surrounding_text_handler): New function.
197 (setup_input_methods): Add callback functions for surrounding text
200 2005-10-20 Kenichi Handa <handa@m17n.org>
202 * medit.c (setup_input_methods): Ignore an input method of name
205 2005-10-14 Kenichi Handa <handa@m17n.org>
207 * medit.c (main): Don't leave a fontset unfreed.
209 2005-10-03 Kenichi Handa <handa@m17n.org>
211 * mdump.c (main): Make the image tranparent.
213 2005-09-27 Kenichi Handa <handa@m17n.org>
215 * mdump.c (dump_image): If FILTER is "-", print the image to
218 2005-09-22 Kenichi Handa <handa@m17n.org>
220 * medit.c (select_input_method): Open an input method if
221 necessary. Handle left bitmap of input method menus here.
222 (show_cursor): Don't open an input method here.
223 (ExposeProc): Likewise.
224 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
225 (InputMethodProc): Don't handle left bitmap of input method menus
227 (setup_input_methods): Don't open an input method here.
229 2005-09-16 Kenichi Handa <handa@m17n.org>
231 * medit.c (ButtonProc): Don't reset ic, instead send
232 Minput_focus_move event to the current input method.
233 (FocusInProc, FocusOutProc): New functions.
234 (actions): Add elements for FocusIn and FocusOut.
235 (main): Add elements for FocusIn and FocusOut to trans2.
237 2005-09-12 Kenichi Handa <handa@m17n.org>
239 * medit.c (redraw): Don't redraw an area where not text is
242 2005-09-05 Kenichi Handa <handa@m17n.org>
244 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
246 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
248 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
249 directory listing libraries.
250 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
253 2005-08-22 Kenichi Handa <handa@m17n.org>
255 * mdump.c: Don't include config.h.
261 * mimx-anthy.c: Likewise.
263 * mimx-ispell.c: Likewise.
265 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
267 2005-08-18 Kenichi Handa <handa@m17n.org>
269 * medit.c (main): Adjusted for the change of symbol's language
270 property (now in lowercase).
272 * mdump.c (main): Handle --fontset arg.
274 2005-05-19 Kenichi Handa <handa@m17n.org>
276 * medit.c (main): Explicitly set minput_driver.
278 2005-04-28 Kenichi Handa <handa@m17n.org>
280 * .cvsignore: Change mXXXX to m17n-XXXX.
282 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
284 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
287 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
290 2005-04-15 Kenichi Handa <handa@m17n.org>
292 * medit.c: Include dlfcn.h.
293 (Mword): New variable.
294 (show_cursor): Check Mlanguage text property of the cursor
296 (delete_char): Pay attention to the change of line beginning
297 position because of filling.
298 (insert_chars): Likewise.
299 (word_constituent_p, forward_word, backward_word): New functions.
300 (KeyProc): Assign XK_b and XK_f for back/foreward word.
301 (line_break): Delete extern.
302 (LineBreakProc): Use mdraw_default_line_break.
303 (FilterProc): New function.
304 (main): Handle --filter arg. Initialize Mword.
306 * mdump.c (main): Set control.line_break to
307 mdraw_default_line_break.
309 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
310 (m17n_dump_SOURCES): Likewise.
311 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
312 (m17n_dump_LDADD): Likewise.
314 2005-03-09 Kenichi Handa <handa@m17n.org>
316 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
318 2005-02-17 Kenichi Handa <handa@m17n.org>
320 * medit.c (setup_input_methods): Fix for the case that no input
323 2005-01-12 Kenichi Handa <handa@m17n.org>
325 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
326 Myanmar kinzi to the new proposal by Myanmar NLP.
328 2004-12-27 Kenichi Handa <handa@m17n.org>
330 * Version 1.2.0 released.
332 2004-12-27 Kenichi Handa <handa@m17n.org>
334 * M17NEdit.ja: Renamed from MEdit.ja.
336 * Makefile.am: Put prefix "m17n-" instead of single "m" to
338 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
340 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
341 changed ("mXXXX" -> "m17n-XXXX").
343 2004-12-21 Kenichi Handa <handa@m17n.org>
345 * medit.c (ButtonProc): Reset the current input method (if
346 activated) and insert the produced text.
347 (KeyProc): Cancel the previous change.
349 2004-12-21 Kenichi Handa <handa@m17n.org>
351 * medit.c (KeyProc): Handle C-\ as resetting input context.
353 2004-12-17 Kenichi Handa <handa@m17n.org>
355 * medit.c (main): Allocagte filename by strdup if not specified.
357 2004-12-10 Kenichi Handa <handa@m17n.org>
359 * mview.c (VERSION): Update to 1.2.0.
361 * medit.c (VERSION): Update to 1.2.0.
362 (main): If filename is not specified, open /dev/null.
364 * mdate.c (VERSION): Update to 1.2.0.
366 * mconv.c (VERSION): Update to 1.2.0.
368 2004-12-09 Kenichi Handa <handa@m17n.org>
370 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
371 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
373 2004-12-09 handa <handa@m17n.org>
375 * Makefile.am (common_ldflags): Include libm17n-core.la.
376 (common_ldflags_gui): Include ${common_ldflags}
378 2004-12-03 Kenichi Handa <handa@m17n.org>
380 * mimx-anthy.c (AnthyContext): New member ic.
381 (new_context): When something goes wrong, return NULL without
383 (get_context): New function.
384 (init): Pay attention to the case of multiple calls.
386 (convert, change, resize, commit): Use get_context.
388 * mimx-ispell.c (face_available): New variable.
389 (init): Check if GUI APIs are available or not. If not, set
391 (fini): Free a face only if face_available is not zero.
392 (ispell_word): Put face property only if available.
394 2004-10-29 Kenichi Handa <handa@m17n.org>
396 * medit.c (main): Fix handling of "-s" arg.
398 2004-10-12 Kenichi Handa <handa@m17n.org>
400 * medit.c (KeyProc): Cast buf to `unsigned char *'.
401 (FaceProc): Call hide_cursor () at first.
403 2004-09-27 Kenichi Handa <handa@m17n.org>
405 * HELLO.html: Add Sinhala.
407 2004-09-23 Kenichi Handa <handa@m17n.org>
409 * HELLO.utf8, HELLO.xml: Add Sinhala.
411 2004-09-14 Kenichi Handa <handa@m17n.org>
413 * medit.c (update_selection): Fix for the case that the selection
416 2004-08-27 Kenichi Handa <handa@m17n.org>
418 * mdump.c (help_exit): Describe about the arg "-r".
419 (reverse_bit_order, init_reverse_bit_order): Delete them.
420 (main): Handle the arg "-r".
422 2004-08-25 Kenichi Handa <handa@m17n.org>
424 * medit.c: Adjusted for the member name change
425 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
427 * mdump.c: Adjusted for the member name change
428 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
430 2004-08-16 Kenichi Handa <handa@m17n.org>
432 * Version 1.1.0 released.
434 2004-08-15 Kenichi Handa <handa@m17n.org>
436 * MEdit.ja: Add Dhivehi.
438 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
440 * medit.c (covert_selection): Handle explicit request of
442 (ExposeProc): If an initial input method is specifed, activate it.
443 (setup_input_methods): New arg initial_input_method. If it's not
444 NULL, set current_input_method to the corresponding index.
445 (help_exit): Fix help message.
446 (main): Handle --im and -s command args.
448 * mdump.c (help_exit): Fix help message.
450 2004-08-09 Kenichi Handa <handa@m17n.org>
452 * mconv.c (VERSION): Updated to 1.1.
454 * mdate.c (VERSION): Likewise.
456 * medit.c (VERSION): Likewise.
458 * mview.c (VERSION): Likewise.
460 2004-07-28 Kenichi Handa <handa@m17n.org>
462 * HELLO.utf8: Add language names for Telugu and Gujarati.
464 * HELLO.xml: Add language names for Telugu and Gujarati.
466 2004-07-26 Kenichi Handa <handa@m17n.org>
468 * medit.c (redraw_cursor): Fix checking of redrawing area.
469 (set_input_method_spot): Don't check face if the buffer is empty.
470 (show_cursor): Likewise.
471 (delete_char): Fix adjustment of nchars.
472 (CursorProc): Call update_cursor.
474 2004-07-23 Kenichi Handa <handa@m17n.org>
476 * HELLO.xml: Add Myanmar.
478 * HELLO.utf8: Add Myanmar.
480 2004-07-22 Kenichi Handa <handa@m17n.org>
482 * medit.c (get_selection): If decoding fails and *type is not
483 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
485 2004-07-20 Kenichi Handa <handa@m17n.org>
487 * medit.c (main): If frame creation is falied, exit by error.
488 Call M17N_FINI after destroying the application context.
490 2004-07-18 Kenichi Handa <handa@m17n.org>
492 * Makefile.am (common_ldflags): Don't include
493 ${top_srcdir}/src/libm17n-core.la.
495 2004-07-07 Kenichi Handa <handa@m17n.org>
497 * medit.c (Mcoding_compound_text): New variable.
498 (covert_selection): Fix previous change.
499 (main): Set Mcoding_compound_text.
501 2004-07-06 Kenichi Handa <handa@m17n.org>
503 * mdump.c: Cancel previous change.
505 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
506 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
508 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
510 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
511 target is XA_UTF8_STRING, encode by utf-8.
512 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
513 XA_UTF8_STRING, decode by utf-8.
515 2004-07-05 Kenichi Handa <handa@m17n.org>
517 * HELLO.utf8: Add Kannada.
519 2004-06-30 Kenichi Handa <handa@m17n.org>
521 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
523 * Makefile.am (X_LD_FLAGS): New variable.
524 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
526 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
527 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
528 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
530 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
532 * HELLO.utf8: Add Punjabi.
534 2004-06-24 Kenichi Handa <handa@m17n.org>
536 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
537 (libmimx_anthy_la_LDFLAGS): Add -module.
539 2004-06-23 Kenichi Handa <handa@m17n.org>
541 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
544 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
545 of cursor.this.width.
547 2004-06-21 Kenichi Handa <handa@m17n.org>
549 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
552 2004-06-17 Kenichi Handa <handa@m17n.org>
554 * mdump.c (main): Don't set control.as_image to 1.
556 2004-06-16 Kenichi Handa <handa@m17n.org>
558 * mdump.c (main): Fix typo of error message.
560 * medit.c (face_freeserif): New variable.
561 (face_table): Add an entry for freeserif.
562 (main): Initialized and free face_freeserif.
564 2004-06-15 Kenichi Handa <handa@m17n.org>
566 * mdump.c: Add command line arguments --family and --language.
567 (help_exit): Print info about those arguemnts.
568 (main): Make family name to lowercase.
570 2004-06-04 Kenichi Handa <handa@m17n.org>
572 * mconv.c (compare_coding_name): New function.
573 (list_coding): Sort the list of codings by their names.
575 2004-06-03 Kenichi Handa <handa@m17n.org>
577 * medit.c (InputMethodInfo): New type.
578 (input_method_table): Type changed to `InputMethodInfo *'.
579 (select_input_method): Adjusted for the change of
581 (show_cursor): Open an input method here if necessary.
582 (compare_input_method): Adjusted for the change of
584 (setup_input_methods): Likewise. Don't open input methods here
586 (main): Adjusted for the change of input_method_table.
588 * mconv.c (main): Close `in' and `out'.
590 * HELLO.utf8: Fix Greek line.
592 * HELLO.xml: Fix Greek line.
594 2004-05-28 Kenichi Handa <handa@m17n.org>
596 * Makefile.am (VINFO): New variable.
597 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
600 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
601 (main): Use PROGRAM_VERSION.
603 * medit.c (main): Make face_input_status copy of face_default.
605 2004-05-27 Kenichi Handa <handa@m17n.org>
607 * medit.c (show_cursor): Check hline->width and box->width.
608 (main): Set reverse videomode in a face for selection.
610 * mdump.c: Include config.h. Include <gd.h> instead of
611 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
612 function main that just print an error message.
613 (help_exit): Adjusted for the change of spec.
614 (dump_image): Argument changed. Dump PNG image instead of PBM.
615 (main): Adjusted for the change of spec.
617 * Makefile.am (common_ldflags_gui): Renamed from
618 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
619 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
621 * HELLO.xml: Add Bengali.
623 2004-05-21 Kenichi Handa <handa@m17n.org>
625 * HELLO.utf8: Add Bengali.
627 2004-05-20 Kenichi Handa <handa@m17n.org>
629 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
630 (ButtonMoveProc): Don't give control.anti_alias to redraw.
631 (default_face_list): New variable.
632 (FaceProc): If no selection, change the default face.
633 (main): Initialize and finalize default_face_list.
635 2004-04-27 Kenichi Handa <handa@m17n.org>
637 * mimx-ispell.c: Add coding tag euc-jp.
639 * mimx-anthy.c: Add coding tag euc-jp.
641 * medit.c: Add coding tag euc-jp.
642 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
643 (main): Set control.anti_alias to 1.
645 * mdump.c: Add coding tag euc-jp.
647 * mdate.c: Add coding tag euc-jp.
649 * mconv.c: Add coding tag euc-jp.
651 2004-04-20 Kenichi Handa <handa@m17n.org>
653 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
655 (mview_LDFLAGS): Likewise.
657 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
659 2004-03-29 Kenichi Handa <handa@m17n.org>
661 * Version 1.0 Patch Level 2 released.
663 2004-03-19 Kenichi Handa <handa@m17n.org>
665 * Version 1.0 Patch Level 1 released.
667 2004-03-19 Kenichi Handa <handa@m17n.org>
669 * medit.c (VERSION): Changed to 1.0.1.
670 (update_selection): Fix for the case that the selected region is
671 expanded to the opposite direction.
672 (ButtonMoveProc): Likewise.
673 (main): Use alloca instead of malloc for allocating menu names.
674 Free several memory areas and GCs.
676 2004-03-12 Kenichi Handa <handa@m17n.org>
678 * medit.c (input_status_control): New variable.
679 (input_status): Use input_status_control.
680 (main): Initialize input_status_control.
682 2004-03-01 Kenichi Handa <handa@m17n.org>
684 * Version 1.0 released.
687 Copyright (C) 2003, 2004
688 National Institute of Advanced Industrial Science and Technology (AIST)
689 Registration Number H15PRO112
691 This file is part of the m17n library.
693 The m17n library is free software; you can redistribute it and/or
694 modify it under the terms of the GNU Lesser General Public License
695 as published by the Free Software Foundation; either version 2.1 of
696 the License, or (at your option) any later version.
698 The m17n library is distributed in the hope that it will be useful,
699 but WITHOUT ANY WARRANTY; without even the implied warranty of
700 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
701 Lesser General Public License for more details.
703 You should have received a copy of the GNU Lesser General Public
704 License along with the m17n library; if not, write to the Free
705 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
706 Boston, MA 02110-1301, USA.