1 2006-06-23 Kenichi Handa <handa@m17n.org>
3 * medit.c (show_cursor): Call mlanguage_name to get English name
5 (compare_input_method): Likewise.
8 2006-02-22 Kenichi Handa <handa@m17n.org>
10 * Version 1.3.3 released.
12 2006-02-22 Kenichi Handa <handa@m17n.org>
14 * mview.c: Fix some typo in documention.
16 * medit.c: Fix some typo in documention.
18 * mdump.c: Fix some typo in documention.
20 2006-02-06 Kenichi Handa <handa@m17n.org>
22 * Version 1.3.2 released.
24 2006-02-03 Kenichi Handa <handa@m17n.org>
26 * mdump.c: Describe the supported color names.
28 2006-01-19 Kenichi Handa <handa@m17n.org>
30 * HELLO.utf8: Fix greek.
32 * HELLO.xml: Fix greek.
34 2006-01-17 Kenichi Handa <handa@m17n.org>
36 * mdump.c (main): Use gdImageCreateTrueColor and
37 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
39 2006-01-16 Kenichi Handa <handa@m17n.org>
41 * Version 1.3.1 released.
43 2006-01-16 Kenichi Handa <handa@m17n.org>
45 * mdump.c (help_exit): Describe -fg, -bg, -r args.
46 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
49 2006-01-05 Kenichi Handa <handa@m17n.org>
51 * HELLO.utf8: Fix Hindi and Oriya.
53 * HELLO.xml: Adjusted for the latest HELLO.utf8.
55 * HELLO.html: Adjusted for the latest HELLO.utf8.
57 * mdate.c (main): Call m17n-view; not mview.
59 2005-12-22 Kenichi Handa <handa@m17n.org>
61 * Version 1.3.0 released.
63 2005-12-06 Kenichi Handa <handa@m17n.org>
65 * medit.c (mt_modified): New variable.
66 (KeyProc): Update screen if input method modified a text.
67 (surrounding_text_handler): Set mt_modified to 1 if a text is
69 (main): Fix handling of --font arg.
71 2005-12-02 Kenichi Handa <handa@m17n.org>
73 * medit.c (main): Handle --font arg.
75 2005-11-21 Kenichi Handa <handa@m17n.org>
77 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
78 conditionally on WITH_GUI.
80 2005-11-11 Kenichi Handa <handa@m17n.org>
82 * medit.c (surrounding_text_handler): Directly delete characters
83 instead of calling delete_char.
85 2005-11-08 Kenichi Handa <handa@m17n.org>
87 * medit.c (delete_char): Fix the case of deleting the previous
89 (surrounding_text_handler): Check number of characters to delete.
91 2005-11-07 Kenichi Handa <handa@m17n.org>
93 * medit.c (surrounding_text_handler): New function.
94 (setup_input_methods): Add callback functions for surrounding text
97 2005-10-20 Kenichi Handa <handa@m17n.org>
99 * medit.c (setup_input_methods): Ignore an input method of name
102 2005-10-14 Kenichi Handa <handa@m17n.org>
104 * medit.c (main): Don't leave a fontset unfreed.
106 2005-10-03 Kenichi Handa <handa@m17n.org>
108 * mdump.c (main): Make the image tranparent.
110 2005-09-27 Kenichi Handa <handa@m17n.org>
112 * mdump.c (dump_image): If FILTER is "-", print the image to
115 2005-09-22 Kenichi Handa <handa@m17n.org>
117 * medit.c (select_input_method): Open an input method if
118 necessary. Handle left bitmap of input method menus here.
119 (show_cursor): Don't open an input method here.
120 (ExposeProc): Likewise.
121 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
122 (InputMethodProc): Don't handle left bitmap of input method menus
124 (setup_input_methods): Don't open an input method here.
126 2005-09-16 Kenichi Handa <handa@m17n.org>
128 * medit.c (ButtonProc): Don't reset ic, instead send
129 Minput_focus_move event to the current input method.
130 (FocusInProc, FocusOutProc): New functions.
131 (actions): Add elements for FocusIn and FocusOut.
132 (main): Add elements for FocusIn and FocusOut to trans2.
134 2005-09-12 Kenichi Handa <handa@m17n.org>
136 * medit.c (redraw): Don't redraw an area where not text is
139 2005-09-05 Kenichi Handa <handa@m17n.org>
141 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
143 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
145 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
146 directory listing libraries.
147 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
150 2005-08-22 Kenichi Handa <handa@m17n.org>
152 * mdump.c: Don't include config.h.
158 * mimx-anthy.c: Likewise.
160 * mimx-ispell.c: Likewise.
162 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
164 2005-08-18 Kenichi Handa <handa@m17n.org>
166 * medit.c (main): Adjusted for the change of symbol's language
167 property (now in lowercase).
169 * mdump.c (main): Handle --fontset arg.
171 2005-05-19 Kenichi Handa <handa@m17n.org>
173 * medit.c (main): Explicitly set minput_driver.
175 2005-04-28 Kenichi Handa <handa@m17n.org>
177 * .cvsignore: Change mXXXX to m17n-XXXX.
179 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
181 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
184 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
187 2005-04-15 Kenichi Handa <handa@m17n.org>
189 * medit.c: Include dlfcn.h.
190 (Mword): New variable.
191 (show_cursor): Check Mlanguage text property of the cursor
193 (delete_char): Pay attention to the change of line beginning
194 position because of filling.
195 (insert_chars): Likewise.
196 (word_constituent_p, forward_word, backward_word): New functions.
197 (KeyProc): Assign XK_b and XK_f for back/foreward word.
198 (line_break): Delete extern.
199 (LineBreakProc): Use mdraw_default_line_break.
200 (FilterProc): New function.
201 (main): Handle --filter arg. Initialize Mword.
203 * mdump.c (main): Set control.line_break to
204 mdraw_default_line_break.
206 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
207 (m17n_dump_SOURCES): Likewise.
208 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
209 (m17n_dump_LDADD): Likewise.
211 2005-03-09 Kenichi Handa <handa@m17n.org>
213 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
215 2005-02-17 Kenichi Handa <handa@m17n.org>
217 * medit.c (setup_input_methods): Fix for the case that no input
220 2005-01-12 Kenichi Handa <handa@m17n.org>
222 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
223 Myanmar kinzi to the new proposal by Myanmar NLP.
225 2004-12-27 Kenichi Handa <handa@m17n.org>
227 * Version 1.2.0 released.
229 2004-12-27 Kenichi Handa <handa@m17n.org>
231 * M17NEdit.ja: Renamed from MEdit.ja.
233 * Makefile.am: Put prefix "m17n-" instead of single "m" to
235 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
237 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
238 changed ("mXXXX" -> "m17n-XXXX").
240 2004-12-21 Kenichi Handa <handa@m17n.org>
242 * medit.c (ButtonProc): Reset the current input method (if
243 activated) and insert the produced text.
244 (KeyProc): Cancel the previous change.
246 2004-12-21 Kenichi Handa <handa@m17n.org>
248 * medit.c (KeyProc): Handle C-\ as resetting input context.
250 2004-12-17 Kenichi Handa <handa@m17n.org>
252 * medit.c (main): Allocagte filename by strdup if not specified.
254 2004-12-10 Kenichi Handa <handa@m17n.org>
256 * mview.c (VERSION): Update to 1.2.0.
258 * medit.c (VERSION): Update to 1.2.0.
259 (main): If filename is not specified, open /dev/null.
261 * mdate.c (VERSION): Update to 1.2.0.
263 * mconv.c (VERSION): Update to 1.2.0.
265 2004-12-09 Kenichi Handa <handa@m17n.org>
267 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
268 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
270 2004-12-09 handa <handa@m17n.org>
272 * Makefile.am (common_ldflags): Include libm17n-core.la.
273 (common_ldflags_gui): Include ${common_ldflags}
275 2004-12-03 Kenichi Handa <handa@m17n.org>
277 * mimx-anthy.c (AnthyContext): New member ic.
278 (new_context): When something goes wrong, return NULL without
280 (get_context): New function.
281 (init): Pay attention to the case of multiple calls.
283 (convert, change, resize, commit): Use get_context.
285 * mimx-ispell.c (face_available): New variable.
286 (init): Check if GUI APIs are available or not. If not, set
288 (fini): Free a face only if face_available is not zero.
289 (ispell_word): Put face property only if available.
291 2004-10-29 Kenichi Handa <handa@m17n.org>
293 * medit.c (main): Fix handling of "-s" arg.
295 2004-10-12 Kenichi Handa <handa@m17n.org>
297 * medit.c (KeyProc): Cast buf to `unsigned char *'.
298 (FaceProc): Call hide_cursor () at first.
300 2004-09-27 Kenichi Handa <handa@m17n.org>
302 * HELLO.html: Add Sinhala.
304 2004-09-23 Kenichi Handa <handa@m17n.org>
306 * HELLO.utf8, HELLO.xml: Add Sinhala.
308 2004-09-14 Kenichi Handa <handa@m17n.org>
310 * medit.c (update_selection): Fix for the case that the selection
313 2004-08-27 Kenichi Handa <handa@m17n.org>
315 * mdump.c (help_exit): Describe about the arg "-r".
316 (reverse_bit_order, init_reverse_bit_order): Delete them.
317 (main): Handle the arg "-r".
319 2004-08-25 Kenichi Handa <handa@m17n.org>
321 * medit.c: Adjusted for the member name change
322 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
324 * mdump.c: Adjusted for the member name change
325 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
327 2004-08-16 Kenichi Handa <handa@m17n.org>
329 * Version 1.1.0 released.
331 2004-08-15 Kenichi Handa <handa@m17n.org>
333 * MEdit.ja: Add Dhivehi.
335 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
337 * medit.c (covert_selection): Handle explicit request of
339 (ExposeProc): If an initial input method is specifed, activate it.
340 (setup_input_methods): New arg initial_input_method. If it's not
341 NULL, set current_input_method to the corresponding index.
342 (help_exit): Fix help message.
343 (main): Handle --im and -s command args.
345 * mdump.c (help_exit): Fix help message.
347 2004-08-09 Kenichi Handa <handa@m17n.org>
349 * mconv.c (VERSION): Updated to 1.1.
351 * mdate.c (VERSION): Likewise.
353 * medit.c (VERSION): Likewise.
355 * mview.c (VERSION): Likewise.
357 2004-07-28 Kenichi Handa <handa@m17n.org>
359 * HELLO.utf8: Add language names for Telugu and Gujarati.
361 * HELLO.xml: Add language names for Telugu and Gujarati.
363 2004-07-26 Kenichi Handa <handa@m17n.org>
365 * medit.c (redraw_cursor): Fix checking of redrawing area.
366 (set_input_method_spot): Don't check face if the buffer is empty.
367 (show_cursor): Likewise.
368 (delete_char): Fix adjustment of nchars.
369 (CursorProc): Call update_cursor.
371 2004-07-23 Kenichi Handa <handa@m17n.org>
373 * HELLO.xml: Add Myanmar.
375 * HELLO.utf8: Add Myanmar.
377 2004-07-22 Kenichi Handa <handa@m17n.org>
379 * medit.c (get_selection): If decoding fails and *type is not
380 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
382 2004-07-20 Kenichi Handa <handa@m17n.org>
384 * medit.c (main): If frame creation is falied, exit by error.
385 Call M17N_FINI after destroying the application context.
387 2004-07-18 Kenichi Handa <handa@m17n.org>
389 * Makefile.am (common_ldflags): Don't include
390 ${top_srcdir}/src/libm17n-core.la.
392 2004-07-07 Kenichi Handa <handa@m17n.org>
394 * medit.c (Mcoding_compound_text): New variable.
395 (covert_selection): Fix previous change.
396 (main): Set Mcoding_compound_text.
398 2004-07-06 Kenichi Handa <handa@m17n.org>
400 * mdump.c: Cancel previous change.
402 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
403 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
405 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
407 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
408 target is XA_UTF8_STRING, encode by utf-8.
409 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
410 XA_UTF8_STRING, decode by utf-8.
412 2004-07-05 Kenichi Handa <handa@m17n.org>
414 * HELLO.utf8: Add Kannada.
416 2004-06-30 Kenichi Handa <handa@m17n.org>
418 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
420 * Makefile.am (X_LD_FLAGS): New variable.
421 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
423 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
424 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
425 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
427 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
429 * HELLO.utf8: Add Punjabi.
431 2004-06-24 Kenichi Handa <handa@m17n.org>
433 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
434 (libmimx_anthy_la_LDFLAGS): Add -module.
436 2004-06-23 Kenichi Handa <handa@m17n.org>
438 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
441 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
442 of cursor.this.width.
444 2004-06-21 Kenichi Handa <handa@m17n.org>
446 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
449 2004-06-17 Kenichi Handa <handa@m17n.org>
451 * mdump.c (main): Don't set control.as_image to 1.
453 2004-06-16 Kenichi Handa <handa@m17n.org>
455 * mdump.c (main): Fix typo of error message.
457 * medit.c (face_freeserif): New variable.
458 (face_table): Add an entry for freeserif.
459 (main): Initialized and free face_freeserif.
461 2004-06-15 Kenichi Handa <handa@m17n.org>
463 * mdump.c: Add command line arguments --family and --language.
464 (help_exit): Print info about those arguemnts.
465 (main): Make family name to lowercase.
467 2004-06-04 Kenichi Handa <handa@m17n.org>
469 * mconv.c (compare_coding_name): New function.
470 (list_coding): Sort the list of codings by their names.
472 2004-06-03 Kenichi Handa <handa@m17n.org>
474 * medit.c (InputMethodInfo): New type.
475 (input_method_table): Type changed to `InputMethodInfo *'.
476 (select_input_method): Adjusted for the change of
478 (show_cursor): Open an input method here if necessary.
479 (compare_input_method): Adjusted for the change of
481 (setup_input_methods): Likewise. Don't open input methods here
483 (main): Adjusted for the change of input_method_table.
485 * mconv.c (main): Close `in' and `out'.
487 * HELLO.utf8: Fix Greek line.
489 * HELLO.xml: Fix Greek line.
491 2004-05-28 Kenichi Handa <handa@m17n.org>
493 * Makefile.am (VINFO): New variable.
494 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
497 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
498 (main): Use PROGRAM_VERSION.
500 * medit.c (main): Make face_input_status copy of face_default.
502 2004-05-27 Kenichi Handa <handa@m17n.org>
504 * medit.c (show_cursor): Check hline->width and box->width.
505 (main): Set reverse videomode in a face for selection.
507 * mdump.c: Include config.h. Include <gd.h> instead of
508 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
509 function main that just print an error message.
510 (help_exit): Adjusted for the change of spec.
511 (dump_image): Argument changed. Dump PNG image instead of PBM.
512 (main): Adjusted for the change of spec.
514 * Makefile.am (common_ldflags_gui): Renamed from
515 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
516 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
518 * HELLO.xml: Add Bengali.
520 2004-05-21 Kenichi Handa <handa@m17n.org>
522 * HELLO.utf8: Add Bengali.
524 2004-05-20 Kenichi Handa <handa@m17n.org>
526 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
527 (ButtonMoveProc): Don't give control.anti_alias to redraw.
528 (default_face_list): New variable.
529 (FaceProc): If no selection, change the default face.
530 (main): Initialize and finalize default_face_list.
532 2004-04-27 Kenichi Handa <handa@m17n.org>
534 * mimx-ispell.c: Add coding tag euc-jp.
536 * mimx-anthy.c: Add coding tag euc-jp.
538 * medit.c: Add coding tag euc-jp.
539 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
540 (main): Set control.anti_alias to 1.
542 * mdump.c: Add coding tag euc-jp.
544 * mdate.c: Add coding tag euc-jp.
546 * mconv.c: Add coding tag euc-jp.
548 2004-04-20 Kenichi Handa <handa@m17n.org>
550 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
552 (mview_LDFLAGS): Likewise.
554 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
556 2004-03-29 Kenichi Handa <handa@m17n.org>
558 * Version 1.0 Patch Level 2 released.
560 2004-03-19 Kenichi Handa <handa@m17n.org>
562 * Version 1.0 Patch Level 1 released.
564 2004-03-19 Kenichi Handa <handa@m17n.org>
566 * medit.c (VERSION): Changed to 1.0.1.
567 (update_selection): Fix for the case that the selected region is
568 expanded to the opposite direction.
569 (ButtonMoveProc): Likewise.
570 (main): Use alloca instead of malloc for allocating menu names.
571 Free several memory areas and GCs.
573 2004-03-12 Kenichi Handa <handa@m17n.org>
575 * medit.c (input_status_control): New variable.
576 (input_status): Use input_status_control.
577 (main): Initialize input_status_control.
579 2004-03-01 Kenichi Handa <handa@m17n.org>
581 * Version 1.0 released.
584 Copyright (C) 2003, 2004
585 National Institute of Advanced Industrial Science and Technology (AIST)
586 Registration Number H15PRO112
588 This file is part of the m17n library.
590 The m17n library is free software; you can redistribute it and/or
591 modify it under the terms of the GNU Lesser General Public License
592 as published by the Free Software Foundation; either version 2.1 of
593 the License, or (at your option) any later version.
595 The m17n library is distributed in the hope that it will be useful,
596 but WITHOUT ANY WARRANTY; without even the implied warranty of
597 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
598 Lesser General Public License for more details.
600 You should have received a copy of the GNU Lesser General Public
601 License along with the m17n library; if not, write to the Free
602 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA