1 2007-05-21 Kenichi Handa <handa@m17n.org>
3 * medit.c (show_cursor): Use msymbol_name (not mlangauge_name).
5 2007-05-16 Kenichi Handa <handa@m17n.org>
7 * mdate.c (VERSION): Delete it.
8 (main): Use M17NLIB_VERSION_NAME to print the version number.
10 * mconv.c (VERSION): Delete it.
11 (main): Use M17NLIB_VERSION_NAME to print the version number.
13 * mdump.c (PROGRAM_VERSION): Delete it.
14 (main): Use M17NLIB_VERSION_NAME to print the version number.
16 * medit.c (VERSION): Delete it.
17 (main): Use M17NLIB_VERSION_NAME to print the version number.
19 * mview.c (VERSION): Delete it.
20 (main): Use M17NLIB_VERSION_NAME to print the version number.
22 2007-03-29 Kenichi Handa <handa@m17n.org>
24 * medit.c (setup_input_methods): Use mplist_put_func.
26 2006-12-06 Kenichi Handa <handa@m17n.org>
28 * Version 1.3.4 released.
30 * mview.c (VERSION): Changed to 1.3.4.
32 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
34 * mdate.c (VERSION): Changed to 1.3.4.
36 * medit.c (VERSION): Changed to 1.3.4.
38 * mconv.c (VERSION): Changed to 1.3.4.
40 2006-10-27 Kenichi Handa <handa@m17n.org>
42 * medit.c (surrounding_text_handler): Be sure to set surround text
45 2006-10-16 Kenichi Handa <handa@m17n.org>
47 * medit.c (create_menu_button): Set XtNinternational to True.
49 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
51 * Makefile.am (common_ldflags, common_ldflags_gui): Use
54 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
56 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
58 2006-06-23 Kenichi Handa <handa@m17n.org>
60 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
62 * medit.c (show_cursor): Call mlanguage_name to get English name
64 (compare_input_method): Likewise.
67 2006-02-22 Kenichi Handa <handa@m17n.org>
69 * Version 1.3.3 released.
71 2006-02-22 Kenichi Handa <handa@m17n.org>
73 * mview.c: Fix some typo in documention.
75 * medit.c: Fix some typo in documention.
77 * mdump.c: Fix some typo in documention.
79 2006-02-06 Kenichi Handa <handa@m17n.org>
81 * Version 1.3.2 released.
83 2006-02-03 Kenichi Handa <handa@m17n.org>
85 * mdump.c: Describe the supported color names.
87 2006-01-19 Kenichi Handa <handa@m17n.org>
89 * HELLO.utf8: Fix greek.
91 * HELLO.xml: Fix greek.
93 2006-01-17 Kenichi Handa <handa@m17n.org>
95 * mdump.c (main): Use gdImageCreateTrueColor and
96 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
98 2006-01-16 Kenichi Handa <handa@m17n.org>
100 * Version 1.3.1 released.
102 2006-01-16 Kenichi Handa <handa@m17n.org>
104 * mdump.c (help_exit): Describe -fg, -bg, -r args.
105 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
108 2006-01-05 Kenichi Handa <handa@m17n.org>
110 * HELLO.utf8: Fix Hindi and Oriya.
112 * HELLO.xml: Adjusted for the latest HELLO.utf8.
114 * HELLO.html: Adjusted for the latest HELLO.utf8.
116 * mdate.c (main): Call m17n-view; not mview.
118 2005-12-22 Kenichi Handa <handa@m17n.org>
120 * Version 1.3.0 released.
122 2005-12-06 Kenichi Handa <handa@m17n.org>
124 * medit.c (mt_modified): New variable.
125 (KeyProc): Update screen if input method modified a text.
126 (surrounding_text_handler): Set mt_modified to 1 if a text is
128 (main): Fix handling of --font arg.
130 2005-12-02 Kenichi Handa <handa@m17n.org>
132 * medit.c (main): Handle --font arg.
134 2005-11-21 Kenichi Handa <handa@m17n.org>
136 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
137 conditionally on WITH_GUI.
139 2005-11-11 Kenichi Handa <handa@m17n.org>
141 * medit.c (surrounding_text_handler): Directly delete characters
142 instead of calling delete_char.
144 2005-11-08 Kenichi Handa <handa@m17n.org>
146 * medit.c (delete_char): Fix the case of deleting the previous
148 (surrounding_text_handler): Check number of characters to delete.
150 2005-11-07 Kenichi Handa <handa@m17n.org>
152 * medit.c (surrounding_text_handler): New function.
153 (setup_input_methods): Add callback functions for surrounding text
156 2005-10-20 Kenichi Handa <handa@m17n.org>
158 * medit.c (setup_input_methods): Ignore an input method of name
161 2005-10-14 Kenichi Handa <handa@m17n.org>
163 * medit.c (main): Don't leave a fontset unfreed.
165 2005-10-03 Kenichi Handa <handa@m17n.org>
167 * mdump.c (main): Make the image tranparent.
169 2005-09-27 Kenichi Handa <handa@m17n.org>
171 * mdump.c (dump_image): If FILTER is "-", print the image to
174 2005-09-22 Kenichi Handa <handa@m17n.org>
176 * medit.c (select_input_method): Open an input method if
177 necessary. Handle left bitmap of input method menus here.
178 (show_cursor): Don't open an input method here.
179 (ExposeProc): Likewise.
180 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
181 (InputMethodProc): Don't handle left bitmap of input method menus
183 (setup_input_methods): Don't open an input method here.
185 2005-09-16 Kenichi Handa <handa@m17n.org>
187 * medit.c (ButtonProc): Don't reset ic, instead send
188 Minput_focus_move event to the current input method.
189 (FocusInProc, FocusOutProc): New functions.
190 (actions): Add elements for FocusIn and FocusOut.
191 (main): Add elements for FocusIn and FocusOut to trans2.
193 2005-09-12 Kenichi Handa <handa@m17n.org>
195 * medit.c (redraw): Don't redraw an area where not text is
198 2005-09-05 Kenichi Handa <handa@m17n.org>
200 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
202 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
204 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
205 directory listing libraries.
206 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
209 2005-08-22 Kenichi Handa <handa@m17n.org>
211 * mdump.c: Don't include config.h.
217 * mimx-anthy.c: Likewise.
219 * mimx-ispell.c: Likewise.
221 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
223 2005-08-18 Kenichi Handa <handa@m17n.org>
225 * medit.c (main): Adjusted for the change of symbol's language
226 property (now in lowercase).
228 * mdump.c (main): Handle --fontset arg.
230 2005-05-19 Kenichi Handa <handa@m17n.org>
232 * medit.c (main): Explicitly set minput_driver.
234 2005-04-28 Kenichi Handa <handa@m17n.org>
236 * .cvsignore: Change mXXXX to m17n-XXXX.
238 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
240 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
243 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
246 2005-04-15 Kenichi Handa <handa@m17n.org>
248 * medit.c: Include dlfcn.h.
249 (Mword): New variable.
250 (show_cursor): Check Mlanguage text property of the cursor
252 (delete_char): Pay attention to the change of line beginning
253 position because of filling.
254 (insert_chars): Likewise.
255 (word_constituent_p, forward_word, backward_word): New functions.
256 (KeyProc): Assign XK_b and XK_f for back/foreward word.
257 (line_break): Delete extern.
258 (LineBreakProc): Use mdraw_default_line_break.
259 (FilterProc): New function.
260 (main): Handle --filter arg. Initialize Mword.
262 * mdump.c (main): Set control.line_break to
263 mdraw_default_line_break.
265 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
266 (m17n_dump_SOURCES): Likewise.
267 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
268 (m17n_dump_LDADD): Likewise.
270 2005-03-09 Kenichi Handa <handa@m17n.org>
272 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
274 2005-02-17 Kenichi Handa <handa@m17n.org>
276 * medit.c (setup_input_methods): Fix for the case that no input
279 2005-01-12 Kenichi Handa <handa@m17n.org>
281 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
282 Myanmar kinzi to the new proposal by Myanmar NLP.
284 2004-12-27 Kenichi Handa <handa@m17n.org>
286 * Version 1.2.0 released.
288 2004-12-27 Kenichi Handa <handa@m17n.org>
290 * M17NEdit.ja: Renamed from MEdit.ja.
292 * Makefile.am: Put prefix "m17n-" instead of single "m" to
294 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
296 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
297 changed ("mXXXX" -> "m17n-XXXX").
299 2004-12-21 Kenichi Handa <handa@m17n.org>
301 * medit.c (ButtonProc): Reset the current input method (if
302 activated) and insert the produced text.
303 (KeyProc): Cancel the previous change.
305 2004-12-21 Kenichi Handa <handa@m17n.org>
307 * medit.c (KeyProc): Handle C-\ as resetting input context.
309 2004-12-17 Kenichi Handa <handa@m17n.org>
311 * medit.c (main): Allocagte filename by strdup if not specified.
313 2004-12-10 Kenichi Handa <handa@m17n.org>
315 * mview.c (VERSION): Update to 1.2.0.
317 * medit.c (VERSION): Update to 1.2.0.
318 (main): If filename is not specified, open /dev/null.
320 * mdate.c (VERSION): Update to 1.2.0.
322 * mconv.c (VERSION): Update to 1.2.0.
324 2004-12-09 Kenichi Handa <handa@m17n.org>
326 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
327 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
329 2004-12-09 handa <handa@m17n.org>
331 * Makefile.am (common_ldflags): Include libm17n-core.la.
332 (common_ldflags_gui): Include ${common_ldflags}
334 2004-12-03 Kenichi Handa <handa@m17n.org>
336 * mimx-anthy.c (AnthyContext): New member ic.
337 (new_context): When something goes wrong, return NULL without
339 (get_context): New function.
340 (init): Pay attention to the case of multiple calls.
342 (convert, change, resize, commit): Use get_context.
344 * mimx-ispell.c (face_available): New variable.
345 (init): Check if GUI APIs are available or not. If not, set
347 (fini): Free a face only if face_available is not zero.
348 (ispell_word): Put face property only if available.
350 2004-10-29 Kenichi Handa <handa@m17n.org>
352 * medit.c (main): Fix handling of "-s" arg.
354 2004-10-12 Kenichi Handa <handa@m17n.org>
356 * medit.c (KeyProc): Cast buf to `unsigned char *'.
357 (FaceProc): Call hide_cursor () at first.
359 2004-09-27 Kenichi Handa <handa@m17n.org>
361 * HELLO.html: Add Sinhala.
363 2004-09-23 Kenichi Handa <handa@m17n.org>
365 * HELLO.utf8, HELLO.xml: Add Sinhala.
367 2004-09-14 Kenichi Handa <handa@m17n.org>
369 * medit.c (update_selection): Fix for the case that the selection
372 2004-08-27 Kenichi Handa <handa@m17n.org>
374 * mdump.c (help_exit): Describe about the arg "-r".
375 (reverse_bit_order, init_reverse_bit_order): Delete them.
376 (main): Handle the arg "-r".
378 2004-08-25 Kenichi Handa <handa@m17n.org>
380 * medit.c: Adjusted for the member name change
381 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
383 * mdump.c: Adjusted for the member name change
384 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
386 2004-08-16 Kenichi Handa <handa@m17n.org>
388 * Version 1.1.0 released.
390 2004-08-15 Kenichi Handa <handa@m17n.org>
392 * MEdit.ja: Add Dhivehi.
394 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
396 * medit.c (covert_selection): Handle explicit request of
398 (ExposeProc): If an initial input method is specifed, activate it.
399 (setup_input_methods): New arg initial_input_method. If it's not
400 NULL, set current_input_method to the corresponding index.
401 (help_exit): Fix help message.
402 (main): Handle --im and -s command args.
404 * mdump.c (help_exit): Fix help message.
406 2004-08-09 Kenichi Handa <handa@m17n.org>
408 * mconv.c (VERSION): Updated to 1.1.
410 * mdate.c (VERSION): Likewise.
412 * medit.c (VERSION): Likewise.
414 * mview.c (VERSION): Likewise.
416 2004-07-28 Kenichi Handa <handa@m17n.org>
418 * HELLO.utf8: Add language names for Telugu and Gujarati.
420 * HELLO.xml: Add language names for Telugu and Gujarati.
422 2004-07-26 Kenichi Handa <handa@m17n.org>
424 * medit.c (redraw_cursor): Fix checking of redrawing area.
425 (set_input_method_spot): Don't check face if the buffer is empty.
426 (show_cursor): Likewise.
427 (delete_char): Fix adjustment of nchars.
428 (CursorProc): Call update_cursor.
430 2004-07-23 Kenichi Handa <handa@m17n.org>
432 * HELLO.xml: Add Myanmar.
434 * HELLO.utf8: Add Myanmar.
436 2004-07-22 Kenichi Handa <handa@m17n.org>
438 * medit.c (get_selection): If decoding fails and *type is not
439 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
441 2004-07-20 Kenichi Handa <handa@m17n.org>
443 * medit.c (main): If frame creation is falied, exit by error.
444 Call M17N_FINI after destroying the application context.
446 2004-07-18 Kenichi Handa <handa@m17n.org>
448 * Makefile.am (common_ldflags): Don't include
449 ${top_srcdir}/src/libm17n-core.la.
451 2004-07-07 Kenichi Handa <handa@m17n.org>
453 * medit.c (Mcoding_compound_text): New variable.
454 (covert_selection): Fix previous change.
455 (main): Set Mcoding_compound_text.
457 2004-07-06 Kenichi Handa <handa@m17n.org>
459 * mdump.c: Cancel previous change.
461 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
462 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
464 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
466 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
467 target is XA_UTF8_STRING, encode by utf-8.
468 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
469 XA_UTF8_STRING, decode by utf-8.
471 2004-07-05 Kenichi Handa <handa@m17n.org>
473 * HELLO.utf8: Add Kannada.
475 2004-06-30 Kenichi Handa <handa@m17n.org>
477 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
479 * Makefile.am (X_LD_FLAGS): New variable.
480 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
482 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
483 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
484 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
486 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
488 * HELLO.utf8: Add Punjabi.
490 2004-06-24 Kenichi Handa <handa@m17n.org>
492 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
493 (libmimx_anthy_la_LDFLAGS): Add -module.
495 2004-06-23 Kenichi Handa <handa@m17n.org>
497 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
500 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
501 of cursor.this.width.
503 2004-06-21 Kenichi Handa <handa@m17n.org>
505 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
508 2004-06-17 Kenichi Handa <handa@m17n.org>
510 * mdump.c (main): Don't set control.as_image to 1.
512 2004-06-16 Kenichi Handa <handa@m17n.org>
514 * mdump.c (main): Fix typo of error message.
516 * medit.c (face_freeserif): New variable.
517 (face_table): Add an entry for freeserif.
518 (main): Initialized and free face_freeserif.
520 2004-06-15 Kenichi Handa <handa@m17n.org>
522 * mdump.c: Add command line arguments --family and --language.
523 (help_exit): Print info about those arguemnts.
524 (main): Make family name to lowercase.
526 2004-06-04 Kenichi Handa <handa@m17n.org>
528 * mconv.c (compare_coding_name): New function.
529 (list_coding): Sort the list of codings by their names.
531 2004-06-03 Kenichi Handa <handa@m17n.org>
533 * medit.c (InputMethodInfo): New type.
534 (input_method_table): Type changed to `InputMethodInfo *'.
535 (select_input_method): Adjusted for the change of
537 (show_cursor): Open an input method here if necessary.
538 (compare_input_method): Adjusted for the change of
540 (setup_input_methods): Likewise. Don't open input methods here
542 (main): Adjusted for the change of input_method_table.
544 * mconv.c (main): Close `in' and `out'.
546 * HELLO.utf8: Fix Greek line.
548 * HELLO.xml: Fix Greek line.
550 2004-05-28 Kenichi Handa <handa@m17n.org>
552 * Makefile.am (VINFO): New variable.
553 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
556 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
557 (main): Use PROGRAM_VERSION.
559 * medit.c (main): Make face_input_status copy of face_default.
561 2004-05-27 Kenichi Handa <handa@m17n.org>
563 * medit.c (show_cursor): Check hline->width and box->width.
564 (main): Set reverse videomode in a face for selection.
566 * mdump.c: Include config.h. Include <gd.h> instead of
567 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
568 function main that just print an error message.
569 (help_exit): Adjusted for the change of spec.
570 (dump_image): Argument changed. Dump PNG image instead of PBM.
571 (main): Adjusted for the change of spec.
573 * Makefile.am (common_ldflags_gui): Renamed from
574 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
575 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
577 * HELLO.xml: Add Bengali.
579 2004-05-21 Kenichi Handa <handa@m17n.org>
581 * HELLO.utf8: Add Bengali.
583 2004-05-20 Kenichi Handa <handa@m17n.org>
585 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
586 (ButtonMoveProc): Don't give control.anti_alias to redraw.
587 (default_face_list): New variable.
588 (FaceProc): If no selection, change the default face.
589 (main): Initialize and finalize default_face_list.
591 2004-04-27 Kenichi Handa <handa@m17n.org>
593 * mimx-ispell.c: Add coding tag euc-jp.
595 * mimx-anthy.c: Add coding tag euc-jp.
597 * medit.c: Add coding tag euc-jp.
598 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
599 (main): Set control.anti_alias to 1.
601 * mdump.c: Add coding tag euc-jp.
603 * mdate.c: Add coding tag euc-jp.
605 * mconv.c: Add coding tag euc-jp.
607 2004-04-20 Kenichi Handa <handa@m17n.org>
609 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
611 (mview_LDFLAGS): Likewise.
613 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
615 2004-03-29 Kenichi Handa <handa@m17n.org>
617 * Version 1.0 Patch Level 2 released.
619 2004-03-19 Kenichi Handa <handa@m17n.org>
621 * Version 1.0 Patch Level 1 released.
623 2004-03-19 Kenichi Handa <handa@m17n.org>
625 * medit.c (VERSION): Changed to 1.0.1.
626 (update_selection): Fix for the case that the selected region is
627 expanded to the opposite direction.
628 (ButtonMoveProc): Likewise.
629 (main): Use alloca instead of malloc for allocating menu names.
630 Free several memory areas and GCs.
632 2004-03-12 Kenichi Handa <handa@m17n.org>
634 * medit.c (input_status_control): New variable.
635 (input_status): Use input_status_control.
636 (main): Initialize input_status_control.
638 2004-03-01 Kenichi Handa <handa@m17n.org>
640 * Version 1.0 released.
643 Copyright (C) 2003, 2004
644 National Institute of Advanced Industrial Science and Technology (AIST)
645 Registration Number H15PRO112
647 This file is part of the m17n library.
649 The m17n library is free software; you can redistribute it and/or
650 modify it under the terms of the GNU Lesser General Public License
651 as published by the Free Software Foundation; either version 2.1 of
652 the License, or (at your option) any later version.
654 The m17n library is distributed in the hope that it will be useful,
655 but WITHOUT ANY WARRANTY; without even the implied warranty of
656 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
657 Lesser General Public License for more details.
659 You should have received a copy of the GNU Lesser General Public
660 License along with the m17n library; if not, write to the Free
661 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
662 Boston, MA 02110-1301, USA.