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