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