1 2007-10-29 Kenichi Handa <handa@m17n.org>
3 * Makefile.am (common_ldflags_gui): Add
4 ${top_builddir}/src/libm17n-flt.la.
6 * .gdb.util (xgstring): Adjusted for the change of dump_gstring.
9 2007-09-18 Kenichi Handa <handa@m17n.org>
11 * mdump.c (main): Use "generic" fontset by default.
13 2007-07-13 Kenichi Handa <handa@m17n.org>
15 * Version 1.4.0 released.
17 2007-05-21 Kenichi Handa <handa@m17n.org>
19 * medit.c (show_cursor): Use msymbol_name (not mlangauge_name).
21 2007-05-16 Kenichi Handa <handa@m17n.org>
23 * mdate.c (VERSION): Delete it.
24 (main): Use M17NLIB_VERSION_NAME to print the version number.
26 * mconv.c (VERSION): Delete it.
27 (main): Use M17NLIB_VERSION_NAME to print the version number.
29 * mdump.c (PROGRAM_VERSION): Delete it.
30 (main): Use M17NLIB_VERSION_NAME to print the version number.
32 * medit.c (VERSION): Delete it.
33 (main): Use M17NLIB_VERSION_NAME to print the version number.
35 * mview.c (VERSION): Delete it.
36 (main): Use M17NLIB_VERSION_NAME to print the version number.
38 2007-03-29 Kenichi Handa <handa@m17n.org>
40 * medit.c (setup_input_methods): Use mplist_put_func.
42 2006-12-06 Kenichi Handa <handa@m17n.org>
44 * Version 1.3.4 released.
46 * mview.c (VERSION): Changed to 1.3.4.
48 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
50 * mdate.c (VERSION): Changed to 1.3.4.
52 * medit.c (VERSION): Changed to 1.3.4.
54 * mconv.c (VERSION): Changed to 1.3.4.
56 2006-10-27 Kenichi Handa <handa@m17n.org>
58 * medit.c (surrounding_text_handler): Be sure to set surround text
61 2006-10-16 Kenichi Handa <handa@m17n.org>
63 * medit.c (create_menu_button): Set XtNinternational to True.
65 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
67 * Makefile.am (common_ldflags, common_ldflags_gui): Use
70 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
72 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
74 2006-06-23 Kenichi Handa <handa@m17n.org>
76 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
78 * medit.c (show_cursor): Call mlanguage_name to get English name
80 (compare_input_method): Likewise.
83 2006-02-22 Kenichi Handa <handa@m17n.org>
85 * Version 1.3.3 released.
87 2006-02-22 Kenichi Handa <handa@m17n.org>
89 * mview.c: Fix some typo in documention.
91 * medit.c: Fix some typo in documention.
93 * mdump.c: Fix some typo in documention.
95 2006-02-06 Kenichi Handa <handa@m17n.org>
97 * Version 1.3.2 released.
99 2006-02-03 Kenichi Handa <handa@m17n.org>
101 * mdump.c: Describe the supported color names.
103 2006-01-19 Kenichi Handa <handa@m17n.org>
105 * HELLO.utf8: Fix greek.
107 * HELLO.xml: Fix greek.
109 2006-01-17 Kenichi Handa <handa@m17n.org>
111 * mdump.c (main): Use gdImageCreateTrueColor and
112 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
114 2006-01-16 Kenichi Handa <handa@m17n.org>
116 * Version 1.3.1 released.
118 2006-01-16 Kenichi Handa <handa@m17n.org>
120 * mdump.c (help_exit): Describe -fg, -bg, -r args.
121 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
124 2006-01-05 Kenichi Handa <handa@m17n.org>
126 * HELLO.utf8: Fix Hindi and Oriya.
128 * HELLO.xml: Adjusted for the latest HELLO.utf8.
130 * HELLO.html: Adjusted for the latest HELLO.utf8.
132 * mdate.c (main): Call m17n-view; not mview.
134 2005-12-22 Kenichi Handa <handa@m17n.org>
136 * Version 1.3.0 released.
138 2005-12-06 Kenichi Handa <handa@m17n.org>
140 * medit.c (mt_modified): New variable.
141 (KeyProc): Update screen if input method modified a text.
142 (surrounding_text_handler): Set mt_modified to 1 if a text is
144 (main): Fix handling of --font arg.
146 2005-12-02 Kenichi Handa <handa@m17n.org>
148 * medit.c (main): Handle --font arg.
150 2005-11-21 Kenichi Handa <handa@m17n.org>
152 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
153 conditionally on WITH_GUI.
155 2005-11-11 Kenichi Handa <handa@m17n.org>
157 * medit.c (surrounding_text_handler): Directly delete characters
158 instead of calling delete_char.
160 2005-11-08 Kenichi Handa <handa@m17n.org>
162 * medit.c (delete_char): Fix the case of deleting the previous
164 (surrounding_text_handler): Check number of characters to delete.
166 2005-11-07 Kenichi Handa <handa@m17n.org>
168 * medit.c (surrounding_text_handler): New function.
169 (setup_input_methods): Add callback functions for surrounding text
172 2005-10-20 Kenichi Handa <handa@m17n.org>
174 * medit.c (setup_input_methods): Ignore an input method of name
177 2005-10-14 Kenichi Handa <handa@m17n.org>
179 * medit.c (main): Don't leave a fontset unfreed.
181 2005-10-03 Kenichi Handa <handa@m17n.org>
183 * mdump.c (main): Make the image tranparent.
185 2005-09-27 Kenichi Handa <handa@m17n.org>
187 * mdump.c (dump_image): If FILTER is "-", print the image to
190 2005-09-22 Kenichi Handa <handa@m17n.org>
192 * medit.c (select_input_method): Open an input method if
193 necessary. Handle left bitmap of input method menus here.
194 (show_cursor): Don't open an input method here.
195 (ExposeProc): Likewise.
196 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
197 (InputMethodProc): Don't handle left bitmap of input method menus
199 (setup_input_methods): Don't open an input method here.
201 2005-09-16 Kenichi Handa <handa@m17n.org>
203 * medit.c (ButtonProc): Don't reset ic, instead send
204 Minput_focus_move event to the current input method.
205 (FocusInProc, FocusOutProc): New functions.
206 (actions): Add elements for FocusIn and FocusOut.
207 (main): Add elements for FocusIn and FocusOut to trans2.
209 2005-09-12 Kenichi Handa <handa@m17n.org>
211 * medit.c (redraw): Don't redraw an area where not text is
214 2005-09-05 Kenichi Handa <handa@m17n.org>
216 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
218 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
220 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
221 directory listing libraries.
222 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
225 2005-08-22 Kenichi Handa <handa@m17n.org>
227 * mdump.c: Don't include config.h.
233 * mimx-anthy.c: Likewise.
235 * mimx-ispell.c: Likewise.
237 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
239 2005-08-18 Kenichi Handa <handa@m17n.org>
241 * medit.c (main): Adjusted for the change of symbol's language
242 property (now in lowercase).
244 * mdump.c (main): Handle --fontset arg.
246 2005-05-19 Kenichi Handa <handa@m17n.org>
248 * medit.c (main): Explicitly set minput_driver.
250 2005-04-28 Kenichi Handa <handa@m17n.org>
252 * .cvsignore: Change mXXXX to m17n-XXXX.
254 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
256 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
259 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
262 2005-04-15 Kenichi Handa <handa@m17n.org>
264 * medit.c: Include dlfcn.h.
265 (Mword): New variable.
266 (show_cursor): Check Mlanguage text property of the cursor
268 (delete_char): Pay attention to the change of line beginning
269 position because of filling.
270 (insert_chars): Likewise.
271 (word_constituent_p, forward_word, backward_word): New functions.
272 (KeyProc): Assign XK_b and XK_f for back/foreward word.
273 (line_break): Delete extern.
274 (LineBreakProc): Use mdraw_default_line_break.
275 (FilterProc): New function.
276 (main): Handle --filter arg. Initialize Mword.
278 * mdump.c (main): Set control.line_break to
279 mdraw_default_line_break.
281 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
282 (m17n_dump_SOURCES): Likewise.
283 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
284 (m17n_dump_LDADD): Likewise.
286 2005-03-09 Kenichi Handa <handa@m17n.org>
288 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
290 2005-02-17 Kenichi Handa <handa@m17n.org>
292 * medit.c (setup_input_methods): Fix for the case that no input
295 2005-01-12 Kenichi Handa <handa@m17n.org>
297 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
298 Myanmar kinzi to the new proposal by Myanmar NLP.
300 2004-12-27 Kenichi Handa <handa@m17n.org>
302 * Version 1.2.0 released.
304 2004-12-27 Kenichi Handa <handa@m17n.org>
306 * M17NEdit.ja: Renamed from MEdit.ja.
308 * Makefile.am: Put prefix "m17n-" instead of single "m" to
310 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
312 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
313 changed ("mXXXX" -> "m17n-XXXX").
315 2004-12-21 Kenichi Handa <handa@m17n.org>
317 * medit.c (ButtonProc): Reset the current input method (if
318 activated) and insert the produced text.
319 (KeyProc): Cancel the previous change.
321 2004-12-21 Kenichi Handa <handa@m17n.org>
323 * medit.c (KeyProc): Handle C-\ as resetting input context.
325 2004-12-17 Kenichi Handa <handa@m17n.org>
327 * medit.c (main): Allocagte filename by strdup if not specified.
329 2004-12-10 Kenichi Handa <handa@m17n.org>
331 * mview.c (VERSION): Update to 1.2.0.
333 * medit.c (VERSION): Update to 1.2.0.
334 (main): If filename is not specified, open /dev/null.
336 * mdate.c (VERSION): Update to 1.2.0.
338 * mconv.c (VERSION): Update to 1.2.0.
340 2004-12-09 Kenichi Handa <handa@m17n.org>
342 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
343 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
345 2004-12-09 handa <handa@m17n.org>
347 * Makefile.am (common_ldflags): Include libm17n-core.la.
348 (common_ldflags_gui): Include ${common_ldflags}
350 2004-12-03 Kenichi Handa <handa@m17n.org>
352 * mimx-anthy.c (AnthyContext): New member ic.
353 (new_context): When something goes wrong, return NULL without
355 (get_context): New function.
356 (init): Pay attention to the case of multiple calls.
358 (convert, change, resize, commit): Use get_context.
360 * mimx-ispell.c (face_available): New variable.
361 (init): Check if GUI APIs are available or not. If not, set
363 (fini): Free a face only if face_available is not zero.
364 (ispell_word): Put face property only if available.
366 2004-10-29 Kenichi Handa <handa@m17n.org>
368 * medit.c (main): Fix handling of "-s" arg.
370 2004-10-12 Kenichi Handa <handa@m17n.org>
372 * medit.c (KeyProc): Cast buf to `unsigned char *'.
373 (FaceProc): Call hide_cursor () at first.
375 2004-09-27 Kenichi Handa <handa@m17n.org>
377 * HELLO.html: Add Sinhala.
379 2004-09-23 Kenichi Handa <handa@m17n.org>
381 * HELLO.utf8, HELLO.xml: Add Sinhala.
383 2004-09-14 Kenichi Handa <handa@m17n.org>
385 * medit.c (update_selection): Fix for the case that the selection
388 2004-08-27 Kenichi Handa <handa@m17n.org>
390 * mdump.c (help_exit): Describe about the arg "-r".
391 (reverse_bit_order, init_reverse_bit_order): Delete them.
392 (main): Handle the arg "-r".
394 2004-08-25 Kenichi Handa <handa@m17n.org>
396 * medit.c: Adjusted for the member name change
397 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
399 * mdump.c: Adjusted for the member name change
400 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
402 2004-08-16 Kenichi Handa <handa@m17n.org>
404 * Version 1.1.0 released.
406 2004-08-15 Kenichi Handa <handa@m17n.org>
408 * MEdit.ja: Add Dhivehi.
410 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
412 * medit.c (covert_selection): Handle explicit request of
414 (ExposeProc): If an initial input method is specifed, activate it.
415 (setup_input_methods): New arg initial_input_method. If it's not
416 NULL, set current_input_method to the corresponding index.
417 (help_exit): Fix help message.
418 (main): Handle --im and -s command args.
420 * mdump.c (help_exit): Fix help message.
422 2004-08-09 Kenichi Handa <handa@m17n.org>
424 * mconv.c (VERSION): Updated to 1.1.
426 * mdate.c (VERSION): Likewise.
428 * medit.c (VERSION): Likewise.
430 * mview.c (VERSION): Likewise.
432 2004-07-28 Kenichi Handa <handa@m17n.org>
434 * HELLO.utf8: Add language names for Telugu and Gujarati.
436 * HELLO.xml: Add language names for Telugu and Gujarati.
438 2004-07-26 Kenichi Handa <handa@m17n.org>
440 * medit.c (redraw_cursor): Fix checking of redrawing area.
441 (set_input_method_spot): Don't check face if the buffer is empty.
442 (show_cursor): Likewise.
443 (delete_char): Fix adjustment of nchars.
444 (CursorProc): Call update_cursor.
446 2004-07-23 Kenichi Handa <handa@m17n.org>
448 * HELLO.xml: Add Myanmar.
450 * HELLO.utf8: Add Myanmar.
452 2004-07-22 Kenichi Handa <handa@m17n.org>
454 * medit.c (get_selection): If decoding fails and *type is not
455 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
457 2004-07-20 Kenichi Handa <handa@m17n.org>
459 * medit.c (main): If frame creation is falied, exit by error.
460 Call M17N_FINI after destroying the application context.
462 2004-07-18 Kenichi Handa <handa@m17n.org>
464 * Makefile.am (common_ldflags): Don't include
465 ${top_srcdir}/src/libm17n-core.la.
467 2004-07-07 Kenichi Handa <handa@m17n.org>
469 * medit.c (Mcoding_compound_text): New variable.
470 (covert_selection): Fix previous change.
471 (main): Set Mcoding_compound_text.
473 2004-07-06 Kenichi Handa <handa@m17n.org>
475 * mdump.c: Cancel previous change.
477 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
478 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
480 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
482 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
483 target is XA_UTF8_STRING, encode by utf-8.
484 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
485 XA_UTF8_STRING, decode by utf-8.
487 2004-07-05 Kenichi Handa <handa@m17n.org>
489 * HELLO.utf8: Add Kannada.
491 2004-06-30 Kenichi Handa <handa@m17n.org>
493 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
495 * Makefile.am (X_LD_FLAGS): New variable.
496 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
498 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
499 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
500 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
502 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
504 * HELLO.utf8: Add Punjabi.
506 2004-06-24 Kenichi Handa <handa@m17n.org>
508 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
509 (libmimx_anthy_la_LDFLAGS): Add -module.
511 2004-06-23 Kenichi Handa <handa@m17n.org>
513 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
516 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
517 of cursor.this.width.
519 2004-06-21 Kenichi Handa <handa@m17n.org>
521 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
524 2004-06-17 Kenichi Handa <handa@m17n.org>
526 * mdump.c (main): Don't set control.as_image to 1.
528 2004-06-16 Kenichi Handa <handa@m17n.org>
530 * mdump.c (main): Fix typo of error message.
532 * medit.c (face_freeserif): New variable.
533 (face_table): Add an entry for freeserif.
534 (main): Initialized and free face_freeserif.
536 2004-06-15 Kenichi Handa <handa@m17n.org>
538 * mdump.c: Add command line arguments --family and --language.
539 (help_exit): Print info about those arguemnts.
540 (main): Make family name to lowercase.
542 2004-06-04 Kenichi Handa <handa@m17n.org>
544 * mconv.c (compare_coding_name): New function.
545 (list_coding): Sort the list of codings by their names.
547 2004-06-03 Kenichi Handa <handa@m17n.org>
549 * medit.c (InputMethodInfo): New type.
550 (input_method_table): Type changed to `InputMethodInfo *'.
551 (select_input_method): Adjusted for the change of
553 (show_cursor): Open an input method here if necessary.
554 (compare_input_method): Adjusted for the change of
556 (setup_input_methods): Likewise. Don't open input methods here
558 (main): Adjusted for the change of input_method_table.
560 * mconv.c (main): Close `in' and `out'.
562 * HELLO.utf8: Fix Greek line.
564 * HELLO.xml: Fix Greek line.
566 2004-05-28 Kenichi Handa <handa@m17n.org>
568 * Makefile.am (VINFO): New variable.
569 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
572 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
573 (main): Use PROGRAM_VERSION.
575 * medit.c (main): Make face_input_status copy of face_default.
577 2004-05-27 Kenichi Handa <handa@m17n.org>
579 * medit.c (show_cursor): Check hline->width and box->width.
580 (main): Set reverse videomode in a face for selection.
582 * mdump.c: Include config.h. Include <gd.h> instead of
583 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
584 function main that just print an error message.
585 (help_exit): Adjusted for the change of spec.
586 (dump_image): Argument changed. Dump PNG image instead of PBM.
587 (main): Adjusted for the change of spec.
589 * Makefile.am (common_ldflags_gui): Renamed from
590 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
591 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
593 * HELLO.xml: Add Bengali.
595 2004-05-21 Kenichi Handa <handa@m17n.org>
597 * HELLO.utf8: Add Bengali.
599 2004-05-20 Kenichi Handa <handa@m17n.org>
601 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
602 (ButtonMoveProc): Don't give control.anti_alias to redraw.
603 (default_face_list): New variable.
604 (FaceProc): If no selection, change the default face.
605 (main): Initialize and finalize default_face_list.
607 2004-04-27 Kenichi Handa <handa@m17n.org>
609 * mimx-ispell.c: Add coding tag euc-jp.
611 * mimx-anthy.c: Add coding tag euc-jp.
613 * medit.c: Add coding tag euc-jp.
614 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
615 (main): Set control.anti_alias to 1.
617 * mdump.c: Add coding tag euc-jp.
619 * mdate.c: Add coding tag euc-jp.
621 * mconv.c: Add coding tag euc-jp.
623 2004-04-20 Kenichi Handa <handa@m17n.org>
625 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
627 (mview_LDFLAGS): Likewise.
629 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
631 2004-03-29 Kenichi Handa <handa@m17n.org>
633 * Version 1.0 Patch Level 2 released.
635 2004-03-19 Kenichi Handa <handa@m17n.org>
637 * Version 1.0 Patch Level 1 released.
639 2004-03-19 Kenichi Handa <handa@m17n.org>
641 * medit.c (VERSION): Changed to 1.0.1.
642 (update_selection): Fix for the case that the selected region is
643 expanded to the opposite direction.
644 (ButtonMoveProc): Likewise.
645 (main): Use alloca instead of malloc for allocating menu names.
646 Free several memory areas and GCs.
648 2004-03-12 Kenichi Handa <handa@m17n.org>
650 * medit.c (input_status_control): New variable.
651 (input_status): Use input_status_control.
652 (main): Initialize input_status_control.
654 2004-03-01 Kenichi Handa <handa@m17n.org>
656 * Version 1.0 released.
659 Copyright (C) 2003, 2004
660 National Institute of Advanced Industrial Science and Technology (AIST)
661 Registration Number H15PRO112
663 This file is part of the m17n library.
665 The m17n library is free software; you can redistribute it and/or
666 modify it under the terms of the GNU Lesser General Public License
667 as published by the Free Software Foundation; either version 2.1 of
668 the License, or (at your option) any later version.
670 The m17n library is distributed in the hope that it will be useful,
671 but WITHOUT ANY WARRANTY; without even the implied warranty of
672 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
673 Lesser General Public License for more details.
675 You should have received a copy of the GNU Lesser General Public
676 License along with the m17n library; if not, write to the Free
677 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
678 Boston, MA 02110-1301, USA.