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