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