1 2007-07-13 Kenichi Handa <handa@m17n.org>
3 * Version 1.4.0 released.
5 2007-05-21 Kenichi Handa <handa@m17n.org>
7 * medit.c (show_cursor): Use msymbol_name (not mlangauge_name).
9 2007-05-16 Kenichi Handa <handa@m17n.org>
11 * mdate.c (VERSION): Delete it.
12 (main): Use M17NLIB_VERSION_NAME to print the version number.
14 * mconv.c (VERSION): Delete it.
15 (main): Use M17NLIB_VERSION_NAME to print the version number.
17 * mdump.c (PROGRAM_VERSION): Delete it.
18 (main): Use M17NLIB_VERSION_NAME to print the version number.
20 * medit.c (VERSION): Delete it.
21 (main): Use M17NLIB_VERSION_NAME to print the version number.
23 * mview.c (VERSION): Delete it.
24 (main): Use M17NLIB_VERSION_NAME to print the version number.
26 2007-03-29 Kenichi Handa <handa@m17n.org>
28 * medit.c (setup_input_methods): Use mplist_put_func.
30 2006-12-06 Kenichi Handa <handa@m17n.org>
32 * Version 1.3.4 released.
34 * mview.c (VERSION): Changed to 1.3.4.
36 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
38 * mdate.c (VERSION): Changed to 1.3.4.
40 * medit.c (VERSION): Changed to 1.3.4.
42 * mconv.c (VERSION): Changed to 1.3.4.
44 2006-10-27 Kenichi Handa <handa@m17n.org>
46 * medit.c (surrounding_text_handler): Be sure to set surround text
49 2006-10-16 Kenichi Handa <handa@m17n.org>
51 * medit.c (create_menu_button): Set XtNinternational to True.
53 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
55 * Makefile.am (common_ldflags, common_ldflags_gui): Use
58 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
60 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
62 2006-06-23 Kenichi Handa <handa@m17n.org>
64 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
66 * medit.c (show_cursor): Call mlanguage_name to get English name
68 (compare_input_method): Likewise.
71 2006-02-22 Kenichi Handa <handa@m17n.org>
73 * Version 1.3.3 released.
75 2006-02-22 Kenichi Handa <handa@m17n.org>
77 * mview.c: Fix some typo in documention.
79 * medit.c: Fix some typo in documention.
81 * mdump.c: Fix some typo in documention.
83 2006-02-06 Kenichi Handa <handa@m17n.org>
85 * Version 1.3.2 released.
87 2006-02-03 Kenichi Handa <handa@m17n.org>
89 * mdump.c: Describe the supported color names.
91 2006-01-19 Kenichi Handa <handa@m17n.org>
93 * HELLO.utf8: Fix greek.
95 * HELLO.xml: Fix greek.
97 2006-01-17 Kenichi Handa <handa@m17n.org>
99 * mdump.c (main): Use gdImageCreateTrueColor and
100 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
102 2006-01-16 Kenichi Handa <handa@m17n.org>
104 * Version 1.3.1 released.
106 2006-01-16 Kenichi Handa <handa@m17n.org>
108 * mdump.c (help_exit): Describe -fg, -bg, -r args.
109 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
112 2006-01-05 Kenichi Handa <handa@m17n.org>
114 * HELLO.utf8: Fix Hindi and Oriya.
116 * HELLO.xml: Adjusted for the latest HELLO.utf8.
118 * HELLO.html: Adjusted for the latest HELLO.utf8.
120 * mdate.c (main): Call m17n-view; not mview.
122 2005-12-22 Kenichi Handa <handa@m17n.org>
124 * Version 1.3.0 released.
126 2005-12-06 Kenichi Handa <handa@m17n.org>
128 * medit.c (mt_modified): New variable.
129 (KeyProc): Update screen if input method modified a text.
130 (surrounding_text_handler): Set mt_modified to 1 if a text is
132 (main): Fix handling of --font arg.
134 2005-12-02 Kenichi Handa <handa@m17n.org>
136 * medit.c (main): Handle --font arg.
138 2005-11-21 Kenichi Handa <handa@m17n.org>
140 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
141 conditionally on WITH_GUI.
143 2005-11-11 Kenichi Handa <handa@m17n.org>
145 * medit.c (surrounding_text_handler): Directly delete characters
146 instead of calling delete_char.
148 2005-11-08 Kenichi Handa <handa@m17n.org>
150 * medit.c (delete_char): Fix the case of deleting the previous
152 (surrounding_text_handler): Check number of characters to delete.
154 2005-11-07 Kenichi Handa <handa@m17n.org>
156 * medit.c (surrounding_text_handler): New function.
157 (setup_input_methods): Add callback functions for surrounding text
160 2005-10-20 Kenichi Handa <handa@m17n.org>
162 * medit.c (setup_input_methods): Ignore an input method of name
165 2005-10-14 Kenichi Handa <handa@m17n.org>
167 * medit.c (main): Don't leave a fontset unfreed.
169 2005-10-03 Kenichi Handa <handa@m17n.org>
171 * mdump.c (main): Make the image tranparent.
173 2005-09-27 Kenichi Handa <handa@m17n.org>
175 * mdump.c (dump_image): If FILTER is "-", print the image to
178 2005-09-22 Kenichi Handa <handa@m17n.org>
180 * medit.c (select_input_method): Open an input method if
181 necessary. Handle left bitmap of input method menus here.
182 (show_cursor): Don't open an input method here.
183 (ExposeProc): Likewise.
184 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
185 (InputMethodProc): Don't handle left bitmap of input method menus
187 (setup_input_methods): Don't open an input method here.
189 2005-09-16 Kenichi Handa <handa@m17n.org>
191 * medit.c (ButtonProc): Don't reset ic, instead send
192 Minput_focus_move event to the current input method.
193 (FocusInProc, FocusOutProc): New functions.
194 (actions): Add elements for FocusIn and FocusOut.
195 (main): Add elements for FocusIn and FocusOut to trans2.
197 2005-09-12 Kenichi Handa <handa@m17n.org>
199 * medit.c (redraw): Don't redraw an area where not text is
202 2005-09-05 Kenichi Handa <handa@m17n.org>
204 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
206 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
208 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
209 directory listing libraries.
210 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
213 2005-08-22 Kenichi Handa <handa@m17n.org>
215 * mdump.c: Don't include config.h.
221 * mimx-anthy.c: Likewise.
223 * mimx-ispell.c: Likewise.
225 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
227 2005-08-18 Kenichi Handa <handa@m17n.org>
229 * medit.c (main): Adjusted for the change of symbol's language
230 property (now in lowercase).
232 * mdump.c (main): Handle --fontset arg.
234 2005-05-19 Kenichi Handa <handa@m17n.org>
236 * medit.c (main): Explicitly set minput_driver.
238 2005-04-28 Kenichi Handa <handa@m17n.org>
240 * .cvsignore: Change mXXXX to m17n-XXXX.
242 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
244 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
247 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
250 2005-04-15 Kenichi Handa <handa@m17n.org>
252 * medit.c: Include dlfcn.h.
253 (Mword): New variable.
254 (show_cursor): Check Mlanguage text property of the cursor
256 (delete_char): Pay attention to the change of line beginning
257 position because of filling.
258 (insert_chars): Likewise.
259 (word_constituent_p, forward_word, backward_word): New functions.
260 (KeyProc): Assign XK_b and XK_f for back/foreward word.
261 (line_break): Delete extern.
262 (LineBreakProc): Use mdraw_default_line_break.
263 (FilterProc): New function.
264 (main): Handle --filter arg. Initialize Mword.
266 * mdump.c (main): Set control.line_break to
267 mdraw_default_line_break.
269 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
270 (m17n_dump_SOURCES): Likewise.
271 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
272 (m17n_dump_LDADD): Likewise.
274 2005-03-09 Kenichi Handa <handa@m17n.org>
276 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
278 2005-02-17 Kenichi Handa <handa@m17n.org>
280 * medit.c (setup_input_methods): Fix for the case that no input
283 2005-01-12 Kenichi Handa <handa@m17n.org>
285 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
286 Myanmar kinzi to the new proposal by Myanmar NLP.
288 2004-12-27 Kenichi Handa <handa@m17n.org>
290 * Version 1.2.0 released.
292 2004-12-27 Kenichi Handa <handa@m17n.org>
294 * M17NEdit.ja: Renamed from MEdit.ja.
296 * Makefile.am: Put prefix "m17n-" instead of single "m" to
298 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
300 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
301 changed ("mXXXX" -> "m17n-XXXX").
303 2004-12-21 Kenichi Handa <handa@m17n.org>
305 * medit.c (ButtonProc): Reset the current input method (if
306 activated) and insert the produced text.
307 (KeyProc): Cancel the previous change.
309 2004-12-21 Kenichi Handa <handa@m17n.org>
311 * medit.c (KeyProc): Handle C-\ as resetting input context.
313 2004-12-17 Kenichi Handa <handa@m17n.org>
315 * medit.c (main): Allocagte filename by strdup if not specified.
317 2004-12-10 Kenichi Handa <handa@m17n.org>
319 * mview.c (VERSION): Update to 1.2.0.
321 * medit.c (VERSION): Update to 1.2.0.
322 (main): If filename is not specified, open /dev/null.
324 * mdate.c (VERSION): Update to 1.2.0.
326 * mconv.c (VERSION): Update to 1.2.0.
328 2004-12-09 Kenichi Handa <handa@m17n.org>
330 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
331 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
333 2004-12-09 handa <handa@m17n.org>
335 * Makefile.am (common_ldflags): Include libm17n-core.la.
336 (common_ldflags_gui): Include ${common_ldflags}
338 2004-12-03 Kenichi Handa <handa@m17n.org>
340 * mimx-anthy.c (AnthyContext): New member ic.
341 (new_context): When something goes wrong, return NULL without
343 (get_context): New function.
344 (init): Pay attention to the case of multiple calls.
346 (convert, change, resize, commit): Use get_context.
348 * mimx-ispell.c (face_available): New variable.
349 (init): Check if GUI APIs are available or not. If not, set
351 (fini): Free a face only if face_available is not zero.
352 (ispell_word): Put face property only if available.
354 2004-10-29 Kenichi Handa <handa@m17n.org>
356 * medit.c (main): Fix handling of "-s" arg.
358 2004-10-12 Kenichi Handa <handa@m17n.org>
360 * medit.c (KeyProc): Cast buf to `unsigned char *'.
361 (FaceProc): Call hide_cursor () at first.
363 2004-09-27 Kenichi Handa <handa@m17n.org>
365 * HELLO.html: Add Sinhala.
367 2004-09-23 Kenichi Handa <handa@m17n.org>
369 * HELLO.utf8, HELLO.xml: Add Sinhala.
371 2004-09-14 Kenichi Handa <handa@m17n.org>
373 * medit.c (update_selection): Fix for the case that the selection
376 2004-08-27 Kenichi Handa <handa@m17n.org>
378 * mdump.c (help_exit): Describe about the arg "-r".
379 (reverse_bit_order, init_reverse_bit_order): Delete them.
380 (main): Handle the arg "-r".
382 2004-08-25 Kenichi Handa <handa@m17n.org>
384 * medit.c: Adjusted for the member name change
385 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
387 * mdump.c: Adjusted for the member name change
388 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
390 2004-08-16 Kenichi Handa <handa@m17n.org>
392 * Version 1.1.0 released.
394 2004-08-15 Kenichi Handa <handa@m17n.org>
396 * MEdit.ja: Add Dhivehi.
398 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
400 * medit.c (covert_selection): Handle explicit request of
402 (ExposeProc): If an initial input method is specifed, activate it.
403 (setup_input_methods): New arg initial_input_method. If it's not
404 NULL, set current_input_method to the corresponding index.
405 (help_exit): Fix help message.
406 (main): Handle --im and -s command args.
408 * mdump.c (help_exit): Fix help message.
410 2004-08-09 Kenichi Handa <handa@m17n.org>
412 * mconv.c (VERSION): Updated to 1.1.
414 * mdate.c (VERSION): Likewise.
416 * medit.c (VERSION): Likewise.
418 * mview.c (VERSION): Likewise.
420 2004-07-28 Kenichi Handa <handa@m17n.org>
422 * HELLO.utf8: Add language names for Telugu and Gujarati.
424 * HELLO.xml: Add language names for Telugu and Gujarati.
426 2004-07-26 Kenichi Handa <handa@m17n.org>
428 * medit.c (redraw_cursor): Fix checking of redrawing area.
429 (set_input_method_spot): Don't check face if the buffer is empty.
430 (show_cursor): Likewise.
431 (delete_char): Fix adjustment of nchars.
432 (CursorProc): Call update_cursor.
434 2004-07-23 Kenichi Handa <handa@m17n.org>
436 * HELLO.xml: Add Myanmar.
438 * HELLO.utf8: Add Myanmar.
440 2004-07-22 Kenichi Handa <handa@m17n.org>
442 * medit.c (get_selection): If decoding fails and *type is not
443 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
445 2004-07-20 Kenichi Handa <handa@m17n.org>
447 * medit.c (main): If frame creation is falied, exit by error.
448 Call M17N_FINI after destroying the application context.
450 2004-07-18 Kenichi Handa <handa@m17n.org>
452 * Makefile.am (common_ldflags): Don't include
453 ${top_srcdir}/src/libm17n-core.la.
455 2004-07-07 Kenichi Handa <handa@m17n.org>
457 * medit.c (Mcoding_compound_text): New variable.
458 (covert_selection): Fix previous change.
459 (main): Set Mcoding_compound_text.
461 2004-07-06 Kenichi Handa <handa@m17n.org>
463 * mdump.c: Cancel previous change.
465 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
466 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
468 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
470 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
471 target is XA_UTF8_STRING, encode by utf-8.
472 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
473 XA_UTF8_STRING, decode by utf-8.
475 2004-07-05 Kenichi Handa <handa@m17n.org>
477 * HELLO.utf8: Add Kannada.
479 2004-06-30 Kenichi Handa <handa@m17n.org>
481 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
483 * Makefile.am (X_LD_FLAGS): New variable.
484 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
486 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
487 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
488 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
490 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
492 * HELLO.utf8: Add Punjabi.
494 2004-06-24 Kenichi Handa <handa@m17n.org>
496 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
497 (libmimx_anthy_la_LDFLAGS): Add -module.
499 2004-06-23 Kenichi Handa <handa@m17n.org>
501 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
504 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
505 of cursor.this.width.
507 2004-06-21 Kenichi Handa <handa@m17n.org>
509 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
512 2004-06-17 Kenichi Handa <handa@m17n.org>
514 * mdump.c (main): Don't set control.as_image to 1.
516 2004-06-16 Kenichi Handa <handa@m17n.org>
518 * mdump.c (main): Fix typo of error message.
520 * medit.c (face_freeserif): New variable.
521 (face_table): Add an entry for freeserif.
522 (main): Initialized and free face_freeserif.
524 2004-06-15 Kenichi Handa <handa@m17n.org>
526 * mdump.c: Add command line arguments --family and --language.
527 (help_exit): Print info about those arguemnts.
528 (main): Make family name to lowercase.
530 2004-06-04 Kenichi Handa <handa@m17n.org>
532 * mconv.c (compare_coding_name): New function.
533 (list_coding): Sort the list of codings by their names.
535 2004-06-03 Kenichi Handa <handa@m17n.org>
537 * medit.c (InputMethodInfo): New type.
538 (input_method_table): Type changed to `InputMethodInfo *'.
539 (select_input_method): Adjusted for the change of
541 (show_cursor): Open an input method here if necessary.
542 (compare_input_method): Adjusted for the change of
544 (setup_input_methods): Likewise. Don't open input methods here
546 (main): Adjusted for the change of input_method_table.
548 * mconv.c (main): Close `in' and `out'.
550 * HELLO.utf8: Fix Greek line.
552 * HELLO.xml: Fix Greek line.
554 2004-05-28 Kenichi Handa <handa@m17n.org>
556 * Makefile.am (VINFO): New variable.
557 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
560 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
561 (main): Use PROGRAM_VERSION.
563 * medit.c (main): Make face_input_status copy of face_default.
565 2004-05-27 Kenichi Handa <handa@m17n.org>
567 * medit.c (show_cursor): Check hline->width and box->width.
568 (main): Set reverse videomode in a face for selection.
570 * mdump.c: Include config.h. Include <gd.h> instead of
571 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
572 function main that just print an error message.
573 (help_exit): Adjusted for the change of spec.
574 (dump_image): Argument changed. Dump PNG image instead of PBM.
575 (main): Adjusted for the change of spec.
577 * Makefile.am (common_ldflags_gui): Renamed from
578 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
579 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
581 * HELLO.xml: Add Bengali.
583 2004-05-21 Kenichi Handa <handa@m17n.org>
585 * HELLO.utf8: Add Bengali.
587 2004-05-20 Kenichi Handa <handa@m17n.org>
589 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
590 (ButtonMoveProc): Don't give control.anti_alias to redraw.
591 (default_face_list): New variable.
592 (FaceProc): If no selection, change the default face.
593 (main): Initialize and finalize default_face_list.
595 2004-04-27 Kenichi Handa <handa@m17n.org>
597 * mimx-ispell.c: Add coding tag euc-jp.
599 * mimx-anthy.c: Add coding tag euc-jp.
601 * medit.c: Add coding tag euc-jp.
602 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
603 (main): Set control.anti_alias to 1.
605 * mdump.c: Add coding tag euc-jp.
607 * mdate.c: Add coding tag euc-jp.
609 * mconv.c: Add coding tag euc-jp.
611 2004-04-20 Kenichi Handa <handa@m17n.org>
613 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
615 (mview_LDFLAGS): Likewise.
617 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
619 2004-03-29 Kenichi Handa <handa@m17n.org>
621 * Version 1.0 Patch Level 2 released.
623 2004-03-19 Kenichi Handa <handa@m17n.org>
625 * Version 1.0 Patch Level 1 released.
627 2004-03-19 Kenichi Handa <handa@m17n.org>
629 * medit.c (VERSION): Changed to 1.0.1.
630 (update_selection): Fix for the case that the selected region is
631 expanded to the opposite direction.
632 (ButtonMoveProc): Likewise.
633 (main): Use alloca instead of malloc for allocating menu names.
634 Free several memory areas and GCs.
636 2004-03-12 Kenichi Handa <handa@m17n.org>
638 * medit.c (input_status_control): New variable.
639 (input_status): Use input_status_control.
640 (main): Initialize input_status_control.
642 2004-03-01 Kenichi Handa <handa@m17n.org>
644 * Version 1.0 released.
647 Copyright (C) 2003, 2004
648 National Institute of Advanced Industrial Science and Technology (AIST)
649 Registration Number H15PRO112
651 This file is part of the m17n library.
653 The m17n library is free software; you can redistribute it and/or
654 modify it under the terms of the GNU Lesser General Public License
655 as published by the Free Software Foundation; either version 2.1 of
656 the License, or (at your option) any later version.
658 The m17n library is distributed in the hope that it will be useful,
659 but WITHOUT ANY WARRANTY; without even the implied warranty of
660 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
661 Lesser General Public License for more details.
663 You should have received a copy of the GNU Lesser General Public
664 License along with the m17n library; if not, write to the Free
665 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
666 Boston, MA 02110-1301, USA.