1 2007-05-16 Kenichi Handa <handa@m17n.org>
3 * mdate.c (VERSION): Delete it.
4 (main): Use M17NLIB_VERSION_NAME to print the version number.
6 * mconv.c (VERSION): Delete it.
7 (main): Use M17NLIB_VERSION_NAME to print the version number.
9 * mdump.c (PROGRAM_VERSION): Delete it.
10 (main): Use M17NLIB_VERSION_NAME to print the version number.
12 * medit.c (VERSION): Delete it.
13 (main): Use M17NLIB_VERSION_NAME to print the version number.
15 * mview.c (VERSION): Delete it.
16 (main): Use M17NLIB_VERSION_NAME to print the version number.
18 2007-03-29 Kenichi Handa <handa@m17n.org>
20 * medit.c (setup_input_methods): Use mplist_put_func.
22 2006-12-06 Kenichi Handa <handa@m17n.org>
24 * Version 1.3.4 released.
26 * mview.c (VERSION): Changed to 1.3.4.
28 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
30 * mdate.c (VERSION): Changed to 1.3.4.
32 * medit.c (VERSION): Changed to 1.3.4.
34 * mconv.c (VERSION): Changed to 1.3.4.
36 2006-10-27 Kenichi Handa <handa@m17n.org>
38 * medit.c (surrounding_text_handler): Be sure to set surround text
41 2006-10-16 Kenichi Handa <handa@m17n.org>
43 * medit.c (create_menu_button): Set XtNinternational to True.
45 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
47 * Makefile.am (common_ldflags, common_ldflags_gui): Use
50 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
52 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
54 2006-06-23 Kenichi Handa <handa@m17n.org>
56 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
58 * medit.c (show_cursor): Call mlanguage_name to get English name
60 (compare_input_method): Likewise.
63 2006-02-22 Kenichi Handa <handa@m17n.org>
65 * Version 1.3.3 released.
67 2006-02-22 Kenichi Handa <handa@m17n.org>
69 * mview.c: Fix some typo in documention.
71 * medit.c: Fix some typo in documention.
73 * mdump.c: Fix some typo in documention.
75 2006-02-06 Kenichi Handa <handa@m17n.org>
77 * Version 1.3.2 released.
79 2006-02-03 Kenichi Handa <handa@m17n.org>
81 * mdump.c: Describe the supported color names.
83 2006-01-19 Kenichi Handa <handa@m17n.org>
85 * HELLO.utf8: Fix greek.
87 * HELLO.xml: Fix greek.
89 2006-01-17 Kenichi Handa <handa@m17n.org>
91 * mdump.c (main): Use gdImageCreateTrueColor and
92 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
94 2006-01-16 Kenichi Handa <handa@m17n.org>
96 * Version 1.3.1 released.
98 2006-01-16 Kenichi Handa <handa@m17n.org>
100 * mdump.c (help_exit): Describe -fg, -bg, -r args.
101 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
104 2006-01-05 Kenichi Handa <handa@m17n.org>
106 * HELLO.utf8: Fix Hindi and Oriya.
108 * HELLO.xml: Adjusted for the latest HELLO.utf8.
110 * HELLO.html: Adjusted for the latest HELLO.utf8.
112 * mdate.c (main): Call m17n-view; not mview.
114 2005-12-22 Kenichi Handa <handa@m17n.org>
116 * Version 1.3.0 released.
118 2005-12-06 Kenichi Handa <handa@m17n.org>
120 * medit.c (mt_modified): New variable.
121 (KeyProc): Update screen if input method modified a text.
122 (surrounding_text_handler): Set mt_modified to 1 if a text is
124 (main): Fix handling of --font arg.
126 2005-12-02 Kenichi Handa <handa@m17n.org>
128 * medit.c (main): Handle --font arg.
130 2005-11-21 Kenichi Handa <handa@m17n.org>
132 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
133 conditionally on WITH_GUI.
135 2005-11-11 Kenichi Handa <handa@m17n.org>
137 * medit.c (surrounding_text_handler): Directly delete characters
138 instead of calling delete_char.
140 2005-11-08 Kenichi Handa <handa@m17n.org>
142 * medit.c (delete_char): Fix the case of deleting the previous
144 (surrounding_text_handler): Check number of characters to delete.
146 2005-11-07 Kenichi Handa <handa@m17n.org>
148 * medit.c (surrounding_text_handler): New function.
149 (setup_input_methods): Add callback functions for surrounding text
152 2005-10-20 Kenichi Handa <handa@m17n.org>
154 * medit.c (setup_input_methods): Ignore an input method of name
157 2005-10-14 Kenichi Handa <handa@m17n.org>
159 * medit.c (main): Don't leave a fontset unfreed.
161 2005-10-03 Kenichi Handa <handa@m17n.org>
163 * mdump.c (main): Make the image tranparent.
165 2005-09-27 Kenichi Handa <handa@m17n.org>
167 * mdump.c (dump_image): If FILTER is "-", print the image to
170 2005-09-22 Kenichi Handa <handa@m17n.org>
172 * medit.c (select_input_method): Open an input method if
173 necessary. Handle left bitmap of input method menus here.
174 (show_cursor): Don't open an input method here.
175 (ExposeProc): Likewise.
176 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
177 (InputMethodProc): Don't handle left bitmap of input method menus
179 (setup_input_methods): Don't open an input method here.
181 2005-09-16 Kenichi Handa <handa@m17n.org>
183 * medit.c (ButtonProc): Don't reset ic, instead send
184 Minput_focus_move event to the current input method.
185 (FocusInProc, FocusOutProc): New functions.
186 (actions): Add elements for FocusIn and FocusOut.
187 (main): Add elements for FocusIn and FocusOut to trans2.
189 2005-09-12 Kenichi Handa <handa@m17n.org>
191 * medit.c (redraw): Don't redraw an area where not text is
194 2005-09-05 Kenichi Handa <handa@m17n.org>
196 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
198 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
200 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
201 directory listing libraries.
202 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
205 2005-08-22 Kenichi Handa <handa@m17n.org>
207 * mdump.c: Don't include config.h.
213 * mimx-anthy.c: Likewise.
215 * mimx-ispell.c: Likewise.
217 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
219 2005-08-18 Kenichi Handa <handa@m17n.org>
221 * medit.c (main): Adjusted for the change of symbol's language
222 property (now in lowercase).
224 * mdump.c (main): Handle --fontset arg.
226 2005-05-19 Kenichi Handa <handa@m17n.org>
228 * medit.c (main): Explicitly set minput_driver.
230 2005-04-28 Kenichi Handa <handa@m17n.org>
232 * .cvsignore: Change mXXXX to m17n-XXXX.
234 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
236 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
239 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
242 2005-04-15 Kenichi Handa <handa@m17n.org>
244 * medit.c: Include dlfcn.h.
245 (Mword): New variable.
246 (show_cursor): Check Mlanguage text property of the cursor
248 (delete_char): Pay attention to the change of line beginning
249 position because of filling.
250 (insert_chars): Likewise.
251 (word_constituent_p, forward_word, backward_word): New functions.
252 (KeyProc): Assign XK_b and XK_f for back/foreward word.
253 (line_break): Delete extern.
254 (LineBreakProc): Use mdraw_default_line_break.
255 (FilterProc): New function.
256 (main): Handle --filter arg. Initialize Mword.
258 * mdump.c (main): Set control.line_break to
259 mdraw_default_line_break.
261 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
262 (m17n_dump_SOURCES): Likewise.
263 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
264 (m17n_dump_LDADD): Likewise.
266 2005-03-09 Kenichi Handa <handa@m17n.org>
268 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
270 2005-02-17 Kenichi Handa <handa@m17n.org>
272 * medit.c (setup_input_methods): Fix for the case that no input
275 2005-01-12 Kenichi Handa <handa@m17n.org>
277 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
278 Myanmar kinzi to the new proposal by Myanmar NLP.
280 2004-12-27 Kenichi Handa <handa@m17n.org>
282 * Version 1.2.0 released.
284 2004-12-27 Kenichi Handa <handa@m17n.org>
286 * M17NEdit.ja: Renamed from MEdit.ja.
288 * Makefile.am: Put prefix "m17n-" instead of single "m" to
290 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
292 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
293 changed ("mXXXX" -> "m17n-XXXX").
295 2004-12-21 Kenichi Handa <handa@m17n.org>
297 * medit.c (ButtonProc): Reset the current input method (if
298 activated) and insert the produced text.
299 (KeyProc): Cancel the previous change.
301 2004-12-21 Kenichi Handa <handa@m17n.org>
303 * medit.c (KeyProc): Handle C-\ as resetting input context.
305 2004-12-17 Kenichi Handa <handa@m17n.org>
307 * medit.c (main): Allocagte filename by strdup if not specified.
309 2004-12-10 Kenichi Handa <handa@m17n.org>
311 * mview.c (VERSION): Update to 1.2.0.
313 * medit.c (VERSION): Update to 1.2.0.
314 (main): If filename is not specified, open /dev/null.
316 * mdate.c (VERSION): Update to 1.2.0.
318 * mconv.c (VERSION): Update to 1.2.0.
320 2004-12-09 Kenichi Handa <handa@m17n.org>
322 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
323 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
325 2004-12-09 handa <handa@m17n.org>
327 * Makefile.am (common_ldflags): Include libm17n-core.la.
328 (common_ldflags_gui): Include ${common_ldflags}
330 2004-12-03 Kenichi Handa <handa@m17n.org>
332 * mimx-anthy.c (AnthyContext): New member ic.
333 (new_context): When something goes wrong, return NULL without
335 (get_context): New function.
336 (init): Pay attention to the case of multiple calls.
338 (convert, change, resize, commit): Use get_context.
340 * mimx-ispell.c (face_available): New variable.
341 (init): Check if GUI APIs are available or not. If not, set
343 (fini): Free a face only if face_available is not zero.
344 (ispell_word): Put face property only if available.
346 2004-10-29 Kenichi Handa <handa@m17n.org>
348 * medit.c (main): Fix handling of "-s" arg.
350 2004-10-12 Kenichi Handa <handa@m17n.org>
352 * medit.c (KeyProc): Cast buf to `unsigned char *'.
353 (FaceProc): Call hide_cursor () at first.
355 2004-09-27 Kenichi Handa <handa@m17n.org>
357 * HELLO.html: Add Sinhala.
359 2004-09-23 Kenichi Handa <handa@m17n.org>
361 * HELLO.utf8, HELLO.xml: Add Sinhala.
363 2004-09-14 Kenichi Handa <handa@m17n.org>
365 * medit.c (update_selection): Fix for the case that the selection
368 2004-08-27 Kenichi Handa <handa@m17n.org>
370 * mdump.c (help_exit): Describe about the arg "-r".
371 (reverse_bit_order, init_reverse_bit_order): Delete them.
372 (main): Handle the arg "-r".
374 2004-08-25 Kenichi Handa <handa@m17n.org>
376 * medit.c: Adjusted for the member name change
377 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
379 * mdump.c: Adjusted for the member name change
380 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
382 2004-08-16 Kenichi Handa <handa@m17n.org>
384 * Version 1.1.0 released.
386 2004-08-15 Kenichi Handa <handa@m17n.org>
388 * MEdit.ja: Add Dhivehi.
390 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
392 * medit.c (covert_selection): Handle explicit request of
394 (ExposeProc): If an initial input method is specifed, activate it.
395 (setup_input_methods): New arg initial_input_method. If it's not
396 NULL, set current_input_method to the corresponding index.
397 (help_exit): Fix help message.
398 (main): Handle --im and -s command args.
400 * mdump.c (help_exit): Fix help message.
402 2004-08-09 Kenichi Handa <handa@m17n.org>
404 * mconv.c (VERSION): Updated to 1.1.
406 * mdate.c (VERSION): Likewise.
408 * medit.c (VERSION): Likewise.
410 * mview.c (VERSION): Likewise.
412 2004-07-28 Kenichi Handa <handa@m17n.org>
414 * HELLO.utf8: Add language names for Telugu and Gujarati.
416 * HELLO.xml: Add language names for Telugu and Gujarati.
418 2004-07-26 Kenichi Handa <handa@m17n.org>
420 * medit.c (redraw_cursor): Fix checking of redrawing area.
421 (set_input_method_spot): Don't check face if the buffer is empty.
422 (show_cursor): Likewise.
423 (delete_char): Fix adjustment of nchars.
424 (CursorProc): Call update_cursor.
426 2004-07-23 Kenichi Handa <handa@m17n.org>
428 * HELLO.xml: Add Myanmar.
430 * HELLO.utf8: Add Myanmar.
432 2004-07-22 Kenichi Handa <handa@m17n.org>
434 * medit.c (get_selection): If decoding fails and *type is not
435 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
437 2004-07-20 Kenichi Handa <handa@m17n.org>
439 * medit.c (main): If frame creation is falied, exit by error.
440 Call M17N_FINI after destroying the application context.
442 2004-07-18 Kenichi Handa <handa@m17n.org>
444 * Makefile.am (common_ldflags): Don't include
445 ${top_srcdir}/src/libm17n-core.la.
447 2004-07-07 Kenichi Handa <handa@m17n.org>
449 * medit.c (Mcoding_compound_text): New variable.
450 (covert_selection): Fix previous change.
451 (main): Set Mcoding_compound_text.
453 2004-07-06 Kenichi Handa <handa@m17n.org>
455 * mdump.c: Cancel previous change.
457 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
458 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
460 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
462 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
463 target is XA_UTF8_STRING, encode by utf-8.
464 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
465 XA_UTF8_STRING, decode by utf-8.
467 2004-07-05 Kenichi Handa <handa@m17n.org>
469 * HELLO.utf8: Add Kannada.
471 2004-06-30 Kenichi Handa <handa@m17n.org>
473 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
475 * Makefile.am (X_LD_FLAGS): New variable.
476 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
478 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
479 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
480 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
482 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
484 * HELLO.utf8: Add Punjabi.
486 2004-06-24 Kenichi Handa <handa@m17n.org>
488 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
489 (libmimx_anthy_la_LDFLAGS): Add -module.
491 2004-06-23 Kenichi Handa <handa@m17n.org>
493 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
496 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
497 of cursor.this.width.
499 2004-06-21 Kenichi Handa <handa@m17n.org>
501 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
504 2004-06-17 Kenichi Handa <handa@m17n.org>
506 * mdump.c (main): Don't set control.as_image to 1.
508 2004-06-16 Kenichi Handa <handa@m17n.org>
510 * mdump.c (main): Fix typo of error message.
512 * medit.c (face_freeserif): New variable.
513 (face_table): Add an entry for freeserif.
514 (main): Initialized and free face_freeserif.
516 2004-06-15 Kenichi Handa <handa@m17n.org>
518 * mdump.c: Add command line arguments --family and --language.
519 (help_exit): Print info about those arguemnts.
520 (main): Make family name to lowercase.
522 2004-06-04 Kenichi Handa <handa@m17n.org>
524 * mconv.c (compare_coding_name): New function.
525 (list_coding): Sort the list of codings by their names.
527 2004-06-03 Kenichi Handa <handa@m17n.org>
529 * medit.c (InputMethodInfo): New type.
530 (input_method_table): Type changed to `InputMethodInfo *'.
531 (select_input_method): Adjusted for the change of
533 (show_cursor): Open an input method here if necessary.
534 (compare_input_method): Adjusted for the change of
536 (setup_input_methods): Likewise. Don't open input methods here
538 (main): Adjusted for the change of input_method_table.
540 * mconv.c (main): Close `in' and `out'.
542 * HELLO.utf8: Fix Greek line.
544 * HELLO.xml: Fix Greek line.
546 2004-05-28 Kenichi Handa <handa@m17n.org>
548 * Makefile.am (VINFO): New variable.
549 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
552 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
553 (main): Use PROGRAM_VERSION.
555 * medit.c (main): Make face_input_status copy of face_default.
557 2004-05-27 Kenichi Handa <handa@m17n.org>
559 * medit.c (show_cursor): Check hline->width and box->width.
560 (main): Set reverse videomode in a face for selection.
562 * mdump.c: Include config.h. Include <gd.h> instead of
563 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
564 function main that just print an error message.
565 (help_exit): Adjusted for the change of spec.
566 (dump_image): Argument changed. Dump PNG image instead of PBM.
567 (main): Adjusted for the change of spec.
569 * Makefile.am (common_ldflags_gui): Renamed from
570 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
571 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
573 * HELLO.xml: Add Bengali.
575 2004-05-21 Kenichi Handa <handa@m17n.org>
577 * HELLO.utf8: Add Bengali.
579 2004-05-20 Kenichi Handa <handa@m17n.org>
581 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
582 (ButtonMoveProc): Don't give control.anti_alias to redraw.
583 (default_face_list): New variable.
584 (FaceProc): If no selection, change the default face.
585 (main): Initialize and finalize default_face_list.
587 2004-04-27 Kenichi Handa <handa@m17n.org>
589 * mimx-ispell.c: Add coding tag euc-jp.
591 * mimx-anthy.c: Add coding tag euc-jp.
593 * medit.c: Add coding tag euc-jp.
594 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
595 (main): Set control.anti_alias to 1.
597 * mdump.c: Add coding tag euc-jp.
599 * mdate.c: Add coding tag euc-jp.
601 * mconv.c: Add coding tag euc-jp.
603 2004-04-20 Kenichi Handa <handa@m17n.org>
605 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
607 (mview_LDFLAGS): Likewise.
609 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
611 2004-03-29 Kenichi Handa <handa@m17n.org>
613 * Version 1.0 Patch Level 2 released.
615 2004-03-19 Kenichi Handa <handa@m17n.org>
617 * Version 1.0 Patch Level 1 released.
619 2004-03-19 Kenichi Handa <handa@m17n.org>
621 * medit.c (VERSION): Changed to 1.0.1.
622 (update_selection): Fix for the case that the selected region is
623 expanded to the opposite direction.
624 (ButtonMoveProc): Likewise.
625 (main): Use alloca instead of malloc for allocating menu names.
626 Free several memory areas and GCs.
628 2004-03-12 Kenichi Handa <handa@m17n.org>
630 * medit.c (input_status_control): New variable.
631 (input_status): Use input_status_control.
632 (main): Initialize input_status_control.
634 2004-03-01 Kenichi Handa <handa@m17n.org>
636 * Version 1.0 released.
639 Copyright (C) 2003, 2004
640 National Institute of Advanced Industrial Science and Technology (AIST)
641 Registration Number H15PRO112
643 This file is part of the m17n library.
645 The m17n library is free software; you can redistribute it and/or
646 modify it under the terms of the GNU Lesser General Public License
647 as published by the Free Software Foundation; either version 2.1 of
648 the License, or (at your option) any later version.
650 The m17n library is distributed in the hope that it will be useful,
651 but WITHOUT ANY WARRANTY; without even the implied warranty of
652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
653 Lesser General Public License for more details.
655 You should have received a copy of the GNU Lesser General Public
656 License along with the m17n library; if not, write to the Free
657 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
658 Boston, MA 02110-1301, USA.