1 2006-02-22 Kenichi Handa <handa@m17n.org>
3 * Version 1.3.3 released.
5 2006-02-22 Kenichi Handa <handa@m17n.org>
7 * mview.c: Fix some typo in documention.
9 * medit.c: Fix some typo in documention.
11 * mdump.c: Fix some typo in documention.
13 2006-02-06 Kenichi Handa <handa@m17n.org>
15 * Version 1.3.2 released.
17 2006-02-03 Kenichi Handa <handa@m17n.org>
19 * mdump.c: Describe the supported color names.
21 2006-01-19 Kenichi Handa <handa@m17n.org>
23 * HELLO.utf8: Fix greek.
25 * HELLO.xml: Fix greek.
27 2006-01-17 Kenichi Handa <handa@m17n.org>
29 * mdump.c (main): Use gdImageCreateTrueColor and
30 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
32 2006-01-16 Kenichi Handa <handa@m17n.org>
34 * Version 1.3.1 released.
36 2006-01-16 Kenichi Handa <handa@m17n.org>
38 * mdump.c (help_exit): Describe -fg, -bg, -r args.
39 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
42 2006-01-05 Kenichi Handa <handa@m17n.org>
44 * HELLO.utf8: Fix Hindi and Oriya.
46 * HELLO.xml: Adjusted for the latest HELLO.utf8.
48 * HELLO.html: Adjusted for the latest HELLO.utf8.
50 * mdate.c (main): Call m17n-view; not mview.
52 2005-12-22 Kenichi Handa <handa@m17n.org>
54 * Version 1.3.0 released.
56 2005-12-06 Kenichi Handa <handa@m17n.org>
58 * medit.c (mt_modified): New variable.
59 (KeyProc): Update screen if input method modified a text.
60 (surrounding_text_handler): Set mt_modified to 1 if a text is
62 (main): Fix handling of --font arg.
64 2005-12-02 Kenichi Handa <handa@m17n.org>
66 * medit.c (main): Handle --font arg.
68 2005-11-21 Kenichi Handa <handa@m17n.org>
70 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
71 conditionally on WITH_GUI.
73 2005-11-11 Kenichi Handa <handa@m17n.org>
75 * medit.c (surrounding_text_handler): Directly delete characters
76 instead of calling delete_char.
78 2005-11-08 Kenichi Handa <handa@m17n.org>
80 * medit.c (delete_char): Fix the case of deleting the previous
82 (surrounding_text_handler): Check number of characters to delete.
84 2005-11-07 Kenichi Handa <handa@m17n.org>
86 * medit.c (surrounding_text_handler): New function.
87 (setup_input_methods): Add callback functions for surrounding text
90 2005-10-20 Kenichi Handa <handa@m17n.org>
92 * medit.c (setup_input_methods): Ignore an input method of name
95 2005-10-14 Kenichi Handa <handa@m17n.org>
97 * medit.c (main): Don't leave a fontset unfreed.
99 2005-10-03 Kenichi Handa <handa@m17n.org>
101 * mdump.c (main): Make the image tranparent.
103 2005-09-27 Kenichi Handa <handa@m17n.org>
105 * mdump.c (dump_image): If FILTER is "-", print the image to
108 2005-09-22 Kenichi Handa <handa@m17n.org>
110 * medit.c (select_input_method): Open an input method if
111 necessary. Handle left bitmap of input method menus here.
112 (show_cursor): Don't open an input method here.
113 (ExposeProc): Likewise.
114 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
115 (InputMethodProc): Don't handle left bitmap of input method menus
117 (setup_input_methods): Don't open an input method here.
119 2005-09-16 Kenichi Handa <handa@m17n.org>
121 * medit.c (ButtonProc): Don't reset ic, instead send
122 Minput_focus_move event to the current input method.
123 (FocusInProc, FocusOutProc): New functions.
124 (actions): Add elements for FocusIn and FocusOut.
125 (main): Add elements for FocusIn and FocusOut to trans2.
127 2005-09-12 Kenichi Handa <handa@m17n.org>
129 * medit.c (redraw): Don't redraw an area where not text is
132 2005-09-05 Kenichi Handa <handa@m17n.org>
134 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
136 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
138 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
139 directory listing libraries.
140 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
143 2005-08-22 Kenichi Handa <handa@m17n.org>
145 * mdump.c: Don't include config.h.
151 * mimx-anthy.c: Likewise.
153 * mimx-ispell.c: Likewise.
155 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
157 2005-08-18 Kenichi Handa <handa@m17n.org>
159 * medit.c (main): Adjusted for the change of symbol's language
160 property (now in lowercase).
162 * mdump.c (main): Handle --fontset arg.
164 2005-05-19 Kenichi Handa <handa@m17n.org>
166 * medit.c (main): Explicitly set minput_driver.
168 2005-04-28 Kenichi Handa <handa@m17n.org>
170 * .cvsignore: Change mXXXX to m17n-XXXX.
172 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
174 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
177 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
180 2005-04-15 Kenichi Handa <handa@m17n.org>
182 * medit.c: Include dlfcn.h.
183 (Mword): New variable.
184 (show_cursor): Check Mlanguage text property of the cursor
186 (delete_char): Pay attention to the change of line beginning
187 position because of filling.
188 (insert_chars): Likewise.
189 (word_constituent_p, forward_word, backward_word): New functions.
190 (KeyProc): Assign XK_b and XK_f for back/foreward word.
191 (line_break): Delete extern.
192 (LineBreakProc): Use mdraw_default_line_break.
193 (FilterProc): New function.
194 (main): Handle --filter arg. Initialize Mword.
196 * mdump.c (main): Set control.line_break to
197 mdraw_default_line_break.
199 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
200 (m17n_dump_SOURCES): Likewise.
201 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
202 (m17n_dump_LDADD): Likewise.
204 2005-03-09 Kenichi Handa <handa@m17n.org>
206 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
208 2005-02-17 Kenichi Handa <handa@m17n.org>
210 * medit.c (setup_input_methods): Fix for the case that no input
213 2005-01-12 Kenichi Handa <handa@m17n.org>
215 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
216 Myanmar kinzi to the new proposal by Myanmar NLP.
218 2004-12-27 Kenichi Handa <handa@m17n.org>
220 * Version 1.2.0 released.
222 2004-12-27 Kenichi Handa <handa@m17n.org>
224 * M17NEdit.ja: Renamed from MEdit.ja.
226 * Makefile.am: Put prefix "m17n-" instead of single "m" to
228 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
230 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
231 changed ("mXXXX" -> "m17n-XXXX").
233 2004-12-21 Kenichi Handa <handa@m17n.org>
235 * medit.c (ButtonProc): Reset the current input method (if
236 activated) and insert the produced text.
237 (KeyProc): Cancel the previous change.
239 2004-12-21 Kenichi Handa <handa@m17n.org>
241 * medit.c (KeyProc): Handle C-\ as resetting input context.
243 2004-12-17 Kenichi Handa <handa@m17n.org>
245 * medit.c (main): Allocagte filename by strdup if not specified.
247 2004-12-10 Kenichi Handa <handa@m17n.org>
249 * mview.c (VERSION): Update to 1.2.0.
251 * medit.c (VERSION): Update to 1.2.0.
252 (main): If filename is not specified, open /dev/null.
254 * mdate.c (VERSION): Update to 1.2.0.
256 * mconv.c (VERSION): Update to 1.2.0.
258 2004-12-09 Kenichi Handa <handa@m17n.org>
260 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
261 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
263 2004-12-09 handa <handa@m17n.org>
265 * Makefile.am (common_ldflags): Include libm17n-core.la.
266 (common_ldflags_gui): Include ${common_ldflags}
268 2004-12-03 Kenichi Handa <handa@m17n.org>
270 * mimx-anthy.c (AnthyContext): New member ic.
271 (new_context): When something goes wrong, return NULL without
273 (get_context): New function.
274 (init): Pay attention to the case of multiple calls.
276 (convert, change, resize, commit): Use get_context.
278 * mimx-ispell.c (face_available): New variable.
279 (init): Check if GUI APIs are available or not. If not, set
281 (fini): Free a face only if face_available is not zero.
282 (ispell_word): Put face property only if available.
284 2004-10-29 Kenichi Handa <handa@m17n.org>
286 * medit.c (main): Fix handling of "-s" arg.
288 2004-10-12 Kenichi Handa <handa@m17n.org>
290 * medit.c (KeyProc): Cast buf to `unsigned char *'.
291 (FaceProc): Call hide_cursor () at first.
293 2004-09-27 Kenichi Handa <handa@m17n.org>
295 * HELLO.html: Add Sinhala.
297 2004-09-23 Kenichi Handa <handa@m17n.org>
299 * HELLO.utf8, HELLO.xml: Add Sinhala.
301 2004-09-14 Kenichi Handa <handa@m17n.org>
303 * medit.c (update_selection): Fix for the case that the selection
306 2004-08-27 Kenichi Handa <handa@m17n.org>
308 * mdump.c (help_exit): Describe about the arg "-r".
309 (reverse_bit_order, init_reverse_bit_order): Delete them.
310 (main): Handle the arg "-r".
312 2004-08-25 Kenichi Handa <handa@m17n.org>
314 * medit.c: Adjusted for the member name change
315 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
317 * mdump.c: Adjusted for the member name change
318 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
320 2004-08-16 Kenichi Handa <handa@m17n.org>
322 * Version 1.1.0 released.
324 2004-08-15 Kenichi Handa <handa@m17n.org>
326 * MEdit.ja: Add Dhivehi.
328 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
330 * medit.c (covert_selection): Handle explicit request of
332 (ExposeProc): If an initial input method is specifed, activate it.
333 (setup_input_methods): New arg initial_input_method. If it's not
334 NULL, set current_input_method to the corresponding index.
335 (help_exit): Fix help message.
336 (main): Handle --im and -s command args.
338 * mdump.c (help_exit): Fix help message.
340 2004-08-09 Kenichi Handa <handa@m17n.org>
342 * mconv.c (VERSION): Updated to 1.1.
344 * mdate.c (VERSION): Likewise.
346 * medit.c (VERSION): Likewise.
348 * mview.c (VERSION): Likewise.
350 2004-07-28 Kenichi Handa <handa@m17n.org>
352 * HELLO.utf8: Add language names for Telugu and Gujarati.
354 * HELLO.xml: Add language names for Telugu and Gujarati.
356 2004-07-26 Kenichi Handa <handa@m17n.org>
358 * medit.c (redraw_cursor): Fix checking of redrawing area.
359 (set_input_method_spot): Don't check face if the buffer is empty.
360 (show_cursor): Likewise.
361 (delete_char): Fix adjustment of nchars.
362 (CursorProc): Call update_cursor.
364 2004-07-23 Kenichi Handa <handa@m17n.org>
366 * HELLO.xml: Add Myanmar.
368 * HELLO.utf8: Add Myanmar.
370 2004-07-22 Kenichi Handa <handa@m17n.org>
372 * medit.c (get_selection): If decoding fails and *type is not
373 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
375 2004-07-20 Kenichi Handa <handa@m17n.org>
377 * medit.c (main): If frame creation is falied, exit by error.
378 Call M17N_FINI after destroying the application context.
380 2004-07-18 Kenichi Handa <handa@m17n.org>
382 * Makefile.am (common_ldflags): Don't include
383 ${top_srcdir}/src/libm17n-core.la.
385 2004-07-07 Kenichi Handa <handa@m17n.org>
387 * medit.c (Mcoding_compound_text): New variable.
388 (covert_selection): Fix previous change.
389 (main): Set Mcoding_compound_text.
391 2004-07-06 Kenichi Handa <handa@m17n.org>
393 * mdump.c: Cancel previous change.
395 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
396 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
398 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
400 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
401 target is XA_UTF8_STRING, encode by utf-8.
402 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
403 XA_UTF8_STRING, decode by utf-8.
405 2004-07-05 Kenichi Handa <handa@m17n.org>
407 * HELLO.utf8: Add Kannada.
409 2004-06-30 Kenichi Handa <handa@m17n.org>
411 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
413 * Makefile.am (X_LD_FLAGS): New variable.
414 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
416 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
417 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
418 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
420 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
422 * HELLO.utf8: Add Punjabi.
424 2004-06-24 Kenichi Handa <handa@m17n.org>
426 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
427 (libmimx_anthy_la_LDFLAGS): Add -module.
429 2004-06-23 Kenichi Handa <handa@m17n.org>
431 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
434 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
435 of cursor.this.width.
437 2004-06-21 Kenichi Handa <handa@m17n.org>
439 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
442 2004-06-17 Kenichi Handa <handa@m17n.org>
444 * mdump.c (main): Don't set control.as_image to 1.
446 2004-06-16 Kenichi Handa <handa@m17n.org>
448 * mdump.c (main): Fix typo of error message.
450 * medit.c (face_freeserif): New variable.
451 (face_table): Add an entry for freeserif.
452 (main): Initialized and free face_freeserif.
454 2004-06-15 Kenichi Handa <handa@m17n.org>
456 * mdump.c: Add command line arguments --family and --language.
457 (help_exit): Print info about those arguemnts.
458 (main): Make family name to lowercase.
460 2004-06-04 Kenichi Handa <handa@m17n.org>
462 * mconv.c (compare_coding_name): New function.
463 (list_coding): Sort the list of codings by their names.
465 2004-06-03 Kenichi Handa <handa@m17n.org>
467 * medit.c (InputMethodInfo): New type.
468 (input_method_table): Type changed to `InputMethodInfo *'.
469 (select_input_method): Adjusted for the change of
471 (show_cursor): Open an input method here if necessary.
472 (compare_input_method): Adjusted for the change of
474 (setup_input_methods): Likewise. Don't open input methods here
476 (main): Adjusted for the change of input_method_table.
478 * mconv.c (main): Close `in' and `out'.
480 * HELLO.utf8: Fix Greek line.
482 * HELLO.xml: Fix Greek line.
484 2004-05-28 Kenichi Handa <handa@m17n.org>
486 * Makefile.am (VINFO): New variable.
487 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
490 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
491 (main): Use PROGRAM_VERSION.
493 * medit.c (main): Make face_input_status copy of face_default.
495 2004-05-27 Kenichi Handa <handa@m17n.org>
497 * medit.c (show_cursor): Check hline->width and box->width.
498 (main): Set reverse videomode in a face for selection.
500 * mdump.c: Include config.h. Include <gd.h> instead of
501 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
502 function main that just print an error message.
503 (help_exit): Adjusted for the change of spec.
504 (dump_image): Argument changed. Dump PNG image instead of PBM.
505 (main): Adjusted for the change of spec.
507 * Makefile.am (common_ldflags_gui): Renamed from
508 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
509 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
511 * HELLO.xml: Add Bengali.
513 2004-05-21 Kenichi Handa <handa@m17n.org>
515 * HELLO.utf8: Add Bengali.
517 2004-05-20 Kenichi Handa <handa@m17n.org>
519 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
520 (ButtonMoveProc): Don't give control.anti_alias to redraw.
521 (default_face_list): New variable.
522 (FaceProc): If no selection, change the default face.
523 (main): Initialize and finalize default_face_list.
525 2004-04-27 Kenichi Handa <handa@m17n.org>
527 * mimx-ispell.c: Add coding tag euc-jp.
529 * mimx-anthy.c: Add coding tag euc-jp.
531 * medit.c: Add coding tag euc-jp.
532 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
533 (main): Set control.anti_alias to 1.
535 * mdump.c: Add coding tag euc-jp.
537 * mdate.c: Add coding tag euc-jp.
539 * mconv.c: Add coding tag euc-jp.
541 2004-04-20 Kenichi Handa <handa@m17n.org>
543 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
545 (mview_LDFLAGS): Likewise.
547 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
549 2004-03-29 Kenichi Handa <handa@m17n.org>
551 * Version 1.0 Patch Level 2 released.
553 2004-03-19 Kenichi Handa <handa@m17n.org>
555 * Version 1.0 Patch Level 1 released.
557 2004-03-19 Kenichi Handa <handa@m17n.org>
559 * medit.c (VERSION): Changed to 1.0.1.
560 (update_selection): Fix for the case that the selected region is
561 expanded to the opposite direction.
562 (ButtonMoveProc): Likewise.
563 (main): Use alloca instead of malloc for allocating menu names.
564 Free several memory areas and GCs.
566 2004-03-12 Kenichi Handa <handa@m17n.org>
568 * medit.c (input_status_control): New variable.
569 (input_status): Use input_status_control.
570 (main): Initialize input_status_control.
572 2004-03-01 Kenichi Handa <handa@m17n.org>
574 * Version 1.0 released.
577 Copyright (C) 2003, 2004
578 National Institute of Advanced Industrial Science and Technology (AIST)
579 Registration Number H15PRO112
581 This file is part of the m17n library.
583 The m17n library is free software; you can redistribute it and/or
584 modify it under the terms of the GNU Lesser General Public License
585 as published by the Free Software Foundation; either version 2.1 of
586 the License, or (at your option) any later version.
588 The m17n library is distributed in the hope that it will be useful,
589 but WITHOUT ANY WARRANTY; without even the implied warranty of
590 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
591 Lesser General Public License for more details.
593 You should have received a copy of the GNU Lesser General Public
594 License along with the m17n library; if not, write to the Free
595 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA