1 2008-01-30 Kenichi Handa <handa@ni.aist.go.jp>
3 * Version 1.5.1 released.
5 2007-12-28 Kenichi Handa <handa@ni.aist.go.jp>
7 * Version 1.5.0 released.
9 2007-10-29 Kenichi Handa <handa@m17n.org>
11 * Makefile.am (common_ldflags_gui): Add
12 ${top_builddir}/src/libm17n-flt.la.
14 * .gdb.util (xgstring): Adjusted for the change of dump_gstring.
17 2007-09-18 Kenichi Handa <handa@m17n.org>
19 * mdump.c (main): Use "generic" fontset by default.
21 2007-07-13 Kenichi Handa <handa@m17n.org>
23 * Version 1.4.0 released.
25 2007-05-21 Kenichi Handa <handa@m17n.org>
27 * medit.c (show_cursor): Use msymbol_name (not mlangauge_name).
29 2007-05-16 Kenichi Handa <handa@m17n.org>
31 * mdate.c (VERSION): Delete it.
32 (main): Use M17NLIB_VERSION_NAME to print the version number.
34 * mconv.c (VERSION): Delete it.
35 (main): Use M17NLIB_VERSION_NAME to print the version number.
37 * mdump.c (PROGRAM_VERSION): Delete it.
38 (main): Use M17NLIB_VERSION_NAME to print the version number.
40 * medit.c (VERSION): Delete it.
41 (main): Use M17NLIB_VERSION_NAME to print the version number.
43 * mview.c (VERSION): Delete it.
44 (main): Use M17NLIB_VERSION_NAME to print the version number.
46 2007-03-29 Kenichi Handa <handa@m17n.org>
48 * medit.c (setup_input_methods): Use mplist_put_func.
50 2006-12-06 Kenichi Handa <handa@m17n.org>
52 * Version 1.3.4 released.
54 * mview.c (VERSION): Changed to 1.3.4.
56 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
58 * mdate.c (VERSION): Changed to 1.3.4.
60 * medit.c (VERSION): Changed to 1.3.4.
62 * mconv.c (VERSION): Changed to 1.3.4.
64 2006-10-27 Kenichi Handa <handa@m17n.org>
66 * medit.c (surrounding_text_handler): Be sure to set surround text
69 2006-10-16 Kenichi Handa <handa@m17n.org>
71 * medit.c (create_menu_button): Set XtNinternational to True.
73 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
75 * Makefile.am (common_ldflags, common_ldflags_gui): Use
78 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
80 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
82 2006-06-23 Kenichi Handa <handa@m17n.org>
84 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
86 * medit.c (show_cursor): Call mlanguage_name to get English name
88 (compare_input_method): Likewise.
91 2006-02-22 Kenichi Handa <handa@m17n.org>
93 * Version 1.3.3 released.
95 2006-02-22 Kenichi Handa <handa@m17n.org>
97 * mview.c: Fix some typo in documention.
99 * medit.c: Fix some typo in documention.
101 * mdump.c: Fix some typo in documention.
103 2006-02-06 Kenichi Handa <handa@m17n.org>
105 * Version 1.3.2 released.
107 2006-02-03 Kenichi Handa <handa@m17n.org>
109 * mdump.c: Describe the supported color names.
111 2006-01-19 Kenichi Handa <handa@m17n.org>
113 * HELLO.utf8: Fix greek.
115 * HELLO.xml: Fix greek.
117 2006-01-17 Kenichi Handa <handa@m17n.org>
119 * mdump.c (main): Use gdImageCreateTrueColor and
120 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
122 2006-01-16 Kenichi Handa <handa@m17n.org>
124 * Version 1.3.1 released.
126 2006-01-16 Kenichi Handa <handa@m17n.org>
128 * mdump.c (help_exit): Describe -fg, -bg, -r args.
129 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
132 2006-01-05 Kenichi Handa <handa@m17n.org>
134 * HELLO.utf8: Fix Hindi and Oriya.
136 * HELLO.xml: Adjusted for the latest HELLO.utf8.
138 * HELLO.html: Adjusted for the latest HELLO.utf8.
140 * mdate.c (main): Call m17n-view; not mview.
142 2005-12-22 Kenichi Handa <handa@m17n.org>
144 * Version 1.3.0 released.
146 2005-12-06 Kenichi Handa <handa@m17n.org>
148 * medit.c (mt_modified): New variable.
149 (KeyProc): Update screen if input method modified a text.
150 (surrounding_text_handler): Set mt_modified to 1 if a text is
152 (main): Fix handling of --font arg.
154 2005-12-02 Kenichi Handa <handa@m17n.org>
156 * medit.c (main): Handle --font arg.
158 2005-11-21 Kenichi Handa <handa@m17n.org>
160 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
161 conditionally on WITH_GUI.
163 2005-11-11 Kenichi Handa <handa@m17n.org>
165 * medit.c (surrounding_text_handler): Directly delete characters
166 instead of calling delete_char.
168 2005-11-08 Kenichi Handa <handa@m17n.org>
170 * medit.c (delete_char): Fix the case of deleting the previous
172 (surrounding_text_handler): Check number of characters to delete.
174 2005-11-07 Kenichi Handa <handa@m17n.org>
176 * medit.c (surrounding_text_handler): New function.
177 (setup_input_methods): Add callback functions for surrounding text
180 2005-10-20 Kenichi Handa <handa@m17n.org>
182 * medit.c (setup_input_methods): Ignore an input method of name
185 2005-10-14 Kenichi Handa <handa@m17n.org>
187 * medit.c (main): Don't leave a fontset unfreed.
189 2005-10-03 Kenichi Handa <handa@m17n.org>
191 * mdump.c (main): Make the image tranparent.
193 2005-09-27 Kenichi Handa <handa@m17n.org>
195 * mdump.c (dump_image): If FILTER is "-", print the image to
198 2005-09-22 Kenichi Handa <handa@m17n.org>
200 * medit.c (select_input_method): Open an input method if
201 necessary. Handle left bitmap of input method menus here.
202 (show_cursor): Don't open an input method here.
203 (ExposeProc): Likewise.
204 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
205 (InputMethodProc): Don't handle left bitmap of input method menus
207 (setup_input_methods): Don't open an input method here.
209 2005-09-16 Kenichi Handa <handa@m17n.org>
211 * medit.c (ButtonProc): Don't reset ic, instead send
212 Minput_focus_move event to the current input method.
213 (FocusInProc, FocusOutProc): New functions.
214 (actions): Add elements for FocusIn and FocusOut.
215 (main): Add elements for FocusIn and FocusOut to trans2.
217 2005-09-12 Kenichi Handa <handa@m17n.org>
219 * medit.c (redraw): Don't redraw an area where not text is
222 2005-09-05 Kenichi Handa <handa@m17n.org>
224 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
226 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
228 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
229 directory listing libraries.
230 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
233 2005-08-22 Kenichi Handa <handa@m17n.org>
235 * mdump.c: Don't include config.h.
241 * mimx-anthy.c: Likewise.
243 * mimx-ispell.c: Likewise.
245 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
247 2005-08-18 Kenichi Handa <handa@m17n.org>
249 * medit.c (main): Adjusted for the change of symbol's language
250 property (now in lowercase).
252 * mdump.c (main): Handle --fontset arg.
254 2005-05-19 Kenichi Handa <handa@m17n.org>
256 * medit.c (main): Explicitly set minput_driver.
258 2005-04-28 Kenichi Handa <handa@m17n.org>
260 * .cvsignore: Change mXXXX to m17n-XXXX.
262 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
264 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
267 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
270 2005-04-15 Kenichi Handa <handa@m17n.org>
272 * medit.c: Include dlfcn.h.
273 (Mword): New variable.
274 (show_cursor): Check Mlanguage text property of the cursor
276 (delete_char): Pay attention to the change of line beginning
277 position because of filling.
278 (insert_chars): Likewise.
279 (word_constituent_p, forward_word, backward_word): New functions.
280 (KeyProc): Assign XK_b and XK_f for back/foreward word.
281 (line_break): Delete extern.
282 (LineBreakProc): Use mdraw_default_line_break.
283 (FilterProc): New function.
284 (main): Handle --filter arg. Initialize Mword.
286 * mdump.c (main): Set control.line_break to
287 mdraw_default_line_break.
289 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
290 (m17n_dump_SOURCES): Likewise.
291 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
292 (m17n_dump_LDADD): Likewise.
294 2005-03-09 Kenichi Handa <handa@m17n.org>
296 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
298 2005-02-17 Kenichi Handa <handa@m17n.org>
300 * medit.c (setup_input_methods): Fix for the case that no input
303 2005-01-12 Kenichi Handa <handa@m17n.org>
305 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
306 Myanmar kinzi to the new proposal by Myanmar NLP.
308 2004-12-27 Kenichi Handa <handa@m17n.org>
310 * Version 1.2.0 released.
312 2004-12-27 Kenichi Handa <handa@m17n.org>
314 * M17NEdit.ja: Renamed from MEdit.ja.
316 * Makefile.am: Put prefix "m17n-" instead of single "m" to
318 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
320 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
321 changed ("mXXXX" -> "m17n-XXXX").
323 2004-12-21 Kenichi Handa <handa@m17n.org>
325 * medit.c (ButtonProc): Reset the current input method (if
326 activated) and insert the produced text.
327 (KeyProc): Cancel the previous change.
329 2004-12-21 Kenichi Handa <handa@m17n.org>
331 * medit.c (KeyProc): Handle C-\ as resetting input context.
333 2004-12-17 Kenichi Handa <handa@m17n.org>
335 * medit.c (main): Allocagte filename by strdup if not specified.
337 2004-12-10 Kenichi Handa <handa@m17n.org>
339 * mview.c (VERSION): Update to 1.2.0.
341 * medit.c (VERSION): Update to 1.2.0.
342 (main): If filename is not specified, open /dev/null.
344 * mdate.c (VERSION): Update to 1.2.0.
346 * mconv.c (VERSION): Update to 1.2.0.
348 2004-12-09 Kenichi Handa <handa@m17n.org>
350 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
351 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
353 2004-12-09 handa <handa@m17n.org>
355 * Makefile.am (common_ldflags): Include libm17n-core.la.
356 (common_ldflags_gui): Include ${common_ldflags}
358 2004-12-03 Kenichi Handa <handa@m17n.org>
360 * mimx-anthy.c (AnthyContext): New member ic.
361 (new_context): When something goes wrong, return NULL without
363 (get_context): New function.
364 (init): Pay attention to the case of multiple calls.
366 (convert, change, resize, commit): Use get_context.
368 * mimx-ispell.c (face_available): New variable.
369 (init): Check if GUI APIs are available or not. If not, set
371 (fini): Free a face only if face_available is not zero.
372 (ispell_word): Put face property only if available.
374 2004-10-29 Kenichi Handa <handa@m17n.org>
376 * medit.c (main): Fix handling of "-s" arg.
378 2004-10-12 Kenichi Handa <handa@m17n.org>
380 * medit.c (KeyProc): Cast buf to `unsigned char *'.
381 (FaceProc): Call hide_cursor () at first.
383 2004-09-27 Kenichi Handa <handa@m17n.org>
385 * HELLO.html: Add Sinhala.
387 2004-09-23 Kenichi Handa <handa@m17n.org>
389 * HELLO.utf8, HELLO.xml: Add Sinhala.
391 2004-09-14 Kenichi Handa <handa@m17n.org>
393 * medit.c (update_selection): Fix for the case that the selection
396 2004-08-27 Kenichi Handa <handa@m17n.org>
398 * mdump.c (help_exit): Describe about the arg "-r".
399 (reverse_bit_order, init_reverse_bit_order): Delete them.
400 (main): Handle the arg "-r".
402 2004-08-25 Kenichi Handa <handa@m17n.org>
404 * medit.c: Adjusted for the member name change
405 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
407 * mdump.c: Adjusted for the member name change
408 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
410 2004-08-16 Kenichi Handa <handa@m17n.org>
412 * Version 1.1.0 released.
414 2004-08-15 Kenichi Handa <handa@m17n.org>
416 * MEdit.ja: Add Dhivehi.
418 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
420 * medit.c (covert_selection): Handle explicit request of
422 (ExposeProc): If an initial input method is specifed, activate it.
423 (setup_input_methods): New arg initial_input_method. If it's not
424 NULL, set current_input_method to the corresponding index.
425 (help_exit): Fix help message.
426 (main): Handle --im and -s command args.
428 * mdump.c (help_exit): Fix help message.
430 2004-08-09 Kenichi Handa <handa@m17n.org>
432 * mconv.c (VERSION): Updated to 1.1.
434 * mdate.c (VERSION): Likewise.
436 * medit.c (VERSION): Likewise.
438 * mview.c (VERSION): Likewise.
440 2004-07-28 Kenichi Handa <handa@m17n.org>
442 * HELLO.utf8: Add language names for Telugu and Gujarati.
444 * HELLO.xml: Add language names for Telugu and Gujarati.
446 2004-07-26 Kenichi Handa <handa@m17n.org>
448 * medit.c (redraw_cursor): Fix checking of redrawing area.
449 (set_input_method_spot): Don't check face if the buffer is empty.
450 (show_cursor): Likewise.
451 (delete_char): Fix adjustment of nchars.
452 (CursorProc): Call update_cursor.
454 2004-07-23 Kenichi Handa <handa@m17n.org>
456 * HELLO.xml: Add Myanmar.
458 * HELLO.utf8: Add Myanmar.
460 2004-07-22 Kenichi Handa <handa@m17n.org>
462 * medit.c (get_selection): If decoding fails and *type is not
463 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
465 2004-07-20 Kenichi Handa <handa@m17n.org>
467 * medit.c (main): If frame creation is falied, exit by error.
468 Call M17N_FINI after destroying the application context.
470 2004-07-18 Kenichi Handa <handa@m17n.org>
472 * Makefile.am (common_ldflags): Don't include
473 ${top_srcdir}/src/libm17n-core.la.
475 2004-07-07 Kenichi Handa <handa@m17n.org>
477 * medit.c (Mcoding_compound_text): New variable.
478 (covert_selection): Fix previous change.
479 (main): Set Mcoding_compound_text.
481 2004-07-06 Kenichi Handa <handa@m17n.org>
483 * mdump.c: Cancel previous change.
485 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
486 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
488 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
490 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
491 target is XA_UTF8_STRING, encode by utf-8.
492 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
493 XA_UTF8_STRING, decode by utf-8.
495 2004-07-05 Kenichi Handa <handa@m17n.org>
497 * HELLO.utf8: Add Kannada.
499 2004-06-30 Kenichi Handa <handa@m17n.org>
501 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
503 * Makefile.am (X_LD_FLAGS): New variable.
504 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
506 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
507 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
508 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
510 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
512 * HELLO.utf8: Add Punjabi.
514 2004-06-24 Kenichi Handa <handa@m17n.org>
516 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
517 (libmimx_anthy_la_LDFLAGS): Add -module.
519 2004-06-23 Kenichi Handa <handa@m17n.org>
521 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
524 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
525 of cursor.this.width.
527 2004-06-21 Kenichi Handa <handa@m17n.org>
529 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
532 2004-06-17 Kenichi Handa <handa@m17n.org>
534 * mdump.c (main): Don't set control.as_image to 1.
536 2004-06-16 Kenichi Handa <handa@m17n.org>
538 * mdump.c (main): Fix typo of error message.
540 * medit.c (face_freeserif): New variable.
541 (face_table): Add an entry for freeserif.
542 (main): Initialized and free face_freeserif.
544 2004-06-15 Kenichi Handa <handa@m17n.org>
546 * mdump.c: Add command line arguments --family and --language.
547 (help_exit): Print info about those arguemnts.
548 (main): Make family name to lowercase.
550 2004-06-04 Kenichi Handa <handa@m17n.org>
552 * mconv.c (compare_coding_name): New function.
553 (list_coding): Sort the list of codings by their names.
555 2004-06-03 Kenichi Handa <handa@m17n.org>
557 * medit.c (InputMethodInfo): New type.
558 (input_method_table): Type changed to `InputMethodInfo *'.
559 (select_input_method): Adjusted for the change of
561 (show_cursor): Open an input method here if necessary.
562 (compare_input_method): Adjusted for the change of
564 (setup_input_methods): Likewise. Don't open input methods here
566 (main): Adjusted for the change of input_method_table.
568 * mconv.c (main): Close `in' and `out'.
570 * HELLO.utf8: Fix Greek line.
572 * HELLO.xml: Fix Greek line.
574 2004-05-28 Kenichi Handa <handa@m17n.org>
576 * Makefile.am (VINFO): New variable.
577 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
580 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
581 (main): Use PROGRAM_VERSION.
583 * medit.c (main): Make face_input_status copy of face_default.
585 2004-05-27 Kenichi Handa <handa@m17n.org>
587 * medit.c (show_cursor): Check hline->width and box->width.
588 (main): Set reverse videomode in a face for selection.
590 * mdump.c: Include config.h. Include <gd.h> instead of
591 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
592 function main that just print an error message.
593 (help_exit): Adjusted for the change of spec.
594 (dump_image): Argument changed. Dump PNG image instead of PBM.
595 (main): Adjusted for the change of spec.
597 * Makefile.am (common_ldflags_gui): Renamed from
598 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
599 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
601 * HELLO.xml: Add Bengali.
603 2004-05-21 Kenichi Handa <handa@m17n.org>
605 * HELLO.utf8: Add Bengali.
607 2004-05-20 Kenichi Handa <handa@m17n.org>
609 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
610 (ButtonMoveProc): Don't give control.anti_alias to redraw.
611 (default_face_list): New variable.
612 (FaceProc): If no selection, change the default face.
613 (main): Initialize and finalize default_face_list.
615 2004-04-27 Kenichi Handa <handa@m17n.org>
617 * mimx-ispell.c: Add coding tag euc-jp.
619 * mimx-anthy.c: Add coding tag euc-jp.
621 * medit.c: Add coding tag euc-jp.
622 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
623 (main): Set control.anti_alias to 1.
625 * mdump.c: Add coding tag euc-jp.
627 * mdate.c: Add coding tag euc-jp.
629 * mconv.c: Add coding tag euc-jp.
631 2004-04-20 Kenichi Handa <handa@m17n.org>
633 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
635 (mview_LDFLAGS): Likewise.
637 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
639 2004-03-29 Kenichi Handa <handa@m17n.org>
641 * Version 1.0 Patch Level 2 released.
643 2004-03-19 Kenichi Handa <handa@m17n.org>
645 * Version 1.0 Patch Level 1 released.
647 2004-03-19 Kenichi Handa <handa@m17n.org>
649 * medit.c (VERSION): Changed to 1.0.1.
650 (update_selection): Fix for the case that the selected region is
651 expanded to the opposite direction.
652 (ButtonMoveProc): Likewise.
653 (main): Use alloca instead of malloc for allocating menu names.
654 Free several memory areas and GCs.
656 2004-03-12 Kenichi Handa <handa@m17n.org>
658 * medit.c (input_status_control): New variable.
659 (input_status): Use input_status_control.
660 (main): Initialize input_status_control.
662 2004-03-01 Kenichi Handa <handa@m17n.org>
664 * Version 1.0 released.
667 Copyright (C) 2003, 2004
668 National Institute of Advanced Industrial Science and Technology (AIST)
669 Registration Number H15PRO112
671 This file is part of the m17n library.
673 The m17n library is free software; you can redistribute it and/or
674 modify it under the terms of the GNU Lesser General Public License
675 as published by the Free Software Foundation; either version 2.1 of
676 the License, or (at your option) any later version.
678 The m17n library is distributed in the hope that it will be useful,
679 but WITHOUT ANY WARRANTY; without even the implied warranty of
680 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
681 Lesser General Public License for more details.
683 You should have received a copy of the GNU Lesser General Public
684 License along with the m17n library; if not, write to the Free
685 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
686 Boston, MA 02110-1301, USA.