1 2006-12-06 Kenichi Handa <handa@m17n.org>
3 * Version 1.3.4 released.
5 * mview.c (VERSION): Changed to 1.3.4.
7 * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
9 * mdate.c (VERSION): Changed to 1.3.4.
11 * medit.c (VERSION): Changed to 1.3.4.
13 * mconv.c (VERSION): Changed to 1.3.4.
15 2006-10-27 Kenichi Handa <handa@m17n.org>
17 * medit.c (surrounding_text_handler): Be sure to set surround text
20 2006-10-16 Kenichi Handa <handa@m17n.org>
22 * medit.c (create_menu_button): Set XtNinternational to True.
24 2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net> (tiny change)
26 * Makefile.am (common_ldflags, common_ldflags_gui): Use
29 2006-07-19 TAKAHASHI Naoto <ntakahas@m17n.org>
31 * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
33 2006-06-23 Kenichi Handa <handa@m17n.org>
35 * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
37 * medit.c (show_cursor): Call mlanguage_name to get English name
39 (compare_input_method): Likewise.
42 2006-02-22 Kenichi Handa <handa@m17n.org>
44 * Version 1.3.3 released.
46 2006-02-22 Kenichi Handa <handa@m17n.org>
48 * mview.c: Fix some typo in documention.
50 * medit.c: Fix some typo in documention.
52 * mdump.c: Fix some typo in documention.
54 2006-02-06 Kenichi Handa <handa@m17n.org>
56 * Version 1.3.2 released.
58 2006-02-03 Kenichi Handa <handa@m17n.org>
60 * mdump.c: Describe the supported color names.
62 2006-01-19 Kenichi Handa <handa@m17n.org>
64 * HELLO.utf8: Fix greek.
66 * HELLO.xml: Fix greek.
68 2006-01-17 Kenichi Handa <handa@m17n.org>
70 * mdump.c (main): Use gdImageCreateTrueColor and
71 gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
73 2006-01-16 Kenichi Handa <handa@m17n.org>
75 * Version 1.3.1 released.
77 2006-01-16 Kenichi Handa <handa@m17n.org>
79 * mdump.c (help_exit): Describe -fg, -bg, -r args.
80 (main): Handle -fg, -bg args. Use gdImageCreateTrueColor instead
83 2006-01-05 Kenichi Handa <handa@m17n.org>
85 * HELLO.utf8: Fix Hindi and Oriya.
87 * HELLO.xml: Adjusted for the latest HELLO.utf8.
89 * HELLO.html: Adjusted for the latest HELLO.utf8.
91 * mdate.c (main): Call m17n-view; not mview.
93 2005-12-22 Kenichi Handa <handa@m17n.org>
95 * Version 1.3.0 released.
97 2005-12-06 Kenichi Handa <handa@m17n.org>
99 * medit.c (mt_modified): New variable.
100 (KeyProc): Update screen if input method modified a text.
101 (surrounding_text_handler): Set mt_modified to 1 if a text is
103 (main): Fix handling of --font arg.
105 2005-12-02 Kenichi Handa <handa@m17n.org>
107 * medit.c (main): Handle --font arg.
109 2005-11-21 Kenichi Handa <handa@m17n.org>
111 * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
112 conditionally on WITH_GUI.
114 2005-11-11 Kenichi Handa <handa@m17n.org>
116 * medit.c (surrounding_text_handler): Directly delete characters
117 instead of calling delete_char.
119 2005-11-08 Kenichi Handa <handa@m17n.org>
121 * medit.c (delete_char): Fix the case of deleting the previous
123 (surrounding_text_handler): Check number of characters to delete.
125 2005-11-07 Kenichi Handa <handa@m17n.org>
127 * medit.c (surrounding_text_handler): New function.
128 (setup_input_methods): Add callback functions for surrounding text
131 2005-10-20 Kenichi Handa <handa@m17n.org>
133 * medit.c (setup_input_methods): Ignore an input method of name
136 2005-10-14 Kenichi Handa <handa@m17n.org>
138 * medit.c (main): Don't leave a fontset unfreed.
140 2005-10-03 Kenichi Handa <handa@m17n.org>
142 * mdump.c (main): Make the image tranparent.
144 2005-09-27 Kenichi Handa <handa@m17n.org>
146 * mdump.c (dump_image): If FILTER is "-", print the image to
149 2005-09-22 Kenichi Handa <handa@m17n.org>
151 * medit.c (select_input_method): Open an input method if
152 necessary. Handle left bitmap of input method menus here.
153 (show_cursor): Don't open an input method here.
154 (ExposeProc): Likewise.
155 (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
156 (InputMethodProc): Don't handle left bitmap of input method menus
158 (setup_input_methods): Don't open an input method here.
160 2005-09-16 Kenichi Handa <handa@m17n.org>
162 * medit.c (ButtonProc): Don't reset ic, instead send
163 Minput_focus_move event to the current input method.
164 (FocusInProc, FocusOutProc): New functions.
165 (actions): Add elements for FocusIn and FocusOut.
166 (main): Add elements for FocusIn and FocusOut to trans2.
168 2005-09-12 Kenichi Handa <handa@m17n.org>
170 * medit.c (redraw): Don't redraw an area where not text is
173 2005-09-05 Kenichi Handa <handa@m17n.org>
175 * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
177 * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
179 * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
180 directory listing libraries.
181 (PURIFY, purify_medit, purify_mdate): Define them in maintainer
184 2005-08-22 Kenichi Handa <handa@m17n.org>
186 * mdump.c: Don't include config.h.
192 * mimx-anthy.c: Likewise.
194 * mimx-ispell.c: Likewise.
196 * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
198 2005-08-18 Kenichi Handa <handa@m17n.org>
200 * medit.c (main): Adjusted for the change of symbol's language
201 property (now in lowercase).
203 * mdump.c (main): Handle --fontset arg.
205 2005-05-19 Kenichi Handa <handa@m17n.org>
207 * medit.c (main): Explicitly set minput_driver.
209 2005-04-28 Kenichi Handa <handa@m17n.org>
211 * .cvsignore: Change mXXXX to m17n-XXXX.
213 * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
215 * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
218 * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
221 2005-04-15 Kenichi Handa <handa@m17n.org>
223 * medit.c: Include dlfcn.h.
224 (Mword): New variable.
225 (show_cursor): Check Mlanguage text property of the cursor
227 (delete_char): Pay attention to the change of line beginning
228 position because of filling.
229 (insert_chars): Likewise.
230 (word_constituent_p, forward_word, backward_word): New functions.
231 (KeyProc): Assign XK_b and XK_f for back/foreward word.
232 (line_break): Delete extern.
233 (LineBreakProc): Use mdraw_default_line_break.
234 (FilterProc): New function.
235 (main): Handle --filter arg. Initialize Mword.
237 * mdump.c (main): Set control.line_break to
238 mdraw_default_line_break.
240 * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
241 (m17n_dump_SOURCES): Likewise.
242 (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
243 (m17n_dump_LDADD): Likewise.
245 2005-03-09 Kenichi Handa <handa@m17n.org>
247 * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
249 2005-02-17 Kenichi Handa <handa@m17n.org>
251 * medit.c (setup_input_methods): Fix for the case that no input
254 2005-01-12 Kenichi Handa <handa@m17n.org>
256 * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
257 Myanmar kinzi to the new proposal by Myanmar NLP.
259 2004-12-27 Kenichi Handa <handa@m17n.org>
261 * Version 1.2.0 released.
263 2004-12-27 Kenichi Handa <handa@m17n.org>
265 * M17NEdit.ja: Renamed from MEdit.ja.
267 * Makefile.am: Put prefix "m17n-" instead of single "m" to
269 (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
271 * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
272 changed ("mXXXX" -> "m17n-XXXX").
274 2004-12-21 Kenichi Handa <handa@m17n.org>
276 * medit.c (ButtonProc): Reset the current input method (if
277 activated) and insert the produced text.
278 (KeyProc): Cancel the previous change.
280 2004-12-21 Kenichi Handa <handa@m17n.org>
282 * medit.c (KeyProc): Handle C-\ as resetting input context.
284 2004-12-17 Kenichi Handa <handa@m17n.org>
286 * medit.c (main): Allocagte filename by strdup if not specified.
288 2004-12-10 Kenichi Handa <handa@m17n.org>
290 * mview.c (VERSION): Update to 1.2.0.
292 * medit.c (VERSION): Update to 1.2.0.
293 (main): If filename is not specified, open /dev/null.
295 * mdate.c (VERSION): Update to 1.2.0.
297 * mconv.c (VERSION): Update to 1.2.0.
299 2004-12-09 Kenichi Handa <handa@m17n.org>
301 * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
302 Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
304 2004-12-09 handa <handa@m17n.org>
306 * Makefile.am (common_ldflags): Include libm17n-core.la.
307 (common_ldflags_gui): Include ${common_ldflags}
309 2004-12-03 Kenichi Handa <handa@m17n.org>
311 * mimx-anthy.c (AnthyContext): New member ic.
312 (new_context): When something goes wrong, return NULL without
314 (get_context): New function.
315 (init): Pay attention to the case of multiple calls.
317 (convert, change, resize, commit): Use get_context.
319 * mimx-ispell.c (face_available): New variable.
320 (init): Check if GUI APIs are available or not. If not, set
322 (fini): Free a face only if face_available is not zero.
323 (ispell_word): Put face property only if available.
325 2004-10-29 Kenichi Handa <handa@m17n.org>
327 * medit.c (main): Fix handling of "-s" arg.
329 2004-10-12 Kenichi Handa <handa@m17n.org>
331 * medit.c (KeyProc): Cast buf to `unsigned char *'.
332 (FaceProc): Call hide_cursor () at first.
334 2004-09-27 Kenichi Handa <handa@m17n.org>
336 * HELLO.html: Add Sinhala.
338 2004-09-23 Kenichi Handa <handa@m17n.org>
340 * HELLO.utf8, HELLO.xml: Add Sinhala.
342 2004-09-14 Kenichi Handa <handa@m17n.org>
344 * medit.c (update_selection): Fix for the case that the selection
347 2004-08-27 Kenichi Handa <handa@m17n.org>
349 * mdump.c (help_exit): Describe about the arg "-r".
350 (reverse_bit_order, init_reverse_bit_order): Delete them.
351 (main): Handle the arg "-r".
353 2004-08-25 Kenichi Handa <handa@m17n.org>
355 * medit.c: Adjusted for the member name change
356 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
358 * mdump.c: Adjusted for the member name change
359 (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
361 2004-08-16 Kenichi Handa <handa@m17n.org>
363 * Version 1.1.0 released.
365 2004-08-15 Kenichi Handa <handa@m17n.org>
367 * MEdit.ja: Add Dhivehi.
369 * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
371 * medit.c (covert_selection): Handle explicit request of
373 (ExposeProc): If an initial input method is specifed, activate it.
374 (setup_input_methods): New arg initial_input_method. If it's not
375 NULL, set current_input_method to the corresponding index.
376 (help_exit): Fix help message.
377 (main): Handle --im and -s command args.
379 * mdump.c (help_exit): Fix help message.
381 2004-08-09 Kenichi Handa <handa@m17n.org>
383 * mconv.c (VERSION): Updated to 1.1.
385 * mdate.c (VERSION): Likewise.
387 * medit.c (VERSION): Likewise.
389 * mview.c (VERSION): Likewise.
391 2004-07-28 Kenichi Handa <handa@m17n.org>
393 * HELLO.utf8: Add language names for Telugu and Gujarati.
395 * HELLO.xml: Add language names for Telugu and Gujarati.
397 2004-07-26 Kenichi Handa <handa@m17n.org>
399 * medit.c (redraw_cursor): Fix checking of redrawing area.
400 (set_input_method_spot): Don't check face if the buffer is empty.
401 (show_cursor): Likewise.
402 (delete_char): Fix adjustment of nchars.
403 (CursorProc): Call update_cursor.
405 2004-07-23 Kenichi Handa <handa@m17n.org>
407 * HELLO.xml: Add Myanmar.
409 * HELLO.utf8: Add Myanmar.
411 2004-07-22 Kenichi Handa <handa@m17n.org>
413 * medit.c (get_selection): If decoding fails and *type is not
414 XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
416 2004-07-20 Kenichi Handa <handa@m17n.org>
418 * medit.c (main): If frame creation is falied, exit by error.
419 Call M17N_FINI after destroying the application context.
421 2004-07-18 Kenichi Handa <handa@m17n.org>
423 * Makefile.am (common_ldflags): Don't include
424 ${top_srcdir}/src/libm17n-core.la.
426 2004-07-07 Kenichi Handa <handa@m17n.org>
428 * medit.c (Mcoding_compound_text): New variable.
429 (covert_selection): Fix previous change.
430 (main): Set Mcoding_compound_text.
432 2004-07-06 Kenichi Handa <handa@m17n.org>
434 * mdump.c: Cancel previous change.
436 * Makefile.am (X_LD_FLAGS): Fix the order of linking.
437 (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
439 * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
441 * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
442 target is XA_UTF8_STRING, encode by utf-8.
443 (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
444 XA_UTF8_STRING, decode by utf-8.
446 2004-07-05 Kenichi Handa <handa@m17n.org>
448 * HELLO.utf8: Add Kannada.
450 2004-06-30 Kenichi Handa <handa@m17n.org>
452 * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
454 * Makefile.am (X_LD_FLAGS): New variable.
455 (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
457 (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
458 (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
459 (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
461 2004-06-25 TAKAHASHI Naoto <ntakahas@m17n.org>
463 * HELLO.utf8: Add Punjabi.
465 2004-06-24 Kenichi Handa <handa@m17n.org>
467 * Makefile.am: (libmimx_ispell_la_LDFLAGS)
468 (libmimx_anthy_la_LDFLAGS): Add -module.
470 2004-06-23 Kenichi Handa <handa@m17n.org>
472 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
475 * medit.c (redraw_cursor): Refer to cursor.logical_width instead
476 of cursor.this.width.
478 2004-06-21 Kenichi Handa <handa@m17n.org>
480 * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
483 2004-06-17 Kenichi Handa <handa@m17n.org>
485 * mdump.c (main): Don't set control.as_image to 1.
487 2004-06-16 Kenichi Handa <handa@m17n.org>
489 * mdump.c (main): Fix typo of error message.
491 * medit.c (face_freeserif): New variable.
492 (face_table): Add an entry for freeserif.
493 (main): Initialized and free face_freeserif.
495 2004-06-15 Kenichi Handa <handa@m17n.org>
497 * mdump.c: Add command line arguments --family and --language.
498 (help_exit): Print info about those arguemnts.
499 (main): Make family name to lowercase.
501 2004-06-04 Kenichi Handa <handa@m17n.org>
503 * mconv.c (compare_coding_name): New function.
504 (list_coding): Sort the list of codings by their names.
506 2004-06-03 Kenichi Handa <handa@m17n.org>
508 * medit.c (InputMethodInfo): New type.
509 (input_method_table): Type changed to `InputMethodInfo *'.
510 (select_input_method): Adjusted for the change of
512 (show_cursor): Open an input method here if necessary.
513 (compare_input_method): Adjusted for the change of
515 (setup_input_methods): Likewise. Don't open input methods here
517 (main): Adjusted for the change of input_method_table.
519 * mconv.c (main): Close `in' and `out'.
521 * HELLO.utf8: Fix Greek line.
523 * HELLO.xml: Fix Greek line.
525 2004-05-28 Kenichi Handa <handa@m17n.org>
527 * Makefile.am (VINFO): New variable.
528 (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
531 * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
532 (main): Use PROGRAM_VERSION.
534 * medit.c (main): Make face_input_status copy of face_default.
536 2004-05-27 Kenichi Handa <handa@m17n.org>
538 * medit.c (show_cursor): Check hline->width and box->width.
539 (main): Set reverse videomode in a face for selection.
541 * mdump.c: Include config.h. Include <gd.h> instead of
542 <X11/Xlib.h>. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
543 function main that just print an error message.
544 (help_exit): Adjusted for the change of spec.
545 (dump_image): Argument changed. Dump PNG image instead of PBM.
546 (main): Adjusted for the change of spec.
548 * Makefile.am (common_ldflags_gui): Renamed from
549 common_ldflags_X. Set to .../libm17n-gui.la. Referrer changed.
550 (mdump_LDFLAGS): Include @GD_LD_FLAGS@
552 * HELLO.xml: Add Bengali.
554 2004-05-21 Kenichi Handa <handa@m17n.org>
556 * HELLO.utf8: Add Bengali.
558 2004-05-20 Kenichi Handa <handa@m17n.org>
560 * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
561 (ButtonMoveProc): Don't give control.anti_alias to redraw.
562 (default_face_list): New variable.
563 (FaceProc): If no selection, change the default face.
564 (main): Initialize and finalize default_face_list.
566 2004-04-27 Kenichi Handa <handa@m17n.org>
568 * mimx-ispell.c: Add coding tag euc-jp.
570 * mimx-anthy.c: Add coding tag euc-jp.
572 * medit.c: Add coding tag euc-jp.
573 (ButtonMoveProc): Full redraw if we are using anti-aliased text.
574 (main): Set control.anti_alias to 1.
576 * mdump.c: Add coding tag euc-jp.
578 * mdate.c: Add coding tag euc-jp.
580 * mconv.c: Add coding tag euc-jp.
582 2004-04-20 Kenichi Handa <handa@m17n.org>
584 * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
586 (mview_LDFLAGS): Likewise.
588 * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
590 2004-03-29 Kenichi Handa <handa@m17n.org>
592 * Version 1.0 Patch Level 2 released.
594 2004-03-19 Kenichi Handa <handa@m17n.org>
596 * Version 1.0 Patch Level 1 released.
598 2004-03-19 Kenichi Handa <handa@m17n.org>
600 * medit.c (VERSION): Changed to 1.0.1.
601 (update_selection): Fix for the case that the selected region is
602 expanded to the opposite direction.
603 (ButtonMoveProc): Likewise.
604 (main): Use alloca instead of malloc for allocating menu names.
605 Free several memory areas and GCs.
607 2004-03-12 Kenichi Handa <handa@m17n.org>
609 * medit.c (input_status_control): New variable.
610 (input_status): Use input_status_control.
611 (main): Initialize input_status_control.
613 2004-03-01 Kenichi Handa <handa@m17n.org>
615 * Version 1.0 released.
618 Copyright (C) 2003, 2004
619 National Institute of Advanced Industrial Science and Technology (AIST)
620 Registration Number H15PRO112
622 This file is part of the m17n library.
624 The m17n library is free software; you can redistribute it and/or
625 modify it under the terms of the GNU Lesser General Public License
626 as published by the Free Software Foundation; either version 2.1 of
627 the License, or (at your option) any later version.
629 The m17n library is distributed in the hope that it will be useful,
630 but WITHOUT ANY WARRANTY; without even the implied warranty of
631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
632 Lesser General Public License for more details.
634 You should have received a copy of the GNU Lesser General Public
635 License along with the m17n library; if not, write to the Free
636 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
637 Boston, MA 02110-1301, USA.