*** empty log message ***
[m17n/m17n-lib.git] / example / ChangeLog
1 2006-12-06  Kenichi Handa  <handa@m17n.org>
2
3         * Version 1.3.4 released.
4
5 2006-10-27  Kenichi Handa  <handa@m17n.org>
6
7         * medit.c (surrounding_text_handler): Be sure to set surround text
8         even if LEN is zero.
9
10 2006-10-16  Kenichi Handa  <handa@m17n.org>
11
12         * medit.c (create_menu_button): Set XtNinternational to True.
13
14 2006-08-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>  (tiny change)
15
16         * Makefile.am (common_ldflags, common_ldflags_gui): Use
17         ${top_builddir}.
18
19 2006-07-19  TAKAHASHI Naoto  <ntakahas@m17n.org>
20
21         * HELLO.utf8, HELLO.html, HELLO.xml: Add final sukun to Arabic.
22
23 2006-06-23  Kenichi Handa  <handa@m17n.org>
24
25         * Makefile.am (BUILD_LIBS): Don't increment it conditionally.
26
27         * medit.c (show_cursor): Call mlanguage_name to get English name
28         of language.
29         (compare_input_method): Likewise.
30         (main): Likewise.
31
32 2006-02-22  Kenichi Handa  <handa@m17n.org>
33
34         * Version 1.3.3 released.
35
36 2006-02-22  Kenichi Handa  <handa@m17n.org>
37
38         * mview.c: Fix some typo in documention.
39
40         * medit.c: Fix some typo in documention.
41
42         * mdump.c: Fix some typo in documention.
43
44 2006-02-06  Kenichi Handa  <handa@m17n.org>
45
46         * Version 1.3.2 released.
47
48 2006-02-03  Kenichi Handa  <handa@m17n.org>
49
50         * mdump.c: Describe the supported color names.
51
52 2006-01-19  Kenichi Handa  <handa@m17n.org>
53
54         * HELLO.utf8: Fix greek.
55
56         * HELLO.xml: Fix greek.
57
58 2006-01-17  Kenichi Handa  <handa@m17n.org>
59
60         * mdump.c (main): Use gdImageCreateTrueColor and
61         gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
62
63 2006-01-16  Kenichi Handa  <handa@m17n.org>
64
65         * Version 1.3.1 released.
66
67 2006-01-16  Kenichi Handa  <handa@m17n.org>
68
69         * mdump.c (help_exit): Describe -fg, -bg, -r args.
70         (main): Handle -fg, -bg args.  Use gdImageCreateTrueColor instead
71         of gdImageCreate.
72
73 2006-01-05  Kenichi Handa  <handa@m17n.org>
74
75         * HELLO.utf8: Fix Hindi and Oriya.
76
77         * HELLO.xml: Adjusted for the latest HELLO.utf8.
78
79         * HELLO.html: Adjusted for the latest HELLO.utf8.
80
81         * mdate.c (main): Call m17n-view; not mview.
82
83 2005-12-22  Kenichi Handa  <handa@m17n.org>
84
85         * Version 1.3.0 released.
86
87 2005-12-06  Kenichi Handa  <handa@m17n.org>
88
89         * medit.c (mt_modified): New variable.
90         (KeyProc): Update screen if input method modified a text.
91         (surrounding_text_handler): Set mt_modified to 1 if a text is
92         deleted.
93         (main): Fix handling of --font arg.
94
95 2005-12-02  Kenichi Handa  <handa@m17n.org>
96
97         * medit.c (main): Handle --font arg.
98
99 2005-11-21  Kenichi Handa  <handa@m17n.org>
100
101         * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them
102         conditionally on WITH_GUI.
103
104 2005-11-11  Kenichi Handa  <handa@m17n.org>
105
106         * medit.c (surrounding_text_handler): Directly delete characters
107         instead of calling delete_char.
108
109 2005-11-08  Kenichi Handa  <handa@m17n.org>
110
111         * medit.c (delete_char): Fix the case of deleting the previous
112         multiple characters.
113         (surrounding_text_handler): Check number of characters to delete.
114
115 2005-11-07  Kenichi Handa  <handa@m17n.org>
116
117         * medit.c (surrounding_text_handler): New function.
118         (setup_input_methods): Add callback functions for surrounding text
119         handling.
120
121 2005-10-20  Kenichi Handa  <handa@m17n.org>
122
123         * medit.c (setup_input_methods): Ignore an input method of name
124         nil.
125
126 2005-10-14  Kenichi Handa  <handa@m17n.org>
127
128         * medit.c (main): Don't leave a fontset unfreed.
129
130 2005-10-03  Kenichi Handa  <handa@m17n.org>
131
132         * mdump.c (main): Make the image tranparent.
133
134 2005-09-27  Kenichi Handa  <handa@m17n.org>
135
136         * mdump.c (dump_image): If FILTER is "-", print the image to
137         stdout.
138
139 2005-09-22  Kenichi Handa  <handa@m17n.org>
140
141         * medit.c (select_input_method): Open an input method if
142         necessary.  Handle left bitmap of input method menus here.
143         (show_cursor): Don't open an input method here.
144         (ExposeProc): Likewise.
145         (FocusInProc): Fix typo (Minput_focus_out -> Minput_focus_in).
146         (InputMethodProc): Don't handle left bitmap of input method menus
147         here.
148         (setup_input_methods): Don't open an input method here.
149
150 2005-09-16  Kenichi Handa  <handa@m17n.org>
151
152         * medit.c (ButtonProc): Don't reset ic, instead send
153         Minput_focus_move event to the current input method.
154         (FocusInProc, FocusOutProc): New functions.
155         (actions): Add elements for FocusIn and FocusOut.
156         (main): Add  elements for FocusIn and FocusOut to trans2.
157
158 2005-09-12  Kenichi Handa  <handa@m17n.org>
159
160         * medit.c (redraw): Don't redraw an area where not text is
161         displayed.
162
163 2005-09-05  Kenichi Handa  <handa@m17n.org>
164
165         * medit.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
166
167         * mview.c: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.
168
169         * Makefile.am (X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
170         directory listing libraries.
171         (PURIFY, purify_medit, purify_mdate): Define them in maintainer
172         mode.
173
174 2005-08-22  Kenichi Handa  <handa@m17n.org>
175
176         * mdump.c: Don't include config.h.
177
178         * medit.c: Likewise.
179
180         * mview.c: Likewise.
181
182         * mimx-anthy.c: Likewise.
183
184         * mimx-ispell.c: Likewise.
185
186         * Makefile.am (AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
187
188 2005-08-18  Kenichi Handa  <handa@m17n.org>
189
190         * medit.c (main): Adjusted for the change of symbol's language
191         property (now in lowercase).
192
193         * mdump.c (main): Handle --fontset arg.
194
195 2005-05-19  Kenichi Handa  <handa@m17n.org>
196
197         * medit.c (main): Explicitly set minput_driver.
198
199 2005-04-28  Kenichi Handa  <handa@m17n.org>
200
201         * .cvsignore: Change mXXXX to m17n-XXXX.
202
203         * Makefile.am (X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
204
205         * medit.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
206         add dummy code.
207
208         * mview.c: Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
209         add dummy code.
210
211 2005-04-15  Kenichi Handa  <handa@m17n.org>
212
213         * medit.c: Include dlfcn.h.
214         (Mword): New variable.
215         (show_cursor): Check Mlanguage text property of the cursor
216         position only.
217         (delete_char): Pay attention to the change of line beginning
218         position because of filling.
219         (insert_chars): Likewise.
220         (word_constituent_p, forward_word, backward_word): New functions.
221         (KeyProc): Assign XK_b and XK_f for back/foreward word.
222         (line_break): Delete extern.
223         (LineBreakProc): Use mdraw_default_line_break.
224         (FilterProc): New function.
225         (main): Handle --filter arg.  Initialize Mword.  
226
227         * mdump.c (main): Set control.line_break to
228         mdraw_default_line_break.
229
230         * Makefile.am (m17n_edit_SOURCES): Don't include linebreak.c.
231         (m17n_dump_SOURCES): Likewise.
232         (m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
233         (m17n_dump_LDADD): Likewise.
234
235 2005-03-09  Kenichi Handa  <handa@m17n.org>
236
237         * HELLO.utf8, HELLO.xml, HELLO.html: Fix Telugu line.
238
239 2005-02-17  Kenichi Handa  <handa@m17n.org>
240
241         * medit.c (setup_input_methods): Fix for the case that no input
242         method is available.
243
244 2005-01-12  Kenichi Handa  <handa@m17n.org>
245
246         * HELLO.utf8, HELLO.xml, HELLO.html: Adjust the encoding of
247         Myanmar kinzi to the new proposal by Myanmar NLP.
248
249 2004-12-27  Kenichi Handa  <handa@m17n.org>
250
251         * Version 1.2.0 released.
252
253 2004-12-27  Kenichi Handa  <handa@m17n.org>
254
255         * M17NEdit.ja: Renamed from MEdit.ja.
256
257         * Makefile.am: Put prefix "m17n-" instead of single "m" to
258         executables.
259         (EXTRA_DIST): Include HELLO.html and M17NEdit.ja.
260
261         * mconv.c, mdate.c, mdump.c, medit.c, mview.c: Documentations
262         changed ("mXXXX" -> "m17n-XXXX").
263
264 2004-12-21  Kenichi Handa  <handa@m17n.org>
265
266         * medit.c (ButtonProc): Reset the current input method (if
267         activated) and insert the produced text.
268         (KeyProc): Cancel the previous change.
269
270 2004-12-21  Kenichi Handa  <handa@m17n.org>
271
272         * medit.c (KeyProc): Handle C-\ as resetting input context.
273
274 2004-12-17  Kenichi Handa  <handa@m17n.org>
275
276         * medit.c (main): Allocagte filename by strdup if not specified.
277
278 2004-12-10  Kenichi Handa  <handa@m17n.org>
279
280         * mview.c (VERSION): Update to 1.2.0.
281
282         * medit.c (VERSION): Update to 1.2.0.
283         (main): If filename is not specified, open /dev/null.
284
285         * mdate.c (VERSION): Update to 1.2.0.
286
287         * mconv.c (VERSION): Update to 1.2.0.
288
289 2004-12-09  Kenichi Handa  <handa@m17n.org>
290
291         * medit.c (SaveProc, DumpImageProc, FileDialogProc, read_file):
292         Decode by Mcoding_utf_8_full, not Mcoding_utf_8.
293
294 2004-12-09  handa  <handa@m17n.org>
295
296         * Makefile.am (common_ldflags): Include libm17n-core.la.
297         (common_ldflags_gui): Include ${common_ldflags}
298         
299 2004-12-03  Kenichi Handa  <handa@m17n.org>
300
301         * mimx-anthy.c (AnthyContext): New member ic.
302         (new_context): When something goes wrong, return NULL without
303         creating a context.
304         (get_context): New function.
305         (init): Pay attention to the case of multiple calls.
306         (fini): Likewise.
307         (convert, change, resize, commit): Use get_context.
308
309         * mimx-ispell.c (face_available): New variable.
310         (init): Check if GUI APIs are available or not.  If not, set
311         face_available to 0.
312         (fini): Free a face only if face_available is not zero.
313         (ispell_word): Put face property only if available.
314
315 2004-10-29  Kenichi Handa  <handa@m17n.org>
316
317         * medit.c (main): Fix handling of "-s" arg.
318
319 2004-10-12  Kenichi Handa  <handa@m17n.org>
320
321         * medit.c (KeyProc): Cast buf to `unsigned char *'.
322         (FaceProc): Call hide_cursor () at first.
323
324 2004-09-27  Kenichi Handa  <handa@m17n.org>
325
326         * HELLO.html: Add Sinhala.
327
328 2004-09-23  Kenichi Handa  <handa@m17n.org>
329
330         * HELLO.utf8, HELLO.xml: Add Sinhala.
331
332 2004-09-14  Kenichi Handa  <handa@m17n.org>
333
334         * medit.c (update_selection): Fix for the case that the selection
335         is just one line.
336
337 2004-08-27  Kenichi Handa  <handa@m17n.org>
338
339         * mdump.c (help_exit): Describe about the arg "-r".
340         (reverse_bit_order, init_reverse_bit_order): Delete them.
341         (main): Handle the arg "-r".
342
343 2004-08-25  Kenichi Handa  <handa@m17n.org>
344
345         * medit.c: Adjusted for the member name change
346         (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
347
348         * mdump.c: Adjusted for the member name change
349         (MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).
350
351 2004-08-16  Kenichi Handa  <handa@m17n.org>
352
353         * Version 1.1.0 released.
354
355 2004-08-15  Kenichi Handa  <handa@m17n.org>
356
357         * MEdit.ja: Add Dhivehi.
358
359         * HELLO.utf8, HELLO.xml: Add Oriya and Dhivehi.
360
361         * medit.c (covert_selection): Handle explicit request of
362         UTF8_STRING.
363         (ExposeProc): If an initial input method is specifed, activate it.
364         (setup_input_methods): New arg initial_input_method.  If it's not
365         NULL, set current_input_method to the corresponding index.
366         (help_exit): Fix help message.
367         (main): Handle --im and -s command args.
368
369         * mdump.c (help_exit): Fix help message.
370
371 2004-08-09  Kenichi Handa  <handa@m17n.org>
372
373         * mconv.c (VERSION): Updated to 1.1.
374
375         * mdate.c (VERSION): Likewise.
376
377         * medit.c (VERSION): Likewise.
378
379         * mview.c (VERSION): Likewise.
380
381 2004-07-28  Kenichi Handa  <handa@m17n.org>
382
383         * HELLO.utf8: Add language names for Telugu and Gujarati.
384
385         * HELLO.xml: Add language names for Telugu and Gujarati.
386
387 2004-07-26  Kenichi Handa  <handa@m17n.org>
388
389         * medit.c (redraw_cursor): Fix checking of redrawing area.
390         (set_input_method_spot): Don't check face if the buffer is empty.
391         (show_cursor): Likewise.
392         (delete_char): Fix adjustment of nchars.
393         (CursorProc): Call update_cursor.
394
395 2004-07-23  Kenichi Handa  <handa@m17n.org>
396
397         * HELLO.xml: Add Myanmar.
398
399         * HELLO.utf8: Add Myanmar.
400
401 2004-07-22  Kenichi Handa  <handa@m17n.org>
402
403         * medit.c (get_selection): If decoding fails and *type is not
404         XA_UTF8_STRING, try to get selection value of type XA_UTF8_STRING.
405
406 2004-07-20  Kenichi Handa  <handa@m17n.org>
407
408         * medit.c (main): If frame creation is falied, exit by error.
409         Call M17N_FINI after destroying the application context.
410
411 2004-07-18  Kenichi Handa  <handa@m17n.org>
412
413         * Makefile.am (common_ldflags): Don't include
414         ${top_srcdir}/src/libm17n-core.la.
415
416 2004-07-07  Kenichi Handa  <handa@m17n.org>
417
418         * medit.c (Mcoding_compound_text): New variable.
419         (covert_selection): Fix previous change.
420         (main): Set Mcoding_compound_text.
421
422 2004-07-06  Kenichi Handa  <handa@m17n.org>
423
424         * mdump.c: Cancel previous change.
425
426         * Makefile.am (X_LD_FLAGS): Fix the order of linking.
427         (medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.
428
429         * HELLO.xml: Add Punjabi, Kannada, Telugu, and Gujarati.
430
431         * medit.c (covert_selection): If X_HAVE_UTF8_STRING is defined and
432         target is XA_UTF8_STRING, encode by utf-8.
433         (get_selection): If X_HAVE_UTF8_STRING is defined and *type is
434         XA_UTF8_STRING, decode by utf-8.
435
436 2004-07-05  Kenichi Handa  <handa@m17n.org>
437
438         * HELLO.utf8: Add Kannada.
439
440 2004-06-30  Kenichi Handa  <handa@m17n.org>
441
442         * mdump.c: Include <m17n-gd.h> instead of <m17n-gui.h>.
443
444         * Makefile.am (X_LD_FLAGS): New variable.
445         (medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
446         libraries.
447         (medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
448         (libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
449         (libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.
450
451 2004-06-25  TAKAHASHI Naoto  <ntakahas@m17n.org>
452
453         * HELLO.utf8: Add Punjabi.
454
455 2004-06-24  Kenichi Handa  <handa@m17n.org>
456
457         * Makefile.am: (libmimx_ispell_la_LDFLAGS)
458         (libmimx_anthy_la_LDFLAGS): Add -module.
459
460 2004-06-23  Kenichi Handa  <handa@m17n.org>
461
462         * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
463         change.
464
465         * medit.c (redraw_cursor): Refer to cursor.logical_width instead
466         of cursor.this.width.
467
468 2004-06-21  Kenichi Handa  <handa@m17n.org>
469
470         * Makefile.am (medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
471         -lXt.
472
473 2004-06-17  Kenichi Handa  <handa@m17n.org>
474
475         * mdump.c (main): Don't set control.as_image to 1.
476
477 2004-06-16  Kenichi Handa  <handa@m17n.org>
478
479         * mdump.c (main): Fix typo of error message.
480
481         * medit.c (face_freeserif): New variable.
482         (face_table): Add an entry for freeserif.
483         (main): Initialized and free face_freeserif.
484
485 2004-06-15  Kenichi Handa  <handa@m17n.org>
486
487         * mdump.c: Add command line arguments --family and --language.
488         (help_exit): Print info about those arguemnts.
489         (main): Make family name to lowercase.
490
491 2004-06-04  Kenichi Handa  <handa@m17n.org>
492
493         * mconv.c (compare_coding_name): New function.
494         (list_coding): Sort the list of codings by their names.
495
496 2004-06-03  Kenichi Handa  <handa@m17n.org>
497
498         * medit.c (InputMethodInfo): New type.
499         (input_method_table): Type changed to `InputMethodInfo *'.
500         (select_input_method): Adjusted for the change of
501         input_method_table.
502         (show_cursor): Open an input method here if necessary.
503         (compare_input_method): Adjusted for the change of
504         input_method_table.
505         (setup_input_methods): Likewise.  Don't open input methods here
506         except for XIM.
507         (main): Adjusted for the change of input_method_table.
508
509         * mconv.c (main): Close `in' and `out'.
510
511         * HELLO.utf8: Fix Greek line.
512
513         * HELLO.xml: Fix Greek line.
514
515 2004-05-28  Kenichi Handa  <handa@m17n.org>
516
517         * Makefile.am (VINFO): New variable.
518         (libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
519         ${VINFO}.
520
521         * mdump.c (PROGRAM_VERSION): Renamed from VERSION.
522         (main): Use PROGRAM_VERSION.
523
524         * medit.c (main): Make face_input_status copy of face_default.
525
526 2004-05-27  Kenichi Handa  <handa@m17n.org>
527
528         * medit.c (show_cursor): Check hline->width and box->width.
529         (main): Set reverse videomode in a face for selection.
530
531         * mdump.c: Include config.h.  Include <gd.h> instead of
532         <X11/Xlib.h>.  If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
533         function main that just print an error message.
534         (help_exit): Adjusted for the change of spec.
535         (dump_image): Argument changed.  Dump PNG image instead of PBM.
536         (main): Adjusted for the change of spec.
537
538         * Makefile.am (common_ldflags_gui): Renamed from
539         common_ldflags_X.  Set to .../libm17n-gui.la.  Referrer changed.
540         (mdump_LDFLAGS): Include @GD_LD_FLAGS@
541
542         * HELLO.xml:  Add Bengali.
543
544 2004-05-21  Kenichi Handa  <handa@m17n.org>
545
546         * HELLO.utf8: Add Bengali.
547
548 2004-05-20  Kenichi Handa  <handa@m17n.org>
549
550         * medit.c (redraw): If contro.anti_alias is nonzero, always clear.
551         (ButtonMoveProc): Don't give control.anti_alias to redraw.
552         (default_face_list): New variable.
553         (FaceProc): If no selection, change the default face.
554         (main): Initialize and finalize default_face_list.
555
556 2004-04-27  Kenichi Handa  <handa@m17n.org>
557
558         * mimx-ispell.c: Add coding tag euc-jp.
559
560         * mimx-anthy.c: Add coding tag euc-jp.
561
562         * medit.c: Add coding tag euc-jp.
563         (ButtonMoveProc): Full redraw if we are using anti-aliased text.
564         (main): Set control.anti_alias to 1. 
565
566         * mdump.c: Add coding tag euc-jp.
567
568         * mdate.c: Add coding tag euc-jp.
569
570         * mconv.c: Add coding tag euc-jp.
571
572 2004-04-20  Kenichi Handa  <handa@m17n.org>
573
574         * Makefile.am (medit_LDFLAGS): Include X_PRE_LIBS, XLIBS,
575         X_EXTRA_LIBS.
576         (mview_LDFLAGS): Likewise.
577
578         * linebreak.c: Don't include wordcut/xmalloc.h, wordcut/path.h.
579
580 2004-03-29  Kenichi Handa  <handa@m17n.org>
581
582         * Version 1.0 Patch Level 2 released.
583
584 2004-03-19  Kenichi Handa  <handa@m17n.org>
585
586         * Version 1.0 Patch Level 1 released.
587
588 2004-03-19  Kenichi Handa  <handa@m17n.org>
589
590         * medit.c (VERSION): Changed to 1.0.1.
591         (update_selection): Fix for the case that the selected region is
592         expanded to the opposite direction.
593         (ButtonMoveProc): Likewise.
594         (main): Use alloca instead of malloc for allocating menu names.
595         Free several memory areas and GCs.
596
597 2004-03-12  Kenichi Handa  <handa@m17n.org>
598
599         * medit.c (input_status_control): New variable.
600         (input_status): Use input_status_control.
601         (main): Initialize input_status_control.
602
603 2004-03-01  Kenichi Handa  <handa@m17n.org>
604
605         * Version 1.0 released.
606
607 \f
608 Copyright (C) 2003, 2004
609   National Institute of Advanced Industrial Science and Technology (AIST)
610   Registration Number H15PRO112
611
612 This file is part of the m17n library.
613
614 The m17n library is free software; you can redistribute it and/or
615 modify it under the terms of the GNU Lesser General Public License
616 as published by the Free Software Foundation; either version 2.1 of
617 the License, or (at your option) any later version.
618
619 The m17n library is distributed in the hope that it will be useful,
620 but WITHOUT ANY WARRANTY; without even the implied warranty of
621 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
622 Lesser General Public License for more details.
623
624 You should have received a copy of the GNU Lesser General Public
625 License along with the m17n library; if not, write to the Free
626 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
627 02111-1307, USA.