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