aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorGlenn Morris2008-02-02 04:31:16 +0000
committerGlenn Morris2008-02-02 04:31:16 +0000
commit73acf81589838a6211cdb2e1ec5feac9be4abe78 (patch)
tree2fc435438900cb3c4478ff6172abceb46a272968 /src/ChangeLog
parent995c4be356d58148fde54de0cf5741ba06786f1c (diff)
downloademacs-73acf81589838a6211cdb2e1ec5feac9be4abe78.tar.gz
emacs-73acf81589838a6211cdb2e1ec5feac9be4abe78.zip
Adjust dates of unicode merge entries to UTC.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog848
1 files changed, 424 insertions, 424 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b681da5f40b..9b6a17af4dd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -26,12 +26,12 @@
26 (realize_named_face): Call lface_from_face_name directly, and use 26 (realize_named_face): Call lface_from_face_name directly, and use
27 the fact that merge_face_vectors does not alter its FROM argument. 27 the fact that merge_face_vectors does not alter its FROM argument.
28 28
292008-02-02 Jason Rumney <jasonr@gnu.org> 292008-02-01 Jason Rumney <jasonr@gnu.org>
30 30
31 * w32term.c (w32_read_socket) <WM_CHAR>: Decode non-Unicode 31 * w32term.c (w32_read_socket) <WM_CHAR>: Decode non-Unicode
32 input in the default locale. Handle non-Unicode multibyte input. 32 input in the default locale. Handle non-Unicode multibyte input.
33 33
342008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 342008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
35 35
36 * fontset.c (reorder_font_vector): Exclude nil elements from the 36 * fontset.c (reorder_font_vector): Exclude nil elements from the
37 font group. Don't try multiple fonts. 37 font group. Don't try multiple fonts.
@@ -42,7 +42,7 @@
42 * Makefile.in (lisp): Add cham.el. 42 * Makefile.in (lisp): Add cham.el.
43 (shortlisp): Likewise. 43 (shortlisp): Likewise.
44 44
452008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 452008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
46 46
47 * font.h (FONTP): Make it return 1 also for a font-object. 47 * font.h (FONTP): Make it return 1 also for a font-object.
48 48
@@ -63,23 +63,23 @@
63 no font for the target. 63 no font for the target.
64 (Finternal_char_font): Adjusted for the change of RFONT-DEF. 64 (Finternal_char_font): Adjusted for the change of RFONT-DEF.
65 65
662008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 662008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
67 67
68 * font.c (font_load_for_face): Handle the case that the font in 68 * font.c (font_load_for_face): Handle the case that the font in
69 face->lface is a string. 69 face->lface is a string.
70 70
712008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 712008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
72 72
73 * xfaces.c (set_lface_from_font_and_fontset): Set the fontname in 73 * xfaces.c (set_lface_from_font_and_fontset): Set the fontname in
74 lface. 74 lface.
75 75
762008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 762008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
77 77
78 * xfaces.c (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: 78 * xfaces.c (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]:
79 Fix previous change. If the frame is not on a window system, 79 Fix previous change. If the frame is not on a window system,
80 signal an error. 80 signal an error.
81 81
822008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 822008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
83 83
84 * coding.c (decode_coding_object): Adjuste marker positions after 84 * coding.c (decode_coding_object): Adjuste marker positions after
85 conversion. 85 conversion.
@@ -87,7 +87,7 @@
87 87
88 * lisp.h (struct Lisp_Marker): New member need_adjustment. 88 * lisp.h (struct Lisp_Marker): New member need_adjustment.
89 89
902008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 902008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
91 91
92 * font.c (font_find_for_lface): Fix the handling of the return 92 * font.c (font_find_for_lface): Fix the handling of the return
93 value of font_has_char. 93 value of font_has_char.
@@ -102,12 +102,12 @@
102 (new_fontset_from_font): Make the specified font the default for 102 (new_fontset_from_font): Make the specified font the default for
103 all Latin characters. 103 all Latin characters.
104 104
1052008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 1052008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
106 106
107 * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame 107 * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame
108 is on a window system before accessing the fontset of the frame. 108 is on a window system before accessing the fontset of the frame.
109 109
1102008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 1102008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
111 111
112 * Makefile.in (lisp): Add kherm.el and myanmar.el. 112 * Makefile.in (lisp): Add kherm.el and myanmar.el.
113 (shortlisp): Likewise. 113 (shortlisp): Likewise.
@@ -119,7 +119,7 @@
119 shaper function, make zero-width glyphs to have at least one-pixel 119 shaper function, make zero-width glyphs to have at least one-pixel
120 width. Fix setting of `to' field of glyphs. 120 width. Fix setting of `to' field of glyphs.
121 121
1222008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 1222008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
123 123
124 * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of 124 * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of
125 glyphs. 125 glyphs.
@@ -127,7 +127,7 @@
127 * font.h (struct font_driver): Docstring of member `shape' is 127 * font.h (struct font_driver): Docstring of member `shape' is
128 improved. 128 improved.
129 129
1302008-02-02 Kenichi Handa <handa@m17n.org> 1302008-02-01 Kenichi Handa <handa@m17n.org>
131 131
132 * composite.c (syms_of_composite): Fix docstring of 132 * composite.c (syms_of_composite): Fix docstring of
133 auto-composition-function. 133 auto-composition-function.
@@ -152,7 +152,7 @@
152 152
153 * xftfont.c (xftfont_encode_char): Use the macro FONT_INVALID_CODE. 153 * xftfont.c (xftfont_encode_char): Use the macro FONT_INVALID_CODE.
154 154
1552008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 1552008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
156 156
157 * font.c (Ffont_shape_text): Avoid unnecessary composition. 157 * font.c (Ffont_shape_text): Avoid unnecessary composition.
158 158
@@ -164,7 +164,7 @@
164 (face_for_char): Map the charset property by 164 (face_for_char): Map the charset property by
165 Vfont_encoding_charset_alist. 165 Vfont_encoding_charset_alist.
166 166
1672008-02-02 Jason Rumney <jasonr@gnu.org> 1672008-02-01 Jason Rumney <jasonr@gnu.org>
168 168
169 * w32font.c (logfonts_match): Don't check adstyle here. 169 * w32font.c (logfonts_match): Don't check adstyle here.
170 (font_matches_spec): Check here against physical font instead. 170 (font_matches_spec): Check here against physical font instead.
@@ -175,7 +175,7 @@
175 (font_score) [WINDOWSNT]: Scale weight difference down to closer 175 (font_score) [WINDOWSNT]: Scale weight difference down to closer
176 match freetype scores. 176 match freetype scores.
177 177
1782008-02-02 Jason Rumney <jasonr@gnu.org> 1782008-02-01 Jason Rumney <jasonr@gnu.org>
179 179
180 * w32font.c (w32font_text_extents): Don't use the frame stored in the 180 * w32font.c (w32font_text_extents): Don't use the frame stored in the
181 font, as it may have been deleted. 181 font, as it may have been deleted.
@@ -187,7 +187,7 @@
187 187
188 * w32font.h (w32font_get_cache): Update declaration. 188 * w32font.h (w32font_get_cache): Update declaration.
189 189
1902008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 1902008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
191 191
192 * ftfont.c (ftfont_get_cache): Adjust the argument type. 192 * ftfont.c (ftfont_get_cache): Adjust the argument type.
193 193
@@ -214,7 +214,7 @@
214 214
215 * fontset.c (fontset_find_font): Fix previous change. 215 * fontset.c (fontset_find_font): Fix previous change.
216 216
2172008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 2172008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
218 218
219 * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access 219 * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access
220 dpyinfo->font_table. 220 dpyinfo->font_table.
@@ -229,7 +229,7 @@
229 the position here, and call font_at with the arg C -1. Don't 229 the position here, and call font_at with the arg C -1. Don't
230 check the range of the existing composition at the point. 230 check the range of the existing composition at the point.
231 231
2322008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 2322008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
233 233
234 * fontset.c (fontset_add): New args charset_id and famliy. Caller 234 * fontset.c (fontset_add): New args charset_id and famliy. Caller
235 changed. 235 changed.
@@ -241,7 +241,7 @@
241 * xdisp.c (handle_auto_composed_prop): Use Fget_text_property 241 * xdisp.c (handle_auto_composed_prop): Use Fget_text_property
242 instead of get_property_and_range. 242 instead of get_property_and_range.
243 243
2442008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 2442008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
245 245
246 * xftfont.c (struct xftfont_info): Delete the member ft_face. 246 * xftfont.c (struct xftfont_info): Delete the member ft_face.
247 (xftfont_open): Don't keep locking face. 247 (xftfont_open): Don't keep locking face.
@@ -252,7 +252,7 @@
252 * fontset.c (fontset_find_font): Don't prefer a font of 252 * fontset.c (fontset_find_font): Don't prefer a font of
253 supplementary charset. 253 supplementary charset.
254 254
2552008-02-02 Kenichi Handa <handa@m17n.org> 2552008-02-01 Kenichi Handa <handa@m17n.org>
256 256
257 * ftfont.c (struct OpenTypeSpec): Members script_tag renamed to 257 * ftfont.c (struct OpenTypeSpec): Members script_tag renamed to
258 script, langsys_tag renamed to langsys, new member script. 258 script, langsys_tag renamed to langsys, new member script.
@@ -261,7 +261,7 @@
261 listing to the script specified in that property. Fix arg to 261 listing to the script specified in that property. Fix arg to
262 OTF_check_features. 262 OTF_check_features.
263 263
2642008-02-02 Jason Rumney <jasonr@gnu.org> 2642008-02-01 Jason Rumney <jasonr@gnu.org>
265 265
266 * w32font.h: New file. 266 * w32font.h: New file.
267 267
@@ -284,7 +284,7 @@
284 284
285 * makefile.w32-in (w32font.o): Depend on w32font.h. 285 * makefile.w32-in (w32font.o): Depend on w32font.h.
286 286
2872008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 2872008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
288 288
289 * charset.c (Fdefine_charset_internal): Record a supplementary 289 * charset.c (Fdefine_charset_internal): Record a supplementary
290 charset at the tail of Vcharset_order_list. 290 charset at the tail of Vcharset_order_list.
@@ -295,7 +295,7 @@
295 295
296 * xdisp.c (handle_auto_composed_prop): Fix previous change. 296 * xdisp.c (handle_auto_composed_prop): Fix previous change.
297 297
2982008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 2982008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
299 299
300 * ftfont.c (struct OpenTypeSpec): New struct. 300 * ftfont.c (struct OpenTypeSpec): New struct.
301 (OTF_SYM_TAG, OTF_TAG_STR): New macros. 301 (OTF_SYM_TAG, OTF_TAG_STR): New macros.
@@ -305,24 +305,24 @@
305 * lread.c (read1): Redo the previous change with checking 305 * lread.c (read1): Redo the previous change with checking
306 Vpurify_flag. 306 Vpurify_flag.
307 307
3082008-02-02 Jason Rumney <jasonr@gnu.org> 3082008-02-01 Jason Rumney <jasonr@gnu.org>
309 309
310 * w32font.c (add_font_entity_to_list): Compare only the beginning 310 * w32font.c (add_font_entity_to_list): Compare only the beginning
311 of full name. 311 of full name.
312 312
3132008-02-02 Kenichi Handa <handa@m17n.org> 3132008-02-01 Kenichi Handa <handa@m17n.org>
314 314
315 * xdisp.c (handle_auto_composed_prop): Simplify the code. Never 315 * xdisp.c (handle_auto_composed_prop): Simplify the code. Never
316 return HANDLED_RECOMPUTE_PROPS. 316 return HANDLED_RECOMPUTE_PROPS.
317 317
3182008-02-02 Kenichi Handa <handa@m17n.org> 3182008-02-01 Kenichi Handa <handa@m17n.org>
319 319
320 * font.c (font_gstring_produce): Delete it. 320 * font.c (font_gstring_produce): Delete it.
321 321
322 * composite.h (COMPOSITION_METHOD): Handle 322 * composite.h (COMPOSITION_METHOD): Handle
323 COMPOSITION_WITH_GLYPH_STRING. 323 COMPOSITION_WITH_GLYPH_STRING.
324 324
3252008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 3252008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
326 326
327 * xfont.c (Qx): Deleted. 327 * xfont.c (Qx): Deleted.
328 (syms_of_xfont): Don't initialize Qx. 328 (syms_of_xfont): Don't initialize Qx.
@@ -330,7 +330,7 @@
330 * composite.h (enum composition_method): Define 330 * composite.h (enum composition_method): Define
331 COMPOSITION_WITH_GLYPH_STRING unconditionally. 331 COMPOSITION_WITH_GLYPH_STRING unconditionally.
332 332
3332008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 3332008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
334 334
335 * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. 335 * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally.
336 (choose_face_font): Accept new form of font-spec. 336 (choose_face_font): Accept new form of font-spec.
@@ -355,16 +355,16 @@
355 ftfont_info only when HAVE_LIBOTF is defined. 355 ftfont_info only when HAVE_LIBOTF is defined.
356 356
357>>>>>>> 1.1.2.202 357>>>>>>> 1.1.2.202
3582008-02-02 Andreas Schwab <schwab@suse.de> 3582008-02-01 Andreas Schwab <schwab@suse.de>
359 359
360 * xdisp.c (back_to_previous_visible_line_start): Fix type of beg 360 * xdisp.c (back_to_previous_visible_line_start): Fix type of beg
361 and end. 361 and end.
362 362
3632008-02-02 Jason Rumney <jasonr@gnu.org> 3632008-02-01 Jason Rumney <jasonr@gnu.org>
364 364
365 * w32font.c (w32font_driver): Add new fields. 365 * w32font.c (w32font_driver): Add new fields.
366 366
3672008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 3672008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
368 368
369 * config.in: Re-generated. 369 * config.in: Re-generated.
370 370
@@ -461,15 +461,15 @@ third arg it->window.
461 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for 461 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for
462 the change of lispy gstring. 462 the change of lispy gstring.
463 463
4642008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 4642008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
465 465
466 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. 466 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error.
467 467
4682008-02-02 Jason Rumney <jasonr@gnu.org> 4682008-02-01 Jason Rumney <jasonr@gnu.org>
469 469
470 * w32font.c (w32font_draw): Fill background manually. 470 * w32font.c (w32font_draw): Fill background manually.
471 471
4722008-02-02 Jason Rumney <jasonr@gnu.org> 4722008-02-01 Jason Rumney <jasonr@gnu.org>
473 473
474 * font.c (Qfontp): Remove unused symbol. 474 * font.c (Qfontp): Remove unused symbol.
475 (QCantialias): New symbol. 475 (QCantialias): New symbol.
@@ -486,16 +486,16 @@ third arg it->window.
486 Set antialias parameter if non-default was requested. 486 Set antialias parameter if non-default was requested.
487 (fill_in_logfont): Fill in lfQuality if :antialias specified. 487 (fill_in_logfont): Fill in lfQuality if :antialias specified.
488 488
4892008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 4892008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
490 490
491 * lread.c (read1): Undo the previous change. 491 * lread.c (read1): Undo the previous change.
492 492
4932008-02-02 CHENG Gao <chenggao@gmail.com> (tiny change) 4932008-02-01 CHENG Gao <chenggao@gmail.com> (tiny change)
494 494
495 * frame.c (Fdelete_frame): Call font_update_drivers only when 495 * frame.c (Fdelete_frame): Call font_update_drivers only when
496 USE_FONT_BACKEND is defined.. 496 USE_FONT_BACKEND is defined..
497 497
4982008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 4982008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
499 499
500 * font.h (struct font_bitmap): New member bits_per_pixel. 500 * font.h (struct font_bitmap): New member bits_per_pixel.
501 (struct font_driver): New members start_for_frame and end_for_frame. 501 (struct font_driver): New members start_for_frame and end_for_frame.
@@ -532,14 +532,14 @@ third arg it->window.
532 532
533 * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. 533 * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel.
534 534
5352008-02-02 Kenichi Handa <handa@m17n.org> 5352008-02-01 Kenichi Handa <handa@m17n.org>
536 536
537 * xselect.c (Vselection_coding_system) 537 * xselect.c (Vselection_coding_system)
538 (Vnext_selection_coding_system): Delete them. 538 (Vnext_selection_coding_system): Delete them.
539 (syms_of_xselect): Don't declare selection-coding-system and 539 (syms_of_xselect): Don't declare selection-coding-system and
540 next-selection-coding-system. They are declared in select.el. 540 next-selection-coding-system. They are declared in select.el.
541 541
5422008-02-02 Jason Rumney <jasonr@gnu.org> 5422008-02-01 Jason Rumney <jasonr@gnu.org>
543 543
544 * w32term.h (WM_UNICHAR, UNICODE_NOCHAR): Define if not already. 544 * w32term.h (WM_UNICHAR, UNICODE_NOCHAR): Define if not already.
545 545
@@ -554,7 +554,7 @@ third arg it->window.
554 * w32term.c (w32_read_socket) [WM_UNICHAR]: Handle as 554 * w32term.c (w32_read_socket) [WM_UNICHAR]: Handle as
555 MULTIBYTE_CHAR_KEYSTROKE_EVENT. 555 MULTIBYTE_CHAR_KEYSTROKE_EVENT.
556 556
5572008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 5572008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
558 558
559 * lread.c (READCHAR): Call readchar with the 2nd arg NULL. 559 * lread.c (READCHAR): Call readchar with the 2nd arg NULL.
560 (READCHAR_REPORT_MULTIBYTE): New macro. 560 (READCHAR_REPORT_MULTIBYTE): New macro.
@@ -563,12 +563,12 @@ third arg it->window.
563 symbol's name multibyte according to the multibyteness of the 563 symbol's name multibyte according to the multibyteness of the
564 source. 564 source.
565 565
5662008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 5662008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
567 567
568 * xfaces.c (face_for_overlay_string): Call lookup_face with 568 * xfaces.c (face_for_overlay_string): Call lookup_face with
569 correct arguments (fix of synching with the trunk). 569 correct arguments (fix of synching with the trunk).
570 570
5712008-02-02 Kenichi Handa <handa@m17n.org> 5712008-02-01 Kenichi Handa <handa@m17n.org>
572 572
573 * font.c (font_prop_validate_symbol): The argument prop_index is 573 * font.c (font_prop_validate_symbol): The argument prop_index is
574 deleted. 574 deleted.
@@ -579,28 +579,28 @@ third arg it->window.
579 (font_lispy_object): Deleted. 579 (font_lispy_object): Deleted.
580 (font_at): Use font_find_object instead fo font_lispy_object. 580 (font_at): Use font_find_object instead fo font_lispy_object.
581 581
5822008-02-02 Kenichi Handa <handa@ni.aist.go.jp> 5822008-02-01 Kenichi Handa <handa@ni.aist.go.jp>
583 583
584 * fileio.c (Fexpand_file_name): Adjust multibyteness of directory 584 * fileio.c (Fexpand_file_name): Adjust multibyteness of directory
585 and file names. 585 and file names.
586 586
5872008-02-02 Jason Rumney <jasonr@gnu.org> 5872008-02-01 Jason Rumney <jasonr@gnu.org>
588 588
589 * w32font.c (add_font_name_to_list): Avoid vertical fonts. 589 * w32font.c (add_font_name_to_list): Avoid vertical fonts.
590 (font_matches_spec): Remove debug output. 590 (font_matches_spec): Remove debug output.
591 (add_font_entity_to_list): Avoid using substituted fonts. 591 (add_font_entity_to_list): Avoid using substituted fonts.
592 592
5932008-02-02 Jason Rumney <jasonr@gnu.org> 5932008-02-01 Jason Rumney <jasonr@gnu.org>
594 594
595 * doc.c (Fsnarf_documentation): 595 * doc.c (Fsnarf_documentation):
596 * Makefile.in (temacs${EXEEXT}, mostlyclean): Undo last change. 596 * Makefile.in (temacs${EXEEXT}, mostlyclean): Undo last change.
597 597
5982008-02-02 Miles Bader <miles@gnu.org> 5982008-02-01 Miles Bader <miles@gnu.org>
599 599
600 * src/dispextern.h (struct glyph_row): Only define "clip" field if 600 * src/dispextern.h (struct glyph_row): Only define "clip" field if
601 HAVE_WINDOW_SYSTEM is defined. 601 HAVE_WINDOW_SYSTEM is defined.
602 602
6032008-02-02 Stefan Monnier <monnier@iro.umontreal.ca> 6032008-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
604 604
605 Fix up multi-tty merge. 605 Fix up multi-tty merge.
606 606
@@ -649,16 +649,16 @@ third arg it->window.
649 649
650 * ChangeLog.10: Add mistakenly removed entry. 650 * ChangeLog.10: Add mistakenly removed entry.
651 651
6522008-02-02 Dan Nicolaescu <dann@ics.uci.edu> 6522008-02-01 Dan Nicolaescu <dann@ics.uci.edu>
653 653
654 * Makefile.in (fringe.o, minibuf.o): Fix dependencies. 654 * Makefile.in (fringe.o, minibuf.o): Fix dependencies.
655 655
6562008-02-02 Miles Bader <miles@gnu.org> 6562008-02-01 Miles Bader <miles@gnu.org>
657 657
658 * xdisp.c (get_char_face_and_encoding): Remove extraneous definition. 658 * xdisp.c (get_char_face_and_encoding): Remove extraneous definition.
659 Add extra args to FACE_FOR_CHAR. 659 Add extra args to FACE_FOR_CHAR.
660 660
6612008-02-02 Kenichi Handa <handa@m17n.org> 6612008-02-01 Kenichi Handa <handa@m17n.org>
662 662
663 * keymap.c (where_is_internal_1): If key is a cons, store the copy 663 * keymap.c (where_is_internal_1): If key is a cons, store the copy
664 in sequence. 664 in sequence.
@@ -668,16 +668,16 @@ third arg it->window.
668 is not 3. 668 is not 3.
669 (map_char_table): Likewise. 669 (map_char_table): Likewise.
670 670
6712008-02-02 Jason Rumney <jasonr@gnu.org> 6712008-02-01 Jason Rumney <jasonr@gnu.org>
672 672
673 * w32font.c (w32font_text_extents): Calculate metrics for the 673 * w32font.c (w32font_text_extents): Calculate metrics for the
674 whole string. 674 whole string.
675 675
6762008-02-02 Jason Rumney <jasonr@gnu.org> 6762008-02-01 Jason Rumney <jasonr@gnu.org>
677 677
678 * w32xfns.c (get_next_msg): Consolidate WM_PAINT messages. 678 * w32xfns.c (get_next_msg): Consolidate WM_PAINT messages.
679 679
6802008-02-02 Jason Rumney <jasonr@gnu.org> 6802008-02-01 Jason Rumney <jasonr@gnu.org>
681 681
682 * w32term.c (x_set_glyph_string_clipping): Use 682 * w32term.c (x_set_glyph_string_clipping): Use
683 get_glyph_string_clip_rects. 683 get_glyph_string_clip_rects.
@@ -687,7 +687,7 @@ third arg it->window.
687 687
688 * w32font.c (w32font_draw): Do clipping here. 688 * w32font.c (w32font_draw): Do clipping here.
689 689
6902008-02-02 Kenichi Handa <handa@m17n.org> 6902008-02-01 Kenichi Handa <handa@m17n.org>
691 691
692 * xftfont.c (xftfont_draw): Adjusted for the change of struct 692 * xftfont.c (xftfont_draw): Adjusted for the change of struct
693 glyph_string. 693 glyph_string.
@@ -708,28 +708,28 @@ third arg it->window.
708 (struct glyph_string): Delete members clip_x, clip_y, clip_width, 708 (struct glyph_string): Delete members clip_x, clip_y, clip_width,
709 clip_height, new member clip, and num_clips. 709 clip_height, new member clip, and num_clips.
710 710
7112008-02-02 Kenichi Handa <handa@m17n.org> 7112008-02-01 Kenichi Handa <handa@m17n.org>
712 712
713 * data.c (Fchar_or_string_p): Fix docstring. 713 * data.c (Fchar_or_string_p): Fix docstring.
714 714
7152008-02-02 Kenichi Handa <handa@m17n.org> 7152008-02-01 Kenichi Handa <handa@m17n.org>
716 716
717 * xftfont.c (xftfont_draw): If s->font_info != s->face->font_info, 717 * xftfont.c (xftfont_draw): If s->font_info != s->face->font_info,
718 create a temporal XftDraw object. 718 create a temporal XftDraw object.
719 719
7202008-02-02 Kenichi Handa <handa@m17n.org> 7202008-02-01 Kenichi Handa <handa@m17n.org>
721 721
722 * font.c (Ffontp): Fix docstring. 722 * font.c (Ffontp): Fix docstring.
723 723
724 * coding.c (detect_coding_iso_2022): Don't treat SI/SO codes as a 724 * coding.c (detect_coding_iso_2022): Don't treat SI/SO codes as a
725 strong evidence of ISO-2022. 725 strong evidence of ISO-2022.
726 726
7272008-02-02 Kenichi Handa <handa@m17n.org> 7272008-02-01 Kenichi Handa <handa@m17n.org>
728 728
729 * abbrev.c (abbrev_check_chars): Use CHAR_TABLE_REF, not 729 * abbrev.c (abbrev_check_chars): Use CHAR_TABLE_REF, not
730 SYNTAX_ENTRY_FOLLOW_PARENT. 730 SYNTAX_ENTRY_FOLLOW_PARENT.
731 731
7322008-02-02 Stefan Monnier <monnier@iro.umontreal.ca> 7322008-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
733 733
734 * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and change 734 * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and change
735 its type. 735 its type.
@@ -769,42 +769,42 @@ third arg it->window.
769 * src/xmenu.c: 769 * src/xmenu.c:
770 * src/xterm.c: Replace uses of GC_* macros with the non-GC_ versions. 770 * src/xterm.c: Replace uses of GC_* macros with the non-GC_ versions.
771 771
7722008-02-02 Kenichi Handa <handa@m17n.org> 7722008-02-01 Kenichi Handa <handa@m17n.org>
773 773
774 * chartab.c (map_sub_char_table): Make it work for the top-level 774 * chartab.c (map_sub_char_table): Make it work for the top-level
775 char-table. Fix handling of parent char-table. 775 char-table. Fix handling of parent char-table.
776 (map_char_table): Adjust for the above change. 776 (map_char_table): Adjust for the above change.
777 777
7782008-02-02 Jason Rumney <jasonr@gnu.org> 7782008-02-01 Jason Rumney <jasonr@gnu.org>
779 779
780 * w32font.c (Qgdi): Rename from Qw32. 780 * w32font.c (Qgdi): Rename from Qw32.
781 781
7822008-02-02 Jason Rumney <jasonr@gnu.org> 7822008-02-01 Jason Rumney <jasonr@gnu.org>
783 783
784 * w32bdf.c (get_quoted_string): Make function static. 784 * w32bdf.c (get_quoted_string): Make function static.
785 785
7862008-02-02 Kenichi Handa <handa@m17n.org> 7862008-02-01 Kenichi Handa <handa@m17n.org>
787 787
788 * xftfont.c (xftfont_open): If one of font's ASCII glyph has 788 * xftfont.c (xftfont_open): If one of font's ASCII glyph has
789 bigger ascent and descent than those of the font, use them as 789 bigger ascent and descent than those of the font, use them as
790 font's ascent and descent. 790 font's ascent and descent.
791 791
7922008-02-02 Kenichi Handa <handa@m17n.org> 7922008-02-01 Kenichi Handa <handa@m17n.org>
793 793
794 * Makefile.in (${lispsource}international/charprop.el): Move this 794 * Makefile.in (${lispsource}international/charprop.el): Move this
795 target within "#ifdef HAVE_UNIDATA" and "#endif". 795 target within "#ifdef HAVE_UNIDATA" and "#endif".
796 796
7972008-02-02 Kenichi Handa <handa@m17n.org> 7972008-02-01 Kenichi Handa <handa@m17n.org>
798 798
799 * Makefile.in (lisp): Add ${lispsource}language/tai-viet.el. 799 * Makefile.in (lisp): Add ${lispsource}language/tai-viet.el.
800 (shortlisp): Add ../lisp/language/tai-viet.el. 800 (shortlisp): Add ../lisp/language/tai-viet.el.
801 801
8022008-02-02 Ulrich Mueller <ulm@gentoo.org> (tiny change) 8022008-02-01 Ulrich Mueller <ulm@gentoo.org> (tiny change)
803 803
804 * Makefile.in (${lispsource}international/charprop.el): Depend on 804 * Makefile.in (${lispsource}international/charprop.el): Depend on
805 temacs${EXEEXT}. 805 temacs${EXEEXT}.
806 806
8072008-02-02 Jason Rumney <jasonr@gnu.org> 8072008-02-01 Jason Rumney <jasonr@gnu.org>
808 808
809 * w32font.c (w32font_close): Delete the GDI font object. 809 * w32font.c (w32font_close): Delete the GDI font object.
810 810
@@ -816,7 +816,7 @@ third arg it->window.
816 816
817 * makefile.w32-in (w32proc.o): Depend on character.h 817 * makefile.w32-in (w32proc.o): Depend on character.h
818 818
8192008-02-02 Jason Rumney <jasonr@gnu.org> 8192008-02-01 Jason Rumney <jasonr@gnu.org>
820 820
821 * w32fns.c (syms_of_w32fns): Use DEFSYM macro. 821 * w32fns.c (syms_of_w32fns): Use DEFSYM macro.
822 822
@@ -828,18 +828,18 @@ third arg it->window.
828 828
829 * w32term.c (syms_of_w32term): Likewise. 829 * w32term.c (syms_of_w32term): Likewise.
830 830
8312008-02-02 Jason Rumney <jasonr@gnu.org> 8312008-02-01 Jason Rumney <jasonr@gnu.org>
832 832
833 * w32font.c (w32font_draw): Delete brush after using it. 833 * w32font.c (w32font_draw): Delete brush after using it.
834 834
8352008-02-02 Jason Rumney <jasonr@gnu.org> 8352008-02-01 Jason Rumney <jasonr@gnu.org>
836 836
837 * w32font.c (w32font_open): Don't set font_idx. 837 * w32font.c (w32font_open): Don't set font_idx.
838 (w32font_text_extents): Try GetTextExtentPoint32W before defaulting 838 (w32font_text_extents): Try GetTextExtentPoint32W before defaulting
839 to font settings. 839 to font settings.
840 (w32font_draw): Fill background explicitly. 840 (w32font_draw): Fill background explicitly.
841 841
8422008-02-02 Jason Rumney <jasonr@gnu.org> 8422008-02-01 Jason Rumney <jasonr@gnu.org>
843 843
844 * w32term.c (w32_initialize): Don't call w32font_initialize. 844 * w32term.c (w32_initialize): Don't call w32font_initialize.
845 845
@@ -885,7 +885,7 @@ third arg it->window.
885 (w32font_initialize): Remove. 885 (w32font_initialize): Remove.
886 (syms_of_w32font): Update which symbols are defined. 886 (syms_of_w32font): Update which symbols are defined.
887 887
8882008-02-02 Jason Rumney <jasonr@gnu.org> 8882008-02-01 Jason Rumney <jasonr@gnu.org>
889 889
890 * font.c (font_pixel_size): Reverse assq_no_quit args. 890 * font.c (font_pixel_size): Reverse assq_no_quit args.
891 891
@@ -901,14 +901,14 @@ third arg it->window.
901 901
902 * w32fns.c (w32_load_system_font, w32_list_fonts): Use FONT_AVG_WIDTH. 902 * w32fns.c (w32_load_system_font, w32_list_fonts): Use FONT_AVG_WIDTH.
903 903
9042008-02-02 Jason Rumney <jasonr@gnu.org> 9042008-02-01 Jason Rumney <jasonr@gnu.org>
905 905
906 * w32font.c (w32font_open): Make lfHeight negative. 906 * w32font.c (w32font_open): Make lfHeight negative.
907 907
908 * w32fns.c (x_default_font_parameter): Use new style font name. 908 * w32fns.c (x_default_font_parameter): Use new style font name.
909 (Fx_create_frame, x_create_tip_frame): Initialize resx and resy. 909 (Fx_create_frame, x_create_tip_frame): Initialize resx and resy.
910 910
9112008-02-02 Jason Rumney <jasonr@gnu.org> 9112008-02-01 Jason Rumney <jasonr@gnu.org>
912 912
913 * w32font.c (QCsubranges): New symbol. 913 * w32font.c (QCsubranges): New symbol.
914 (w32font_open, w32font_has_char): Get subranges from subproperty 914 (w32font_open, w32font_has_char): Get subranges from subproperty
@@ -961,20 +961,20 @@ third arg it->window.
961 961
962 * w32font.c: New file for w32 font backend. 962 * w32font.c: New file for w32 font backend.
963 963
9642008-02-02 Kenichi Handa <handa@m17n.org> 9642008-02-01 Kenichi Handa <handa@m17n.org>
965 965
966 * term.c: Don't include "buffer.h" twice. 966 * term.c: Don't include "buffer.h" twice.
967 967
9682008-02-02 Kenichi Handa <handa@m17n.org> 9682008-02-01 Kenichi Handa <handa@m17n.org>
969 969
970 * syntax.c (skip_syntaxes): Synch with the trunk. 970 * syntax.c (skip_syntaxes): Synch with the trunk.
971 971
9722008-02-02 Kenichi Handa <handa@m17n.org> 9722008-02-01 Kenichi Handa <handa@m17n.org>
973 973
974 * character.c (Funibyte_string): New function. 974 * character.c (Funibyte_string): New function.
975 (syms_of_character): Defsubr it. 975 (syms_of_character): Defsubr it.
976 976
9772008-02-02 Jason Rumney <jasonr@gnu.org> 9772008-02-01 Jason Rumney <jasonr@gnu.org>
978 978
979 * w32term.c [USE_FONT_BACKEND]: 979 * w32term.c [USE_FONT_BACKEND]:
980 (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc): 980 (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc):
@@ -983,17 +983,17 @@ third arg it->window.
983 (x_draw_composite_glyph_string_foreground, x_new_fontset2): 983 (x_draw_composite_glyph_string_foreground, x_new_fontset2):
984 (x_free_frame_resources): Sync with xterm.c. 984 (x_free_frame_resources): Sync with xterm.c.
985 985
9862008-02-02 Andreas Schwab <schwab@suse.de> 9862008-02-01 Andreas Schwab <schwab@suse.de>
987 987
988 * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate 988 * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate
989 char-table size. 989 char-table size.
990 990
9912008-02-02 Kenichi Handa <handa@m17n.org> 9912008-02-01 Kenichi Handa <handa@m17n.org>
992 992
993 * font.c (check_otf_features): Define it regardless of 993 * font.c (check_otf_features): Define it regardless of
994 HAVE_LIBOTF. 994 HAVE_LIBOTF.
995 995
9962008-02-02 Kenichi Handa <handa@m17n.org> 9962008-02-01 Kenichi Handa <handa@m17n.org>
997 997
998 * ftfont.c (ftfont_driver): Delete font_otf_gsub and 998 * ftfont.c (ftfont_driver): Delete font_otf_gsub and
999 font_otf_gpos, add font_drive_otf. 999 font_otf_gpos, add font_drive_otf.
@@ -1028,7 +1028,7 @@ third arg it->window.
1028 (font_otf_gsub, font_otf_gpos): Delete externs. 1028 (font_otf_gsub, font_otf_gpos): Delete externs.
1029 (font_drive_otf): Extern it. 1029 (font_drive_otf): Extern it.
1030 1030
10312008-02-02 Kenichi Handa <handa@m17n.org> 10312008-02-01 Kenichi Handa <handa@m17n.org>
1032 1032
1033 * font.c (font_at): If the window W is not on a window system, 1033 * font.c (font_at): If the window W is not on a window system,
1034 return Qnil. 1034 return Qnil.
@@ -1037,20 +1037,20 @@ third arg it->window.
1037 characters to produce. 1037 characters to produce.
1038 (encode_coding): Likewise. 1038 (encode_coding): Likewise.
1039 1039
10402008-02-02 Kenichi Handa <handa@m17n.org> 10402008-02-01 Kenichi Handa <handa@m17n.org>
1041 1041
1042 * fontset.c (free_realized_fontsets): Avoid unnecessary call of 1042 * fontset.c (free_realized_fontsets): Avoid unnecessary call of
1043 Fclear_face_cache. 1043 Fclear_face_cache.
1044 1044
1045 * xfaces.c (face_for_font): Check also face->font==font->font.font. 1045 * xfaces.c (face_for_font): Check also face->font==font->font.font.
1046 1046
10472008-02-02 Miles Bader <miles@gnu.org> 10472008-02-01 Miles Bader <miles@gnu.org>
1048 1048
1049 * emacs.c (main): Change default value of `enable_font_backend' to 1. 1049 * emacs.c (main): Change default value of `enable_font_backend' to 1.
1050 Parse "--disable-font-backend" option. 1050 Parse "--disable-font-backend" option.
1051 (standard_args): Add "--disable-font-backend" option. 1051 (standard_args): Add "--disable-font-backend" option.
1052 1052
10532008-02-02 Kenichi Handa <handa@m17n.org> 10532008-02-01 Kenichi Handa <handa@m17n.org>
1054 1054
1055 * fontset.c (fontset_find_font): New function. 1055 * fontset.c (fontset_find_font): New function.
1056 (fontset_font): Use fontset_find_font. 1056 (fontset_font): Use fontset_find_font.
@@ -1061,7 +1061,7 @@ third arg it->window.
1061 (dump_fontset): For a realized fontset, include the base fontset 1061 (dump_fontset): For a realized fontset, include the base fontset
1062 name in the returned vector. 1062 name in the returned vector.
1063 1063
10642008-02-02 Kenichi Handa <handa@m17n.org> 10642008-02-01 Kenichi Handa <handa@m17n.org>
1065 1065
1066 * character.h (CHAR_STRING): Cast C to unsigned on calling 1066 * character.h (CHAR_STRING): Cast C to unsigned on calling
1067 char_string. 1067 char_string.
@@ -1072,7 +1072,7 @@ third arg it->window.
1072 * editfns.c (general_insert_function): Use CHARACTERP, not INTEGERP. 1072 * editfns.c (general_insert_function): Use CHARACTERP, not INTEGERP.
1073 (Fchar_to_string): Likewise. 1073 (Fchar_to_string): Likewise.
1074 1074
10752008-02-02 Kenichi Handa <handa@m17n.org> 10752008-02-01 Kenichi Handa <handa@m17n.org>
1076 1076
1077 * character.h (MIN_MULTIBYTE_LEADING_CODE) 1077 * character.h (MIN_MULTIBYTE_LEADING_CODE)
1078 (MAX_MULTIBYTE_LEADING_CODE): New macros. 1078 (MAX_MULTIBYTE_LEADING_CODE): New macros.
@@ -1080,15 +1080,15 @@ third arg it->window.
1080 * regex.c (analyse_first): Fix for multibyte characters in "case 1080 * regex.c (analyse_first): Fix for multibyte characters in "case
1081 charset:" and "case categoryspec:". 1081 charset:" and "case categoryspec:".
1082 1082
10832008-02-02 Andreas Schwab <schwab@suse.de> 10832008-02-01 Andreas Schwab <schwab@suse.de>
1084 1084
1085 * Makefile.in (LIBES): Move standard libraries to the end. 1085 * Makefile.in (LIBES): Move standard libraries to the end.
1086 1086
10872008-02-02 Kenichi Handa <handa@m17n.org> 10872008-02-01 Kenichi Handa <handa@m17n.org>
1088 1088
1089 * process.c: Cancel the change done by sync with HEAD. 1089 * process.c: Cancel the change done by sync with HEAD.
1090 1090
10912008-02-02 Kenichi Handa <handa@m17n.org> 10912008-02-01 Kenichi Handa <handa@m17n.org>
1092 1092
1093 * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is 1093 * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is
1094 nonzero, don't shrink the buffer nextb. 1094 nonzero, don't shrink the buffer nextb.
@@ -1102,16 +1102,16 @@ third arg it->window.
1102 (decode_coding_gap): Temporarily set 1102 (decode_coding_gap): Temporarily set
1103 current_buffer->text->inhibit_shrinking to 1. 1103 current_buffer->text->inhibit_shrinking to 1.
1104 1104
11052008-02-02 Kenichi Handa <handa@m17n.org> 11052008-02-01 Kenichi Handa <handa@m17n.org>
1106 1106
1107 * xterm.c (x_draw_composite_glyph_string_foreground): Fix 1107 * xterm.c (x_draw_composite_glyph_string_foreground): Fix
1108 indexing into elements of s->cmp and s->char2b. 1108 indexing into elements of s->cmp and s->char2b.
1109 1109
11102008-02-02 Juanma Barranquero <lekktu@gmail.com> 11102008-02-01 Juanma Barranquero <lekktu@gmail.com>
1111 1111
1112 * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'. 1112 * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'.
1113 1113
11142008-02-02 Kenichi Handa <handa@m17n.org> 11142008-02-01 Kenichi Handa <handa@m17n.org>
1115 1115
1116 * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable 1116 * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable
1117 target_multibyte instead of multibyte. 1117 target_multibyte instead of multibyte.
@@ -1119,7 +1119,7 @@ third arg it->window.
1119 (bcmp_translate): Change the argument name from multibyte to 1119 (bcmp_translate): Change the argument name from multibyte to
1120 target_multibyte. 1120 target_multibyte.
1121 1121
11222008-02-02 Kenichi Handa <handa@m17n.org> 11222008-02-01 Kenichi Handa <handa@m17n.org>
1123 1123
1124 These changes are to compile a regexp into a pattern that can be 1124 These changes are to compile a regexp into a pattern that can be
1125 used both for multibyte and unibyte targets. 1125 used both for multibyte and unibyte targets.
@@ -1155,45 +1155,45 @@ third arg it->window.
1155 (re_match_2_internal): Pay attention to the case that the 1155 (re_match_2_internal): Pay attention to the case that the
1156 multibyteness of bufp and target may be different. 1156 multibyteness of bufp and target may be different.
1157 1157
11582008-02-02 Kenichi Handa <handa@m17n.org> 11582008-02-01 Kenichi Handa <handa@m17n.org>
1159 1159
1160 * xdisp.c (x_produce_glyphs): When a font is not found, make the 1160 * xdisp.c (x_produce_glyphs): When a font is not found, make the
1161 empty box occupy at least one column width. 1161 empty box occupy at least one column width.
1162 1162
11632008-02-02 Miles Bader <miles@gnu.org> 11632008-02-01 Miles Bader <miles@gnu.org>
1164 1164
1165 * Makefile.in: Remove redundant HAVE_XFT clause. 1165 * Makefile.in: Remove redundant HAVE_XFT clause.
1166 1166
11672008-02-02 Kenichi Handa <handa@m17n.org> 11672008-02-01 Kenichi Handa <handa@m17n.org>
1168 1168
1169 * xrdb.c (x_load_resources): Setup the default fontSet X reource. 1169 * xrdb.c (x_load_resources): Setup the default fontSet X reource.
1170 1170
11712008-02-02 Kenichi Handa <handa@m17n.org> 11712008-02-01 Kenichi Handa <handa@m17n.org>
1172 1172
1173 * regex.c (regex_compile): Synch with HEAD. 1173 * regex.c (regex_compile): Synch with HEAD.
1174 1174
11752008-02-02 Kenichi Handa <handa@m17n.org> 11752008-02-01 Kenichi Handa <handa@m17n.org>
1176 1176
1177 * fontset.c (Finternal_char_font): Fix previous change. 1177 * fontset.c (Finternal_char_font): Fix previous change.
1178 1178
11792008-02-02 Kenichi Handa <handa@m17n.org> 11792008-02-01 Kenichi Handa <handa@m17n.org>
1180 1180
1181 * fontset.c (Finternal_char_font): Fix for the case of POSITION 1181 * fontset.c (Finternal_char_font): Fix for the case of POSITION
1182 being nil. 1182 being nil.
1183 1183
11842008-02-02 Kenichi Handa <handa@m17n.org> 11842008-02-01 Kenichi Handa <handa@m17n.org>
1185 1185
1186 * xftfont.c (xftfont_open): Call FcConfigSubstitute. 1186 * xftfont.c (xftfont_open): Call FcConfigSubstitute.
1187 1187
11882008-02-02 Kenichi Handa <handa@m17n.org> 11882008-02-01 Kenichi Handa <handa@m17n.org>
1189 1189
1190 * xftfont.c (xftfont_open): Don't enable antialias explicitly. 1190 * xftfont.c (xftfont_open): Don't enable antialias explicitly.
1191 1191
11922008-02-02 Kenichi Handa <handa@m17n.org> 11922008-02-01 Kenichi Handa <handa@m17n.org>
1193 1193
1194 * search.c (simple_search): Fix previous change. 1194 * search.c (simple_search): Fix previous change.
1195 1195
11962008-02-02 Kenichi Handa <handa@m17n.org> 11962008-02-01 Kenichi Handa <handa@m17n.org>
1197 1197
1198 * xftfont.c (ftfont_font_format): Extern declaration. 1198 * xftfont.c (ftfont_font_format): Extern declaration.
1199 1199
@@ -1214,14 +1214,14 @@ third arg it->window.
1214 (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2. 1214 (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2.
1215 (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise. 1215 (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise.
1216 1216
12172008-02-02 Kenichi Handa <handa@m17n.org> 12172008-02-01 Kenichi Handa <handa@m17n.org>
1218 1218
1219 * ftfont.c (ftfont_pattern_entity): Check if FC_FONTFORMAT is 1219 * ftfont.c (ftfont_pattern_entity): Check if FC_FONTFORMAT is
1220 defined. 1220 defined.
1221 (ftfont_list_generic_family, ftfont_list, ftfont_font_format): 1221 (ftfont_list_generic_family, ftfont_list, ftfont_font_format):
1222 Likewise. 1222 Likewise.
1223 1223
12242008-02-02 Kenichi Handa <handa@m17n.org> 12242008-02-01 Kenichi Handa <handa@m17n.org>
1225 1225
1226 * xfont.c (xfont_open): Set font->format. 1226 * xfont.c (xfont_open): Set font->format.
1227 1227
@@ -1239,51 +1239,51 @@ third arg it->window.
1239 (Fquery_font): Change the format of the last element of the return 1239 (Fquery_font): Change the format of the last element of the return
1240 value. 1240 value.
1241 1241
12422008-02-02 Kenichi Handa <handa@m17n.org> 12422008-02-01 Kenichi Handa <handa@m17n.org>
1243 1243
1244 * search.c (simple_search): Fix sync with HEAD. 1244 * search.c (simple_search): Fix sync with HEAD.
1245 1245
12462008-02-02 Kenichi Handa <handa@m17n.org> 12462008-02-01 Kenichi Handa <handa@m17n.org>
1247 1247
1248 * xfns.c (xic_create_xfontset): Try the default fontset name as a 1248 * xfns.c (xic_create_xfontset): Try the default fontset name as a
1249 last resort. 1249 last resort.
1250 1250
12512008-02-02 Kenichi Handa <handa@m17n.org> 12512008-02-01 Kenichi Handa <handa@m17n.org>
1252 1252
1253 * coding.c (detect_coding_charset): Fix detection of multi-byte 1253 * coding.c (detect_coding_charset): Fix detection of multi-byte
1254 charset. 1254 charset.
1255 1255
12562008-02-02 Bob Halley <halley@play-bow.org> (tiny change) 12562008-02-01 Bob Halley <halley@play-bow.org> (tiny change)
1257 1257
1258 * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0. 1258 * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0.
1259 1259
12602008-02-02 Kenichi Handa <handa@m17n.org> 12602008-02-01 Kenichi Handa <handa@m17n.org>
1261 1261
1262 * xdisp.c (get_next_display_element): Set it->face_id for the 1262 * xdisp.c (get_next_display_element): Set it->face_id for the
1263 first component of a composition. 1263 first component of a composition.
1264 (x_produce_glyphs): Check if the font is changed or not for 1264 (x_produce_glyphs): Check if the font is changed or not for
1265 composition. 1265 composition.
1266 1266
12672008-02-02 Kenichi Handa <handa@m17n.org> 12672008-02-01 Kenichi Handa <handa@m17n.org>
1268 1268
1269 (get_next_display_element): Set it->face_id for the 1269 (get_next_display_element): Set it->face_id for the
1270 first component of a composition. 1270 first component of a composition.
1271 (x_produce_glyphs): Check if the font is changed or not for 1271 (x_produce_glyphs): Check if the font is changed or not for
1272 composition. 1272 composition.
1273 1273
12742008-02-02 Kenichi Handa <handa@m17n.org> 12742008-02-01 Kenichi Handa <handa@m17n.org>
1275 1275
1276 * fontset.c (Qlatin): New variable. 1276 * fontset.c (Qlatin): New variable.
1277 (syms_of_fontset): Define it as a lisp symbol. 1277 (syms_of_fontset): Define it as a lisp symbol.
1278 (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for 1278 (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for
1279 ASCII. 1279 ASCII.
1280 1280
12812008-02-02 Kenichi Handa <handa@m17n.org> 12812008-02-01 Kenichi Handa <handa@m17n.org>
1282 1282
1283 * font.c (font_unparse_fcname): Pay attention to the case that 1283 * font.c (font_unparse_fcname): Pay attention to the case that
1284 some of font property is a null string. 1284 some of font property is a null string.
1285 1285
12862008-02-02 Kenichi Handa <handa@m17n.org> 12862008-02-01 Kenichi Handa <handa@m17n.org>
1287 1287
1288 * term.c: Include "composite.h". 1288 * term.c: Include "composite.h".
1289 (encode_terminal_code): Output all components of composition. 1289 (encode_terminal_code): Output all components of composition.
@@ -1294,7 +1294,7 @@ third arg it->window.
1294 * xdisp.c (x_produce_glyphs): In handling composition, if a font 1294 * xdisp.c (x_produce_glyphs): In handling composition, if a font
1295 is not found, get font_info from the current ascii face. 1295 is not found, get font_info from the current ascii face.
1296 1296
12972008-02-02 Kenichi Handa <handa@m17n.org> 12972008-02-01 Kenichi Handa <handa@m17n.org>
1298 1298
1299 * fileio.c (Finsert_file_contents): On replacing, temporarily bind 1299 * fileio.c (Finsert_file_contents): On replacing, temporarily bind
1300 buffer-file-name to Qnil before calling insert_from_buffer. 1300 buffer-file-name to Qnil before calling insert_from_buffer.
@@ -1302,7 +1302,7 @@ third arg it->window.
1302 * font.c (font_unparse_fcname): Pay attention to the case that 1302 * font.c (font_unparse_fcname): Pay attention to the case that
1303 foundry is a null string. 1303 foundry is a null string.
1304 1304
13052008-02-02 Kenichi Handa <handa@m17n.org> 13052008-02-01 Kenichi Handa <handa@m17n.org>
1306 1306
1307 * ftfont.c (ftfont_list): Allow registry "unicode-sip". 1307 * ftfont.c (ftfont_list): Allow registry "unicode-sip".
1308 1308
@@ -1311,7 +1311,7 @@ third arg it->window.
1311 1311
1312 * font.h (Qunicode_sip): Extern it. 1312 * font.h (Qunicode_sip): Extern it.
1313 1313
13142008-02-02 Kenichi Handa <handa@m17n.org> 13142008-02-01 Kenichi Handa <handa@m17n.org>
1315 1315
1316 * composite.c (get_composition_id): Pay attention to TAB 1316 * composite.c (get_composition_id): Pay attention to TAB
1317 component. 1317 component.
@@ -1329,18 +1329,18 @@ third arg it->window.
1329 (BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the above change. 1329 (BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the above change.
1330 (x_produce_glyphs): Fix handling of left/right padding. 1330 (x_produce_glyphs): Fix handling of left/right padding.
1331 1331
13322008-02-02 Kenichi Handa <handa@m17n.org> 13322008-02-01 Kenichi Handa <handa@m17n.org>
1333 1333
1334 * regex.c (analyse_first): Cancel the change for synching with 1334 * regex.c (analyse_first): Cancel the change for synching with
1335 HEAD. 1335 HEAD.
1336 1336
13372008-02-02 Kenichi Handa <handa@m17n.org> 13372008-02-01 Kenichi Handa <handa@m17n.org>
1338 1338
1339 * coding.c (detect_coding_system): Fix for handling off 1339 * coding.c (detect_coding_system): Fix for handling off
1340 inhibit_iso_escape_detection. Fix for the case that no coding 1340 inhibit_iso_escape_detection. Fix for the case that no coding
1341 system is defined for a specific coding category. 1341 system is defined for a specific coding category.
1342 1342
13432008-02-02 Kenichi Handa <handa@m17n.org> 13432008-02-01 Kenichi Handa <handa@m17n.org>
1344 1344
1345 * font.c (font_matching_entity): Dolete unused local var. 1345 * font.c (font_matching_entity): Dolete unused local var.
1346 1346
@@ -1357,11 +1357,11 @@ third arg it->window.
1357 (coding_inherit_eol_type): If PARENT is not nil, be sure to 1357 (coding_inherit_eol_type): If PARENT is not nil, be sure to
1358 inherit from it. 1358 inherit from it.
1359 1359
13602008-02-02 Kenichi Handa <handa@m17n.org> 13602008-02-01 Kenichi Handa <handa@m17n.org>
1361 1361
1362 * alloc.c (NSTATICS): Increased to 0x600. 1362 * alloc.c (NSTATICS): Increased to 0x600.
1363 1363
13642008-02-02 Kenichi Handa <handa@m17n.org> 13642008-02-01 Kenichi Handa <handa@m17n.org>
1365 1365
1366 * ftfont.c (ftfont_driver): Set ftfont_driver.match to 1366 * ftfont.c (ftfont_driver): Set ftfont_driver.match to
1367 ftfont_match. 1367 ftfont_match.
@@ -1405,7 +1405,7 @@ third arg it->window.
1405 * xftfont.c (xftfont_match): New function. 1405 * xftfont.c (xftfont_match): New function.
1406 (syms_of_xftfont): Set xftfont_driver.match to xftfont_match. 1406 (syms_of_xftfont): Set xftfont_driver.match to xftfont_match.
1407 1407
14082008-02-02 Kenichi Handa <handa@m17n.org> 14082008-02-01 Kenichi Handa <handa@m17n.org>
1409 1409
1410 * font.h (struct font): New member scalable. 1410 * font.h (struct font): New member scalable.
1411 (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub. 1411 (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub.
@@ -1451,7 +1451,7 @@ third arg it->window.
1451 * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle 1451 * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle
1452 FontBackend frame parameter. 1452 FontBackend frame parameter.
1453 1453
14542008-02-02 Kenichi Handa <handa@m17n.org> 14542008-02-01 Kenichi Handa <handa@m17n.org>
1455 1455
1456 * font.h (struct font_driver_list): New member `on'. 1456 * font.h (struct font_driver_list): New member `on'.
1457 (Fclear_font_cache): EXFUN it. 1457 (Fclear_font_cache): EXFUN it.
@@ -1478,7 +1478,7 @@ third arg it->window.
1478 * xfont.c (xfont_list): Don't try listing by :name property if the 1478 * xfont.c (xfont_list): Don't try listing by :name property if the
1479 name is not for XLFD. 1479 name is not for XLFD.
1480 1480
14812008-02-02 Kenichi Handa <handa@m17n.org> 14812008-02-01 Kenichi Handa <handa@m17n.org>
1482 1482
1483 * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM) 1483 * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM)
1484 (LGLYPH_SET_TO): New macros. 1484 (LGLYPH_SET_TO): New macros.
@@ -1515,20 +1515,20 @@ third arg it->window.
1515 1515
1516 * Makefile.in (font.o): Make it depends on window.h. 1516 * Makefile.in (font.o): Make it depends on window.h.
1517 1517
15182008-02-02 Kenichi Handa <handa@m17n.org> 15182008-02-01 Kenichi Handa <handa@m17n.org>
1519 1519
1520 * xterm.c (x_draw_composite_glyph_string_foreground): Check if 1520 * xterm.c (x_draw_composite_glyph_string_foreground): Check if
1521 adjustment is vector or not. 1521 adjustment is vector or not.
1522 1522
15232008-02-02 Kenichi Handa <handa@m17n.org> 15232008-02-01 Kenichi Handa <handa@m17n.org>
1524 1524
1525 * casefiddle.c (casify_object): Sync with HEAD. 1525 * casefiddle.c (casify_object): Sync with HEAD.
1526 1526
15272008-02-02 Miles Bader <miles@gnu.org> 15272008-02-01 Miles Bader <miles@gnu.org>
1528 1528
1529 * character.h (CHECK_CHARACTER): Redefine in terms of CHECK_TYPE. 1529 * character.h (CHECK_CHARACTER): Redefine in terms of CHECK_TYPE.
1530 1530
15312008-02-02 Kenichi Handa <handa@m17n.org> 15312008-02-01 Kenichi Handa <handa@m17n.org>
1532 1532
1533 * font.h (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WIDTH, LGLYPH_WADJUST) 1533 * font.h (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WIDTH, LGLYPH_WADJUST)
1534 (LGLYPH_SET_WIDTH): Adjusted for the change of LGLYPH format. 1534 (LGLYPH_SET_WIDTH): Adjusted for the change of LGLYPH format.
@@ -1543,35 +1543,35 @@ third arg it->window.
1543 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for 1543 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for
1544 the change of LGLYPH format. 1544 the change of LGLYPH format.
1545 1545
15462008-02-02 Kenichi Handa <handa@m17n.org> 15462008-02-01 Kenichi Handa <handa@m17n.org>
1547 1547
1548 * ftfont.c (ftfont_list): Fix typo. 1548 * ftfont.c (ftfont_list): Fix typo.
1549 (ftfont_build_basic_charsets): Don't include letters with 1549 (ftfont_build_basic_charsets): Don't include letters with
1550 diactrics. 1550 diactrics.
1551 1551
15522008-02-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 15522008-02-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1553 1553
1554 * xfaces.c (realize_non_ascii_face): Set face->extra to NULL. 1554 * xfaces.c (realize_non_ascii_face): Set face->extra to NULL.
1555 1555
1556 * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if 1556 * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if
1557 xftface_info is non-NULL. 1557 xftface_info is non-NULL.
1558 1558
15592008-02-02 Kenichi Handa <handa@m17n.org> 15592008-02-01 Kenichi Handa <handa@m17n.org>
1560 1560
1561 * ftfont.c (ftfont_list): Fix typo. 1561 * ftfont.c (ftfont_list): Fix typo.
1562 (ftfont_build_basic_charsets): Don't include letters with 1562 (ftfont_build_basic_charsets): Don't include letters with
1563 diactrics. 1563 diactrics.
1564 1564
15652008-02-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 15652008-02-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1566 1566
1567 * ftfont.c (ftfont_list): Move misplaced #endif 1567 * ftfont.c (ftfont_list): Move misplaced #endif
1568 1568
15692008-02-02 Kenichi Handa <handa@m17n.org> 15692008-02-01 Kenichi Handa <handa@m17n.org>
1570 1570
1571 * ftfont.c (ftfont_list): Pay attention to the case that 1571 * ftfont.c (ftfont_list): Pay attention to the case that
1572 FC_CAPABILITY is not defined. 1572 FC_CAPABILITY is not defined.
1573 1573
15742008-02-02 Kenichi Handa <handa@m17n.org> 15742008-02-01 Kenichi Handa <handa@m17n.org>
1575 1575
1576 * xftfont.c (xftfont_open): Set charset related members to -1. 1576 * xftfont.c (xftfont_open): Set charset related members to -1.
1577 1577
@@ -1589,7 +1589,7 @@ third arg it->window.
1589 1589
1590 * font.h (font_close_object, font_merge_old_spec): Extern them. 1590 * font.h (font_close_object, font_merge_old_spec): Extern them.
1591 1591
15922008-02-02 Kenichi Handa <handa@m17n.org> 15922008-02-01 Kenichi Handa <handa@m17n.org>
1593 1593
1594 * font.c (QCscalable, Qc, Qm, Qp, Qd): New variables. 1594 * font.c (QCscalable, Qc, Qm, Qp, Qd): New variables.
1595 (syms_of_font): Initialize them. 1595 (syms_of_font): Initialize them.
@@ -1634,21 +1634,21 @@ third arg it->window.
1634 * xftfont.c (xftfont_prepare_face): Cancel previous change. 1634 * xftfont.c (xftfont_prepare_face): Cancel previous change.
1635 (xftfont_done_face): Likewise. 1635 (xftfont_done_face): Likewise.
1636 1636
16372008-02-02 Kenichi Handa <handa@m17n.org> 16372008-02-01 Kenichi Handa <handa@m17n.org>
1638 1638
1639 * font.h (Flist_fonts): EXFUN it. 1639 * font.h (Flist_fonts): EXFUN it.
1640 1640
16412008-02-02 Jason Rumney <jasonr@gnu.org> 16412008-02-01 Jason Rumney <jasonr@gnu.org>
1642 1642
1643 * w32term.c (w32_initialize): Add back smoothing_type and 1643 * w32term.c (w32_initialize): Add back smoothing_type and
1644 smoothing_enabled definitions. 1644 smoothing_enabled definitions.
1645 1645
16462008-02-02 Kenichi Handa <handa@m17n.org> 16462008-02-01 Kenichi Handa <handa@m17n.org>
1647 1647
1648 * xterm.c (x_draw_glyph_string) [USE_FONT_BACKEND]: Check 1648 * xterm.c (x_draw_glyph_string) [USE_FONT_BACKEND]: Check
1649 s->face->font on determining underline position. 1649 s->face->font on determining underline position.
1650 1650
16512008-02-02 Kenichi Handa <handa@m17n.org> 16512008-02-01 Kenichi Handa <handa@m17n.org>
1652 1652
1653 * font.c (font_parse_xlfd): Fix generating of CHARSET_REGISTRY field. 1653 * font.c (font_parse_xlfd): Fix generating of CHARSET_REGISTRY field.
1654 (font_has_char): Accept font-object too. 1654 (font_has_char): Accept font-object too.
@@ -1658,12 +1658,12 @@ third arg it->window.
1658 face->extra with ascii face. 1658 face->extra with ascii face.
1659 (xftfont_done_face): Don't free face->extra of non-ascii face. 1659 (xftfont_done_face): Don't free face->extra of non-ascii face.
1660 1660
16612008-02-02 Kenichi Handa <handa@m17n.org> 16612008-02-01 Kenichi Handa <handa@m17n.org>
1662 1662
1663 * frame.c (x_set_font) [USE_FONT_BACKEND]: Fix argument to 1663 * frame.c (x_set_font) [USE_FONT_BACKEND]: Fix argument to
1664 font_open_by_name. 1664 font_open_by_name.
1665 1665
16662008-02-02 Kenichi Handa <handa@m17n.org> 16662008-02-01 Kenichi Handa <handa@m17n.org>
1667 1667
1668 * font.h (QCspacing, QCdpi): Extern them. 1668 * font.h (QCspacing, QCdpi): Extern them.
1669 (enum font_spacing): New enum. 1669 (enum font_spacing): New enum.
@@ -1694,7 +1694,7 @@ third arg it->window.
1694 listed font. Don't include scalable in pattern. Pay attention to 1694 listed font. Don't include scalable in pattern. Pay attention to
1695 FONT_PIXEL_SIZE_QUANTUM. 1695 FONT_PIXEL_SIZE_QUANTUM.
1696 1696
16972008-02-02 Kenichi Handa <handa@m17n.org> 16972008-02-01 Kenichi Handa <handa@m17n.org>
1698 1698
1699 * lread.c (read_escape): Fix the code synched with HEAD. 1699 * lread.c (read_escape): Fix the code synched with HEAD.
1700 1700
@@ -1715,11 +1715,11 @@ third arg it->window.
1715 * xftfont.c (xftfont_open): For generating a name, start from 1715 * xftfont.c (xftfont_open): For generating a name, start from
1716 96-byte buffer. 1716 96-byte buffer.
1717 1717
17182008-02-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 17182008-02-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1719 1719
1720 * frame.h (x_new_fontset2): Fix prototype. 1720 * frame.h (x_new_fontset2): Fix prototype.
1721 1721
17222008-02-02 Kenichi Handa <handa@m17n.org> 17222008-02-01 Kenichi Handa <handa@m17n.org>
1723 1723
1724 * font.h (struct font_driver): Member parse_name deleted. 1724 * font.h (struct font_driver): Member parse_name deleted.
1725 (font_match_p, font_get_spec, font_parse_fcname) 1725 (font_match_p, font_get_spec, font_parse_fcname)
@@ -1792,11 +1792,11 @@ third arg it->window.
1792 * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments. 1792 * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments.
1793 Both args FONTSET and FONT_OBJECT must be existing ones. 1793 Both args FONTSET and FONT_OBJECT must be existing ones.
1794 1794
17952008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 17952008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1796 1796
1797 * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR. 1797 * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR.
1798 1798
17992008-02-02 Kenichi Handa <handa@m17n.org> 17992008-02-01 Kenichi Handa <handa@m17n.org>
1800 1800
1801 * xfont.c (xfont_open, xfont_encode_char): Fix typo. 1801 * xfont.c (xfont_open, xfont_encode_char): Fix typo.
1802 1802
@@ -1816,7 +1816,7 @@ third arg it->window.
1816 (ftfont_list): Enforce FC_LANG in PATTERN to cancel the effect of 1816 (ftfont_list): Enforce FC_LANG in PATTERN to cancel the effect of
1817 locale. 1817 locale.
1818 1818
18192008-02-02 Kenichi Handa <handa@m17n.org> 18192008-02-01 Kenichi Handa <handa@m17n.org>
1820 1820
1821 * font.h (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Extern them. 1821 * font.h (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Extern them.
1822 1822
@@ -1862,12 +1862,12 @@ third arg it->window.
1862 * xterm.c (x_new_fontset2): If an ASCII font couldn't be loaded, 1862 * xterm.c (x_new_fontset2): If an ASCII font couldn't be loaded,
1863 return Qnil. 1863 return Qnil.
1864 1864
18652008-02-02 Jason Rumney <jasonr@gnu.org> 18652008-02-01 Jason Rumney <jasonr@gnu.org>
1866 1866
1867 * w32term.c (w32_initialize): Manually sync 2008-02-02 change from 1867 * w32term.c (w32_initialize): Manually sync 2008-02-01 change from
1868 HEAD. 1868 HEAD.
1869 1869
18702008-02-02 Kenichi Handa <handa@m17n.org> 18702008-02-01 Kenichi Handa <handa@m17n.org>
1871 1871
1872 * emacs.c (main): Check -enable-font-backend arg after the check 1872 * emacs.c (main): Check -enable-font-backend arg after the check
1873 of -nl. 1873 of -nl.
@@ -1879,7 +1879,7 @@ third arg it->window.
1879 1879
1880 * coding.h (CODING_REQUIRE_ENCODING): Comment sync with HEAD. 1880 * coding.h (CODING_REQUIRE_ENCODING): Comment sync with HEAD.
1881 1881
18822008-02-02 Kenichi Handa <handa@m17n.org> 18822008-02-01 Kenichi Handa <handa@m17n.org>
1883 1883
1884 * xftfont.c (xftfont_default_fid): Set fid_known to 1. 1884 * xftfont.c (xftfont_default_fid): Set fid_known to 1.
1885 (struct xftdraw_list, xftdraw_list): Delete them. 1885 (struct xftdraw_list, xftdraw_list): Delete them.
@@ -1891,7 +1891,7 @@ third arg it->window.
1891 1891
1892 * xfont.c (xfont_encode_char): Fix calculation of char2b. 1892 * xfont.c (xfont_encode_char): Fix calculation of char2b.
1893 1893
18942008-02-02 Kenichi Handa <handa@m17n.org> 18942008-02-01 Kenichi Handa <handa@m17n.org>
1895 1895
1896 These changes are for the new font handling codes. 1896 These changes are for the new font handling codes.
1897 1897
@@ -1999,7 +1999,7 @@ third arg it->window.
1999 enable_font_backend is nonzero, use font-backend mechanism. 1999 enable_font_backend is nonzero, use font-backend mechanism.
2000 (x_new_fontset2) [USE_FONT_BACKEND]: New function. 2000 (x_new_fontset2) [USE_FONT_BACKEND]: New function.
2001 2001
20022008-02-02 Kenichi Handa <handa@m17n.org> 20022008-02-01 Kenichi Handa <handa@m17n.org>
2003 2003
2004 * coding.h (system_eol_type): Fix synching with HEAD. 2004 * coding.h (system_eol_type): Fix synching with HEAD.
2005 2005
@@ -2020,38 +2020,38 @@ third arg it->window.
2020 2020
2021 * keymap.c (push_key_description): Fix synching with HEAD. 2021 * keymap.c (push_key_description): Fix synching with HEAD.
2022 2022
20232008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 20232008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2024 2024
2025 * macgui.h (USE_ATSUI): Don't enable on emacs-unicode-2 branch. 2025 * macgui.h (USE_ATSUI): Don't enable on emacs-unicode-2 branch.
2026 2026
20272008-02-02 Kenichi Handa <handa@m17n.org> 20272008-02-01 Kenichi Handa <handa@m17n.org>
2028 2028
2029 * coding.c (decode_eol): Pay attention to buffer relocation in 2029 * coding.c (decode_eol): Pay attention to buffer relocation in
2030 del_range_2. 2030 del_range_2.
2031 (decode_coding): Call decode_eol before restoring undo_list. 2031 (decode_coding): Call decode_eol before restoring undo_list.
2032 2032
20332008-02-02 Kenichi Handa <handa@m17n.org> 20332008-02-01 Kenichi Handa <handa@m17n.org>
2034 2034
2035 * charset.c (Fdefine_charset_internal): Fix setting of 2035 * charset.c (Fdefine_charset_internal): Fix setting of
2036 emacs_mule_bytes. 2036 emacs_mule_bytes.
2037 2037
20382008-02-02 Kenichi Handa <handa@m17n.org> 20382008-02-01 Kenichi Handa <handa@m17n.org>
2039 2039
2040 * keyboard.c (read_char): Check if C is a character or not before 2040 * keyboard.c (read_char): Check if C is a character or not before
2041 looking up Vkeyboard_translate_table. 2041 looking up Vkeyboard_translate_table.
2042 2042
20432008-02-02 Kenichi Handa <handa@m17n.org> 20432008-02-01 Kenichi Handa <handa@m17n.org>
2044 2044
2045 * coding.c (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix 2045 * coding.c (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix
2046 condition to terminate the loop. 2046 condition to terminate the loop.
2047 2047
20482008-02-02 Kenichi Handa <handa@m17n.org> 20482008-02-01 Kenichi Handa <handa@m17n.org>
2049 2049
2050 * coding.c (produce_composition): Compare charbuf[i] instead of 2050 * coding.c (produce_composition): Compare charbuf[i] instead of
2051 args[i] against 0. 2051 args[i] against 0.
2052 (Fterminal_coding_system): Use EQ to compare Lisp objects. 2052 (Fterminal_coding_system): Use EQ to compare Lisp objects.
2053 2053
20542008-02-02 Kenichi Handa <handa@m17n.org> 20542008-02-01 Kenichi Handa <handa@m17n.org>
2055 2055
2056 * coding.c (DECODE_COMPOSITION_START): If the source is short, set 2056 * coding.c (DECODE_COMPOSITION_START): If the source is short, set
2057 coding->result to CODING_RESULT_INSUFFICIENT_SRC. 2057 coding->result to CODING_RESULT_INSUFFICIENT_SRC.
@@ -2064,17 +2064,17 @@ third arg it->window.
2064 (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise. 2064 (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise.
2065 (decode_coding_emacs_mule): Handle invalid bytes correctly. 2065 (decode_coding_emacs_mule): Handle invalid bytes correctly.
2066 2066
20672008-02-02 Kenichi Handa <handa@m17n.org> 20672008-02-01 Kenichi Handa <handa@m17n.org>
2068 2068
2069 * coding.c (encode_coding_ccl): Allocate destination dynamically 2069 * coding.c (encode_coding_ccl): Allocate destination dynamically
2070 when necessary. 2070 when necessary.
2071 2071
20722008-02-02 Kenichi Handa <handa@m17n.org> 20722008-02-01 Kenichi Handa <handa@m17n.org>
2073 2073
2074 * ccl.c (Fccl_execute_on_string): Fix the condition of terminating 2074 * ccl.c (Fccl_execute_on_string): Fix the condition of terminating
2075 the loop. When quitted, show a proper error message. 2075 the loop. When quitted, show a proper error message.
2076 2076
20772008-02-02 Kenichi Handa <handa@m17n.org> 20772008-02-01 Kenichi Handa <handa@m17n.org>
2078 2078
2079 * coding.c (decode_coding): Fix previous change. 2079 * coding.c (decode_coding): Fix previous change.
2080 2080
@@ -2085,28 +2085,28 @@ third arg it->window.
2085 character sequence. 2085 character sequence.
2086 (Fccl_execute_on_string): Use ASET, not XSET. 2086 (Fccl_execute_on_string): Use ASET, not XSET.
2087 2087
20882008-02-02 Kenichi Handa <handa@m17n.org> 20882008-02-01 Kenichi Handa <handa@m17n.org>
2089 2089
2090 * search.c (search_buffer): Fix handling of "\\" in a trivial 2090 * search.c (search_buffer): Fix handling of "\\" in a trivial
2091 regexp. 2091 regexp.
2092 2092
20932008-02-02 Kenichi Handa <handa@m17n.org> 20932008-02-01 Kenichi Handa <handa@m17n.org>
2094 2094
2095 * coding.c (decode_coding): Fix the condition of terminating the 2095 * coding.c (decode_coding): Fix the condition of terminating the
2096 decoding loop. 2096 decoding loop.
2097 2097
20982008-02-02 Kenichi Handa <handa@m17n.org> 20982008-02-01 Kenichi Handa <handa@m17n.org>
2099 2099
2100 * data.c (Faset): On setting a character bigger than 255 in a 2100 * data.c (Faset): On setting a character bigger than 255 in a
2101 unibyte string, signal an error instead of make the string 2101 unibyte string, signal an error instead of make the string
2102 multibyte. 2102 multibyte.
2103 2103
21042008-02-02 Kenichi Handa <handa@m17n.org> 21042008-02-01 Kenichi Handa <handa@m17n.org>
2105 2105
2106 * charset.c (map_charset_chars): Fix for ascii-compatible charset 2106 * charset.c (map_charset_chars): Fix for ascii-compatible charset
2107 made by a mapping table. 2107 made by a mapping table.
2108 2108
21092008-02-02 Kenichi Handa <handa@m17n.org> 21092008-02-01 Kenichi Handa <handa@m17n.org>
2110 2110
2111 * xdisp.c (fill_composite_glyph_string): Check s->face is NULL or 2111 * xdisp.c (fill_composite_glyph_string): Check s->face is NULL or
2112 not. 2112 not.
@@ -2116,7 +2116,7 @@ third arg it->window.
2116 * xterm.c (x_draw_composite_glyph_string_foreground): Check 2116 * xterm.c (x_draw_composite_glyph_string_foreground): Check
2117 s->face is NULL or not. 2117 s->face is NULL or not.
2118 2118
21192008-02-02 Kenichi Handa <handa@m17n.org> 21192008-02-01 Kenichi Handa <handa@m17n.org>
2120 2120
2121 * xterm.c (x_set_glyph_string_clipping_exactly): New function. 2121 * xterm.c (x_set_glyph_string_clipping_exactly): New function.
2122 (x_draw_glyph_string): Fix drawing of right_overhang and 2122 (x_draw_glyph_string): Fix drawing of right_overhang and
@@ -2127,21 +2127,21 @@ third arg it->window.
2127 2127
2128 * term.c (produce_glyphs): Sync to HEAD. 2128 * term.c (produce_glyphs): Sync to HEAD.
2129 2129
21302008-02-02 Kenichi Handa <handa@m17n.org> 21302008-02-01 Kenichi Handa <handa@m17n.org>
2131 2131
2132 * xdisp.c (x_produce_glyphs): Handle composition with TAB. 2132 * xdisp.c (x_produce_glyphs): Handle composition with TAB.
2133 2133
21342008-02-02 Kenichi Handa <handa@m17n.org> 21342008-02-01 Kenichi Handa <handa@m17n.org>
2135 2135
2136 * coding.c: Cancel incorrect synching with HEAD. 2136 * coding.c: Cancel incorrect synching with HEAD.
2137 2137
21382008-02-02 Kenichi Handa <handa@m17n.org> 21382008-02-01 Kenichi Handa <handa@m17n.org>
2139 2139
2140 * coding.c (Fdefine_coding_system_internal): Avoid a duplicated 2140 * coding.c (Fdefine_coding_system_internal): Avoid a duplicated
2141 element in Vcoding_system_alist. 2141 element in Vcoding_system_alist.
2142 (Fdefine_coding_system_alias): Likewise. 2142 (Fdefine_coding_system_alias): Likewise.
2143 2143
21442008-02-02 Kenichi Handa <handa@m17n.org> 21442008-02-01 Kenichi Handa <handa@m17n.org>
2145 2145
2146 * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. 2146 * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF.
2147 2147
@@ -2159,18 +2159,18 @@ third arg it->window.
2159 (CHECK_CODING_SYSTEM_GET_SPEC): Try also Fcheck_coding_system. 2159 (CHECK_CODING_SYSTEM_GET_SPEC): Try also Fcheck_coding_system.
2160 (CHECK_CODING_SYSTEM_GET_ID): Likewise. 2160 (CHECK_CODING_SYSTEM_GET_ID): Likewise.
2161 2161
21622008-02-02 Kenichi Handa <handa@m17n.org> 21622008-02-01 Kenichi Handa <handa@m17n.org>
2163 2163
2164 * xterm.c (handle_one_xevent): Delete unnecessary code inserted by 2164 * xterm.c (handle_one_xevent): Delete unnecessary code inserted by
2165 sync with HEAD. 2165 sync with HEAD.
2166 2166
2167 * coding.c (code_conversion_restore): GCPRO arg. 2167 * coding.c (code_conversion_restore): GCPRO arg.
2168 2168
21692008-02-02 Kenichi Handa <handa@m17n.org> 21692008-02-01 Kenichi Handa <handa@m17n.org>
2170 2170
2171 * character.c (lisp_string_width): Check multibyteness of STRING. 2171 * character.c (lisp_string_width): Check multibyteness of STRING.
2172 2172
21732008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 21732008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2174 2174
2175 * macterm.c (mac_encode_char): Call ccl_driver with the last arg 2175 * macterm.c (mac_encode_char): Call ccl_driver with the last arg
2176 Qnil. Use JIS_TO_SJIS instead of ENCODE_SJIS. 2176 Qnil. Use JIS_TO_SJIS instead of ENCODE_SJIS.
@@ -2179,7 +2179,7 @@ third arg it->window.
2179 (x_load_font): Initialize fontp->fontset to -1. Set 2179 (x_load_font): Initialize fontp->fontset to -1. Set
2180 fontp->encoding_type. 2180 fontp->encoding_type.
2181 2181
21822008-02-02 Kenichi Handa <handa@m17n.org> 21822008-02-01 Kenichi Handa <handa@m17n.org>
2183 2183
2184 * search.c (search_buffer): Give up BM search on case-fold-search 2184 * search.c (search_buffer): Give up BM search on case-fold-search
2185 if one of a target character has a case-equivalence of different 2185 if one of a target character has a case-equivalence of different
@@ -2188,21 +2188,21 @@ third arg it->window.
2188 (boyer_moore): Fix handling of case-equivalent multibyte 2188 (boyer_moore): Fix handling of case-equivalent multibyte
2189 characters. 2189 characters.
2190 2190
21912008-02-02 Kenichi Handa <handa@m17n.org> 21912008-02-01 Kenichi Handa <handa@m17n.org>
2192 2192
2193 * coding.c (decode_coding): Fix handling of invalid bytes. 2193 * coding.c (decode_coding): Fix handling of invalid bytes.
2194 2194
21952008-02-02 Kenichi Handa <handa@m17n.org> 21952008-02-01 Kenichi Handa <handa@m17n.org>
2196 2196
2197 * xterm.c (handle_one_xevent): Handle keysyms directly mapped to 2197 * xterm.c (handle_one_xevent): Handle keysyms directly mapped to
2198 Unicode characters. 2198 Unicode characters.
2199 2199
22002008-02-02 Kenichi Handa <handa@m17n.org> 22002008-02-01 Kenichi Handa <handa@m17n.org>
2201 2201
2202 * coding.c (encode_coding_object): If a pre-write-conversion 2202 * coding.c (encode_coding_object): If a pre-write-conversion
2203 function makes a new buffer, kill it. 2203 function makes a new buffer, kill it.
2204 2204
22052008-02-02 Kenichi Handa <handa@m17n.org> 22052008-02-01 Kenichi Handa <handa@m17n.org>
2206 2206
2207 * coding.c (QCascii_compatible_p): New variable. 2207 * coding.c (QCascii_compatible_p): New variable.
2208 (syms_of_coding): Initialize it. 2208 (syms_of_coding): Initialize it.
@@ -2214,27 +2214,27 @@ third arg it->window.
2214 property in the plist of the coding system. 2214 property in the plist of the coding system.
2215 (Fcoding_system_put): Check QCascii_compatible_p. 2215 (Fcoding_system_put): Check QCascii_compatible_p.
2216 2216
22172008-02-02 Kenichi Handa <handa@m17n.org> 22172008-02-01 Kenichi Handa <handa@m17n.org>
2218 2218
2219 * xdisp.c (get_next_display_element): Sync with the change in 2219 * xdisp.c (get_next_display_element): Sync with the change in
2220 HEAD (2008-02-02). 2220 HEAD (2008-02-01).
2221 2221
22222008-02-02 Kenichi Handa <handa@m17n.org> 22222008-02-01 Kenichi Handa <handa@m17n.org>
2223 2223
2224 * callproc.c (Fcall_process): Sync with the change in 2224 * callproc.c (Fcall_process): Sync with the change in
2225 HEAD (2008-02-02). 2225 HEAD (2008-02-01).
2226 2226
22272008-02-02 Miles Bader <miles@gnu.org> 22272008-02-01 Miles Bader <miles@gnu.org>
2228 2228
2229 * xfaces.c (Finternal_lisp_face_equal_p): Restore previously 2229 * xfaces.c (Finternal_lisp_face_equal_p): Restore previously
2230 removed calculation of frame `f', as it's now used. 2230 removed calculation of frame `f', as it's now used.
2231 2231
22322008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 22322008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2233 2233
2234 * macterm.c (x_font_name_to_mac_font_name): Sync with trunk 2234 * macterm.c (x_font_name_to_mac_font_name): Sync with trunk
2235 for the case that does not require code conversion. 2235 for the case that does not require code conversion.
2236 2236
22372008-02-02 Kenichi Handa <handa@m17n.org> 22372008-02-01 Kenichi Handa <handa@m17n.org>
2238 2238
2239 * Makefile.in (shortlisp): Cancel previous change. 2239 * Makefile.in (shortlisp): Cancel previous change.
2240 (RUN_TEMACS): Include "-nl" if HAVE_SHM is defined. 2240 (RUN_TEMACS): Include "-nl" if HAVE_SHM is defined.
@@ -2244,19 +2244,19 @@ third arg it->window.
2244 (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run 2244 (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run
2245 $(RUN_TEMACS) unconditionally. 2245 $(RUN_TEMACS) unconditionally.
2246 2246
22472008-02-02 Kenichi Handa <handa@m17n.org> 22472008-02-01 Kenichi Handa <handa@m17n.org>
2248 2248
2249 * Makefile.in (shortlisp): Add ../lisp/international/charprop.el. 2249 * Makefile.in (shortlisp): Add ../lisp/international/charprop.el.
2250 (temacs${EXEEXT}): Build charprop.el if necessary. 2250 (temacs${EXEEXT}): Build charprop.el if necessary.
2251 (admindir): New variable. 2251 (admindir): New variable.
2252 ($(lispsource)international/charprop.el): New target. 2252 ($(lispsource)international/charprop.el): New target.
2253 2253
22542008-02-02 Miles Bader <miles@gnu.org> 22542008-02-01 Miles Bader <miles@gnu.org>
2255 2255
2256 * character.c (chars-in-region): Obsolete function removed. 2256 * character.c (chars-in-region): Obsolete function removed.
2257 (syms_of_character): Remove its initialization. 2257 (syms_of_character): Remove its initialization.
2258 2258
22592008-02-02 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> 22592008-02-01 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
2260 2260
2261 * w32select.c (validate_coding_system) 2261 * w32select.c (validate_coding_system)
2262 (setup_windows_coding_system): New functions. 2262 (setup_windows_coding_system): New functions.
@@ -2270,65 +2270,65 @@ third arg it->window.
2270 * lisp.h (Fcoding_system_base, Fcoding_system_eol_type) 2270 * lisp.h (Fcoding_system_base, Fcoding_system_eol_type)
2271 (Fcheck_coding_system): Add declarations. 2271 (Fcheck_coding_system): Add declarations.
2272 2272
22732008-02-02 Kenichi Handa <handa@m17n.org> 22732008-02-01 Kenichi Handa <handa@m17n.org>
2274 2274
2275 * s/ms-w32.h (STDC_HEADERS): Sync with the change in 2275 * s/ms-w32.h (STDC_HEADERS): Sync with the change in
2276 HEAD (2008-02-02). 2276 HEAD (2008-02-01).
2277 2277
22782008-02-02 Kenichi Handa <handa@m17n.org> 22782008-02-01 Kenichi Handa <handa@m17n.org>
2279 2279
2280 * charset.c (load_charset_map_from_vector): Fix for the first 2280 * charset.c (load_charset_map_from_vector): Fix for the first
2281 iteration. 2281 iteration.
2282 2282
22832008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 22832008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2284 2284
2285 * macfns.c (Fx_create_frame, x_create_tip_frame): Pass Lisp 2285 * macfns.c (Fx_create_frame, x_create_tip_frame): Pass Lisp
2286 string as the second argument for x_new_fontset. 2286 string as the second argument for x_new_fontset.
2287 2287
22882008-02-02 Kenichi Handa <handa@m17n.org> 22882008-02-01 Kenichi Handa <handa@m17n.org>
2289 2289
2290 * fns.c (Fstring_as_multibyte): Fix the change for syncing with 2290 * fns.c (Fstring_as_multibyte): Fix the change for syncing with
2291 CVS head. 2291 CVS head.
2292 2292
22932008-02-02 Kenichi Handa <handa@m17n.org> 22932008-02-01 Kenichi Handa <handa@m17n.org>
2294 2294
2295 * search.c (search_buffer): Fix the change for syncing with CVS 2295 * search.c (search_buffer): Fix the change for syncing with CVS
2296 head. 2296 head.
2297 (search_buffer): Likewise. 2297 (search_buffer): Likewise.
2298 2298
22992008-02-02 Kenichi Handa <handa@m17n.org> 22992008-02-01 Kenichi Handa <handa@m17n.org>
2300 2300
2301 * xdisp.c (get_next_display_element): Sync with CVS head. 2301 * xdisp.c (get_next_display_element): Sync with CVS head.
2302 2302
23032008-02-02 Kenichi Handa <handa@m17n.org> 23032008-02-01 Kenichi Handa <handa@m17n.org>
2304 2304
2305 * coding.c (decode_coding_object): Use safe_call1 instead of call1. 2305 * coding.c (decode_coding_object): Use safe_call1 instead of call1.
2306 (encode_coding_object): Use safe_call instead of call2. 2306 (encode_coding_object): Use safe_call instead of call2.
2307 2307
23082008-02-02 Kenichi Handa <handa@m17n.org> 23082008-02-01 Kenichi Handa <handa@m17n.org>
2309 2309
2310 * fontset.c (set_default_ascii_font): Fix the change for 2310 * fontset.c (set_default_ascii_font): Fix the change for
2311 syncing with CVS head. 2311 syncing with CVS head.
2312 2312
23132008-02-02 Kenichi Handa <handa@m17n.org> 23132008-02-01 Kenichi Handa <handa@m17n.org>
2314 2314
2315 * fontset.c (Fset_fontset_font): Check family element of a given 2315 * fontset.c (Fset_fontset_font): Check family element of a given
2316 vector. 2316 vector.
2317 2317
2318 * Makefile.in (lisp): Include charprop.el. 2318 * Makefile.in (lisp): Include charprop.el.
2319 2319
23202008-02-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 23202008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2321 2321
2322 * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash. 2322 * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash.
2323 Not sure if it's unnecessary. 2323 Not sure if it's unnecessary.
2324 2324
23252008-02-02 Steven Tamm <steventamm@mac.com> 23252008-02-01 Steven Tamm <steventamm@mac.com>
2326 2326
2327 * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out 2327 * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out
2328 some possibly unnecessary fontset checking code that crashed 2328 some possibly unnecessary fontset checking code that crashed
2329 when creating a new frame 2329 when creating a new frame
2330 2330
23312008-02-02 Kenichi Handa <handa@m17n.org> 23312008-02-01 Kenichi Handa <handa@m17n.org>
2332 2332
2333 * xfaces.c (merge_faces): Fix argument to lookup_derived_face and 2333 * xfaces.c (merge_faces): Fix argument to lookup_derived_face and
2334 lookup_face. 2334 lookup_face.
@@ -2338,30 +2338,30 @@ third arg it->window.
2338 * fringe.c (draw_fringe_bitmap_1): Fix argument to 2338 * fringe.c (draw_fringe_bitmap_1): Fix argument to
2339 lookup_named_face. 2339 lookup_named_face.
2340 2340
23412008-02-02 Kenichi Handa <handa@m17n.org> 23412008-02-01 Kenichi Handa <handa@m17n.org>
2342 2342
2343 * xdisp.c (get_next_display_element): Sync to the change in HEAD 2343 * xdisp.c (get_next_display_element): Sync to the change in HEAD
2344 on 2008-02-02. 2344 on 2008-02-01.
2345 2345
23462008-02-02 Kenichi Handa <handa@m17n.org> 23462008-02-01 Kenichi Handa <handa@m17n.org>
2347 2347
2348 * search.c: Sync to the change in HEAD on 2008-02-02, 20. 2348 * search.c: Sync to the change in HEAD on 2008-02-01, 20.
2349 2349
2350 * w32console.c: Sync to the change in HEAD on 2008-02-02. 2350 * w32console.c: Sync to the change in HEAD on 2008-02-01.
2351 2351
2352 * coding.c: Cancel the change done in HEAD on 2008-02-02. 2352 * coding.c: Cancel the change done in HEAD on 2008-02-01.
2353 (coding_charset_list): New function. 2353 (coding_charset_list): New function.
2354 2354
2355 * coding.h (coding_charset_list): Extern it. 2355 * coding.h (coding_charset_list): Extern it.
2356 2356
2357 * term.c: Sync to the change in HEAD on 2008-02-02. 2357 * term.c: Sync to the change in HEAD on 2008-02-01.
2358 2358
23592008-02-02 Kenichi Handa <handa@m17n.org> 23592008-02-01 Kenichi Handa <handa@m17n.org>
2360 2360
2361 * fontset.c (Fset_fontset_font): Call find_font_encoding with 2361 * fontset.c (Fset_fontset_font): Call find_font_encoding with
2362 concatenation of family and registry. 2362 concatenation of family and registry.
2363 2363
23642008-02-02 Kenichi Handa <handa@m17n.org> 23642008-02-01 Kenichi Handa <handa@m17n.org>
2365 2365
2366 * character.h (BYTE8_STRING): Fix typo. 2366 * character.h (BYTE8_STRING): Fix typo.
2367 2367
@@ -2371,16 +2371,16 @@ third arg it->window.
2371 * casefiddle.c (casify_region): Handle changes in byte-length 2371 * casefiddle.c (casify_region): Handle changes in byte-length
2372 using replace_range_2 (sync to HEAD). 2372 using replace_range_2 (sync to HEAD).
2373 2373
23742008-02-02 Andreas Schwab <schwab@suse.de> 23742008-02-01 Andreas Schwab <schwab@suse.de>
2375 2375
2376 * chartab.c (map_char_table): GCPRO table and arg. 2376 * chartab.c (map_char_table): GCPRO table and arg.
2377 2377
23782008-02-02 Kenichi Handa <handa@m17n.org> 23782008-02-01 Kenichi Handa <handa@m17n.org>
2379 2379
2380 * syntax.c (skip_syntaxes): Return lispy 0 (not nil) if point is 2380 * syntax.c (skip_syntaxes): Return lispy 0 (not nil) if point is
2381 already at limit. 2381 already at limit.
2382 2382
23832008-02-02 Kenichi Handa <handa@m17n.org> 23832008-02-01 Kenichi Handa <handa@m17n.org>
2384 2384
2385 * fontset.c (fs_load_font): Use fast_string_match_ignore_case 2385 * fontset.c (fs_load_font): Use fast_string_match_ignore_case
2386 instead of fast_c_string_match_ignore_case. 2386 instead of fast_c_string_match_ignore_case.
@@ -2388,7 +2388,7 @@ third arg it->window.
2388 fast_string_match_ignore_case instead of 2388 fast_string_match_ignore_case instead of
2389 fast_c_string_match_ignore_case. Caller changed. 2389 fast_c_string_match_ignore_case. Caller changed.
2390 2390
23912008-02-02 Kenichi Handa <handa@m17n.org> 23912008-02-01 Kenichi Handa <handa@m17n.org>
2392 2392
2393 * xdisp.c (get_next_display_element): In unibyte case, decide to 2393 * xdisp.c (get_next_display_element): In unibyte case, decide to
2394 display in octal form by checking a chacter by 2394 display in octal form by checking a chacter by
@@ -2402,16 +2402,16 @@ third arg it->window.
2402 * character.h (unibyte_has_multibyte_table): Extern it. 2402 * character.h (unibyte_has_multibyte_table): Extern it.
2403 (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro. 2403 (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro.
2404 2404
24052008-02-02 Kenichi Handa <handa@m17n.org> 24052008-02-01 Kenichi Handa <handa@m17n.org>
2406 2406
2407 * callproc.c (Fcall_process): Fix merging of 2008-02-02 change. 2407 * callproc.c (Fcall_process): Fix merging of 2008-02-01 change.
2408 2408
24092008-02-02 Kenichi Handa <handa@m17n.org> 24092008-02-01 Kenichi Handa <handa@m17n.org>
2410 2410
2411 * coding.c (encode_coding_iso_2022): Fix handling of charset 2411 * coding.c (encode_coding_iso_2022): Fix handling of charset
2412 annotation. 2412 annotation.
2413 2413
24142008-02-02 Kenichi Handa <handa@m17n.org> 24142008-02-01 Kenichi Handa <handa@m17n.org>
2415 2415
2416 * coding.c (setup_coding_system): If coding_system is nil, use 2416 * coding.c (setup_coding_system): If coding_system is nil, use
2417 Qundecided. 2417 Qundecided.
@@ -2420,7 +2420,7 @@ third arg it->window.
2420 (syms_of_coding): Define coding-system `undecided' here. Setup 2420 (syms_of_coding): Define coding-system `undecided' here. Setup
2421 terminal_coding as `undecided'. 2421 terminal_coding as `undecided'.
2422 2422
24232008-02-02 Kenichi Handa <handa@m17n.org> 24232008-02-01 Kenichi Handa <handa@m17n.org>
2424 2424
2425 * xdisp.c (message_dolog, set_message_1): Call 2425 * xdisp.c (message_dolog, set_message_1): Call
2426 unibyte_char_to_multibyte with arg type int. 2426 unibyte_char_to_multibyte with arg type int.
@@ -2432,28 +2432,28 @@ third arg it->window.
2432 * print.c (print_object): Include sub char-table in cicularities 2432 * print.c (print_object): Include sub char-table in cicularities
2433 detection. 2433 detection.
2434 2434
24352008-02-02 Kenichi Handa <handa@m17n.org> 24352008-02-01 Kenichi Handa <handa@m17n.org>
2436 2436
2437 * keymap.c (where_is_internal_2): Fix for the case that KEY is a 2437 * keymap.c (where_is_internal_2): Fix for the case that KEY is a
2438 cons. Append the found sequences in car of ARGS instead of 2438 cons. Append the found sequences in car of ARGS instead of
2439 prepending. 2439 prepending.
2440 2440
24412008-02-02 Kenichi Handa <handa@m17n.org> 24412008-02-01 Kenichi Handa <handa@m17n.org>
2442 2442
2443 * fileio.c (report_file_error): Make a unibyte string from 2443 * fileio.c (report_file_error): Make a unibyte string from
2444 strerror (errorno). 2444 strerror (errorno).
2445 (Fsubstitute_in_file_name): Fix the arg to 2445 (Fsubstitute_in_file_name): Fix the arg to
2446 unibyte_char_to_multibyte. It is evaluated twice. 2446 unibyte_char_to_multibyte. It is evaluated twice.
2447 2447
24482008-02-02 Kenichi Handa <handa@m17n.org> 24482008-02-01 Kenichi Handa <handa@m17n.org>
2449 2449
2450 * charset.h (CHAR_CHARSET): Shortcut for ASCII case. 2450 * charset.h (CHAR_CHARSET): Shortcut for ASCII case.
2451 2451
24522008-02-02 Kenichi Handa <handa@m17n.org> 24522008-02-01 Kenichi Handa <handa@m17n.org>
2453 2453
2454 * coding.c (detect_coding): Fix previous change. 2454 * coding.c (detect_coding): Fix previous change.
2455 2455
24562008-02-02 Kenichi Handa <handa@m17n.org> 24562008-02-01 Kenichi Handa <handa@m17n.org>
2457 2457
2458 * coding.c (detect_coding_utf_16): Don't set detect_info->found if 2458 * coding.c (detect_coding_utf_16): Don't set detect_info->found if
2459 BOM is not found. 2459 BOM is not found.
@@ -2461,16 +2461,16 @@ third arg it->window.
2461 found. 2461 found.
2462 (detect_coding_system): Likewise. 2462 (detect_coding_system): Likewise.
2463 2463
24642008-02-02 Jason Rumney <jasonr@gnu.org> 24642008-02-01 Jason Rumney <jasonr@gnu.org>
2465 2465
2466 * w32fns.c (x_to_w32_font): Update to use new coding struct. 2466 * w32fns.c (x_to_w32_font): Update to use new coding struct.
2467 2467
24682008-02-02 Kenichi Handa <handa@m17n.org> 24682008-02-01 Kenichi Handa <handa@m17n.org>
2469 2469
2470 * charset.c (Fdeclare_equiv_charset): Fix handing of CHARS. 2470 * charset.c (Fdeclare_equiv_charset): Fix handing of CHARS.
2471 (Fiso_charset): Likewise. 2471 (Fiso_charset): Likewise.
2472 2472
24732008-02-02 Steven Tamm <steventamm@mac.com> 24732008-02-01 Steven Tamm <steventamm@mac.com>
2474 2474
2475 * macterm.c (mac_encode_char): Add charset argument and update 2475 * macterm.c (mac_encode_char): Add charset argument and update
2476 to use encoding_type. 2476 to use encoding_type.
@@ -2480,7 +2480,7 @@ third arg it->window.
2480 (x_font_name_to_mac_font_name): Temporarily remove encoding 2480 (x_font_name_to_mac_font_name): Temporarily remove encoding
2481 (x_load_font): Temporarily remove encoding 2481 (x_load_font): Temporarily remove encoding
2482 2482
24832008-02-02 Kenichi Handa <handa@m17n.org> 24832008-02-01 Kenichi Handa <handa@m17n.org>
2484 2484
2485 * xfaces.c (Fface_font): If frame is not on a window system, 2485 * xfaces.c (Fface_font): If frame is not on a window system,
2486 ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't 2486 ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't
@@ -2489,7 +2489,7 @@ third arg it->window.
2489 (lookup_non_ascii_face, realize_non_ascii_face): Define them only 2489 (lookup_non_ascii_face, realize_non_ascii_face): Define them only
2490 whne HAVE_WINDOW_SYSTEM is defined. 2490 whne HAVE_WINDOW_SYSTEM is defined.
2491 2491
24922008-02-02 Kenichi Handa <handa@m17n.org> 24922008-02-01 Kenichi Handa <handa@m17n.org>
2493 2493
2494 * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL. 2494 * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL.
2495 (x_produce_glyphs): Fix setting of members of cmp in case 2495 (x_produce_glyphs): Fix setting of members of cmp in case
@@ -2498,17 +2498,17 @@ third arg it->window.
2498 * fontset.c (Fset_fontset_font): Docstring fixed. 2498 * fontset.c (Fset_fontset_font): Docstring fixed.
2499 (Ffontset_info): Make it backward compatible. New arg ALL. 2499 (Ffontset_info): Make it backward compatible. New arg ALL.
2500 2500
25012008-02-02 Kim F. Storm <storm@cua.dk> 25012008-02-01 Kim F. Storm <storm@cua.dk>
2502 2502
2503 * process.c (read_process_output): Grow decoding_buf when needed; 2503 * process.c (read_process_output): Grow decoding_buf when needed;
2504 this could cause a crash in allocate_string and compact_small_strings. 2504 this could cause a crash in allocate_string and compact_small_strings.
2505 2505
25062008-02-02 Kenichi Handa <handa@m17n.org> 25062008-02-01 Kenichi Handa <handa@m17n.org>
2507 2507
2508 * fileio.c (WRITE_BUF_SIZE): This macro deleted. 2508 * fileio.c (WRITE_BUF_SIZE): This macro deleted.
2509 (e_write): Fix previous change. 2509 (e_write): Fix previous change.
2510 2510
25112008-02-02 Kenichi Handa <handa@m17n.org> 25112008-02-01 Kenichi Handa <handa@m17n.org>
2512 2512
2513 * coding.c (setup_coding_system): Set coding->common_flags 2513 * coding.c (setup_coding_system): Set coding->common_flags
2514 correctly for raw-text. 2514 correctly for raw-text.
@@ -2519,21 +2519,21 @@ third arg it->window.
2519 2519
2520 * fileio.c (e_write): Short cut for the case of no encoding. 2520 * fileio.c (e_write): Short cut for the case of no encoding.
2521 2521
25222008-02-02 Kenichi Handa <handa@m17n.org> 25222008-02-01 Kenichi Handa <handa@m17n.org>
2523 2523
2524 * coding.c (detect_coding): Delete unused variables. 2524 * coding.c (detect_coding): Delete unused variables.
2525 (detect_coding_system): Likewise. 2525 (detect_coding_system): Likewise.
2526 2526
25272008-02-02 Kenichi Handa <handa@m17n.org> 25272008-02-01 Kenichi Handa <handa@m17n.org>
2528 2528
2529 * coding.c (encode_coding_utf_8): Fix handling of raw-byte char. 2529 * coding.c (encode_coding_utf_8): Fix handling of raw-byte char.
2530 (consume_chars): Fix handling of 8-bit bytes in unibyte source. 2530 (consume_chars): Fix handling of 8-bit bytes in unibyte source.
2531 2531
25322008-02-02 Kenichi Handa <handa@m17n.org> 25322008-02-01 Kenichi Handa <handa@m17n.org>
2533 2533
2534 Sync all files to HEAD. 2534 Sync all files to HEAD.
2535 2535
25362008-02-02 Kenichi Handa <handa@m17n.org> 25362008-02-01 Kenichi Handa <handa@m17n.org>
2537 2537
2538 * coding.c (Ffind_coding_systems_region_internal): Include 2538 * coding.c (Ffind_coding_systems_region_internal): Include
2539 raw-text and no-conversion in the result. 2539 raw-text and no-conversion in the result.
@@ -2542,7 +2542,7 @@ third arg it->window.
2542 2542
2543 * fontset.c: Sync to HEAD. 2543 * fontset.c: Sync to HEAD.
2544 2544
25452008-02-02 Kenichi Handa <handa@m17n.org> 25452008-02-01 Kenichi Handa <handa@m17n.org>
2546 2546
2547 * fontset.c (find_font_encoding): Return `ascii' for unknown 2547 * fontset.c (find_font_encoding): Return `ascii' for unknown
2548 encoding. 2548 encoding.
@@ -2554,7 +2554,7 @@ third arg it->window.
2554 name and charset name. 2554 name and charset name.
2555 (new_fontset_from_font_name): Fix argument to Fnew_fontset. 2555 (new_fontset_from_font_name): Fix argument to Fnew_fontset.
2556 2556
25572008-02-02 Kenichi Handa <handa@m17n.org> 25572008-02-01 Kenichi Handa <handa@m17n.org>
2558 2558
2559 * fontset.c (fontset_font): Renamed from fontset_face. Return 2559 * fontset.c (fontset_font): Renamed from fontset_face. Return
2560 value changed. 2560 value changed.
@@ -2583,7 +2583,7 @@ third arg it->window.
2583 * character.h (LEADING_CODE_LATIN_1_MIN) 2583 * character.h (LEADING_CODE_LATIN_1_MIN)
2584 (LEADING_CODE_LATIN_1_MAX): Delete these macros. 2584 (LEADING_CODE_LATIN_1_MAX): Delete these macros.
2585 2585
25862008-02-02 Kenichi Handa <handa@m17n.org> 25862008-02-01 Kenichi Handa <handa@m17n.org>
2587 2587
2588 * category.h: Sync to HEAD. 2588 * category.h: Sync to HEAD.
2589 2589
@@ -2597,17 +2597,17 @@ third arg it->window.
2597 2597
2598 * regex.c: Sync to HEAD. 2598 * regex.c: Sync to HEAD.
2599 2599
26002008-02-02 Kenichi Handa <handa@m17n.org> 26002008-02-01 Kenichi Handa <handa@m17n.org>
2601 2601
2602 * editfns.c: Sync to HEAD. 2602 * editfns.c: Sync to HEAD.
2603 (check_translation): New function. 2603 (check_translation): New function.
2604 (Ftranslate_region_internal): Handle M:N mapping. 2604 (Ftranslate_region_internal): Handle M:N mapping.
2605 2605
26062008-02-02 Kenichi Handa <handa@m17n.org> 26062008-02-01 Kenichi Handa <handa@m17n.org>
2607 2607
2608 * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE]. 2608 * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE].
2609 2609
26102008-02-02 Kenichi Handa <handa@m17n.org> 26102008-02-01 Kenichi Handa <handa@m17n.org>
2611 2611
2612 * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of 2612 * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of
2613 goto invalid_code. 2613 goto invalid_code.
@@ -2616,7 +2616,7 @@ third arg it->window.
2616 * fileio.c (Finsert_file_contents): Be sure to call unbind_to 2616 * fileio.c (Finsert_file_contents): Be sure to call unbind_to
2617 after calling code_conversion_save. 2617 after calling code_conversion_save.
2618 2618
26192008-02-02 Kenichi Handa <handa@m17n.org> 26192008-02-01 Kenichi Handa <handa@m17n.org>
2620 2620
2621 * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup. 2621 * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup.
2622 2622
@@ -2636,7 +2636,7 @@ third arg it->window.
2636 (Funencodable_char_position, Fcheck_coding_systems_region): 2636 (Funencodable_char_position, Fcheck_coding_systems_region):
2637 Likewise. 2637 Likewise.
2638 2638
26392008-02-02 Kenichi Handa <handa@m17n.org> 26392008-02-01 Kenichi Handa <handa@m17n.org>
2640 2640
2641 * coding.c (get_translation_table): Declare it as Lisp_Object. 2641 * coding.c (get_translation_table): Declare it as Lisp_Object.
2642 (LOOKUP_TRANSLATION_TABLE): New macro. 2642 (LOOKUP_TRANSLATION_TABLE): New macro.
@@ -2644,7 +2644,7 @@ third arg it->window.
2644 CHAR_TABLE_REF. 2644 CHAR_TABLE_REF.
2645 (consume_chars): Likewise. 2645 (consume_chars): Likewise.
2646 2646
26472008-02-02 Kenichi Handa <handa@m17n.org> 26472008-02-01 Kenichi Handa <handa@m17n.org>
2648 2648
2649 * coding.c (MAX_ANNOTATION_LENGTH): Adjusted for the change of 2649 * coding.c (MAX_ANNOTATION_LENGTH): Adjusted for the change of
2650 annotation data format. 2650 annotation data format.
@@ -2668,7 +2668,7 @@ third arg it->window.
2668 (syms_of_coding): Make translation-table's number of extra slots 2668 (syms_of_coding): Make translation-table's number of extra slots
2669 2. 2669 2.
2670 2670
26712008-02-02 Kenichi Handa <handa@m17n.org> 26712008-02-01 Kenichi Handa <handa@m17n.org>
2672 2672
2673 * search.c (simple_search): Fix setting this_pos_byte in backward 2673 * search.c (simple_search): Fix setting this_pos_byte in backward
2674 search. 2674 search.
@@ -2677,7 +2677,7 @@ third arg it->window.
2677 byte sequence. 2677 byte sequence.
2678 (detect_coding_ccl): Fix setting of the variable valids. 2678 (detect_coding_ccl): Fix setting of the variable valids.
2679 2679
26802008-02-02 Kenichi Handa <handa@m17n.org> 26802008-02-01 Kenichi Handa <handa@m17n.org>
2681 2681
2682 * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font. 2682 * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font.
2683 2683
@@ -2695,15 +2695,15 @@ third arg it->window.
2695 pattern string is specified, 2695 pattern string is specified,
2696 2696
2697 2697
26982008-02-02 Kenichi Handa <handa@m17n.org> 26982008-02-01 Kenichi Handa <handa@m17n.org>
2699 2699
2700 * xfaces.c (Fface_font): New optional arg CHARACTER. 2700 * xfaces.c (Fface_font): New optional arg CHARACTER.
2701 2701
27022008-02-02 Kenichi Handa <handa@m17n.org> 27022008-02-01 Kenichi Handa <handa@m17n.org>
2703 2703
2704 * charset.h (CHARSET_OFFSET): New macro. 2704 * charset.h (CHARSET_OFFSET): New macro.
2705 2705
27062008-02-02 Kenichi Handa <handa@m17n.org> 27062008-02-01 Kenichi Handa <handa@m17n.org>
2707 2707
2708 * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset. 2708 * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset.
2709 2709
@@ -2712,7 +2712,7 @@ third arg it->window.
2712 (find_font_encoding): Return nil for unknown encoding. 2712 (find_font_encoding): Return nil for unknown encoding.
2713 (Fset_fontset_font): Ignore a font of unknown encoding. 2713 (Fset_fontset_font): Ignore a font of unknown encoding.
2714 2714
27152008-02-02 Kenichi Handa <handa@m17n.org> 27152008-02-01 Kenichi Handa <handa@m17n.org>
2716 2716
2717 * keymap.c (describe_vector): Handle default value of a char 2717 * keymap.c (describe_vector): Handle default value of a char
2718 table. 2718 table.
@@ -2720,7 +2720,7 @@ third arg it->window.
2720 * fontset.c (fontset_face): Handle fallback fonts correctly. 2720 * fontset.c (fontset_face): Handle fallback fonts correctly.
2721 (Ffontset_info): Return infomation about fallback fonts. 2721 (Ffontset_info): Return infomation about fallback fonts.
2722 2722
27232008-02-02 Kenichi Handa <handa@m17n.org> 27232008-02-01 Kenichi Handa <handa@m17n.org>
2724 2724
2725 * fontset.c (FONTSET_DEFAULT): New macro. 2725 * fontset.c (FONTSET_DEFAULT): New macro.
2726 (FONTSET_ADD): Handle the case that range is nil. 2726 (FONTSET_ADD): Handle the case that range is nil.
@@ -2734,7 +2734,7 @@ third arg it->window.
2734 * charset.h (CHAR_CHARSET_P): Fix for the case that the method is 2734 * charset.h (CHAR_CHARSET_P): Fix for the case that the method is
2735 subset or superset. 2735 subset or superset.
2736 2736
27372008-02-02 Kenichi Handa <handa@m17n.org> 27372008-02-01 Kenichi Handa <handa@m17n.org>
2738 2738
2739 * emacs.c (main): Call init_charset after syms_of_XXX. 2739 * emacs.c (main): Call init_charset after syms_of_XXX.
2740 2740
@@ -2745,7 +2745,7 @@ third arg it->window.
2745 (syms_of_charset): Delete declaration of "charset-map-directory", 2745 (syms_of_charset): Delete declaration of "charset-map-directory",
2746 add declaration of "charset-map-path". 2746 add declaration of "charset-map-path".
2747 2747
27482008-02-02 Kenichi Handa <handa@m17n.org> 27482008-02-01 Kenichi Handa <handa@m17n.org>
2749 2749
2750 * fns.c (string_char_to_byte): Optimize for ASCII only string. 2750 * fns.c (string_char_to_byte): Optimize for ASCII only string.
2751 (string_byte_to_char): Likewise. 2751 (string_byte_to_char): Likewise.
@@ -2756,7 +2756,7 @@ third arg it->window.
2756 (detect_coding): Treat '\0' as normal ASCII byte.. 2756 (detect_coding): Treat '\0' as normal ASCII byte..
2757 (detect_coding_system): Likewise. 2757 (detect_coding_system): Likewise.
2758 2758
27592008-02-02 Kenichi Handa <handa@m17n.org> 27592008-02-01 Kenichi Handa <handa@m17n.org>
2760 2760
2761 * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros. 2761 * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros.
2762 2762
@@ -2781,7 +2781,7 @@ third arg it->window.
2781 2781
2782 * character.c (translate_char): Accept list of translation tables. 2782 * character.c (translate_char): Accept list of translation tables.
2783 2783
27842008-02-02 Kenichi Handa <handa@m17n.org> 27842008-02-01 Kenichi Handa <handa@m17n.org>
2785 2785
2786 * coding.h (enum coding_attr_index): New member 2786 * coding.h (enum coding_attr_index): New member
2787 coding_attr_trans_tbl. 2787 coding_attr_trans_tbl.
@@ -2799,14 +2799,14 @@ third arg it->window.
2799 (Fdefine_coding_system_internal): Allow a symbol as translation 2799 (Fdefine_coding_system_internal): Allow a symbol as translation
2800 table. For shift-jis type coding system, allow 4th charset. 2800 table. For shift-jis type coding system, allow 4th charset.
2801 2801
28022008-02-02 Kenichi Handa <handa@m17n.org> 28022008-02-01 Kenichi Handa <handa@m17n.org>
2803 2803
2804 * coding.c (decode_coding_sjis): Check the first byte rigidly. 2804 * coding.c (decode_coding_sjis): Check the first byte rigidly.
2805 2805
2806 * xdisp.c (get_next_display_element): Pass -1 as POS to 2806 * xdisp.c (get_next_display_element): Pass -1 as POS to
2807 FACE_FOR_CHAR if displaying a C-string. 2807 FACE_FOR_CHAR if displaying a C-string.
2808 2808
28092008-02-02 Kenichi Handa <handa@m17n.org> 28092008-02-01 Kenichi Handa <handa@m17n.org>
2810 2810
2811 * composite.c (get_composition_id): Handle xoff and yoff in a 2811 * composite.c (get_composition_id): Handle xoff and yoff in a
2812 composition rule. 2812 composition rule.
@@ -2822,7 +2822,7 @@ third arg it->window.
2822 * xterm.c (x_compute_glyph_string_overhangs): Handle also a 2822 * xterm.c (x_compute_glyph_string_overhangs): Handle also a
2823 composition glyph. 2823 composition glyph.
2824 2824
28252008-02-02 Kenichi Handa <handa@m17n.org> 28252008-02-01 Kenichi Handa <handa@m17n.org>
2826 2826
2827 * print.c: Include charset.h. 2827 * print.c: Include charset.h.
2828 (Vprint_charset_text_property): New variable. 2828 (Vprint_charset_text_property): New variable.
@@ -2839,7 +2839,7 @@ third arg it->window.
2839 (syms_of_print): Declare Vprint_charset_text_property as a lisp 2839 (syms_of_print): Declare Vprint_charset_text_property as a lisp
2840 variable. Init and staticpro print_prune_charset_plist. 2840 variable. Init and staticpro print_prune_charset_plist.
2841 2841
28422008-02-02 Kenichi Handa <handa@m17n.org> 28422008-02-01 Kenichi Handa <handa@m17n.org>
2843 2843
2844 * fontset.c (new_fontset_from_font_name): Use the specified font 2844 * fontset.c (new_fontset_from_font_name): Use the specified font
2845 for all characters in the new fontset. 2845 for all characters in the new fontset.
@@ -2853,7 +2853,7 @@ third arg it->window.
2853 * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and 2853 * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and
2854 OBJECT args. 2854 OBJECT args.
2855 2855
28562008-02-02 Kenichi Handa <handa@m17n.org> 28562008-02-01 Kenichi Handa <handa@m17n.org>
2857 2857
2858 * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT. 2858 * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT.
2859 2859
@@ -2884,12 +2884,12 @@ third arg it->window.
2884 * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with 2884 * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with
2885 POS and OBJECT args. 2885 POS and OBJECT args.
2886 2886
28872008-02-02 Jason Rumney <jasonr@gnu.org> 28872008-02-01 Jason Rumney <jasonr@gnu.org>
2888 2888
2889 * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc 2889 * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc
2890 of GlobalAlloc'ed memory. 2890 of GlobalAlloc'ed memory.
2891 2891
28922008-02-02 Kenichi Handa <handa@m17n.org> 28922008-02-01 Kenichi Handa <handa@m17n.org>
2893 2893
2894 * ccl.c (Fccl_execute_on_string): Fix the condition of loop. 2894 * ccl.c (Fccl_execute_on_string): Fix the condition of loop.
2895 2895
@@ -2934,17 +2934,17 @@ third arg it->window.
2934 2934
2935 * xdisp.c (handle_auto_composed_prop): Fix setting of limit. 2935 * xdisp.c (handle_auto_composed_prop): Fix setting of limit.
2936 2936
29372008-02-02 Kenichi Handa <handa@m17n.org> 29372008-02-01 Kenichi Handa <handa@m17n.org>
2938 2938
2939 * xdisp.c (handle_auto_composed_prop): Give limit to 2939 * xdisp.c (handle_auto_composed_prop): Give limit to
2940 Fnext_single_char_property_change. 2940 Fnext_single_char_property_change.
2941 2941
29422008-02-02 Kenichi Handa <handa@m17n.org> 29422008-02-01 Kenichi Handa <handa@m17n.org>
2943 2943
2944 * coding.c (detect_coding): Fix previous change. 2944 * coding.c (detect_coding): Fix previous change.
2945 (detect_coding_system): Likewise. 2945 (detect_coding_system): Likewise.
2946 2946
29472008-02-02 Kenichi Handa <handa@m17n.org> 29472008-02-01 Kenichi Handa <handa@m17n.org>
2948 2948
2949 * composite.c (syms_of_composite): Don't make the compostion hash 2949 * composite.c (syms_of_composite): Don't make the compostion hash
2950 table week. 2950 table week.
@@ -2994,14 +2994,14 @@ third arg it->window.
2994 (syms_of_coding): Initialized Vcode_conversion_workbuf_name and 2994 (syms_of_coding): Initialized Vcode_conversion_workbuf_name and
2995 reused_workbuf_in_use. 2995 reused_workbuf_in_use.
2996 2996
29972008-02-02 Kenichi Handa <handa@m17n.org> 29972008-02-01 Kenichi Handa <handa@m17n.org>
2998 2998
2999 * keymap.c (store_in_keymap): Pay attention to the case that idx 2999 * keymap.c (store_in_keymap): Pay attention to the case that idx
3000 is a cons specifying a character range. 3000 is a cons specifying a character range.
3001 3001
3002 * coding.c (Fdefine_coding_system_internal): Fix previous change. 3002 * coding.c (Fdefine_coding_system_internal): Fix previous change.
3003 3003
30042008-02-02 Kenichi Handa <handa@m17n.org> 30042008-02-01 Kenichi Handa <handa@m17n.org>
3005 3005
3006 * xdisp.c (handle_auto_composed_prop): Fix the case of returning 3006 * xdisp.c (handle_auto_composed_prop): Fix the case of returning
3007 HANDLED_RECOMPUTE_PROPS. 3007 HANDLED_RECOMPUTE_PROPS.
@@ -3009,7 +3009,7 @@ third arg it->window.
3009 * coding.c (Fdefine_coding_system_internal): Fix checking of 3009 * coding.c (Fdefine_coding_system_internal): Fix checking of
3010 ascii compatibility. 3010 ascii compatibility.
3011 3011
30122008-02-02 Kenichi Handa <handa@m17n.org> 30122008-02-01 Kenichi Handa <handa@m17n.org>
3013 3013
3014 * charset.c (find_charsets_in_text): Delete unused locale 3014 * charset.c (find_charsets_in_text): Delete unused locale
3015 variable. 3015 variable.
@@ -3021,14 +3021,14 @@ third arg it->window.
3021 * keymap.c (store_in_keymap): Pay attention to the case that idx 3021 * keymap.c (store_in_keymap): Pay attention to the case that idx
3022 is a cons specifying a character range. 3022 is a cons specifying a character range.
3023 3023
30242008-02-02 Kenichi Handa <handa@m17n.org> 30242008-02-01 Kenichi Handa <handa@m17n.org>
3025 3025
3026 * composite.c (update_compositions): Bind inhibit-read-only, etc 3026 * composite.c (update_compositions): Bind inhibit-read-only, etc
3027 to t before calling remove-list-of-text-properties. 3027 to t before calling remove-list-of-text-properties.
3028 3028
3029 * print.c (print_object): Always print ASCII chars as is. 3029 * print.c (print_object): Always print ASCII chars as is.
3030 3030
30312008-02-02 Kenichi Handa <handa@m17n.org> 30312008-02-01 Kenichi Handa <handa@m17n.org>
3032 3032
3033 * keymap.c (Fdefine_key): Fix handling of Lucid style event type 3033 * keymap.c (Fdefine_key): Fix handling of Lucid style event type
3034 list. 3034 list.
@@ -3037,27 +3037,27 @@ third arg it->window.
3037 (Fmapcar): Likewise. 3037 (Fmapcar): Likewise.
3038 (Fmapc): Likewise. 3038 (Fmapc): Likewise.
3039 3039
30402008-02-02 Kenichi Handa <handa@m17n.org> 30402008-02-01 Kenichi Handa <handa@m17n.org>
3041 3041
3042 * syntax.c (skip_chars): Be sure to alloca char_ranges when 3042 * syntax.c (skip_chars): Be sure to alloca char_ranges when
3043 necessary. 3043 necessary.
3044 3044
30452008-02-02 Kenichi Handa <handa@m17n.org> 30452008-02-01 Kenichi Handa <handa@m17n.org>
3046 3046
3047 * xfaces.c (set_lface_from_font_name): Fix for the case that 3047 * xfaces.c (set_lface_from_font_name): Fix for the case that
3048 FONTNAME is not fontset name. 3048 FONTNAME is not fontset name.
3049 3049
30502008-02-02 Kenichi Handa <handa@m17n.org> 30502008-02-01 Kenichi Handa <handa@m17n.org>
3051 3051
3052 * fns.c (base64_encode_1): Fix previous change. 3052 * fns.c (base64_encode_1): Fix previous change.
3053 3053
30542008-02-02 Kenichi Handa <handa@m17n.org> 30542008-02-01 Kenichi Handa <handa@m17n.org>
3055 3055
3056 * fontset.c (set_fontset_font): New function. 3056 * fontset.c (set_fontset_font): New function.
3057 (Fset_fontset_font): If a font is specified for a charset, use 3057 (Fset_fontset_font): If a font is specified for a charset, use
3058 map_charset_chars to store the font spec in a fontset. 3058 map_charset_chars to store the font spec in a fontset.
3059 3059
30602008-02-02 Kenichi Handa <handa@m17n.org> 30602008-02-01 Kenichi Handa <handa@m17n.org>
3061 3061
3062 * fontset.c (fontset_face): Create a fallback fontset on demand 3062 * fontset.c (fontset_face): Create a fallback fontset on demand
3063 (make_fontset): Don't create a fallback fontset here. 3063 (make_fontset): Don't create a fallback fontset here.
@@ -3070,23 +3070,23 @@ third arg it->window.
3070 (syms_of_fontset): Initialize and staticpro auto_fontset_alist. 3070 (syms_of_fontset): Initialize and staticpro auto_fontset_alist.
3071 Defsubr Sfontset_list_all. 3071 Defsubr Sfontset_list_all.
3072 3072
30732008-02-02 Kenichi Handa <handa@m17n.org> 30732008-02-01 Kenichi Handa <handa@m17n.org>
3074 3074
3075 * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. 3075 * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts.
3076 3076
30772008-02-02 Kenichi Handa <handa@m17n.org> 30772008-02-01 Kenichi Handa <handa@m17n.org>
3078 3078
3079 * fontset.c (Fnew_fontset): Check NAME more rigidly. 3079 * fontset.c (Fnew_fontset): Check NAME more rigidly.
3080 3080
30812008-02-02 Kenichi Handa <handa@m17n.org> 30812008-02-01 Kenichi Handa <handa@m17n.org>
3082 3082
3083 * editfns.c (Fgoto_char): Fix docstring. 3083 * editfns.c (Fgoto_char): Fix docstring.
3084 3084
30852008-02-02 Kenichi Handa <handa@m17n.org> 30852008-02-01 Kenichi Handa <handa@m17n.org>
3086 3086
3087 * insdel.c (insert_from_gap): Adjust intervals correctly. 3087 * insdel.c (insert_from_gap): Adjust intervals correctly.
3088 3088
30892008-02-02 Jason Rumney <jasonr@gnu.org> 30892008-02-01 Jason Rumney <jasonr@gnu.org>
3090 3090
3091 * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't. 3091 * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't.
3092 (pfnGetFontUnicodeRanges): New dynamically loaded function. 3092 (pfnGetFontUnicodeRanges): New dynamically loaded function.
@@ -3105,7 +3105,7 @@ third arg it->window.
3105 3105
3106 * makefile.w32-in (temacs): Increase EMHEAP. 3106 * makefile.w32-in (temacs): Increase EMHEAP.
3107 3107
31082008-02-02 Jason Rumney <jasonr@gnu.org> 31082008-02-01 Jason Rumney <jasonr@gnu.org>
3109 3109
3110 * w32term.c (w32_encode_char): New charset parameter. 3110 * w32term.c (w32_encode_char): New charset parameter.
3111 font_info.encoding becomes encoding_type. 3111 font_info.encoding becomes encoding_type.
@@ -3146,16 +3146,16 @@ third arg it->window.
3146 * makefile.w32-in: Add character.h dependancies. 3146 * makefile.w32-in: Add character.h dependancies.
3147 (character.o, chartab.o): New targets. 3147 (character.o, chartab.o): New targets.
3148 3148
31492008-02-02 Kenichi Handa <handa@m17n.org> 31492008-02-01 Kenichi Handa <handa@m17n.org>
3150 3150
3151 * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro 3151 * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro
3152 CODING_ID_EOL_TYPE.. 3152 CODING_ID_EOL_TYPE..
3153 3153
31542008-02-02 Andreas Schwab <schwab@suse.de> 31542008-02-01 Andreas Schwab <schwab@suse.de>
3155 3155
3156 * coding.c (produce_chars): Revert last change. 3156 * coding.c (produce_chars): Revert last change.
3157 3157
31582008-02-02 Kenichi Handa <handa@m17n.org> 31582008-02-01 Kenichi Handa <handa@m17n.org>
3159 3159
3160 * charset.h (charset_unicode): Extern it. 3160 * charset.h (charset_unicode): Extern it.
3161 3161
@@ -3177,7 +3177,7 @@ third arg it->window.
3177 * xterm.c (x_get_font_repertory): Handle the case that the 3177 * xterm.c (x_get_font_repertory): Handle the case that the
3178 encoding of font is other than Unicode. 3178 encoding of font is other than Unicode.
3179 3179
31802008-02-02 Kenichi Handa <handa@m17n.org> 31802008-02-01 Kenichi Handa <handa@m17n.org>
3181 3181
3182 * term.c (encode_terminal_code): Don't handle glyph-table. Check 3182 * term.c (encode_terminal_code): Don't handle glyph-table. Check
3183 if a character is encodable by the terminal coding system. If 3183 if a character is encodable by the terminal coding system. If
@@ -3185,7 +3185,7 @@ third arg it->window.
3185 terminal_encode_buffer and terminal_encode_buf_size if necessary. 3185 terminal_encode_buffer and terminal_encode_buf_size if necessary.
3186 (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P. 3186 (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P.
3187 3187
31882008-02-02 Kenichi Handa <handa@m17n.org> 31882008-02-01 Kenichi Handa <handa@m17n.org>
3189 3189
3190 * term.c (terminal_encode_buffer, terminal_encode_buf_size): New 3190 * term.c (terminal_encode_buffer, terminal_encode_buf_size): New
3191 variables. 3191 variables.
@@ -3200,12 +3200,12 @@ third arg it->window.
3200 * coding.c (consume_chars): If coding->src_object is nil, don't 3200 * coding.c (consume_chars): If coding->src_object is nil, don't
3201 check annotation. 3201 check annotation.
3202 3202
32032008-02-02 Kenichi Handa <handa@m17n.org> 32032008-02-01 Kenichi Handa <handa@m17n.org>
3204 3204
3205 * character.c (char_string): Use ASCII_CHAR_P instead of 3205 * character.c (char_string): Use ASCII_CHAR_P instead of
3206 SINGLE_BYTE_CHAR_P. 3206 SINGLE_BYTE_CHAR_P.
3207 3207
32082008-02-02 Kenichi Handa <handa@m17n.org> 32082008-02-01 Kenichi Handa <handa@m17n.org>
3209 3209
3210 * xdisp.c (handle_auto_composed_prop): Check if the last 3210 * xdisp.c (handle_auto_composed_prop): Check if the last
3211 characters of auto-composed region is newly composed with the 3211 characters of auto-composed region is newly composed with the
@@ -3213,7 +3213,7 @@ third arg it->window.
3213 (handle_composition_prop): Fix checking of point being inside 3213 (handle_composition_prop): Fix checking of point being inside
3214 composition. 3214 composition.
3215 3215
32162008-02-02 Kenichi Handa <handa@m17n.org> 32162008-02-01 Kenichi Handa <handa@m17n.org>
3217 3217
3218 * fns.c (concat): Don't change multibyteness of the result by 3218 * fns.c (concat): Don't change multibyteness of the result by
3219 concatenating an 8-bit character. 3219 concatenating an 8-bit character.
@@ -3221,7 +3221,7 @@ third arg it->window.
3221 * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change 3221 * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change
3222 multibyteness of the result when newelt is an 8-bit character. 3222 multibyteness of the result when newelt is an 8-bit character.
3223 3223
32242008-02-02 Dave Love <fx@gnu.org> 32242008-02-01 Dave Love <fx@gnu.org>
3225 3225
3226 * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used 3226 * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used
3227 EMACS_INT. 3227 EMACS_INT.
@@ -3270,11 +3270,11 @@ third arg it->window.
3270 * window.c (Fdisplay_buffer, Fframe_selected_window): Remove 3270 * window.c (Fdisplay_buffer, Fframe_selected_window): Remove
3271 unsued vars. 3271 unsued vars.
3272 3272
32732008-02-02 Dave Love <fx@gnu.org> 32732008-02-01 Dave Love <fx@gnu.org>
3274 3274
3275 * xterm.c (x_bitmap_mask): Declare. 3275 * xterm.c (x_bitmap_mask): Declare.
3276 3276
32772008-02-02 Dave Love <fx@gnu.org> 32772008-02-01 Dave Love <fx@gnu.org>
3278 3278
3279 * xterm.c (x_term_init): Fix type error. 3279 * xterm.c (x_term_init): Fix type error.
3280 3280
@@ -3309,7 +3309,7 @@ third arg it->window.
3309 3309
3310 * unexalpha.c: Don't include varargs.h. 3310 * unexalpha.c: Don't include varargs.h.
3311 3311
33122008-02-02 Dave Love <fx@gnu.org> 33122008-02-01 Dave Love <fx@gnu.org>
3313 3313
3314 * coding.h (ENCODE_UTF_8): New. 3314 * coding.h (ENCODE_UTF_8): New.
3315 3315
@@ -3317,28 +3317,28 @@ third arg it->window.
3317 3317
3318 * coding.c (Fset_coding_system_priority): Doc fix. 3318 * coding.c (Fset_coding_system_priority): Doc fix.
3319 3319
33202008-02-02 Kenichi Handa <handa@m17n.org> 33202008-02-01 Kenichi Handa <handa@m17n.org>
3321 3321
3322 * fileio.c (Finsert_file_contents): Call setup_coding_system in 3322 * fileio.c (Finsert_file_contents): Call setup_coding_system in
3323 the case of auto saving. 3323 the case of auto saving.
3324 3324
33252008-02-02 Andreas Schwab <schwab@suse.de> 33252008-02-01 Andreas Schwab <schwab@suse.de>
3326 3326
3327 * chartab.c (map_char_table): Protect `range' from GC. 3327 * chartab.c (map_char_table): Protect `range' from GC.
3328 (map_char_table_for_charset): Likewise. 3328 (map_char_table_for_charset): Likewise.
3329 3329
33302008-02-02 Kenichi Handa <handa@m17n.org> 33302008-02-01 Kenichi Handa <handa@m17n.org>
3331 3331
3332 * coding.c (decode_coding_sjis): Check bytes more rigidly. 3332 * coding.c (decode_coding_sjis): Check bytes more rigidly.
3333 3333
33342008-02-02 Kenichi Handa <handa@m17n.org> 33342008-02-01 Kenichi Handa <handa@m17n.org>
3335 3335
3336 * fileio.c (choose_write_coding_system): Return a decided coding 3336 * fileio.c (choose_write_coding_system): Return a decided coding
3337 system. 3337 system.
3338 (Fwrite_region): Set Vlast_coding_system_used to the return value 3338 (Fwrite_region): Set Vlast_coding_system_used to the return value
3339 of choose_write_coding_system. 3339 of choose_write_coding_system.
3340 3340
33412008-02-02 Kenichi Handa <handa@m17n.org> 33412008-02-01 Kenichi Handa <handa@m17n.org>
3342 3342
3343 * charset.c (Fset_charset_priority): Pay attention to duplicated 3343 * charset.c (Fset_charset_priority): Pay attention to duplicated
3344 arguments. 3344 arguments.
@@ -3350,7 +3350,7 @@ third arg it->window.
3350 coding-category-XXX, and coding-category-list. 3350 coding-category-XXX, and coding-category-list.
3351 (Fdefine_coding_system_internal): Add category in the plist. 3351 (Fdefine_coding_system_internal): Add category in the plist.
3352 3352
33532008-02-02 Kenichi Handa <handa@m17n.org> 33532008-02-01 Kenichi Handa <handa@m17n.org>
3354 3354
3355 * callproc.c (Fcall_process): Handle carryover correctly. 3355 * callproc.c (Fcall_process): Handle carryover correctly.
3356 3356
@@ -3363,11 +3363,11 @@ third arg it->window.
3363 3363
3364 * process.c (read_process_output): Handle carryover correctly. 3364 * process.c (read_process_output): Handle carryover correctly.
3365 3365
33662008-02-02 Dave Love <fx@gnu.org> 33662008-02-01 Dave Love <fx@gnu.org>
3367 3367
3368 * regex.c (re_search_2): Fix last change. 3368 * regex.c (re_search_2): Fix last change.
3369 3369
33702008-02-02 Kenichi Handa <handa@m17n.org> 33702008-02-01 Kenichi Handa <handa@m17n.org>
3371 3371
3372 * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not 3372 * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not
3373 target_multibyte. Even in a unibyte case, return a converted 3373 target_multibyte. Even in a unibyte case, return a converted
@@ -3410,7 +3410,7 @@ third arg it->window.
3410 unibyte_to_multibyte_table. 3410 unibyte_to_multibyte_table.
3411 (init_charset_once): Likewise. 3411 (init_charset_once): Likewise.
3412 3412
34132008-02-02 Kenichi Handa <handa@m17n.org> 34132008-02-01 Kenichi Handa <handa@m17n.org>
3414 3414
3415 * coding.c (setup_coding_system): If coding has 3415 * coding.c (setup_coding_system): If coding has
3416 post-read-conversion or pre-write-conversion, set 3416 post-read-conversion or pre-write-conversion, set
@@ -3421,12 +3421,12 @@ third arg it->window.
3421 * fileio.c (Finsert_file_contents): Even if we read into a 3421 * fileio.c (Finsert_file_contents): Even if we read into a
3422 unibyte buffer, check if we must decode the result or not. 3422 unibyte buffer, check if we must decode the result or not.
3423 3423
34242008-02-02 Kenichi Handa <handa@m17n.org> 34242008-02-01 Kenichi Handa <handa@m17n.org>
3425 3425
3426 * coding.c (make_conversion_work_buffer): Change the work buffer 3426 * coding.c (make_conversion_work_buffer): Change the work buffer
3427 name to the same one as that of Emacs 21. 3427 name to the same one as that of Emacs 21.
3428 3428
34292008-02-02 Kenichi Handa <handa@m17n.org> 34292008-02-01 Kenichi Handa <handa@m17n.org>
3430 3430
3431 * coding.h (make_conversion_work_buffer): Prototype adjusted. 3431 * coding.h (make_conversion_work_buffer): Prototype adjusted.
3432 (code_conversion_restore): Don't extern it. 3432 (code_conversion_restore): Don't extern it.
@@ -3456,7 +3456,7 @@ third arg it->window.
3456 3456
3457 * lisp.h (Fgenerate_new_buffer_name): EXFUN it. 3457 * lisp.h (Fgenerate_new_buffer_name): EXFUN it.
3458 3458
34592008-02-02 Kenichi Handa <handa@m17n.org> 34592008-02-01 Kenichi Handa <handa@m17n.org>
3460 3460
3461 * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not 3461 * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not
3462 FONTSET_NAME. 3462 FONTSET_NAME.
@@ -3468,13 +3468,13 @@ third arg it->window.
3468 * coding.c (Fdefine_coding_system_internal): Fix for the case that 3468 * coding.c (Fdefine_coding_system_internal): Fix for the case that
3469 coding_type is Qcharset. 3469 coding_type is Qcharset.
3470 3470
34712008-02-02 Kenichi Handa <handa@m17n.org> 34712008-02-01 Kenichi Handa <handa@m17n.org>
3472 3472
3473 * chartab.c (map_sub_char_table): New argument DEFAULT_VAL. 3473 * chartab.c (map_sub_char_table): New argument DEFAULT_VAL.
3474 (map_char_table): Don't inherit the value from the parent on 3474 (map_char_table): Don't inherit the value from the parent on
3475 initializing VAL. Adjusted for the above change. 3475 initializing VAL. Adjusted for the above change.
3476 3476
34772008-02-02 Kenichi Handa <handa@m17n.org> 34772008-02-01 Kenichi Handa <handa@m17n.org>
3478 3478
3479 * coding.c (Qsignature, Qendian): Delete these variables. 3479 * coding.c (Qsignature, Qendian): Delete these variables.
3480 (syms_of_coding): Don't initialize them. 3480 (syms_of_coding): Don't initialize them.
@@ -3493,19 +3493,19 @@ third arg it->window.
3493 utf-16, check if the attribute :endian is Qbig or not (not nil or 3493 utf-16, check if the attribute :endian is Qbig or not (not nil or
3494 not). 3494 not).
3495 3495
34962008-02-02 Kenichi Handa <handa@m17n.org> 34962008-02-01 Kenichi Handa <handa@m17n.org>
3497 3497
3498 * coding.c (coding_set_source): Fix for the case that the current 3498 * coding.c (coding_set_source): Fix for the case that the current
3499 buffer is different from coding->src_object. 3499 buffer is different from coding->src_object.
3500 (decode_coding_object): Don't use the conversion work buffer if 3500 (decode_coding_object): Don't use the conversion work buffer if
3501 DST_OBJECT is a buffer. 3501 DST_OBJECT is a buffer.
3502 3502
35032008-02-02 Dave Love <fx@gnu.org> 35032008-02-01 Dave Love <fx@gnu.org>
3504 3504
3505 * lread.c (read_emacs_mule_char) [len==2]: Index 3505 * lread.c (read_emacs_mule_char) [len==2]: Index
3506 emacs_mule_charset correctly. 3506 emacs_mule_charset correctly.
3507 3507
35082008-02-02 Dave Love <fx@gnu.org> 35082008-02-01 Dave Love <fx@gnu.org>
3509 3509
3510 * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5) 3510 * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5)
3511 (detect_coding_big5, decode_coding_big5, encode_coding_big5) 3511 (detect_coding_big5, decode_coding_big5, encode_coding_big5)
@@ -3514,7 +3514,7 @@ third arg it->window.
3514 (setup_coding_system, coding_category, CATEGORY_MASK_ANY) 3514 (setup_coding_system, coding_category, CATEGORY_MASK_ANY)
3515 (detected_mask): Remove Big5 bits. 3515 (detected_mask): Remove Big5 bits.
3516 3516
35172008-02-02 Kenichi Handa <handa@m17n.org> 35172008-02-01 Kenichi Handa <handa@m17n.org>
3518 3518
3519 The following changes are to make the font rescaling facility 3519 The following changes are to make the font rescaling facility
3520 compatible with Emacs 21. 3520 compatible with Emacs 21.
@@ -3530,7 +3530,7 @@ third arg it->window.
3530 (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp 3530 (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp
3531 variable. 3531 variable.
3532 3532
35332008-02-02 Kenichi Handa <handa@m17n.org> 35332008-02-01 Kenichi Handa <handa@m17n.org>
3534 3534
3535 * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig) 3535 * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig)
3536 (Qutf_16_le): Remove these variables. 3536 (Qutf_16_le): Remove these variables.
@@ -3538,22 +3538,22 @@ third arg it->window.
3538 (decode_coding_utf_16): Fix handling of BOM. 3538 (decode_coding_utf_16): Fix handling of BOM.
3539 (encode_coding_utf_16): Fix handling of BOM. 3539 (encode_coding_utf_16): Fix handling of BOM.
3540 3540
35412008-02-02 Kenichi Handa <handa@m17n.org> 35412008-02-01 Kenichi Handa <handa@m17n.org>
3542 3542
3543 * fileio.c (Finsert_file_contents): On replacing, before decoding 3543 * fileio.c (Finsert_file_contents): On replacing, before decoding
3544 the file into the work buffer, set point of the work buffer to the 3544 the file into the work buffer, set point of the work buffer to the
3545 end. 3545 end.
3546 3546
35472008-02-02 Dave Love <fx@gnu.org> 35472008-02-01 Dave Love <fx@gnu.org>
3548 3548
3549 * coding.c (Fcheck_coding_systems_region): Fix type errors. 3549 * coding.c (Fcheck_coding_systems_region): Fix type errors.
3550 3550
35512008-02-02 Dave Love <fx@gnu.org> 35512008-02-01 Dave Love <fx@gnu.org>
3552 3552
3553 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table 3553 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
3554 and fix C types. 3554 and fix C types.
3555 3555
35562008-02-02 Kenichi Handa <handa@m17n.org> 35562008-02-01 Kenichi Handa <handa@m17n.org>
3557 3557
3558 * xdisp.c (SKIP_GLYPHS): New macro. 3558 * xdisp.c (SKIP_GLYPHS): New macro.
3559 (set_cursor_from_row): Pay attention to string display properties. 3559 (set_cursor_from_row): Pay attention to string display properties.
@@ -3566,7 +3566,7 @@ third arg it->window.
3566 * w32term.c (w32_encode_char): Call ccl_driver with the last arg 3566 * w32term.c (w32_encode_char): Call ccl_driver with the last arg
3567 Qnil. 3567 Qnil.
3568 3568
35692008-02-02 Kenichi Handa <handa@m17n.org> 35692008-02-01 Kenichi Handa <handa@m17n.org>
3570 3570
3571 * charset.c (Fcharset_id_internal): New function. 3571 * charset.c (Fcharset_id_internal): New function.
3572 (syms_of_charset): Defsubr it. 3572 (syms_of_charset): Defsubr it.
@@ -3587,7 +3587,7 @@ third arg it->window.
3587 (Fccl_execute): Call ccl_driver with the last arg Qnil. 3587 (Fccl_execute): Call ccl_driver with the last arg Qnil.
3588 (Fccl_execute_on_string): Likewise. 3588 (Fccl_execute_on_string): Likewise.
3589 3589
35902008-02-02 Kenichi Handa <handa@m17n.org> 35902008-02-01 Kenichi Handa <handa@m17n.org>
3591 3591
3592 * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET, 3592 * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET,
3593 call encode_char. 3593 call encode_char.
@@ -3597,12 +3597,12 @@ third arg it->window.
3597 3597
3598 * xterm.c (x_new_fontset): Fix previous change. 3598 * xterm.c (x_new_fontset): Fix previous change.
3599 3599
36002008-02-02 Dave Love <fx@gnu.org> 36002008-02-01 Dave Love <fx@gnu.org>
3601 3601
3602 * composite.c (syms_of_composite): Make composition_hash_table 3602 * composite.c (syms_of_composite): Make composition_hash_table
3603 weak. 3603 weak.
3604 3604
36052008-02-02 Kenichi Handa <handa@m17n.org> 36052008-02-01 Kenichi Handa <handa@m17n.org>
3606 3606
3607 * dispextern.h (check_face_attributes, generate_ascii_font_name) 3607 * dispextern.h (check_face_attributes, generate_ascii_font_name)
3608 (font_name_registry): Don't extern them. 3608 (font_name_registry): Don't extern them.
@@ -3654,7 +3654,7 @@ third arg it->window.
3654 string. Use new_fontset_from_font_name to create a fontset from a 3654 string. Use new_fontset_from_font_name to create a fontset from a
3655 font name. 3655 font name.
3656 3656
36572008-02-02 Dave Love <fx@gnu.org> 36572008-02-01 Dave Love <fx@gnu.org>
3658 3658
3659 * Makefile.in: Fix some dependencies. 3659 * Makefile.in: Fix some dependencies.
3660 3660
@@ -3665,12 +3665,12 @@ third arg it->window.
3665 3665
3666 * syntax.c (skip_chars, skip_syntaxes): Fix type errors. 3666 * syntax.c (skip_chars, skip_syntaxes): Fix type errors.
3667 3667
36682008-02-02 Kenichi Handa <handa@m17n.org> 36682008-02-01 Kenichi Handa <handa@m17n.org>
3669 3669
3670 * xterm.c (x_new_font): Optimize for the case that the font is 3670 * xterm.c (x_new_font): Optimize for the case that the font is
3671 already set for the frame. 3671 already set for the frame.
3672 3672
36732008-02-02 Kenichi Handa <handa@m17n.org> 36732008-02-01 Kenichi Handa <handa@m17n.org>
3674 3674
3675 * chartab.c (char_table_ascii): Check if the char table contents 3675 * chartab.c (char_table_ascii): Check if the char table contents
3676 is sub-char-table or not. 3676 is sub-char-table or not.
@@ -3717,11 +3717,11 @@ third arg it->window.
3717 adjusted. 3717 adjusted.
3718 (CODING_ANNOTATE_CHARSET_MASK): New macro. 3718 (CODING_ANNOTATE_CHARSET_MASK): New macro.
3719 3719
37202008-02-02 Kenichi Handa <handa@m17n.org> 37202008-02-01 Kenichi Handa <handa@m17n.org>
3721 3721
3722 * insdel.c (insert_from_gap): Fix argument to offset_intervals. 3722 * insdel.c (insert_from_gap): Fix argument to offset_intervals.
3723 3723
37242008-02-02 Dave Love <fx@gnu.org> 37242008-02-01 Dave Love <fx@gnu.org>
3725 3725
3726 * keymap.c (apropos_predicate, apropos_accumulate): Declare 3726 * keymap.c (apropos_predicate, apropos_accumulate): Declare
3727 static. 3727 static.
@@ -3729,16 +3729,16 @@ third arg it->window.
3729 to new local and nullify apropos_accumulate before returning. 3729 to new local and nullify apropos_accumulate before returning.
3730 (syms_of_keymap): Staticpro and initialize apropos_accumulate. 3730 (syms_of_keymap): Staticpro and initialize apropos_accumulate.
3731 3731
37322008-02-02 Kenichi Handa <handa@m17n.org> 37322008-02-01 Kenichi Handa <handa@m17n.org>
3733 3733
3734 * charset.c (Fdefine_charset_internal): Setup charset.fast_map 3734 * charset.c (Fdefine_charset_internal): Setup charset.fast_map
3735 correctly. 3735 correctly.
3736 3736
37372008-02-02 Dave Love <fx@gnu.org> 37372008-02-01 Dave Love <fx@gnu.org>
3738 3738
3739 * fns.c (Flanginfo): Call synchronize_system_time_locale. 3739 * fns.c (Flanginfo): Call synchronize_system_time_locale.
3740 3740
37412008-02-02 Kenichi Handa <handa@m17n.org> 37412008-02-01 Kenichi Handa <handa@m17n.org>
3742 3742
3743 The following changes are to make character composition happen 3743 The following changes are to make character composition happen
3744 automatically on displaying. 3744 automatically on displaying.
@@ -3768,7 +3768,7 @@ third arg it->window.
3768 * xselect.c (selection_data_to_lisp_data): Don't call 3768 * xselect.c (selection_data_to_lisp_data): Don't call
3769 compose_chars_in_text. 3769 compose_chars_in_text.
3770 3770
37712008-02-02 Dave Love <fx@gnu.org> 37712008-02-01 Dave Love <fx@gnu.org>
3772 3772
3773 * keyboard.c (read_char): Modify checking around use of 3773 * keyboard.c (read_char): Modify checking around use of
3774 Vkeyboard_translate_table. 3774 Vkeyboard_translate_table.
@@ -3776,7 +3776,7 @@ third arg it->window.
3776 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table 3776 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
3777 and fix C types. 3777 and fix C types.
3778 3778
37792008-02-02 Kenichi Handa <handa@m17n.org> 37792008-02-01 Kenichi Handa <handa@m17n.org>
3780 3780
3781 * coding.c (decode_coding_utf_8): When eol_type is Qdos, handle 3781 * coding.c (decode_coding_utf_8): When eol_type is Qdos, handle
3782 the case that the last byte is '\r' correctly. 3782 the case that the last byte is '\r' correctly.
@@ -3790,18 +3790,18 @@ third arg it->window.
3790 (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of 3790 (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of
3791 coding->mode. 3791 coding->mode.
3792 3792
37932008-02-02 Dave Love <fx@gnu.org> 37932008-02-01 Dave Love <fx@gnu.org>
3794 3794
3795 * xterm.c (XTread_socket): Fix changes for defined keysyms. Add 3795 * xterm.c (XTread_socket): Fix changes for defined keysyms. Add
3796 XK_ISO... case. 3796 XK_ISO... case.
3797 (xaw_scroll_callback): Revert last change. 3797 (xaw_scroll_callback): Revert last change.
3798 3798
37992008-02-02 Kenichi Handa <handa@m17n.org> 37992008-02-01 Kenichi Handa <handa@m17n.org>
3800 3800
3801 * charset.c (Fset_charset_priority): Update 3801 * charset.c (Fset_charset_priority): Update
3802 Viso_2022_charset_list. 3802 Viso_2022_charset_list.
3803 3803
38042008-02-02 Kenichi Handa <handa@m17n.org> 38042008-02-01 Kenichi Handa <handa@m17n.org>
3805 3805
3806 * xfaces.c (Vface_resizing_fonts): New variable. 3806 * xfaces.c (Vface_resizing_fonts): New variable.
3807 (struct font_name): New member `resizing_ratio'. 3807 (struct font_name): New member `resizing_ratio'.
@@ -3814,11 +3814,11 @@ third arg it->window.
3814 Vscalable_fonts_allowed is not Qt. 3814 Vscalable_fonts_allowed is not Qt.
3815 (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable. 3815 (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable.
3816 3816
38172008-02-02 Dave Love <fx@gnu.org> 38172008-02-01 Dave Love <fx@gnu.org>
3818 3818
3819 * xterm.c (xaw_scroll_callback): Cast correctly. 3819 * xterm.c (xaw_scroll_callback): Cast correctly.
3820 3820
38212008-02-02 Dave Love <fx@gnu.org> 38212008-02-01 Dave Love <fx@gnu.org>
3822 3822
3823 * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend. 3823 * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend.
3824 (lispy_kana_keys): Comment out. 3824 (lispy_kana_keys): Comment out.
@@ -3828,7 +3828,7 @@ third arg it->window.
3828 (XTread_socket): Deal with ASCII keysyms. 3828 (XTread_socket): Deal with ASCII keysyms.
3829 (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table. 3829 (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table.
3830 3830
38312008-02-02 Dave Love <fx@gnu.org> 38312008-02-01 Dave Love <fx@gnu.org>
3832 3832
3833 * xterm.c (Vx_keysym_table): New. 3833 * xterm.c (Vx_keysym_table): New.
3834 (syms_of_xterm): Initialize it. 3834 (syms_of_xterm): Initialize it.
@@ -3837,7 +3837,7 @@ third arg it->window.
3837 decoding the output of X*LookupString. 3837 decoding the output of X*LookupString.
3838 (x_get_font_repertory): Delete charset declaration. 3838 (x_get_font_repertory): Delete charset declaration.
3839 3839
38402008-02-02 Kenichi Handa <handa@m17n.org> 38402008-02-01 Kenichi Handa <handa@m17n.org>
3841 3841
3842 * coding.c (detect_coding): Fix previous change. 3842 * coding.c (detect_coding): Fix previous change.
3843 (detect_coding_charset): If only ASCII bytes are found, return 0. 3843 (detect_coding_charset): If only ASCII bytes are found, return 0.
@@ -3845,13 +3845,13 @@ third arg it->window.
3845 (Fdefine_coding_system_internal): Setup 3845 (Fdefine_coding_system_internal): Setup
3846 CODING_ATTR_ASCII_COMPAT (attrs) correctly. 3846 CODING_ATTR_ASCII_COMPAT (attrs) correctly.
3847 3847
38482008-02-02 Dave Love <fx@gnu.org> 38482008-02-01 Dave Love <fx@gnu.org>
3849 3849
3850 * coding.c (Fcheck_coding_system): Doc fix. 3850 * coding.c (Fcheck_coding_system): Doc fix.
3851 3851
3852 * editfns.c (Finsert_byte): Return a proper value. 3852 * editfns.c (Finsert_byte): Return a proper value.
3853 3853
38542008-02-02 Kenichi Handa <handa@m17n.org> 38542008-02-01 Kenichi Handa <handa@m17n.org>
3855 3855
3856 * coding.c (decode_coding): Fix args to translate_chars. Pay 3856 * coding.c (decode_coding): Fix args to translate_chars. Pay
3857 attention to Vstandard_translation_table_for_decode. 3857 attention to Vstandard_translation_table_for_decode.
@@ -3876,17 +3876,17 @@ third arg it->window.
3876 * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by 3876 * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by
3877 SINGLE_BYTE_CHAR_P. 3877 SINGLE_BYTE_CHAR_P.
3878 3878
38792008-02-02 Dave Love <fx@gnu.org> 38792008-02-01 Dave Love <fx@gnu.org>
3880 3880
3881 * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix. 3881 * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix.
3882 3882
38832008-02-02 Dave Love <fx@gnu.org> 38832008-02-01 Dave Love <fx@gnu.org>
3884 3884
3885 * fns.c (Flanginfo): Fix typo. 3885 * fns.c (Flanginfo): Fix typo.
3886 3886
3887 * unexelf.c (unexec): Make last change conditional on Irix 6.5. 3887 * unexelf.c (unexec): Make last change conditional on Irix 6.5.
3888 3888
38892008-02-02 Kenichi Handa <handa@m17n.org> 38892008-02-01 Kenichi Handa <handa@m17n.org>
3890 3890
3891 * coding.c (detect_coding_utf_8): Check incomplete byte sequence. 3891 * coding.c (detect_coding_utf_8): Check incomplete byte sequence.
3892 Don't update *mask when correctly detected. 3892 Don't update *mask when correctly detected.
@@ -3902,7 +3902,7 @@ third arg it->window.
3902 (detect_coding): Adjusted for the changes above. 3902 (detect_coding): Adjusted for the changes above.
3903 (detect_coding_system): Likewise. 3903 (detect_coding_system): Likewise.
3904 3904
39052008-02-02 Kenichi Handa <handa@m17n.org> 39052008-02-01 Kenichi Handa <handa@m17n.org>
3906 3906
3907 * character.c (char_string): Renamed from 3907 * character.c (char_string): Renamed from
3908 char_string_with_unification. Pay attention to 3908 char_string_with_unification. Pay attention to
@@ -3917,24 +3917,24 @@ third arg it->window.
3917 (STRING_CHAR_AND_LENGTH): Likewise. 3917 (STRING_CHAR_AND_LENGTH): Likewise.
3918 (STRING_CHAR_ADVANCE): Likewise. 3918 (STRING_CHAR_ADVANCE): Likewise.
3919 3919
39202008-02-02 Dave Love <fx@gnu.org> 39202008-02-01 Dave Love <fx@gnu.org>
3921 3921
3922 * coding.c (decode_coding_utf_8): Treat surrogates as invalid. 3922 * coding.c (decode_coding_utf_8): Treat surrogates as invalid.
3923 3923
39242008-02-02 Kenichi Handa <handa@m17n.org> 39242008-02-01 Kenichi Handa <handa@m17n.org>
3925 3925
3926 * keymap.c (push_key_description): Pay attention to 3926 * keymap.c (push_key_description): Pay attention to
3927 force_multibyte. 3927 force_multibyte.
3928 3928
3929 * regex.c (re_search_2): Fix for the case of unibyte buffer. 3929 * regex.c (re_search_2): Fix for the case of unibyte buffer.
3930 3930
39312008-02-02 Dave Love <fx@gnu.org> 39312008-02-01 Dave Love <fx@gnu.org>
3932 3932
3933 * charset.c (define_charset_internal): Rename `supprementary'. 3933 * charset.c (define_charset_internal): Rename `supprementary'.
3934 3934
3935 * Makefile.in (lisp, shortlisp): Remove latin-N. 3935 * Makefile.in (lisp, shortlisp): Remove latin-N.
3936 3936
39372008-02-02 Dave Love <fx@gnu.org> 39372008-02-01 Dave Love <fx@gnu.org>
3938 3938
3939 * xfns.c (x_window, x_window): Use use_xim. 3939 * xfns.c (x_window, x_window): Use use_xim.
3940 3940
@@ -3944,13 +3944,13 @@ third arg it->window.
3944 3944
3945 * xterm.h (use_xim) [HAVE_X_I18N]: Declare. 3945 * xterm.h (use_xim) [HAVE_X_I18N]: Declare.
3946 3946
39472008-02-02 Kenichi Handa <handa@m17n.org> 39472008-02-01 Kenichi Handa <handa@m17n.org>
3948 3948
3949 * search.c (search_buffer): Fix case-fold-search of multibyte 3949 * search.c (search_buffer): Fix case-fold-search of multibyte
3950 characters. 3950 characters.
3951 (boyer_moore): Rename the last argument to char_high_bits. 3951 (boyer_moore): Rename the last argument to char_high_bits.
3952 3952
39532008-02-02 Kenichi Handa <handa@m17n.org> 39532008-02-01 Kenichi Handa <handa@m17n.org>
3954 3954
3955 * xdisp.c (display_string): Fix for the case of zero width glyph. 3955 * xdisp.c (display_string): Fix for the case of zero width glyph.
3956 3956
@@ -3964,24 +3964,24 @@ third arg it->window.
3964 * xterm.c (x_new_fontset): If FONTSETNAME specifies the default 3964 * xterm.c (x_new_fontset): If FONTSETNAME specifies the default
3965 fontset, return Qt. 3965 fontset, return Qt.
3966 3966
39672008-02-02 Kenichi Handa <handa@m17n.org> 39672008-02-01 Kenichi Handa <handa@m17n.org>
3968 3968
3969 * regex.c (re_search_2): Fix previous change. 3969 * regex.c (re_search_2): Fix previous change.
3970 3970
39712008-02-02 Kenichi Handa <handa@m17n.org> 39712008-02-01 Kenichi Handa <handa@m17n.org>
3972 3972
3973 * syntax.c (skip_syntaxes): Fix previous change. 3973 * syntax.c (skip_syntaxes): Fix previous change.
3974 3974
39752008-02-02 Kenichi Handa <handa@m17n.org> 39752008-02-01 Kenichi Handa <handa@m17n.org>
3976 3976
3977 * syntax.c (skip_chars): Fix previous change. 3977 * syntax.c (skip_chars): Fix previous change.
3978 (skip_syntaxes): Fix previous change. 3978 (skip_syntaxes): Fix previous change.
3979 3979
39802008-02-02 Dave Love <fx@gnu.org> 39802008-02-01 Dave Love <fx@gnu.org>
3981 3981
3982 * config.in: Restore it. 3982 * config.in: Restore it.
3983 3983
39842008-02-02 Dave Love <fx@gnu.org> 39842008-02-01 Dave Love <fx@gnu.org>
3985 3985
3986 * config.in: Removed (now auto-generated). 3986 * config.in: Removed (now auto-generated).
3987 3987
@@ -4000,13 +4000,13 @@ third arg it->window.
4000 4000
4001 * fontset.c (fontset_add): Return Lisp_Object. 4001 * fontset.c (fontset_add): Return Lisp_Object.
4002 4002
40032008-02-02 Dave Love <fx@gnu.org> 40032008-02-01 Dave Love <fx@gnu.org>
4004 4004
4005 * charset.h (charset_ordered_list_tick): Declare extern. 4005 * charset.h (charset_ordered_list_tick): Declare extern.
4006 4006
40072008-02-02 Kenichi Handa <handa@m17n.org> 40072008-02-01 Kenichi Handa <handa@m17n.org>
4008 4008
4009 The following changes (and some of 2008-02-02 changes of mine) are 4009 The following changes (and some of 2008-02-01 changes of mine) are
4010 for handling syntax, category, and case conversion for unibyte 4010 for handling syntax, category, and case conversion for unibyte
4011 characters by converting them to multibyte on the fly. With these 4011 characters by converting them to multibyte on the fly. With these
4012 changes, we don't have to setup syntax and case tables for unibyte 4012 changes, we don't have to setup syntax and case tables for unibyte
@@ -4112,7 +4112,7 @@ third arg it->window.
4112 (Fbackward_prefix_chars): Likewise. 4112 (Fbackward_prefix_chars): Likewise.
4113 (scan_sexps_forward): Likewise. 4113 (scan_sexps_forward): Likewise.
4114 4114
41152008-02-02 Kenichi Handa <handa@m17n.org> 41152008-02-01 Kenichi Handa <handa@m17n.org>
4116 4116
4117 * xfaces.c (QCfontset): New variable. 4117 * xfaces.c (QCfontset): New variable.
4118 (LFACE_FONTSET): New macro. 4118 (LFACE_FONTSET): New macro.
@@ -4131,7 +4131,7 @@ third arg it->window.
4131 4131
4132 * fns.c (base64_encode_1): Handle eight-bit chars correctly. 4132 * fns.c (base64_encode_1): Handle eight-bit chars correctly.
4133 4133
41342008-02-02 Kenichi Handa <handa@m17n.org> 41342008-02-01 Kenichi Handa <handa@m17n.org>
4135 4135
4136 * coding.c (coding_set_destination): Fix coding->destination for 4136 * coding.c (coding_set_destination): Fix coding->destination for
4137 the case converting a region. 4137 the case converting a region.
@@ -4145,7 +4145,7 @@ third arg it->window.
4145 4145
4146 * fns.c (base64_decode_1): Insert eight-bit chars correctly. 4146 * fns.c (base64_decode_1): Insert eight-bit chars correctly.
4147 4147
41482008-02-02 Kenichi Handa <handa@m17n.org> 41482008-02-01 Kenichi Handa <handa@m17n.org>
4149 4149
4150 * xdisp.c (get_next_display_element): Don't display unibyte 8-bit 4150 * xdisp.c (get_next_display_element): Don't display unibyte 8-bit
4151 characters by octal form. 4151 characters by octal form.
@@ -4178,7 +4178,7 @@ third arg it->window.
4178 4178
4179 * search.c (Freplace_match): Fix for the unibyte case. 4179 * search.c (Freplace_match): Fix for the unibyte case.
4180 4180
41812008-02-02 Kenichi Handa <handa@m17n.org> 41812008-02-01 Kenichi Handa <handa@m17n.org>
4182 4182
4183 * lread.c (safe_to_load_p): Fix the logic. 4183 * lread.c (safe_to_load_p): Fix the logic.
4184 4184
@@ -4193,18 +4193,18 @@ third arg it->window.
4193 * emacs.c (main): In the case of --unibyte, instead of aborting on 4193 * emacs.c (main): In the case of --unibyte, instead of aborting on
4194 finding non-empty buffer, make it unibyte. 4194 finding non-empty buffer, make it unibyte.
4195 4195
41962008-02-02 Kenichi Handa <handa@m17n.org> 41962008-02-01 Kenichi Handa <handa@m17n.org>
4197 4197
4198 * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font' 4198 * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font'
4199 to create a fontset. 4199 to create a fontset.
4200 4200
42012008-02-02 Dave Love <fx@gnu.org> 42012008-02-01 Dave Love <fx@gnu.org>
4202 4202
4203 * character.c (Funibyte_char_to_multibyte): Doc fix. 4203 * character.c (Funibyte_char_to_multibyte): Doc fix.
4204 4204
4205 * xfns.c [HAVE_STDLIB_H]: Fix last change. 4205 * xfns.c [HAVE_STDLIB_H]: Fix last change.
4206 4206
42072008-02-02 Kenichi Handa <handa@m17n.org> 42072008-02-01 Kenichi Handa <handa@m17n.org>
4208 4208
4209 * fontset.c (fontset_add): Make the type `int'. 4209 * fontset.c (fontset_add): Make the type `int'.
4210 (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. 4210 (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined.
@@ -4229,17 +4229,17 @@ third arg it->window.
4229 * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): 4229 * lisp.h (nonascii_insert_offset, Vnonascii_translation_table):
4230 Extern deleted. 4230 Extern deleted.
4231 4231
42322008-02-02 Kenichi Handa <handa@m17n.org> 42322008-02-01 Kenichi Handa <handa@m17n.org>
4233 4233
4234 * coding.c (Fdefine_coding_system_internal): Fix category setting 4234 * coding.c (Fdefine_coding_system_internal): Fix category setting
4235 for a coding system of type iso-2022. 4235 for a coding system of type iso-2022.
4236 4236
42372008-02-02 Kenichi Handa <handa@m17n.org> 42372008-02-01 Kenichi Handa <handa@m17n.org>
4238 4238
4239 * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET 4239 * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET
4240 -1. 4240 -1.
4241 4241
42422008-02-02 Kenichi Handa <handa@m17n.org> 42422008-02-01 Kenichi Handa <handa@m17n.org>
4243 4243
4244 * syntax.c (Vnext_word_boundary_function_table): New variable. 4244 * syntax.c (Vnext_word_boundary_function_table): New variable.
4245 (syms_of_syntax): Declare it as a Lisp variable. 4245 (syms_of_syntax): Declare it as a Lisp variable.
@@ -4251,7 +4251,7 @@ third arg it->window.
4251 * fontset.c (fs_load_font): If fontp->charset is not negative, 4251 * fontset.c (fs_load_font): If fontp->charset is not negative,
4252 return fontp without setting its members. 4252 return fontp without setting its members.
4253 4253
42542008-02-02 Dave Love <fx@gnu.org> 42542008-02-01 Dave Love <fx@gnu.org>
4255 4255
4256 * config.in: Generated with autoheader. 4256 * config.in: Generated with autoheader.
4257 4257
@@ -4268,7 +4268,7 @@ third arg it->window.
4268 (TIOCSIGSEND): Don't test IRIX6. 4268 (TIOCSIGSEND): Don't test IRIX6.
4269 (bcopy, bzero, bcmp): Define conditionally. 4269 (bcopy, bzero, bcmp): Define conditionally.
4270 4270
42712008-02-02 Kenichi Handa <handa@m17n.org> 42712008-02-01 Kenichi Handa <handa@m17n.org>
4272 4272
4273 * buffer.c (Qas, Qmake, Qto): New variables. 4273 * buffer.c (Qas, Qmake, Qto): New variables.
4274 (Fset_buffer_multibyte): New optional arg METHOD. Caller changed. 4274 (Fset_buffer_multibyte): New optional arg METHOD. Caller changed.
@@ -4306,7 +4306,7 @@ third arg it->window.
4306 * fns.c (Fstring_to_multibyte): New function. 4306 * fns.c (Fstring_to_multibyte): New function.
4307 (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine. 4307 (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine.
4308 4308
43092008-02-02 Dave Love <fx@gnu.org> 43092008-02-01 Dave Love <fx@gnu.org>
4310 4310
4311 * xfns.c (x_put_x_image): Declare args. 4311 * xfns.c (x_put_x_image): Declare args.
4312 4312
@@ -4347,7 +4347,7 @@ third arg it->window.
4347 * ccl.c: Remove `emacs' conditional. Include hash table stuff 4347 * ccl.c: Remove `emacs' conditional. Include hash table stuff
4348 from trunk. 4348 from trunk.
4349 4349
43502008-02-02 Kenichi Handa <handa@m17n.org> 43502008-02-01 Kenichi Handa <handa@m17n.org>
4351 4351
4352 The following changes are to allow specifying multiple font 4352 The following changes are to allow specifying multiple font
4353 patterns for a character range (specified by script or charset). 4353 patterns for a character range (specified by script or charset).
@@ -4459,7 +4459,7 @@ third arg it->window.
4459 fontsets, create a new one. 4459 fontsets, create a new one.
4460 (x_get_font_repertory): New function. 4460 (x_get_font_repertory): New function.
4461 4461
44622008-02-02 Kenichi Handa <handa@m17n.org> 44622008-02-01 Kenichi Handa <handa@m17n.org>
4463 4463
4464 * coding.c (Ffind_coding_systems_region_internal): Detect an 4464 * coding.c (Ffind_coding_systems_region_internal): Detect an
4465 ASCII only string correctly. 4465 ASCII only string correctly.
@@ -4467,7 +4467,7 @@ third arg it->window.
4467 * lread.c (Fload): Don't load with Qload_force_doc_strings t if 4467 * lread.c (Fload): Don't load with Qload_force_doc_strings t if
4468 version is 0. 4468 version is 0.
4469 4469
44702008-02-02 Kenichi Handa <handa@m17n.org> 44702008-02-01 Kenichi Handa <handa@m17n.org>
4471 4471
4472 * lread.c: Include "coding.h". 4472 * lread.c: Include "coding.h".
4473 (Qget_emacs_mule_file_char, Qload_force_doc_strings, 4473 (Qget_emacs_mule_file_char, Qload_force_doc_strings,
@@ -4501,12 +4501,12 @@ third arg it->window.
4501 (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char 4501 (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
4502 and Qload_force_doc_strings. 4502 and Qload_force_doc_strings.
4503 4503
45042008-02-02 Kenichi Handa <handa@m17n.org> 45042008-02-01 Kenichi Handa <handa@m17n.org>
4505 4505
4506 * xdisp.c (face_before_or_after_it_pos): Call 4506 * xdisp.c (face_before_or_after_it_pos): Call
4507 FETCH_MULTIBYTE_CHAR with byte postion, not char position. 4507 FETCH_MULTIBYTE_CHAR with byte postion, not char position.
4508 4508
45092008-02-02 Kenichi Handa <handa@m17n.org> 45092008-02-01 Kenichi Handa <handa@m17n.org>
4510 4510
4511 * character.h (TRAILING_CODE_P): New macro. 4511 * character.h (TRAILING_CODE_P): New macro.
4512 (MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset. 4512 (MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset.
@@ -4552,12 +4552,12 @@ third arg it->window.
4552 * print.c (print_object): Use octal form for printing the 4552 * print.c (print_object): Use octal form for printing the
4553 contents of a bool vector. 4553 contents of a bool vector.
4554 4554
45552008-02-02 Dave Love <fx@gnu.org> 45552008-02-01 Dave Love <fx@gnu.org>
4556 4556
4557 * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd. 4557 * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd.
4558 <version == 20>: Refuse to load. 4558 <version == 20>: Refuse to load.
4559 4559
45602008-02-02 Dave Love <fx@gnu.org> 45602008-02-01 Dave Love <fx@gnu.org>
4561 4561
4562 * fns.c: Move coding.h. 4562 * fns.c: Move coding.h.
4563 (Qcodeset, Qdays, Qmonths): New. 4563 (Qcodeset, Qdays, Qmonths): New.
@@ -4568,7 +4568,7 @@ third arg it->window.
4568 4568
4569 * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup. 4569 * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup.
4570 4570
45712008-02-02 Dave Love <fx@gnu.org> 45712008-02-01 Dave Love <fx@gnu.org>
4572 4572
4573 * casetab.c (init_casetab_once, init_casetab_once): Fix 4573 * casetab.c (init_casetab_once, init_casetab_once): Fix
4574 CHAR_TABLE_SET call. 4574 CHAR_TABLE_SET call.
@@ -4606,11 +4606,11 @@ third arg it->window.
4606 4606
4607 * callproc.c (Fcall_process): Remove unused variables. 4607 * callproc.c (Fcall_process): Remove unused variables.
4608 4608
46092008-02-02 Dave Love <fx@gnu.org> 46092008-02-01 Dave Love <fx@gnu.org>
4610 4610
4611 * coding.c (Fset_coding_system_priority): Allow null arg list. 4611 * coding.c (Fset_coding_system_priority): Allow null arg list.
4612 4612
46132008-02-02 Dave Love <fx@gnu.org> 46132008-02-01 Dave Love <fx@gnu.org>
4614 4614
4615 * minibuf.c (Fminibuffer_complete_word): Remove unused var. 4615 * minibuf.c (Fminibuffer_complete_word): Remove unused var.
4616 (Fself_insert_and_exit): Use CHARACTERP. 4616 (Fself_insert_and_exit): Use CHARACTERP.
@@ -4632,18 +4632,18 @@ third arg it->window.
4632 * keymap.c (access_keymap): Remove generic char code. 4632 * keymap.c (access_keymap): Remove generic char code.
4633 (push_key_description): Use CHARACTERP. 4633 (push_key_description): Use CHARACTERP.
4634 4634
46352008-02-02 Dave Love <fx@gnu.org> 46352008-02-01 Dave Love <fx@gnu.org>
4636 4636
4637 * charset.c: Doc fixes. 4637 * charset.c: Doc fixes.
4638 (Funify_charset): Extra checking. 4638 (Funify_charset): Extra checking.
4639 4639
46402008-02-02 Dave Love <fx@gnu.org> 46402008-02-01 Dave Love <fx@gnu.org>
4641 4641
4642 * lread.c: Remove some unused variables. 4642 * lread.c: Remove some unused variables.
4643 (safe_to_load_p): If safe, return the magic number version byte. 4643 (safe_to_load_p): If safe, return the magic number version byte.
4644 (Fload): Maybe use load-with-code-conversion. 4644 (Fload): Maybe use load-with-code-conversion.
4645 4645
46462008-02-02 Kenichi Handa <handa@m17n.org> 46462008-02-01 Kenichi Handa <handa@m17n.org>
4647 4647
4648 * category.c (Fmodify_category_entry): Don't modify the contents 4648 * category.c (Fmodify_category_entry): Don't modify the contents
4649 of category_set for characters out of the range. Avoid 4649 of category_set for characters out of the range. Avoid
@@ -4694,7 +4694,7 @@ third arg it->window.
4694 4694
4695 * lisp.h (map_charset_chars): Deleted. 4695 * lisp.h (map_charset_chars): Deleted.
4696 4696
46972008-02-02 Dave Love <fx@gnu.org> 46972008-02-01 Dave Love <fx@gnu.org>
4698 4698
4699 * fns.c (count_combining): Comment out (unused). 4699 * fns.c (count_combining): Comment out (unused).
4700 (Flocale_codeset): New. 4700 (Flocale_codeset): New.
@@ -4703,20 +4703,20 @@ third arg it->window.
4703 * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New. 4703 * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New.
4704 (size_t): Removed. 4704 (size_t): Removed.
4705 4705
47062008-02-02 Dave Love <fx@gnu.org> 47062008-02-01 Dave Love <fx@gnu.org>
4707 4707
4708 * Makefile.in (chartab.o): Depend on charset.h 4708 * Makefile.in (chartab.o): Depend on charset.h
4709 4709
47102008-02-02 Kenichi Handa <handa@m17n.org> 47102008-02-01 Kenichi Handa <handa@m17n.org>
4711 4711
4712 * character.c (syms_of_character): Set the default value of 4712 * character.c (syms_of_character): Set the default value of
4713 Vprintable_chars to Qnil. 4713 Vprintable_chars to Qnil.
4714 4714
47152008-02-02 Dave Love <fx@gnu.org> 47152008-02-01 Dave Love <fx@gnu.org>
4716 4716
4717 * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el. 4717 * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el.
4718 4718
47192008-02-02 Kenichi Handa <handa@m17n.org> 47192008-02-01 Kenichi Handa <handa@m17n.org>
4720 4720
4721 * charset.c (load_charset_map): Handle the case that from < to 4721 * charset.c (load_charset_map): Handle the case that from < to
4722 correctly. 4722 correctly.
@@ -4728,7 +4728,7 @@ third arg it->window.
4728 (encode_coding_big5): Likewise. 4728 (encode_coding_big5): Likewise.
4729 (encode_coding_charset): Likewise. 4729 (encode_coding_charset): Likewise.
4730 4730
47312008-02-02 Kenichi Handa <handa@m17n.org> 47312008-02-01 Kenichi Handa <handa@m17n.org>
4732 4732
4733 * Makefile.in (lisp): Change chinese.elc to chinese.el. They are 4733 * Makefile.in (lisp): Change chinese.elc to chinese.el. They are
4734 not bytecompiled now. 4734 not bytecompiled now.
@@ -4753,7 +4753,7 @@ third arg it->window.
4753 (encode_coding_iso_2022): Change the 1st arg to 4753 (encode_coding_iso_2022): Change the 1st arg to
4754 ENCODE_ISO_CHARACTER to a variable. 4754 ENCODE_ISO_CHARACTER to a variable.
4755 4755
47562008-02-02 Kenichi Handa <handa@m17n.org> 47562008-02-01 Kenichi Handa <handa@m17n.org>
4757 4757
4758 * charset.h (enum define_charset_arg_index): New enums 4758 * charset.h (enum define_charset_arg_index): New enums
4759 charset_arg_min_code and charset_arg_max_code. 4759 charset_arg_min_code and charset_arg_max_code.
@@ -4766,17 +4766,17 @@ third arg it->window.
4766 args[charset_arg_max_code]. Setup charset.char_index_offset. 4766 args[charset_arg_max_code]. Setup charset.char_index_offset.
4767 (syms_of_charset): Fix args to Fdefine_charset_internal. 4767 (syms_of_charset): Fix args to Fdefine_charset_internal.
4768 4768
47692008-02-02 Dave Love <fx@gnu.org> 47692008-02-01 Dave Love <fx@gnu.org>
4770 4770
4771 * coding.c (decode_coding_utf_8): Reject overlong sequences. 4771 * coding.c (decode_coding_utf_8): Reject overlong sequences.
4772 4772
47732008-02-02 Dave Love <fx@gnu.org> 47732008-02-01 Dave Love <fx@gnu.org>
4774 4774
4775 * coding.c: Doc fixes. 4775 * coding.c: Doc fixes.
4776 (Fcoding_system_aliases): Fix return value. 4776 (Fcoding_system_aliases): Fix return value.
4777 (Qmac): Remove (duplicated) definition. 4777 (Qmac): Remove (duplicated) definition.
4778 4778
47792008-02-02 Dave Love <fx@gnu.org> 47792008-02-01 Dave Love <fx@gnu.org>
4780 4780
4781 * charset.c (Fcharset_priority_list, Fset_charset_priority): New 4781 * charset.c (Fcharset_priority_list, Fset_charset_priority): New
4782 functions. 4782 functions.
@@ -4789,7 +4789,7 @@ third arg it->window.
4789 ids. 4789 ids.
4790 (font-encoding-alist): Doc fix. 4790 (font-encoding-alist): Doc fix.
4791 4791
47922008-02-02 Dave Love <fx@gnu.org> 47922008-02-01 Dave Love <fx@gnu.org>
4793 4793
4794 * term.c (costs_set): Declare static, non-initialized for pcc. 4794 * term.c (costs_set): Declare static, non-initialized for pcc.
4795 (encode_terminal_code): Remove ensued var. 4795 (encode_terminal_code): Remove ensued var.
@@ -4807,27 +4807,27 @@ third arg it->window.
4807 4807
4808 * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'. 4808 * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'.
4809 4809
48102008-02-02 Dave Love <fx@gnu.org> 48102008-02-01 Dave Love <fx@gnu.org>
4811 4811
4812 * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. 4812 * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP.
4813 4813
4814 * category.c (Fmodify_category_entry): Doc fix. Remove unused 4814 * category.c (Fmodify_category_entry): Doc fix. Remove unused
4815 vars. 4815 vars.
4816 4816
48172008-02-02 Yong Lu <lyongu@asia-infonet.com> 48172008-02-01 Yong Lu <lyongu@asia-infonet.com>
4818 4818
4819 * charset.c (Fdefine_charset_internal): Fix argument to bzero. 4819 * charset.c (Fdefine_charset_internal): Fix argument to bzero.
4820 4820
4821 * coding.c (Fdefine_coding_system_internal): Fix previous change. 4821 * coding.c (Fdefine_coding_system_internal): Fix previous change.
4822 (decode_coding_charset): Workaround for the bug of GCC 2.96. 4822 (decode_coding_charset): Workaround for the bug of GCC 2.96.
4823 4823
48242008-02-02 Kenichi Handa <handa@m17n.org> 48242008-02-01 Kenichi Handa <handa@m17n.org>
4825 4825
4826 * Makefile.in (lisp): Change cyrillic.elc to cyrillic.el, 4826 * Makefile.in (lisp): Change cyrillic.elc to cyrillic.el,
4827 vietnamese.elc to vietnamese.el. They are not bytecompiled now. 4827 vietnamese.elc to vietnamese.el. They are not bytecompiled now.
4828 (shortlisp): Likewise. 4828 (shortlisp): Likewise.
4829 4829
48302008-02-02 Kenichi Handa <handa@m17n.org> 48302008-02-01 Kenichi Handa <handa@m17n.org>
4831 4831
4832 * coding.c (decode_coding_charset): Adjusted for the change of 4832 * coding.c (decode_coding_charset): Adjusted for the change of
4833 Fdefine_coding_system_internal. 4833 Fdefine_coding_system_internal.
@@ -4837,7 +4837,7 @@ third arg it->window.
4837 4837
4838 * charset.c (Fmake_char): Fix previous change. 4838 * charset.c (Fmake_char): Fix previous change.
4839 4839
48402008-02-02 Kenichi Handa <handa@m17n.org> 48402008-02-01 Kenichi Handa <handa@m17n.org>
4841 4841
4842 * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars. 4842 * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.
4843 (emacs_mule_char): New arg src. Delete arg `composition'. Caller 4843 (emacs_mule_char): New arg src. Delete arg `composition'. Caller
@@ -4862,7 +4862,7 @@ third arg it->window.
4862 (Fmake_char): If CODE1 is nil, use the minimum code of the 4862 (Fmake_char): If CODE1 is nil, use the minimum code of the
4863 charset. 4863 charset.
4864 4864
48652008-02-02 Kenichi Handa <handa@m17n.org> 48652008-02-01 Kenichi Handa <handa@m17n.org>
4866 4866
4867 * coding.c (encode_coding_iso_2022): If coding requires safe 4867 * coding.c (encode_coding_iso_2022): If coding requires safe
4868 encoding, produce a character specified by 4868 encoding, produce a character specified by
@@ -4871,7 +4871,7 @@ third arg it->window.
4871 (encode_coding_big5): Likewise. 4871 (encode_coding_big5): Likewise.
4872 (encode_coding_charset): Likewise. 4872 (encode_coding_charset): Likewise.
4873 4873
48742008-02-02 Dave Love <fx@gnu.org> 48742008-02-01 Dave Love <fx@gnu.org>
4875 4875
4876 * xterm.c (XSetIMValues): Declare. 4876 * xterm.c (XSetIMValues): Declare.
4877 4877
@@ -4904,18 +4904,18 @@ third arg it->window.
4904 (Fset_coding_system_priority, Fset_coding_system_priority) 4904 (Fset_coding_system_priority, Fset_coding_system_priority)
4905 (Fdefine_coding_system_internal): Doc fix. 4905 (Fdefine_coding_system_internal): Doc fix.
4906 4906
49072008-02-02 Dave Love <fx@gnu.org> 49072008-02-01 Dave Love <fx@gnu.org>
4908 4908
4909 * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. 4909 * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics.
4910 4910
49112008-02-02 Kenichi Handa <handa@m17n.org> 49112008-02-01 Kenichi Handa <handa@m17n.org>
4912 4912
4913 * character.c (string_escape_byte8): Make multibyte string with 4913 * character.c (string_escape_byte8): Make multibyte string with
4914 correct size. 4914 correct size.
4915 4915
4916 * charset.c (Fmake_char): Delete unnecessary code. 4916 * charset.c (Fmake_char): Delete unnecessary code.
4917 4917
49182008-02-02 Kenichi Handa <handa@m17n.org> 49182008-02-01 Kenichi Handa <handa@m17n.org>
4919 4919
4920 * xfns.c (x_encode_text): Allocate coding.destination here, and 4920 * xfns.c (x_encode_text): Allocate coding.destination here, and
4921 call encode_coding_object with dst_object Qnil. 4921 call encode_coding_object with dst_object Qnil.
@@ -4943,18 +4943,18 @@ third arg it->window.
4943 * charset.c (Fmake_char): Make it more backward compatible. 4943 * charset.c (Fmake_char): Make it more backward compatible.
4944 (Fmap_charset_chars): Fix docstring. 4944 (Fmap_charset_chars): Fix docstring.
4945 4945
49462008-02-02 Dave Love <fx@gnu.org> 49462008-02-01 Dave Love <fx@gnu.org>
4947 4947
4948 * coding.c: Doc fixes. 4948 * coding.c: Doc fixes.
4949 (Fdefine_coding_system_alias): Use names, not symbols, in 4949 (Fdefine_coding_system_alias): Use names, not symbols, in
4950 coding-system-alist. 4950 coding-system-alist.
4951 4951
49522008-02-02 Kenichi Handa <handa@m17n.org> 49522008-02-01 Kenichi Handa <handa@m17n.org>
4953 4953
4954 * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead 4954 * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead
4955 of calling free_realized_face. 4955 of calling free_realized_face.
4956 4956
49572008-02-02 Yong Lu <lyongu@asia-infonet.com> 49572008-02-01 Yong Lu <lyongu@asia-infonet.com>
4958 4958
4959 * charset.c (load_charset_map): Fix previous change. 4959 * charset.c (load_charset_map): Fix previous change.
4960 (read_hex): Don't treat SPC as a comment starter. 4960 (read_hex): Don't treat SPC as a comment starter.
@@ -4962,7 +4962,7 @@ third arg it->window.
4962 -1. 4962 -1.
4963 (Fdecode_char): Fix typo. 4963 (Fdecode_char): Fix typo.
4964 4964
49652008-02-02 Kenichi Handa <handa@m17n.org> 49652008-02-01 Kenichi Handa <handa@m17n.org>
4966 4966
4967 * charset.h (struct charset): New member `code_space_mask'. 4967 * charset.h (struct charset): New member `code_space_mask'.
4968 4968
@@ -4979,7 +4979,7 @@ third arg it->window.
4979 (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE 4979 (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE
4980 is within the range of charset->min_code and carset->max_code. 4980 is within the range of charset->min_code and carset->max_code.
4981 4981
49822008-02-02 Dave Love <fx@gnu.org> 49822008-02-01 Dave Love <fx@gnu.org>
4983 4983
4984 * syntax.h (syntax_temp) [!__GNUC__]: Declare. 4984 * syntax.h (syntax_temp) [!__GNUC__]: Declare.
4985 4985
@@ -4991,12 +4991,12 @@ third arg it->window.
4991 (Fset_terminal_coding_system_internal) 4991 (Fset_terminal_coding_system_internal)
4992 (Fset_safe_terminal_coding_system_internal): Fix arg declarations. 4992 (Fset_safe_terminal_coding_system_internal): Fix arg declarations.
4993 4993
49942008-02-02 Kenichi Handa <handa@m17n.org> 49942008-02-01 Kenichi Handa <handa@m17n.org>
4995 4995
4996 * coding.c (decode_coding_charset, encode_coding_charset): Handle 4996 * coding.c (decode_coding_charset, encode_coding_charset): Handle
4997 multiple charsets correctly. 4997 multiple charsets correctly.
4998 4998
49992008-02-02 Kenichi Handa <handa@m17n.org> 49992008-02-01 Kenichi Handa <handa@m17n.org>
5000 5000
5001 * search.c (boyer_moore): Fix handling of mulitbyte character 5001 * search.c (boyer_moore): Fix handling of mulitbyte character
5002 translation. 5002 translation.
@@ -5004,7 +5004,7 @@ third arg it->window.
5004 * xdisp.c (display_mode_element): When the variable `elt' is 5004 * xdisp.c (display_mode_element): When the variable `elt' is
5005 changed, update `this' and `lisp_string'. 5005 changed, update `this' and `lisp_string'.
5006 5006
50072008-02-02 Kenichi Handa <handa@m17n.org> 50072008-02-01 Kenichi Handa <handa@m17n.org>
5008 5008
5009 * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling. 5009 * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling.
5010 5010
@@ -5041,7 +5041,7 @@ third arg it->window.
5041 * xfaces.c (try_font_list): Give higher priority to fontset's 5041 * xfaces.c (try_font_list): Give higher priority to fontset's
5042 family than face's family. 5042 family than face's family.
5043 5043
50442008-02-02 Kenichi Handa <handa@m17n.org> 50442008-02-01 Kenichi Handa <handa@m17n.org>
5045 5045
5046 * callproc.c (Fcall_process): Be sure to give the current buffer 5046 * callproc.c (Fcall_process): Be sure to give the current buffer
5047 to decode_coding_c_string. 5047 to decode_coding_c_string.
@@ -5049,19 +5049,19 @@ third arg it->window.
5049 * xfaces.c (try_font_list): Give a family specified in a fontset 5049 * xfaces.c (try_font_list): Give a family specified in a fontset
5050 higher priority than a family specified in a face. 5050 higher priority than a family specified in a face.
5051 5051
50522008-02-02 Kenichi Handa <handa@m17n.org> 50522008-02-01 Kenichi Handa <handa@m17n.org>
5053 5053
5054 * fileio.c (Finsert_file_contents): Fix calculation of `inserted'. 5054 * fileio.c (Finsert_file_contents): Fix calculation of `inserted'.
5055 Fix arguments to insert_from_buffer. 5055 Fix arguments to insert_from_buffer.
5056 5056
5057 * xdisp.c (display_mode_element): Fix calculation of `bytepos'. 5057 * xdisp.c (display_mode_element): Fix calculation of `bytepos'.
5058 5058
50592008-02-02 Kenichi Handa <handa@m17n.org> 50592008-02-01 Kenichi Handa <handa@m17n.org>
5060 5060
5061 * coding.c (produce_chars): Set the variable `multibytep' correctly. 5061 * coding.c (produce_chars): Set the variable `multibytep' correctly.
5062 (decode_coding_gap): Set coding->dst_multibyte correctly. 5062 (decode_coding_gap): Set coding->dst_multibyte correctly.
5063 5063
50642008-02-02 Kenichi Handa <handa@m17n.org> 50642008-02-01 Kenichi Handa <handa@m17n.org>
5065 5065
5066 * coding.c (encode_coding_utf_8): Initialize produced_chars to 0. 5066 * coding.c (encode_coding_utf_8): Initialize produced_chars to 0.
5067 (decode_coding_utf_16): Fix converting high and low bytes to 5067 (decode_coding_utf_16): Fix converting high and low bytes to
@@ -5075,7 +5075,7 @@ third arg it->window.
5075 5075
5076 * insdel.c (insert_from_gap): Call record_insert. 5076 * insdel.c (insert_from_gap): Call record_insert.
5077 5077
50782008-02-02 Kenichi Handa <handa@m17n.org> 50782008-02-01 Kenichi Handa <handa@m17n.org>
5079 5079
5080 * casefiddle.c (casify_region): Fix multibyte case. 5080 * casefiddle.c (casify_region): Fix multibyte case.
5081 5081
@@ -5100,7 +5100,7 @@ third arg it->window.
5100 5100
5101 * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. 5101 * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number.
5102 5102
51032008-02-02 Kenichi Handa <handa@m17n.org> 51032008-02-01 Kenichi Handa <handa@m17n.org>
5104 5104
5105 The following changes are for using Unicode as an internal 5105 The following changes are for using Unicode as an internal
5106 character model, and use UTF-8 format for buffer/string 5106 character model, and use UTF-8 format for buffer/string