Update FSF postal address.
[m17n/m17n-lib.git] / example / ChangeLog
1 2006-12-06  Kenichi Handa  <handa@m17n.org>
2
3         * Version 1.3.4 released.
4
5         * mview.c (VERSION): Changed to 1.3.4.
6
7         * mdump.c (PROGRAM_VERSION): Changed to 1.3.4.
8
9         * mdate.c (VERSION): Changed to 1.3.4.
10
11         * medit.c (VERSION): Changed to 1.3.4.
12
13         * mconv.c (VERSION): Changed to 1.3.4.
14
15 2006-10-27  Kenichi Handa  <handa@m17n.org>
16
17         * medit.c (surrounding_text_handler): Be sure to set surround text
18         even if LEN is zero.
19
20 2006-10-16  Kenichi Handa  <handa@m17n.org>
21
22         * medit.c (create_menu_button): Set XtNinternational to True.
23
24 2006-08-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>  (tiny change)
25
26         * Makefile.am (common_ldflags, common_ldflags_gui): Use
27         ${top_builddir}.
28
29 2006-07-19  TAKAHASHI Naoto  <ntakahas@m17n.org>
30
31         * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
32
33 2006-06-23  Kenichi Handa  <handa@m17n.org>
34
35         * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
36
37         * medit.c (show_cursor): Call mlanguage_name to get English name
38         of language.
39         (compare_input_method): Likewise.
40         (main): Likewise.
41
42 2006-02-22  Kenichi Handa  <handa@m17n.org>
43
44         * Version 1.3.3 released.
45
46 2006-02-22  Kenichi Handa  <handa@m17n.org>
47
48         * mview.c: Fix some typo in documention.
49
50         * medit.c: Fix some typo in documention.
51
52         * mdump.c: Fix some typo in documention.
53
54 2006-02-06  Kenichi Handa  <handa@m17n.org>
55
56         * Version 1.3.2 released.
57
58 2006-02-03  Kenichi Handa  <handa@m17n.org>
59
60         * mdump.c: Describe the supported color names.
61
62 2006-01-19  Kenichi Handa  <handa@m17n.org>
63
64         * HELLO.utf8: Fix greek.
65
66         * HELLO.xml: Fix greek.
67
68 2006-01-17  Kenichi Handa  <handa@m17n.org>
69
70         * mdump.c (main): Use gdImageCreateTrueColor and
71         gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
72
73 2006-01-16  Kenichi Handa  <handa@m17n.org>
74
75         * Version 1.3.1 released.
76
77 2006-01-16  Kenichi Handa  <handa@m17n.org>
78
79         * mdump.c (help_exit): Describe -fg, -bg, -r args.
80         (main): Handle -fg, -bg args.  Use gdImageCreateTrueColor instead
81         of gdImageCreate.
82
83 2006-01-05  Kenichi Handa  <handa@m17n.org>
84
85         * HELLO.utf8: Fix Hindi and Oriya.
86
87         * HELLO.xml: Adjusted for the latest HELLO.utf8.
88
89         * HELLO.html: Adjusted for the latest HELLO.utf8.
90
91         * mdate.c (main): Call m17n-view; not mview.
92
93 2005-12-22  Kenichi Handa  <handa@m17n.org>
94
95         * Version 1.3.0 released.
96
97 2005-12-06  Kenichi Handa  <handa@m17n.org>
98
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
102         deleted.
103         (main): Fix handling of --font arg.
104
105 2005-12-02  Kenichi Handa  <handa@m17n.org>
106
107         * medit.c (main): Handle --font arg.
108
109 2005-11-21  Kenichi Handa  <handa@m17n.org>
110
111         * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
112         conditionally on WITH_GUI.
113
114 2005-11-11  Kenichi Handa  <handa@m17n.org>
115
116         * medit.c (surrounding_text_handler): Directly delete characters
117         instead of calling delete_char.
118
119 2005-11-08  Kenichi Handa  <handa@m17n.org>
120
121         * medit.c (delete_char): Fix the case of deleting the previous
122         multiple characters.
123         (surrounding_text_handler): Check number of characters to delete.
124
125 2005-11-07  Kenichi Handa  <handa@m17n.org>
126
127         * medit.c (surrounding_text_handler): New function.
128         (setup_input_methods): Add callback functions for surrounding text
129         handling.
130
131 2005-10-20  Kenichi Handa  <handa@m17n.org>
132
133         * medit.c (setup_input_methods): Ignore an input method of name
134         nil.
135
136 2005-10-14  Kenichi Handa  <handa@m17n.org>
137
138         * medit.c (main): Don't leave a fontset unfreed.
139
140 2005-10-03  Kenichi Handa  <handa@m17n.org>
141
142         * mdump.c (main): Make the image tranparent.
143
144 2005-09-27  Kenichi Handa  <handa@m17n.org>
145
146         * mdump.c (dump_image): If FILTER is "-", print the image to
147         stdout.
148
149 2005-09-22  Kenichi Handa  <handa@m17n.org>
150
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
157         here.
158         (setup_input_methods): Don't open an input method here.
159
160 2005-09-16  Kenichi Handa  <handa@m17n.org>
161
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.
167
168 2005-09-12  Kenichi Handa  <handa@m17n.org>
169
170         * medit.c (redraw): Don't redraw an area where not text is
171         displayed.
172
173 2005-09-05  Kenichi Handa  <handa@m17n.org>
174
175         * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
176
177         * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
178
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
182         mode.
183
184 2005-08-22  Kenichi Handa  <handa@m17n.org>
185
186         * mdump.c: Don't include config.h.
187
188         * medit.c: Likewise.
189
190         * mview.c: Likewise.
191
192         * mimx-anthy.c: Likewise.
193
194         * mimx-ispell.c: Likewise.
195
196         * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
197
198 2005-08-18  Kenichi Handa  <handa@m17n.org>
199
200         * medit.c (main): Adjusted for the change of symbol's language
201         property (now in lowercase).
202
203         * mdump.c (main): Handle --fontset arg.
204
205 2005-05-19  Kenichi Handa  <handa@m17n.org>
206
207         * medit.c (main): Explicitly set minput_driver.
208
209 2005-04-28  Kenichi Handa  <handa@m17n.org>
210
211         * .cvsignore: Change mXXXX to m17n-XXXX.
212
213         * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
214
215         * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
216         add dummy code.
217
218         * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
219         add dummy code.
220
221 2005-04-15  Kenichi Handa  <handa@m17n.org>
222
223         * medit.c: Include dlfcn.h.
224         (Mword): New variable.
225         (show_cursor): Check Mlanguage text property of the cursor
226         position only.
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.  
236
237         * mdump.c (main): Set control.line_break to
238         mdraw_default_line_break.
239
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.
244
245 2005-03-09  Kenichi Handa  <handa@m17n.org>
246
247         * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
248
249 2005-02-17  Kenichi Handa  <handa@m17n.org>
250
251         * medit.c (setup_input_methods): Fix for the case that no input
252         method is available.
253
254 2005-01-12  Kenichi Handa  <handa@m17n.org>
255
256         * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
257         Myanmar kinzi to the new proposal by Myanmar NLP.
258
259 2004-12-27  Kenichi Handa  <handa@m17n.org>
260
261         * Version 1.2.0 released.
262
263 2004-12-27  Kenichi Handa  <handa@m17n.org>
264
265         * M17NEdit.ja: Renamed from MEdit.ja.
266
267         * Makefile.am: Put prefix "m17n-" instead of single "m" to
268         executables.
269         (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
270
271         * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
272         changed ("mXXXX" -> "m17n-XXXX").
273
274 2004-12-21  Kenichi Handa  <handa@m17n.org>
275
276         * medit.c (ButtonProc): Reset the current input method (if
277         activated) and insert the produced text.
278         (KeyProc): Cancel the previous change.
279
280 2004-12-21  Kenichi Handa  <handa@m17n.org>
281
282         * medit.c (KeyProc): Handle C-\ as resetting input context.
283
284 2004-12-17  Kenichi Handa  <handa@m17n.org>
285
286         * medit.c (main): Allocagte filename by strdup if not specified.
287
288 2004-12-10  Kenichi Handa  <handa@m17n.org>
289
290         * mview.c (VERSION): Update to 1.2.0.
291
292         * medit.c (VERSION): Update to 1.2.0.
293         (main): If filename is not specified, open /dev/null.
294
295         * mdate.c (VERSION): Update to 1.2.0.
296
297         * mconv.c (VERSION): Update to 1.2.0.
298
299 2004-12-09  Kenichi Handa  <handa@m17n.org>
300
301         * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
302         Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
303
304 2004-12-09  handa  <handa@m17n.org>
305
306         * Makefile.am (common_ldflags): Include libm17n-core.la.
307         (common_ldflags_gui): Include ${common_ldflags}
308         
309 2004-12-03  Kenichi Handa  <handa@m17n.org>
310
311         * mimx-anthy.c (AnthyContext): New member ic.
312         (new_context): When something goes wrong, return NULL without
313         creating a context.
314         (get_context): New function.
315         (init): Pay attention to the case of multiple calls.
316         (fini): Likewise.
317         (convert, change, resize, commit): Use get_context.
318
319         * mimx-ispell.c (face_available): New variable.
320         (init): Check if GUI APIs are available or not.  If not, set
321         face_available to 0.
322         (fini): Free a face only if face_available is not zero.
323         (ispell_word): Put face property only if available.
324
325 2004-10-29  Kenichi Handa  <handa@m17n.org>
326
327         * medit.c (main): Fix handling of "-s" arg.
328
329 2004-10-12  Kenichi Handa  <handa@m17n.org>
330
331         * medit.c (KeyProc): Cast buf to `unsigned char *'.
332         (FaceProc): Call hide_cursor () at first.
333
334 2004-09-27  Kenichi Handa  <handa@m17n.org>
335
336         * HELLO.html: Add Sinhala.
337
338 2004-09-23  Kenichi Handa  <handa@m17n.org>
339
340         * HELLO.utf8, HELLO.xml: Add Sinhala.
341
342 2004-09-14  Kenichi Handa  <handa@m17n.org>
343
344         * medit.c (update_selection): Fix for the case that the selection
345         is just one line.
346
347 2004-08-27  Kenichi Handa  <handa@m17n.org>
348
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".
352
353 2004-08-25  Kenichi Handa  <handa@m17n.org>
354
355         * medit.c: Adjusted for the member name change
356         (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
357
358         * mdump.c: Adjusted for the member name change
359         (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
360
361 2004-08-16  Kenichi Handa  <handa@m17n.org>
362
363         * Version 1.1.0 released.
364
365 2004-08-15  Kenichi Handa  <handa@m17n.org>
366
367         * MEdit.ja: Add Dhivehi.
368
369         * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
370
371         * medit.c (covert_selection): Handle explicit request of
372         UTF8_STRING.
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.
378
379         * mdump.c (help_exit): Fix help message.
380
381 2004-08-09  Kenichi Handa  <handa@m17n.org>
382
383         * mconv.c (VERSION): Updated to 1.1.
384
385         * mdate.c (VERSION): Likewise.
386
387         * medit.c (VERSION): Likewise.
388
389         * mview.c (VERSION): Likewise.
390
391 2004-07-28  Kenichi Handa  <handa@m17n.org>
392
393         * HELLO.utf8: Add language names for Telugu and Gujarati.
394
395         * HELLO.xml: Add language names for Telugu and Gujarati.
396
397 2004-07-26  Kenichi Handa  <handa@m17n.org>
398
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.
404
405 2004-07-23  Kenichi Handa  <handa@m17n.org>
406
407         * HELLO.xml: Add Myanmar.
408
409         * HELLO.utf8: Add Myanmar.
410
411 2004-07-22  Kenichi Handa  <handa@m17n.org>
412
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.
415
416 2004-07-20  Kenichi Handa  <handa@m17n.org>
417
418         * medit.c (main): If frame creation is falied, exit by error.
419         Call M17N_FINI after destroying the application context.
420
421 2004-07-18  Kenichi Handa  <handa@m17n.org>
422
423         * Makefile.am (common_ldflags): Don't include
424         ${top_srcdir}/src/libm17n-core.la.
425
426 2004-07-07  Kenichi Handa  <handa@m17n.org>
427
428         * medit.c (Mcoding_compound_text): New variable.
429         (covert_selection): Fix previous change.
430         (main): Set Mcoding_compound_text.
431
432 2004-07-06  Kenichi Handa  <handa@m17n.org>
433
434         * mdump.c: Cancel previous change.
435
436         * Makefile.am (X_LD_FLAGS): Fix the order of linking.
437         (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
438
439         * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
440
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.
445
446 2004-07-05  Kenichi Handa  <handa@m17n.org>
447
448         * HELLO.utf8: Add Kannada.
449
450 2004-06-30  Kenichi Handa  <handa@m17n.org>
451
452         * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
453
454         * Makefile.am (X_LD_FLAGS): New variable.
455         (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
456         libraries.
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@.
460
461 2004-06-25  TAKAHASHI Naoto  <ntakahas@m17n.org>
462
463         * HELLO.utf8: Add Punjabi.
464
465 2004-06-24  Kenichi Handa  <handa@m17n.org>
466
467         * Makefile.am: (libmimx_ispell_la_LDFLAGS)
468         (libmimx_anthy_la_LDFLAGS): Add -module.
469
470 2004-06-23  Kenichi Handa  <handa@m17n.org>
471
472         * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
473         change.
474
475         * medit.c (redraw_cursor): Refer to cursor.logical_width instead
476         of cursor.this.width.
477
478 2004-06-21  Kenichi Handa  <handa@m17n.org>
479
480         * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
481         -lXt.
482
483 2004-06-17  Kenichi Handa  <handa@m17n.org>
484
485         * mdump.c (main): Don't set control.as_image to 1.
486
487 2004-06-16  Kenichi Handa  <handa@m17n.org>
488
489         * mdump.c (main): Fix typo of error message.
490
491         * medit.c (face_freeserif): New variable.
492         (face_table): Add an entry for freeserif.
493         (main): Initialized and free face_freeserif.
494
495 2004-06-15  Kenichi Handa  <handa@m17n.org>
496
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.
500
501 2004-06-04  Kenichi Handa  <handa@m17n.org>
502
503         * mconv.c (compare_coding_name): New function.
504         (list_coding): Sort the list of codings by their names.
505
506 2004-06-03  Kenichi Handa  <handa@m17n.org>
507
508         * medit.c (InputMethodInfo): New type.
509         (input_method_table): Type changed to `InputMethodInfo *'.
510         (select_input_method): Adjusted for the change of
511         input_method_table.
512         (show_cursor): Open an input method here if necessary.
513         (compare_input_method): Adjusted for the change of
514         input_method_table.
515         (setup_input_methods): Likewise.  Don't open input methods here
516         except for XIM.
517         (main): Adjusted for the change of input_method_table.
518
519         * mconv.c (main): Close `in' and `out'.
520
521         * HELLO.utf8: Fix Greek line.
522
523         * HELLO.xml: Fix Greek line.
524
525 2004-05-28  Kenichi Handa  <handa@m17n.org>
526
527         * Makefile.am (VINFO): New variable.
528         (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
529         ${VINFO}.
530
531         * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
532         (main): Use PROGRAM_VERSION.
533
534         * medit.c (main): Make face_input_status copy of face_default.
535
536 2004-05-27  Kenichi Handa  <handa@m17n.org>
537
538         * medit.c (show_cursor): Check hline->width and box->width.
539         (main): Set reverse videomode in a face for selection.
540
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.
547
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@
551
552         * HELLO.xml:  Add Bengali.
553
554 2004-05-21  Kenichi Handa  <handa@m17n.org>
555
556         * HELLO.utf8: Add Bengali.
557
558 2004-05-20  Kenichi Handa  <handa@m17n.org>
559
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.
565
566 2004-04-27  Kenichi Handa  <handa@m17n.org>
567
568         * mimx-ispell.c: Add coding tag euc-jp.
569
570         * mimx-anthy.c: Add coding tag euc-jp.
571
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. 
575
576         * mdump.c: Add coding tag euc-jp.
577
578         * mdate.c: Add coding tag euc-jp.
579
580         * mconv.c: Add coding tag euc-jp.
581
582 2004-04-20  Kenichi Handa  <handa@m17n.org>
583
584         * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
585         X_EXTRA_LIBS.
586         (mview_LDFLAGS): Likewise.
587
588         * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
589
590 2004-03-29  Kenichi Handa  <handa@m17n.org>
591
592         * Version 1.0 Patch Level 2 released.
593
594 2004-03-19  Kenichi Handa  <handa@m17n.org>
595
596         * Version 1.0 Patch Level 1 released.
597
598 2004-03-19  Kenichi Handa  <handa@m17n.org>
599
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.
606
607 2004-03-12  Kenichi Handa  <handa@m17n.org>
608
609         * medit.c (input_status_control): New variable.
610         (input_status): Use input_status_control.
611         (main): Initialize input_status_control.
612
613 2004-03-01  Kenichi Handa  <handa@m17n.org>
614
615         * Version 1.0 released.
616
617 \f
618 Copyright (C) 2003, 2004
619   National Institute of Advanced Industrial Science and Technology (AIST)
620   Registration Number H15PRO112
621
622 This file is part of the m17n library.
623
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.
628
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.
633
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.