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