1 2006-10-27 Kenichi Handa <handa@m17n.org>
3 * medit.c (surrounding_text_handler): Be sure to set surround text
6 2006-10-16 Kenichi Handa <handa@m17n.org>
8 * medit.c (create_menu_button): Set XtNinternational to True.
10 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
12 * Makefile.am (common_ldflags, common_ldflags_gui): Use
15 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
17 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
19 2006-06-23 Kenichi Handa <handa@m17n.org>
21 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
23 * medit.c (show_cursor): Call mlanguage_name to get English name
25 (compare_input_method): Likewise.
28 2006-02-22 Kenichi Handa <handa@m17n.org>
30 * Version 1.3.3 released.
32 2006-02-22 Kenichi Handa <handa@m17n.org>
34 * mview.c: Fix some typo in documention.
36 * medit.c: Fix some typo in documention.
38 * mdump.c: Fix some typo in documention.
40 2006-02-06 Kenichi Handa <handa@m17n.org>
42 * Version 1.3.2 released.
44 2006-02-03 Kenichi Handa <handa@m17n.org>
46 * mdump.c: Describe the supported color names.
48 2006-01-19 Kenichi Handa <handa@m17n.org>
50 * HELLO.utf8: Fix greek.
52 * HELLO.xml: Fix greek.
54 2006-01-17 Kenichi Handa <handa@m17n.org>
56 * mdump.c (main): Use gdImageCreateTrueColor and
57 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
59 2006-01-16 Kenichi Handa <handa@m17n.org>
61 * Version 1.3.1 released.
63 2006-01-16 Kenichi Handa <handa@m17n.org>
65 * mdump.c (help_exit): Describe -fg, -bg, -r args.
66 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
69 2006-01-05 Kenichi Handa <handa@m17n.org>
71 * HELLO.utf8: Fix Hindi and Oriya.
73 * HELLO.xml: Adjusted for the latest HELLO.utf8.
75 * HELLO.html: Adjusted for the latest HELLO.utf8.
77 * mdate.c (main): Call m17n-view; not mview.
79 2005-12-22 Kenichi Handa <handa@m17n.org>
81 * Version 1.3.0 released.
83 2005-12-06 Kenichi Handa <handa@m17n.org>
85 * medit.c (mt_modified): New variable.
86 (KeyProc): Update screen if input method modified a text.
87 (surrounding_text_handler): Set mt_modified to 1 if a text is
89 (main): Fix handling of --font arg.
91 2005-12-02 Kenichi Handa <handa@m17n.org>
93 * medit.c (main): Handle --font arg.
95 2005-11-21 Kenichi Handa <handa@m17n.org>
97 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
98 conditionally on WITH_GUI.
100 2005-11-11 Kenichi Handa <handa@m17n.org>
102 * medit.c (surrounding_text_handler): Directly delete characters
103 instead of calling delete_char.
105 2005-11-08 Kenichi Handa <handa@m17n.org>
107 * medit.c (delete_char): Fix the case of deleting the previous
109 (surrounding_text_handler): Check number of characters to delete.
111 2005-11-07 Kenichi Handa <handa@m17n.org>
113 * medit.c (surrounding_text_handler): New function.
114 (setup_input_methods): Add callback functions for surrounding text
117 2005-10-20 Kenichi Handa <handa@m17n.org>
119 * medit.c (setup_input_methods): Ignore an input method of name
122 2005-10-14 Kenichi Handa <handa@m17n.org>
124 * medit.c (main): Don't leave a fontset unfreed.
126 2005-10-03 Kenichi Handa <handa@m17n.org>
128 * mdump.c (main): Make the image tranparent.
130 2005-09-27 Kenichi Handa <handa@m17n.org>
132 * mdump.c (dump_image): If FILTER is "-", print the image to
135 2005-09-22 Kenichi Handa <handa@m17n.org>
137 * medit.c (select_input_method): Open an input method if
138 necessary. Handle left bitmap of input method menus here.
139 (show_cursor): Don't open an input method here.
140 (ExposeProc): Likewise.
141 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
142 (InputMethodProc): Don't handle left bitmap of input method menus
144 (setup_input_methods): Don't open an input method here.
146 2005-09-16 Kenichi Handa <handa@m17n.org>
148 * medit.c (ButtonProc): Don't reset ic, instead send
149 Minput_focus_move event to the current input method.
150 (FocusInProc, FocusOutProc): New functions.
151 (actions): Add elements for FocusIn and FocusOut.
152 (main): Add elements for FocusIn and FocusOut to trans2.
154 2005-09-12 Kenichi Handa <handa@m17n.org>
156 * medit.c (redraw): Don't redraw an area where not text is
159 2005-09-05 Kenichi Handa <handa@m17n.org>
161 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
163 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
165 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
166 directory listing libraries.
167 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
170 2005-08-22 Kenichi Handa <handa@m17n.org>
172 * mdump.c: Don't include config.h.
178 * mimx-anthy.c: Likewise.
180 * mimx-ispell.c: Likewise.
182 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
184 2005-08-18 Kenichi Handa <handa@m17n.org>
186 * medit.c (main): Adjusted for the change of symbol's language
187 property (now in lowercase).
189 * mdump.c (main): Handle --fontset arg.
191 2005-05-19 Kenichi Handa <handa@m17n.org>
193 * medit.c (main): Explicitly set minput_driver.
195 2005-04-28 Kenichi Handa <handa@m17n.org>
197 * .cvsignore: Change mXXXX to m17n-XXXX.
199 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
201 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
204 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
207 2005-04-15 Kenichi Handa <handa@m17n.org>
209 * medit.c: Include dlfcn.h.
210 (Mword): New variable.
211 (show_cursor): Check Mlanguage text property of the cursor
213 (delete_char): Pay attention to the change of line beginning
214 position because of filling.
215 (insert_chars): Likewise.
216 (word_constituent_p, forward_word, backward_word): New functions.
217 (KeyProc): Assign XK_b and XK_f for back/foreward word.
218 (line_break): Delete extern.
219 (LineBreakProc): Use mdraw_default_line_break.
220 (FilterProc): New function.
221 (main): Handle --filter arg. Initialize Mword.
223 * mdump.c (main): Set control.line_break to
224 mdraw_default_line_break.
226 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
227 (m17n_dump_SOURCES): Likewise.
228 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
229 (m17n_dump_LDADD): Likewise.
231 2005-03-09 Kenichi Handa <handa@m17n.org>
233 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
235 2005-02-17 Kenichi Handa <handa@m17n.org>
237 * medit.c (setup_input_methods): Fix for the case that no input
240 2005-01-12 Kenichi Handa <handa@m17n.org>
242 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
243 Myanmar kinzi to the new proposal by Myanmar NLP.
245 2004-12-27 Kenichi Handa <handa@m17n.org>
247 * Version 1.2.0 released.
249 2004-12-27 Kenichi Handa <handa@m17n.org>
251 * M17NEdit.ja: Renamed from MEdit.ja.
253 * Makefile.am: Put prefix "m17n-" instead of single "m" to
255 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
257 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
258 changed ("mXXXX" -> "m17n-XXXX").
260 2004-12-21 Kenichi Handa <handa@m17n.org>
262 * medit.c (ButtonProc): Reset the current input method (if
263 activated) and insert the produced text.
264 (KeyProc): Cancel the previous change.
266 2004-12-21 Kenichi Handa <handa@m17n.org>
268 * medit.c (KeyProc): Handle C-\ as resetting input context.
270 2004-12-17 Kenichi Handa <handa@m17n.org>
272 * medit.c (main): Allocagte filename by strdup if not specified.
274 2004-12-10 Kenichi Handa <handa@m17n.org>
276 * mview.c (VERSION): Update to 1.2.0.
278 * medit.c (VERSION): Update to 1.2.0.
279 (main): If filename is not specified, open /dev/null.
281 * mdate.c (VERSION): Update to 1.2.0.
283 * mconv.c (VERSION): Update to 1.2.0.
285 2004-12-09 Kenichi Handa <handa@m17n.org>
287 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
288 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
290 2004-12-09 handa <handa@m17n.org>
292 * Makefile.am (common_ldflags): Include libm17n-core.la.
293 (common_ldflags_gui): Include ${common_ldflags}
295 2004-12-03 Kenichi Handa <handa@m17n.org>
297 * mimx-anthy.c (AnthyContext): New member ic.
298 (new_context): When something goes wrong, return NULL without
300 (get_context): New function.
301 (init): Pay attention to the case of multiple calls.
303 (convert, change, resize, commit): Use get_context.
305 * mimx-ispell.c (face_available): New variable.
306 (init): Check if GUI APIs are available or not. If not, set
308 (fini): Free a face only if face_available is not zero.
309 (ispell_word): Put face property only if available.
311 2004-10-29 Kenichi Handa <handa@m17n.org>
313 * medit.c (main): Fix handling of "-s" arg.
315 2004-10-12 Kenichi Handa <handa@m17n.org>
317 * medit.c (KeyProc): Cast buf to `unsigned char *'.
318 (FaceProc): Call hide_cursor () at first.
320 2004-09-27 Kenichi Handa <handa@m17n.org>
322 * HELLO.html: Add Sinhala.
324 2004-09-23 Kenichi Handa <handa@m17n.org>
326 * HELLO.utf8, HELLO.xml: Add Sinhala.
328 2004-09-14 Kenichi Handa <handa@m17n.org>
330 * medit.c (update_selection): Fix for the case that the selection
333 2004-08-27 Kenichi Handa <handa@m17n.org>
335 * mdump.c (help_exit): Describe about the arg "-r".
336 (reverse_bit_order, init_reverse_bit_order): Delete them.
337 (main): Handle the arg "-r".
339 2004-08-25 Kenichi Handa <handa@m17n.org>
341 * medit.c: Adjusted for the member name change
342 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
344 * mdump.c: Adjusted for the member name change
345 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
347 2004-08-16 Kenichi Handa <handa@m17n.org>
349 * Version 1.1.0 released.
351 2004-08-15 Kenichi Handa <handa@m17n.org>
353 * MEdit.ja: Add Dhivehi.
355 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
357 * medit.c (covert_selection): Handle explicit request of
359 (ExposeProc): If an initial input method is specifed, activate it.
360 (setup_input_methods): New arg initial_input_method. If it's not
361 NULL, set current_input_method to the corresponding index.
362 (help_exit): Fix help message.
363 (main): Handle --im and -s command args.
365 * mdump.c (help_exit): Fix help message.
367 2004-08-09 Kenichi Handa <handa@m17n.org>
369 * mconv.c (VERSION): Updated to 1.1.
371 * mdate.c (VERSION): Likewise.
373 * medit.c (VERSION): Likewise.
375 * mview.c (VERSION): Likewise.
377 2004-07-28 Kenichi Handa <handa@m17n.org>
379 * HELLO.utf8: Add language names for Telugu and Gujarati.
381 * HELLO.xml: Add language names for Telugu and Gujarati.
383 2004-07-26 Kenichi Handa <handa@m17n.org>
385 * medit.c (redraw_cursor): Fix checking of redrawing area.
386 (set_input_method_spot): Don't check face if the buffer is empty.
387 (show_cursor): Likewise.
388 (delete_char): Fix adjustment of nchars.
389 (CursorProc): Call update_cursor.
391 2004-07-23 Kenichi Handa <handa@m17n.org>
393 * HELLO.xml: Add Myanmar.
395 * HELLO.utf8: Add Myanmar.
397 2004-07-22 Kenichi Handa <handa@m17n.org>
399 * medit.c (get_selection): If decoding fails and *type is not
400 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
402 2004-07-20 Kenichi Handa <handa@m17n.org>
404 * medit.c (main): If frame creation is falied, exit by error.
405 Call M17N_FINI after destroying the application context.
407 2004-07-18 Kenichi Handa <handa@m17n.org>
409 * Makefile.am (common_ldflags): Don't include
410 ${top_srcdir}/src/libm17n-core.la.
412 2004-07-07 Kenichi Handa <handa@m17n.org>
414 * medit.c (Mcoding_compound_text): New variable.
415 (covert_selection): Fix previous change.
416 (main): Set Mcoding_compound_text.
418 2004-07-06 Kenichi Handa <handa@m17n.org>
420 * mdump.c: Cancel previous change.
422 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
423 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
425 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
427 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
428 target is XA_UTF8_STRING, encode by utf-8.
429 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
430 XA_UTF8_STRING, decode by utf-8.
432 2004-07-05 Kenichi Handa <handa@m17n.org>
434 * HELLO.utf8: Add Kannada.
436 2004-06-30 Kenichi Handa <handa@m17n.org>
438 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
440 * Makefile.am (X_LD_FLAGS): New variable.
441 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
443 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
444 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
445 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
447 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
449 * HELLO.utf8: Add Punjabi.
451 2004-06-24 Kenichi Handa <handa@m17n.org>
453 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
454 (libmimx_anthy_la_LDFLAGS): Add -module.
456 2004-06-23 Kenichi Handa <handa@m17n.org>
458 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
461 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
462 of cursor.this.width.
464 2004-06-21 Kenichi Handa <handa@m17n.org>
466 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
469 2004-06-17 Kenichi Handa <handa@m17n.org>
471 * mdump.c (main): Don't set control.as_image to 1.
473 2004-06-16 Kenichi Handa <handa@m17n.org>
475 * mdump.c (main): Fix typo of error message.
477 * medit.c (face_freeserif): New variable.
478 (face_table): Add an entry for freeserif.
479 (main): Initialized and free face_freeserif.
481 2004-06-15 Kenichi Handa <handa@m17n.org>
483 * mdump.c: Add command line arguments --family and --language.
484 (help_exit): Print info about those arguemnts.
485 (main): Make family name to lowercase.
487 2004-06-04 Kenichi Handa <handa@m17n.org>
489 * mconv.c (compare_coding_name): New function.
490 (list_coding): Sort the list of codings by their names.
492 2004-06-03 Kenichi Handa <handa@m17n.org>
494 * medit.c (InputMethodInfo): New type.
495 (input_method_table): Type changed to `InputMethodInfo *'.
496 (select_input_method): Adjusted for the change of
498 (show_cursor): Open an input method here if necessary.
499 (compare_input_method): Adjusted for the change of
501 (setup_input_methods): Likewise. Don't open input methods here
503 (main): Adjusted for the change of input_method_table.
505 * mconv.c (main): Close `in' and `out'.
507 * HELLO.utf8: Fix Greek line.
509 * HELLO.xml: Fix Greek line.
511 2004-05-28 Kenichi Handa <handa@m17n.org>
513 * Makefile.am (VINFO): New variable.
514 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
517 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
518 (main): Use PROGRAM_VERSION.
520 * medit.c (main): Make face_input_status copy of face_default.
522 2004-05-27 Kenichi Handa <handa@m17n.org>
524 * medit.c (show_cursor): Check hline->width and box->width.
525 (main): Set reverse videomode in a face for selection.
527 * mdump.c: Include config.h. Include <gd.h> instead of
528 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
529 function main that just print an error message.
530 (help_exit): Adjusted for the change of spec.
531 (dump_image): Argument changed. Dump PNG image instead of PBM.
532 (main): Adjusted for the change of spec.
534 * Makefile.am (common_ldflags_gui): Renamed from
535 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
536 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
538 * HELLO.xml: Add Bengali.
540 2004-05-21 Kenichi Handa <handa@m17n.org>
542 * HELLO.utf8: Add Bengali.
544 2004-05-20 Kenichi Handa <handa@m17n.org>
546 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
547 (ButtonMoveProc): Don't give control.anti_alias to redraw.
548 (default_face_list): New variable.
549 (FaceProc): If no selection, change the default face.
550 (main): Initialize and finalize default_face_list.
552 2004-04-27 Kenichi Handa <handa@m17n.org>
554 * mimx-ispell.c: Add coding tag euc-jp.
556 * mimx-anthy.c: Add coding tag euc-jp.
558 * medit.c: Add coding tag euc-jp.
559 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
560 (main): Set control.anti_alias to 1.
562 * mdump.c: Add coding tag euc-jp.
564 * mdate.c: Add coding tag euc-jp.
566 * mconv.c: Add coding tag euc-jp.
568 2004-04-20 Kenichi Handa <handa@m17n.org>
570 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
572 (mview_LDFLAGS): Likewise.
574 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
576 2004-03-29 Kenichi Handa <handa@m17n.org>
578 * Version 1.0 Patch Level 2 released.
580 2004-03-19 Kenichi Handa <handa@m17n.org>
582 * Version 1.0 Patch Level 1 released.
584 2004-03-19 Kenichi Handa <handa@m17n.org>
586 * medit.c (VERSION): Changed to 1.0.1.
587 (update_selection): Fix for the case that the selected region is
588 expanded to the opposite direction.
589 (ButtonMoveProc): Likewise.
590 (main): Use alloca instead of malloc for allocating menu names.
591 Free several memory areas and GCs.
593 2004-03-12 Kenichi Handa <handa@m17n.org>
595 * medit.c (input_status_control): New variable.
596 (input_status): Use input_status_control.
597 (main): Initialize input_status_control.
599 2004-03-01 Kenichi Handa <handa@m17n.org>
601 * Version 1.0 released.
604 Copyright (C) 2003, 2004
605 National Institute of Advanced Industrial Science and Technology (AIST)
606 Registration Number H15PRO112
608 This file is part of the m17n library.
610 The m17n library is free software; you can redistribute it and/or
611 modify it under the terms of the GNU Lesser General Public License
612 as published by the Free Software Foundation; either version 2.1 of
613 the License, or (at your option) any later version.
615 The m17n library is distributed in the hope that it will be useful,
616 but WITHOUT ANY WARRANTY; without even the implied warranty of
617 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
618 Lesser General Public License for more details.
620 You should have received a copy of the GNU Lesser General Public
621 License along with the m17n library; if not, write to the Free
622 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA