aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2014-08-28 18:18:39 -0400
committerStefan Monnier2014-08-28 18:18:39 -0400
commit562d55be2c6192e1e78a4fedc533a73a2e37a06c (patch)
tree1815f7b9fa9c438c95c69d6d76f574904fa450df /src
parent16f1e25b9c3ef1c73b198c67a41b38ca21df069b (diff)
downloademacs-562d55be2c6192e1e78a4fedc533a73a2e37a06c.tar.gz
emacs-562d55be2c6192e1e78a4fedc533a73a2e37a06c.zip
Misc accumulated ChangeLog convention fixes
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.81266
1 files changed, 633 insertions, 633 deletions
diff --git a/src/ChangeLog.8 b/src/ChangeLog.8
index a483a561d06..fd8ae6caa20 100644
--- a/src/ChangeLog.8
+++ b/src/ChangeLog.8
@@ -73,8 +73,8 @@
73 73
74 * msdos.c (dos_set_window_size) [__DJGPP__ > 1]: If the frame 74 * msdos.c (dos_set_window_size) [__DJGPP__ > 1]: If the frame
75 dimensions changed, invalidate the mouse highlight info. 75 dimensions changed, invalidate the mouse highlight info.
76 (disable_mouse_highlight, help_echo, previous_help_echo): New 76 (disable_mouse_highlight, help_echo, previous_help_echo):
77 variables. 77 New variables.
78 (IT_set_mouse_pointer, show_mouse_face, clear_mouse_face) 78 (IT_set_mouse_pointer, show_mouse_face, clear_mouse_face)
79 (fast_find_position, IT_note_mode_line_highlight) 79 (fast_find_position, IT_note_mode_line_highlight)
80 (IT_note_mouse_highlight): New functions. 80 (IT_note_mouse_highlight): New functions.
@@ -89,8 +89,8 @@
89 (internal_terminal_init): Initialize mouse-highlight related 89 (internal_terminal_init): Initialize mouse-highlight related
90 members of the_only_x_display. Assign IT_frame_up_to_date to 90 members of the_only_x_display. Assign IT_frame_up_to_date to
91 frame_up_to_date_hook. 91 frame_up_to_date_hook.
92 (dos_rawgetc): If the mouse moved, update mouse highlight. If 92 (dos_rawgetc): If the mouse moved, update mouse highlight.
93 help_echo changed value, generate a HELP_EVENT event. 93 If help_echo changed value, generate a HELP_EVENT event.
94 (syms_of_msdos): Staticpro help_echo and previous_help_echo. 94 (syms_of_msdos): Staticpro help_echo and previous_help_echo.
95 95
96 * msdos.h (struct display_info): New. 96 * msdos.h (struct display_info): New.
@@ -116,7 +116,7 @@
116 * lisp.h (GLYPH): Defined as `int', not `unsigned int'. Now the 116 * lisp.h (GLYPH): Defined as `int', not `unsigned int'. Now the
117 lowest 8 bits are single byte character code, the bits above are 117 lowest 8 bits are single byte character code, the bits above are
118 face ID. 118 face ID.
119 (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjusted for the change 119 (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjust for the change
120 above. 120 above.
121 (FAST_MAKE_GLYPH, FSST_GLYPH_FACE): Likewise. 121 (FAST_MAKE_GLYPH, FSST_GLYPH_FACE): Likewise.
122 (GLYPH_MASK_REV_DIR, GLYPH_MASK_PADDING): Macros deleted. 122 (GLYPH_MASK_REV_DIR, GLYPH_MASK_PADDING): Macros deleted.
@@ -131,20 +131,20 @@
131 level members. Change members in union `u'. 131 level members. Change members in union `u'.
132 (GLYPH_EQUAL_P): Check also members face_id and padding_p. 132 (GLYPH_EQUAL_P): Check also members face_id and padding_p.
133 (GLYPH_CHAR_AND_FACE_EQUAL_P): New macro. 133 (GLYPH_CHAR_AND_FACE_EQUAL_P): New macro.
134 (SET_CHAR_GLYPH): Adjusted for the change of struct glyph. 134 (SET_CHAR_GLYPH): Adjust for the change of struct glyph.
135 (CHAR_GLYPH_PADDING_P): Likewise. 135 (CHAR_GLYPH_PADDING_P): Likewise.
136 (GLYPH_FROM_CHAR_GLYPH): Likewise. Always return -1 for multibyte 136 (GLYPH_FROM_CHAR_GLYPH): Likewise. Always return -1 for multibyte
137 characters. 137 characters.
138 138
139 * dispnew.c (line_hash_code, direct_output_for_insert): Adjusted 139 * dispnew.c (line_hash_code, direct_output_for_insert):
140 for the change of struct glyph. 140 Adjust for the change of struct glyph.
141 (line_draw_cost): Adjusted for the change of 141 (line_draw_cost): Adjust for the change of
142 GLYPH_FROM_CHAR_GLYPH. 142 GLYPH_FROM_CHAR_GLYPH.
143 (count_match): Use macro GLYPH_CHAR_AND_FACE_EQUAL_P. 143 (count_match): Use macro GLYPH_CHAR_AND_FACE_EQUAL_P.
144 144
145 * term.c (encode_terminal_code): Adjusted for the change of struct 145 * term.c (encode_terminal_code): Adjust for the change of struct
146 glyph and GLYPH_FROM_CHAR_GLYPH. 146 glyph and GLYPH_FROM_CHAR_GLYPH.
147 (write_glyphs, insert_glyphs, append_glyph): Adjusted for the 147 (write_glyphs, insert_glyphs, append_glyph): Adjust for the
148 change of struct glyph. 148 change of struct glyph.
149 149
150 * xdisp.c: All codes adjusted for the change of struct glyph. 150 * xdisp.c: All codes adjusted for the change of struct glyph.
@@ -284,8 +284,8 @@
284 284
2851999-12-15 Kenichi Handa <handa@etl.go.jp> 2851999-12-15 Kenichi Handa <handa@etl.go.jp>
286 286
287 The following changes are for the new composition mechanism. We 287 The following changes are for the new composition mechanism.
288 have deleted `composition' charset and composite characters, 288 We have deleted `composition' charset and composite characters,
289 instead introduced a special text property `composition'. 289 instead introduced a special text property `composition'.
290 290
291 * Makefile.in (INTERVAL_SRC): Include composite.h. 291 * Makefile.in (INTERVAL_SRC): Include composite.h.
@@ -298,7 +298,7 @@
298 (keyboard.o) (textprop.o) (intervals.o): Depend on INTERVAL_SRC. 298 (keyboard.o) (textprop.o) (intervals.o): Depend on INTERVAL_SRC.
299 (composite.o): New target. 299 (composite.o): New target.
300 300
301 * alloc.c (Fmake_string): Adjusted for the change of CHAR_STRING. 301 * alloc.c (Fmake_string): Adjust for the change of CHAR_STRING.
302 302
303 * callproc.c (Fcall_process): Call code_convert_string to encode 303 * callproc.c (Fcall_process): Call code_convert_string to encode
304 arguments. Use CODING_REQUIRE_DECODING to check if the process 304 arguments. Use CODING_REQUIRE_DECODING to check if the process
@@ -317,7 +317,7 @@
317 (Fmake_category_table): New function. 317 (Fmake_category_table): New function.
318 (syms_of_category): Defsubr it. 318 (syms_of_category): Defsubr it.
319 319
320 * ccl.c (CCL_WRITE_CHAR): Adjusted for the change of CHAR_STRING. 320 * ccl.c (CCL_WRITE_CHAR): Adjust for the change of CHAR_STRING.
321 (ccl_driver): Delete codes for a composite character. 321 (ccl_driver): Delete codes for a composite character.
322 322
323 * charset.h: In this entry, just `Modified' means that codes for a 323 * charset.h: In this entry, just `Modified' means that codes for a
@@ -326,49 +326,49 @@
326 (charset_composition) (MIN_CHAR_COMPOSITION) 326 (charset_composition) (MIN_CHAR_COMPOSITION)
327 (MAX_CHAR_COMPOSITION) (GENERIC_COMPOSITION_CHAR) 327 (MAX_CHAR_COMPOSITION) (GENERIC_COMPOSITION_CHAR)
328 (COMPOSITE_CHAR_P) (MAKE_COMPOSITE_CHAR) (COMPOSITE_CHAR_ID) 328 (COMPOSITE_CHAR_P) (MAKE_COMPOSITE_CHAR) (COMPOSITE_CHAR_ID)
329 (PARSE_COMPOSITE_SEQ) (PARSE_CHARACTER_SEQ): Deleted. 329 (PARSE_COMPOSITE_SEQ) (PARSE_CHARACTER_SEQ): Delete.
330 (MAX_CHAR) (CHARSET_VALID_P) (CHARSET_DEFINED_P) (CHARSET_AT) 330 (MAX_CHAR) (CHARSET_VALID_P) (CHARSET_DEFINED_P) (CHARSET_AT)
331 (FIRST_CHARSET_AT) (SAME_CHARSET_P) (MAKE_NON_ASCII_CHAR) 331 (FIRST_CHARSET_AT) (SAME_CHARSET_P) (MAKE_NON_ASCII_CHAR)
332 (PARSE_MULTIBYTE_SEQ) (SPLIT_NON_ASCII_CHAR) (CHAR_PRINTABLE_P): 332 (PARSE_MULTIBYTE_SEQ) (SPLIT_NON_ASCII_CHAR) (CHAR_PRINTABLE_P):
333 Modified. 333 Modify.
334 (SPLIT_STRING): Call split_string, not split_non_ascii_string. 334 (SPLIT_STRING): Call split_string, not split_non_ascii_string.
335 (CHAR_STRING): Delete WORKBUF argument. Call char_string, not 335 (CHAR_STRING): Delete WORKBUF argument. Call char_string, not
336 non_ascii_char_to_string. 336 non_ascii_char_to_string.
337 (STRING_CHAR): Call string_to_char, not string_to_non_ascii_char. 337 (STRING_CHAR): Call string_to_char, not string_to_non_ascii_char.
338 (STRING_CHAR_AND_LENGTH): Likewise. 338 (STRING_CHAR_AND_LENGTH): Likewise.
339 (FETCH_CHAR_ADVANCE): New macro. 339 (FETCH_CHAR_ADVANCE): New macro.
340 (MAX_COMPONENT_COUNT) (struct cmpchar_info): Deleted. 340 (MAX_COMPONENT_COUNT) (struct cmpchar_info): Delete.
341 (MAX_MULTIBYTE_LENGTH): New macro. 341 (MAX_MULTIBYTE_LENGTH): New macro.
342 (MAX_LENGTH_OF_MULTI_BYTE_FORM): Deleted. 342 (MAX_LENGTH_OF_MULTI_BYTE_FORM): Delete.
343 (find_charset_in_str): Argument adjusted. 343 (find_charset_in_str): Argument adjusted.
344 (CHAR_LEN): Modified. 344 (CHAR_LEN): Modify.
345 345
346 * charset.c: In this entry, just `Modified' means that codes for a 346 * charset.c: In this entry, just `Modified' means that codes for a
347 composite character is deleted. 347 composite character is deleted.
348 (Qcomposition) (leading_code_composition) 348 (Qcomposition) (leading_code_composition)
349 (charset_composition) (min_composite_char) (cmpchar_table) 349 (charset_composition) (min_composite_char) (cmpchar_table)
350 (cmpchar_table_size) (n_cmpchars): Deleted. 350 (cmpchar_table_size) (n_cmpchars): Delete.
351 (SPLIT_COMPOSITE_SEQ): Deleted. 351 (SPLIT_COMPOSITE_SEQ): Delete.
352 (SPLIT_MULTIBYTE_SEQ): Modified. 352 (SPLIT_MULTIBYTE_SEQ): Modify.
353 (char_to_string): Renamed from non_ascii_char_to_string. 353 (char_to_string): Rename from non_ascii_char_to_string.
354 Modified. 354 Modified.
355 (string_to_char): Renamed from string_to_non_ascii_char. 355 (string_to_char): Rename from string_to_non_ascii_char.
356 (split_string): Renamed from split_non_ascii_string. 356 (split_string): Rename from split_non_ascii_string.
357 (char_printable_p) (Fsplit_char) 357 (char_printable_p) (Fsplit_char)
358 (Ffind_charset_region) (Ffind_charset_string) (char_valid_p) 358 (Ffind_charset_region) (Ffind_charset_string) (char_valid_p)
359 (char_bytes) (Fchar_width) (strwidth): Modified. 359 (char_bytes) (Fchar_width) (strwidth): Modify.
360 (find_charset_in_str): Argument CMPCHARP deleted. Modified. 360 (find_charset_in_str): Argument CMPCHARP deleted. Modified.
361 (Fstring): Adjusted for the change of CHAR_STRING. Modified. 361 (Fstring): Adjust for the change of CHAR_STRING. Modified.
362 (hash_string) (CMPCHAR_HASH_TABLE_SIZE) (cmpchar_hash_table) 362 (hash_string) (CMPCHAR_HASH_TABLE_SIZE) (cmpchar_hash_table)
363 (CMPCHAR_HASH_SIZE) (CMPCHAR_HASH_USED) (CMPCHAR_HASH_CMPCHAR_ID) 363 (CMPCHAR_HASH_SIZE) (CMPCHAR_HASH_USED) (CMPCHAR_HASH_CMPCHAR_ID)
364 (str_cmpchar_id) (cmpchar_component) (Fcmpcharp) 364 (str_cmpchar_id) (cmpchar_component) (Fcmpcharp)
365 (Fcmpchar_component) (Fcmpchar_cmp_rule) (Fcmpchar_cmp_rule_p) 365 (Fcmpchar_component) (Fcmpchar_cmp_rule) (Fcmpchar_cmp_rule_p)
366 (Fcmpchar_cmp_count): Deleted. 366 (Fcmpchar_cmp_count): Delete.
367 (Fcompose_string): Implemented by Emacs Lisp in composite.el. 367 (Fcompose_string): Implemented by Emacs Lisp in composite.el.
368 (init_charset_once): Modified. 368 (init_charset_once): Modify.
369 (syms_of_charset): Modified. 369 (syms_of_charset): Modify.
370 370
371 * cmds.c (internal_self_insert): Adjusted for the change of 371 * cmds.c (internal_self_insert): Adjust for the change of
372 CHAR_STRING. 372 CHAR_STRING.
373 373
374 * coding.h (emacs_code_class_type): Delete the member 374 * coding.h (emacs_code_class_type): Delete the member
@@ -377,8 +377,8 @@
377 (COMPOSING_WITH_RULE_TAIL) (COMPOSING_NO_RULE_TAIL) 377 (COMPOSING_WITH_RULE_TAIL) (COMPOSING_NO_RULE_TAIL)
378 (COMPOSING_WITH_RULE_RULE) (COMPOSING_HEAD_P) 378 (COMPOSING_WITH_RULE_RULE) (COMPOSING_HEAD_P)
379 (COMPOSING_WITH_RULE_P): Macros deleted. 379 (COMPOSING_WITH_RULE_P): Macros deleted.
380 (COMPOSITION_DATA_SIZE) (COMPOSITION_DATA_MAX_BUNCH_LENGTH): New 380 (COMPOSITION_DATA_SIZE) (COMPOSITION_DATA_MAX_BUNCH_LENGTH):
381 macros. 381 New macros.
382 (struct composition_data): New structure. 382 (struct composition_data): New structure.
383 (CODING_FINISH_INSUFFICIENT_CMP): New macro. 383 (CODING_FINISH_INSUFFICIENT_CMP): New macro.
384 (struct coding_system): New members composition_rule_follows, 384 (struct coding_system): New members composition_rule_follows,
@@ -395,7 +395,7 @@
395 EMACS_leading_code_composition to 0x80. 395 EMACS_leading_code_composition to 0x80.
396 (detect_coding_iso2022): Handle new composition sequence. 396 (detect_coding_iso2022): Handle new composition sequence.
397 (DECODE_ISO_CHARACTER): Likewise. 397 (DECODE_ISO_CHARACTER): Likewise.
398 (check_composing_code): Deleted. 398 (check_composing_code): Delete.
399 (coding_allocate_composition_data): New function. 399 (coding_allocate_composition_data): New function.
400 (CODING_ADD_COMPOSITION_START) (CODING_ADD_COMPOSITION_END) 400 (CODING_ADD_COMPOSITION_START) (CODING_ADD_COMPOSITION_END)
401 (CODING_ADD_COMPOSITION_COMPONENT) (DECODE_COMPOSITION_START) 401 (CODING_ADD_COMPOSITION_COMPONENT) (DECODE_COMPOSITION_START)
@@ -404,7 +404,7 @@
404 (ENCODE_ISO_CHARACTER): Don't check composition here. 404 (ENCODE_ISO_CHARACTER): Don't check composition here.
405 (ENCODE_COMPOSITION_RULE) (ENCODE_COMPOSITION_START): New macros. 405 (ENCODE_COMPOSITION_RULE) (ENCODE_COMPOSITION_START): New macros.
406 (ENCODE_COMPOSITION_NO_RULE_START) 406 (ENCODE_COMPOSITION_NO_RULE_START)
407 (ENCODE_COMPOSITION_WITH_RULE_START): Deleted. 407 (ENCODE_COMPOSITION_WITH_RULE_START): Delete.
408 (ENCODE_COMPOSITION_END): Handle new composition sequence. 408 (ENCODE_COMPOSITION_END): Handle new composition sequence.
409 (ENCODE_COMPOSITION_FAKE_START): New macro. 409 (ENCODE_COMPOSITION_FAKE_START): New macro.
410 (encode_coding_iso2022): Handle new composition sequence. 410 (encode_coding_iso2022): Handle new composition sequence.
@@ -414,12 +414,12 @@
414 coding_system. Enable composition only when the coding system has 414 coding_system. Enable composition only when the coding system has
415 `composition' property t. 415 `composition' property t.
416 (coding_free_composition_data) (coding_adjust_composition_offset) 416 (coding_free_composition_data) (coding_adjust_composition_offset)
417 (coding_save_composition) (coding_restore_composition): New 417 (coding_save_composition) (coding_restore_composition):
418 functions. 418 New functions.
419 (code_convert_region): Call coding_save_composition for encoding 419 (code_convert_region): Call coding_save_composition for encoding
420 and coding_allocate_composition_data for decoding. Don't skip 420 and coding_allocate_composition_data for decoding. Don't skip
421 ASCII characters if we handle composition on encoding. Call 421 ASCII characters if we handle composition on encoding.
422 signal_after_change with Check_BORDER. 422 Call signal_after_change with Check_BORDER.
423 (code_convert_string): Call coding_save_composition for encoding 423 (code_convert_string): Call coding_save_composition for encoding
424 and coding_allocate_composition_data for decoding. Don't skip 424 and coding_allocate_composition_data for decoding. Don't skip
425 ASCII characters if we handle composition on encoding. 425 ASCII characters if we handle composition on encoding.
@@ -448,9 +448,9 @@
448 * dispnew.c (direct_output_forward_char): Check point moving into 448 * dispnew.c (direct_output_forward_char): Check point moving into
449 or out of a composition. If so, give up direct method. 449 or out of a composition. If so, give up direct method.
450 450
451 * doprnt.c (doprnt1): Adjusted for the change of CHAR_STRING. 451 * doprnt.c (doprnt1): Adjust for the change of CHAR_STRING.
452 452
453 * editfns.c (Fchar_to_string): Adjusted for the change of 453 * editfns.c (Fchar_to_string): Adjust for the change of
454 CHAR_STRING. 454 CHAR_STRING.
455 (general_insert_function): Likewise. 455 (general_insert_function): Likewise.
456 (Finsert_char): Likewise. 456 (Finsert_char): Likewise.
@@ -460,19 +460,19 @@
460 460
461 * emacs.c (main): Call syms_of_composite. 461 * emacs.c (main): Call syms_of_composite.
462 462
463 * fileio.c (Fsubstitute_in_file_name): Adjusted for the change of 463 * fileio.c (Fsubstitute_in_file_name): Adjust for the change of
464 CHAR_STRING. 464 CHAR_STRING.
465 (Finsert_file_contents): Set Vlast_coding_system_used before 465 (Finsert_file_contents): Set Vlast_coding_system_used before
466 calling signal_after_change. Call update_compositions if some 466 calling signal_after_change. Call update_compositions if some
467 texts are inserted.. 467 texts are inserted..
468 (Fwrite_region): Adjusted for the change of a_write and e_write. 468 (Fwrite_region): Adjust for the change of a_write and e_write.
469 (a_write): Argument changed. Work based on character position, 469 (a_write): Argument changed. Work based on character position,
470 not byte position. 470 not byte position.
471 (e_write): Argument changed. Handle new way of composition. 471 (e_write): Argument changed. Handle new way of composition.
472 472
473 * fns.c (Flength): The length of char-table is MAX_CHAR. 473 * fns.c (Flength): The length of char-table is MAX_CHAR.
474 (concat): Adjusted for the change of CHAR_STRING. 474 (concat): Adjust for the change of CHAR_STRING.
475 (Ffillarray): Adjusted for the change of CHAR_STRING. 475 (Ffillarray): Adjust for the change of CHAR_STRING.
476 (Fset_char_table_default): Delete codes for a composite character. 476 (Fset_char_table_default): Delete codes for a composite character.
477 (hash_put): Return hash index. 477 (hash_put): Return hash index.
478 478
@@ -492,7 +492,7 @@
492 (Fmove_to_column): Likewise. 492 (Fmove_to_column): Likewise.
493 (compute_motion): Likewise. 493 (compute_motion): Likewise.
494 494
495 * insdel.c (copy_text): Adjusted for the change of CHAR_STRING. 495 * insdel.c (copy_text): Adjust for the change of CHAR_STRING.
496 (insert_char): Likewise. 496 (insert_char): Likewise.
497 (insert): Call update_compositions. 497 (insert): Call update_compositions.
498 (insert_and_inherit): Likewise. 498 (insert_and_inherit): Likewise.
@@ -502,7 +502,7 @@
502 (insert_from_string_before_markers): Likewise. 502 (insert_from_string_before_markers): Likewise.
503 (insert_from_buffer): Likewise. 503 (insert_from_buffer): Likewise.
504 (replace_range): Likewise. 504 (replace_range): Likewise.
505 (count_combining_composition): Deleted. 505 (count_combining_composition): Delete.
506 (count_combining_before): Delete codes for a composite character. 506 (count_combining_before): Delete codes for a composite character.
507 (count_combining_after): Likewise. 507 (count_combining_after): Likewise.
508 (del_range_1): Call update_compositions. 508 (del_range_1): Call update_compositions.
@@ -526,16 +526,16 @@
526 necessary. 526 necessary.
527 (adjust_point_for_property): New function. 527 (adjust_point_for_property): New function.
528 528
529 * keymap.c (push_key_description): Adjusted for the change of 529 * keymap.c (push_key_description): Adjust for the change of
530 CHAR_STRING. 530 CHAR_STRING.
531 (Ftext_char_description): Likewise. 531 (Ftext_char_description): Likewise.
532 532
533 * lisp.h (QCtest, QCweakness, Qequal): Extern them. 533 * lisp.h (QCtest, QCweakness, Qequal): Extern them.
534 (hash_put): Adjusted for the change of the definition. 534 (hash_put): Adjust for the change of the definition.
535 (signal_after_change): Likewise. 535 (signal_after_change): Likewise.
536 (check_point_in_composition): Extern it. 536 (check_point_in_composition): Extern it.
537 537
538 * lread.c (readchar): Adjusted for the change of CHAR_STRING. 538 * lread.c (readchar): Adjust for the change of CHAR_STRING.
539 Delete a code that handles an invalid too-long multibyte sequence 539 Delete a code that handles an invalid too-long multibyte sequence
540 because we are now sure that we never encounter with such a 540 because we are now sure that we never encounter with such a
541 sequence. 541 sequence.
@@ -544,14 +544,14 @@
544 (init_obarray): Likewise. 544 (init_obarray): Likewise.
545 (read1): Likewise. Adjusted for the change of CHAR_STRING. 545 (read1): Likewise. Adjusted for the change of CHAR_STRING.
546 546
547 * print.c (printchar): Adjusted for the change of CHAR_STRING. 547 * print.c (printchar): Adjust for the change of CHAR_STRING.
548 548
549 * process.c: Include composite.h. 549 * process.c: Include composite.h.
550 (read_process_output): Call update_compositions. 550 (read_process_output): Call update_compositions.
551 551
552 * regex.c (regex_compile): Adjusted for the change of CHAR_STRING. 552 * regex.c (regex_compile): Adjust for the change of CHAR_STRING.
553 553
554 * search.c (search_buffer): Adjusted for the change of CHAR_STRING. 554 * search.c (search_buffer): Adjust for the change of CHAR_STRING.
555 555
556 * syntax.h (SYNTAX_ENTRY_INT): Delete codes for a composite 556 * syntax.h (SYNTAX_ENTRY_INT): Delete codes for a composite
557 character. 557 character.
@@ -570,19 +570,19 @@
570 (face_before_or_after_it_pos): For composition, check face of a 570 (face_before_or_after_it_pos): For composition, check face of a
571 character after the composition. 571 character after the composition.
572 (handle_composition_prop): New function. 572 (handle_composition_prop): New function.
573 (get_next_display_element): Adjusted for the change of 573 (get_next_display_element): Adjust for the change of
574 CHAR_STRING. 574 CHAR_STRING.
575 (set_iterator_to_next): Handle the case that it->method == 575 (set_iterator_to_next): Handle the case that it->method ==
576 next_element_from_composition. 576 next_element_from_composition.
577 (next_element_from_composition): New function. 577 (next_element_from_composition): New function.
578 (message_dolog): Adjusted for the change of CHAR_STRING. 578 (message_dolog): Adjust for the change of CHAR_STRING.
579 (set_message_1): Likewise. 579 (set_message_1): Likewise.
580 (check_point_in_composition): New function. 580 (check_point_in_composition): New function.
581 (reconsider_clip_changes): If point moved into or out of 581 (reconsider_clip_changes): If point moved into or out of
582 composition, set b->clip_changed to 1 to force updating of the 582 composition, set b->clip_changed to 1 to force updating of the
583 screen. 583 screen.
584 (disp_char_vector): Delete codes for a composite character. 584 (disp_char_vector): Delete codes for a composite character.
585 (decode_mode_spec_coding): Adjusted for the change of CHAR_STRING. 585 (decode_mode_spec_coding): Adjust for the change of CHAR_STRING.
586 586
587 * xfaces.c (choose_face_fontset_font): Delete codes for a 587 * xfaces.c (choose_face_fontset_font): Delete codes for a
588 composite character. 588 composite character.
@@ -592,7 +592,7 @@
592 * xfns.c: Include intervals.h. 592 * xfns.c: Include intervals.h.
593 (syms_of_xfns): Make `display' property nonsticky by default. 593 (syms_of_xfns): Make `display' property nonsticky by default.
594 594
595 * xselect.c (lisp_data_to_selection_data): Adjusted for the change 595 * xselect.c (lisp_data_to_selection_data): Adjust for the change
596 for find_charset_in_str. 596 for find_charset_in_str.
597 597
598 * xterm.h (struct x_output): Change member font_baseline to 598 * xterm.h (struct x_output): Change member font_baseline to
@@ -618,9 +618,9 @@
618 (x_draw_composite_glyph_string_foreground): New function. 618 (x_draw_composite_glyph_string_foreground): New function.
619 (x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp. 619 (x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp.
620 (x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH. 620 (x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH.
621 (struct work): Deleted. 621 (struct work): Delete.
622 (x_fill_composite_glyph_string): Argument changed. Mostly 622 (x_fill_composite_glyph_string): Argument changed.
623 rewritten for that. 623 Mostly rewritten for that.
624 (x_fill_glyph_string): Don't check CHARSET_COMPOSITION. 624 (x_fill_glyph_string): Don't check CHARSET_COMPOSITION.
625 (BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here. 625 (BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here.
626 (BUILD_COMPOSITE_GLYPH_STRING): New macro. 626 (BUILD_COMPOSITE_GLYPH_STRING): New macro.
@@ -656,8 +656,8 @@
656 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) 656 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
657 [!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h. 657 [!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h.
658 658
659 * xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Moved 659 * xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
660 to frame.h. 660 Move to frame.h.
661 661
6621999-12-09 Stefan Monnier <monnier@cs.yale.edu> 6621999-12-09 Stefan Monnier <monnier@cs.yale.edu>
663 663
@@ -668,11 +668,11 @@
668 * xterm.c (#includes): Allow compilation with only Xaw. 668 * xterm.c (#includes): Allow compilation with only Xaw.
669 (xaw3d_arrow_scroll, xaw3d_pick_top): New variables. 669 (xaw3d_arrow_scroll, xaw3d_pick_top): New variables.
670 (xt_action_hook): Replace XAW3D by XAW. 670 (xt_action_hook): Replace XAW3D by XAW.
671 (xaw3d_jump_callback): Renamed to xaw_jump_callback. 671 (xaw3d_jump_callback): Rename to xaw_jump_callback.
672 (xaw_jump_callback): Renamed from xaw3d_jump_callback. 672 (xaw_jump_callback): Rename from xaw3d_jump_callback.
673 Determine epsilon dynamically and don't try to be too clever. 673 Determine epsilon dynamically and don't try to be too clever.
674 (xaw3d_scroll_callback): Renamed to xaw_scroll_callback. 674 (xaw3d_scroll_callback): Rename to xaw_scroll_callback.
675 (xaw_scroll_callback): Renamed from xaw3d_scroll_callback. 675 (xaw_scroll_callback): Rename from xaw3d_scroll_callback.
676 Handle both Xaw3d with arrow-scrollbars and with Xaw-style 676 Handle both Xaw3d with arrow-scrollbars and with Xaw-style
677 scrollbar (using `ratio'). 677 scrollbar (using `ratio').
678 (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d 678 (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d
@@ -710,9 +710,9 @@
710 710
7111999-12-07 Alexandre Oliva <oliva@dcc.unicamp.br> 7111999-12-07 Alexandre Oliva <oliva@dcc.unicamp.br>
712 712
713 * unexelf.c: Include <syms.h>, not <sym.h> on IRIX. Removed 713 * unexelf.c: Include <syms.h>, not <sym.h> on IRIX.
714 duplicate definition of ElfW. 714 Removed duplicate definition of ElfW.
715 (find_section): Copied from unexsgi.c. 715 (find_section): Copy from unexsgi.c.
716 (unexec): Use find_section. Adjust whitespace. Initialize 716 (unexec): Use find_section. Adjust whitespace. Initialize
717 new_data2_offset based on old_data, not sbss (this fixes a bug on 717 new_data2_offset based on old_data, not sbss (this fixes a bug on
718 IRIX6). Change #ifdef __mips to __sgi, since it's IRIX-specific. 718 IRIX6). Change #ifdef __mips to __sgi, since it's IRIX-specific.
@@ -798,8 +798,8 @@
798 (FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE) 798 (FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE)
799 (FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES) 799 (FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES)
800 (FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES) 800 (FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES)
801 (FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove 801 (FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color):
802 unused macro definitions. 802 Remove unused macro definitions.
803 803
804 * msdos.c (IT_set_frame_parameters): Don't call 804 * msdos.c (IT_set_frame_parameters): Don't call
805 recompute_basic_faces, the next redisplay will, anyway. 805 recompute_basic_faces, the next redisplay will, anyway.
@@ -818,13 +818,13 @@
818 818
819 * Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc. 819 * Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc.
820 820
821 * xfns.c (x_defined_color): Rename from defined_color. All 821 * xfns.c (x_defined_color): Rename from defined_color.
822 callers changed. 822 All callers changed.
823 (Fxw_color_defined_p): Renamed from Fx_color_defined_p; 823 (Fxw_color_defined_p): Rename from Fx_color_defined_p;
824 all callers changed. 824 all callers changed.
825 (Fxw_color_values): Renamed from Fx_color_values; all callers 825 (Fxw_color_values): Rename from Fx_color_values; all callers
826 changed. 826 changed.
827 (Fxw_display_color_p): Renamed from Fx_display_color_p; all 827 (Fxw_display_color_p): Rename from Fx_display_color_p; all
828 callers changed. 828 callers changed.
829 (x_window_to_frame, x_any_window_to_frame) 829 (x_window_to_frame, x_any_window_to_frame)
830 (x_non_menubar_window_to_frame, x_menubar_window_to_frame) 830 (x_non_menubar_window_to_frame, x_menubar_window_to_frame)
@@ -834,11 +834,11 @@
834 834
835 * w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of 835 * w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of
836 f->output_data.nothing. 836 f->output_data.nothing.
837 (Fxw_color_defined_p): Renamed from Fx_color_defined_p; 837 (Fxw_color_defined_p): Rename from Fx_color_defined_p;
838 all callers changed. 838 all callers changed.
839 (Fxw_color_values): Renamed from Fx_color_values; all callers 839 (Fxw_color_values): Rename from Fx_color_values; all callers
840 changed. 840 changed.
841 (Fxw_display_color_p): Renamed from Fx_display_color_p; all 841 (Fxw_display_color_p): Rename from Fx_display_color_p; all
842 callers changed. 842 callers changed.
843 843
844 * dispextern.h (tty_color_name): Add prototype. 844 * dispextern.h (tty_color_name): Add prototype.
@@ -856,7 +856,7 @@
856 856
8571999-12-06 Kenichi Handa <handa@etl.go.jp> 8571999-12-06 Kenichi Handa <handa@etl.go.jp>
858 858
859 * fileio.c (decide_coding_unwind): Renamed from 859 * fileio.c (decide_coding_unwind): Rename from
860 set_auto_coding_unwind. 860 set_auto_coding_unwind.
861 (Finsert_file_contents): Make single unwind protect to call both 861 (Finsert_file_contents): Make single unwind protect to call both
862 Vset_auto_coding_function and Ffind_operation_coding_system. 862 Vset_auto_coding_function and Ffind_operation_coding_system.
@@ -868,7 +868,7 @@
868 * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy 868 * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
869 operators and handle them properly. 869 operators and handle them properly.
870 * regex.h (RE_ALL_GREEDY): New option. 870 * regex.h (RE_ALL_GREEDY): New option.
871 (RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic 871 (RE_UNMATCHED_RIGHT_PAREN_ORD): Move to the end where alphabetic
872 sorting would put it. 872 sorting would put it.
873 (RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP) 873 (RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
874 (_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior. 874 (_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
@@ -898,8 +898,8 @@
8981999-11-28 Gerd Moellmann <gerd@gnu.org> 8981999-11-28 Gerd Moellmann <gerd@gnu.org>
899 899
900 * systime.h (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE) 900 * systime.h (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE)
901 (EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT, EMACS_TIME_LE): New 901 (EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT, EMACS_TIME_LE):
902 macros. 902 New macros.
903 903
904 * config.in (HAVE_SETITIMER, HAVE_UALARM): New. 904 * config.in (HAVE_SETITIMER, HAVE_UALARM): New.
905 905
@@ -932,8 +932,8 @@
932 932
933 * puresize.h (BASE_PURESIZE): Increase to 550000. 933 * puresize.h (BASE_PURESIZE): Increase to 550000.
934 934
935 * textprop.c (set_text_properties): New function. Like 935 * textprop.c (set_text_properties): New function.
936 Fset_text_properties, but with additional parameter 936 Like Fset_text_properties, but with additional parameter
937 SIGNAL_AFTER_CHANGE_P. If that is nil, don't signal after 937 SIGNAL_AFTER_CHANGE_P. If that is nil, don't signal after
938 changes. 938 changes.
939 (Fset_text_properties): Use it. 939 (Fset_text_properties): Use it.
@@ -1018,7 +1018,7 @@
1018 * fileio.c (strerror): Likewise. 1018 * fileio.c (strerror): Likewise.
1019 * process.c (strerror): Likewise. 1019 * process.c (strerror): Likewise.
1020 * emacs.c (strerror): Likewise. 1020 * emacs.c (strerror): Likewise.
1021 (Vsystem_messages_locale): Renamed from Vmessages_locale. 1021 (Vsystem_messages_locale): Rename from Vmessages_locale.
1022 All uses changed. 1022 All uses changed.
1023 (Vprevious_system_messages_locale): Likewise, from 1023 (Vprevious_system_messages_locale): Likewise, from
1024 Vprevious_messages_locale. 1024 Vprevious_messages_locale.
@@ -1041,7 +1041,7 @@
1041 (FREE_RETURN_TYPE): New macro. 1041 (FREE_RETURN_TYPE): New macro.
1042 (free): Return type is now FREE_RETURN_TYPE. 1042 (free): Return type is now FREE_RETURN_TYPE.
1043 1043
1044 * lisp.h (synchronize_system_time_locale): Renamed from 1044 * lisp.h (synchronize_system_time_locale): Rename from
1045 synchronize_time_locale. All uses changed. 1045 synchronize_time_locale. All uses changed.
1046 (synchronize_system_messages_locale): Likewise, from 1046 (synchronize_system_messages_locale): Likewise, from
1047 synchronize_messages_locale. 1047 synchronize_messages_locale.
@@ -1135,13 +1135,13 @@
1135 1135
11361999-11-10 Gerd Moellmann <gerd@gnu.org> 11361999-11-10 Gerd Moellmann <gerd@gnu.org>
1137 1137
1138 * xfns.c (QCuser_data): Removed. 1138 * xfns.c (QCuser_data): Remove.
1139 (syms_of_xfns): Initialization of QCuser_data removed. 1139 (syms_of_xfns): Initialization of QCuser_data removed.
1140 (parse_image_spec): Don't handle :user-data specially. Allow 1140 (parse_image_spec): Don't handle :user-data specially.
1141 unknown keys. Remove parameter ALLOW_OTHER_KEYS. 1141 Allow unknown keys. Remove parameter ALLOW_OTHER_KEYS.
1142 (xbm_image_p, xbm_load, xpm_image_p, pbm_image_p, png_image_p) 1142 (xbm_image_p, xbm_load, xpm_image_p, pbm_image_p, png_image_p)
1143 (tiff_image_p, jpeg_image_p, gif_image_p, gs_image_p): Call 1143 (tiff_image_p, jpeg_image_p, gif_image_p, gs_image_p):
1144 parse_image_spec accordingly. 1144 Call parse_image_spec accordingly.
1145 1145
11461999-11-09 Richard M. Stallman <rms@gnu.org> 11461999-11-09 Richard M. Stallman <rms@gnu.org>
1147 1147
@@ -1178,8 +1178,8 @@
1178 * lisp.h: Add prototype for unmark_byte_stack. 1178 * lisp.h: Add prototype for unmark_byte_stack.
1179 1179
1180 * bytecode.c (mark_byte_stack): Use XMARKBIT and XMARK. 1180 * bytecode.c (mark_byte_stack): Use XMARKBIT and XMARK.
1181 (unmark_byte_stack): Renamed from relocate_byte_pcs. Use 1181 (unmark_byte_stack): Rename from relocate_byte_pcs.
1182 XUNMARK. 1182 Use XUNMARK.
1183 1183
1184 * xdisp.c (resize_mini_window): Fix computation of needed 1184 * xdisp.c (resize_mini_window): Fix computation of needed
1185 mini-window height. 1185 mini-window height.
@@ -1214,7 +1214,7 @@
1214 (byte_stack_list, mark_byte_stack, relocate_byte_pcs): New. 1214 (byte_stack_list, mark_byte_stack, relocate_byte_pcs): New.
1215 (BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New. 1215 (BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New.
1216 (FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten. 1216 (FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten.
1217 (HANDLE_RELOCATION): Removed. 1217 (HANDLE_RELOCATION): Remove.
1218 (Fbyte_code): Use byte_stack structures. 1218 (Fbyte_code): Use byte_stack structures.
1219 1219
1220 * filelock.c (Ffile_locked_p): Make FILENAME a required argument. 1220 * filelock.c (Ffile_locked_p): Make FILENAME a required argument.
@@ -1224,10 +1224,10 @@
1224 1224
12251999-11-04 Gerd Moellmann <gerd@gnu.org> 12251999-11-04 Gerd Moellmann <gerd@gnu.org>
1226 1226
1227 * editfns.c (Fdelete_field): Renamed from Ferase_field. 1227 * editfns.c (Fdelete_field): Rename from Ferase_field.
1228 1228
1229 * minibuf.c (do_completion, Fminibuffer_complete_word): Use 1229 * minibuf.c (do_completion, Fminibuffer_complete_word):
1230 Ferase_field instead of Fdelete_field. 1230 Use Ferase_field instead of Fdelete_field.
1231 1231
12321999-11-03 Gerd Moellmann <gerd@gnu.org> 12321999-11-03 Gerd Moellmann <gerd@gnu.org>
1233 1233
@@ -1279,7 +1279,7 @@
1279 * xfns.c (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using 1279 * xfns.c (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using
1280 png_get_sRGB in #ifdef. 1280 png_get_sRGB in #ifdef.
1281 1281
1282 * dispnew.c (Finternal_show_cursor): Renamed from Fshow_cursor. 1282 * dispnew.c (Finternal_show_cursor): Rename from Fshow_cursor.
1283 (syms_of_display): Use the new name. 1283 (syms_of_display): Use the new name.
1284 1284
1285 * textprop.c (verify_interval_modification): Signal text-read-only 1285 * textprop.c (verify_interval_modification): Signal text-read-only
@@ -1346,7 +1346,7 @@
1346 1346
13471999-10-27 Richard M. Stallman <rms@gnu.org> 13471999-10-27 Richard M. Stallman <rms@gnu.org>
1348 1348
1349 * data.c (Qad_activate_internal): Renamed from Qad_activate. 1349 * data.c (Qad_activate_internal): Rename from Qad_activate.
1350 (Ffset): Call Qad_activate_internal. 1350 (Ffset): Call Qad_activate_internal.
1351 (syms_of_data): Initialize Qad_activate_internal. 1351 (syms_of_data): Initialize Qad_activate_internal.
1352 1352
@@ -1493,12 +1493,12 @@
1493 * editfns.c: Include coding.h. 1493 * editfns.c: Include coding.h.
1494 (emacs_strftime): Remove decl. 1494 (emacs_strftime): Remove decl.
1495 (emacs_strftimeu): New decl. 1495 (emacs_strftimeu): New decl.
1496 (emacs_memftimeu): Renamed from emacs_memftime; new arg UT. 1496 (emacs_memftimeu): Rename from emacs_memftime; new arg UT.
1497 Use emacs_strftimeu instead of emacs_strftime. 1497 Use emacs_strftimeu instead of emacs_strftime.
1498 (Fformat_time_string): Convert format string using 1498 (Fformat_time_string): Convert format string using
1499 Vlocale_coding_system, and convert result back. Synchronize time 1499 Vlocale_coding_system, and convert result back. Synchronize time
1500 locale before invoking lower level function. Invoke 1500 locale before invoking lower level function.
1501 emacs_memftimeu, passing ut, instead of emacs_memftime. 1501 Invoke emacs_memftimeu, passing ut, instead of emacs_memftime.
1502 1502
1503 * emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined. 1503 * emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined.
1504 (Vmessages_locale, Vprevious_messages_locale, Vtime_locale) 1504 (Vmessages_locale, Vprevious_messages_locale, Vtime_locale)
@@ -1506,7 +1506,7 @@
1506 (main): Invoke setlocale early, so that initial error messages are 1506 (main): Invoke setlocale early, so that initial error messages are
1507 localized properly. But skip locale-setting if LC_ALL is "C". 1507 localized properly. But skip locale-setting if LC_ALL is "C".
1508 Fix up locale when it's safe to do so. 1508 Fix up locale when it's safe to do so.
1509 (fixup_locale): Moved here from xterm.c. 1509 (fixup_locale): Move here from xterm.c.
1510 (synchronize_locale, synchronize_time_locale) 1510 (synchronize_locale, synchronize_time_locale)
1511 (synchronize_messages_locale): New functions. 1511 (synchronize_messages_locale): New functions.
1512 (syms_of_emacs): Accommodate above changes. 1512 (syms_of_emacs): Accommodate above changes.
@@ -1534,8 +1534,8 @@
1534 1534
1535 * lread.c (file_offset, file_tell): New macros. All uses of ftell 1535 * lread.c (file_offset, file_tell): New macros. All uses of ftell
1536 changed to file_tell. 1536 changed to file_tell.
1537 (saved_doc_string_position, prev_saved_doc_string_position): Now 1537 (saved_doc_string_position, prev_saved_doc_string_position):
1538 of type file_offset. 1538 Now of type file_offset.
1539 (init_lread): Do not fix locale here; fixup_locale now does this. 1539 (init_lread): Do not fix locale here; fixup_locale now does this.
1540 1540
1541 * m/amdahl.h, s/usg5-4.h: 1541 * m/amdahl.h, s/usg5-4.h:
@@ -1589,10 +1589,10 @@
1589 (emacs_open, emacs_close, emacs_read, emacs_write): Always define; 1589 (emacs_open, emacs_close, emacs_read, emacs_write): Always define;
1590 the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO 1590 the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO
1591 macros are no longer used. 1591 macros are no longer used.
1592 (emacs_open): Renamed from sys_open. Merge BSD4_1 version. 1592 (emacs_open): Rename from sys_open. Merge BSD4_1 version.
1593 (emacs_close): Renamed from sys_close. 1593 (emacs_close): Rename from sys_close.
1594 (emacs_read): Renamed from sys_read. 1594 (emacs_read): Rename from sys_read.
1595 (emacs_write): Renamed from sys_write. 1595 (emacs_write): Rename from sys_write.
1596 (sys_siglist): Do not declare if HAVE_STRSIGNAL. 1596 (sys_siglist): Do not declare if HAVE_STRSIGNAL.
1597 (dup2): Do not print error on failure; the real dup2 doesn't. 1597 (dup2): Do not print error on failure; the real dup2 doesn't.
1598 (strsignal): New function, defined if !HAVE_STRSIGNAL. 1598 (strsignal): New function, defined if !HAVE_STRSIGNAL.
@@ -1638,8 +1638,8 @@
16381999-10-18 Kenichi Handa <handa@etl.go.jp> 16381999-10-18 Kenichi Handa <handa@etl.go.jp>
1639 1639
1640 * coding.c (code_convert_string): Add record_unwind_protect to 1640 * coding.c (code_convert_string): Add record_unwind_protect to
1641 assure setting inhibit_pre_post_conversion back to zero. Take 1641 assure setting inhibit_pre_post_conversion back to zero.
1642 care of the multibyteness of the working buffer. 1642 Take care of the multibyteness of the working buffer.
1643 1643
1644 * coding.c (inhibit_pre_post_conversion): New variable. 1644 * coding.c (inhibit_pre_post_conversion): New variable.
1645 (setup_coding_system): If inhibit_pre_post_conversion is nonzero, 1645 (setup_coding_system): If inhibit_pre_post_conversion is nonzero,
@@ -1666,13 +1666,13 @@
1666 * minibuf.c (Fminibuffer_complete_and_exit): Supply value for new 1666 * minibuf.c (Fminibuffer_complete_and_exit): Supply value for new
1667 ESCAPE_FROM_EDGE parameter to Ffield_beginning. 1667 ESCAPE_FROM_EDGE parameter to Ffield_beginning.
1668 1668
1669 * editfns.c (text_property_eq, text_property_stickiness): Don't 1669 * editfns.c (text_property_eq, text_property_stickiness):
1670 use initializers for auto variables of type Lisp_Object. 1670 Don't use initializers for auto variables of type Lisp_Object.
1671 (find_field): Likewise. Use braces around nested ifs. 1671 (find_field): Likewise. Use braces around nested ifs.
1672 (Fline_end_position): Store the raw eol in a variable, so that the 1672 (Fline_end_position): Store the raw eol in a variable, so that the
1673 final expression doesn't look so ugly. 1673 final expression doesn't look so ugly.
1674 (Fconstrain_to_field): Doc fix. 1674 (Fconstrain_to_field): Doc fix.
1675 (preceding_pos): Renamed from `preceeding_pos'. 1675 (preceding_pos): Rename from `preceeding_pos'.
1676 (text_property_stickiness, find_field): Call preceding_pos, 1676 (text_property_stickiness, find_field): Call preceding_pos,
1677 not preceeding_pos. 1677 not preceeding_pos.
1678 1678
@@ -1696,8 +1696,8 @@
1696 * syntax.c (Fforward_word): Supply new ESCAPE_FROM_EDGE parameter 1696 * syntax.c (Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
1697 to Fconstrain_to_field. 1697 to Fconstrain_to_field.
1698 1698
1699 * minibuf.c (Fminibuffer_complete_word): Use 1699 * minibuf.c (Fminibuffer_complete_word):
1700 Ffield_beginning to find the prompt end. 1700 Use Ffield_beginning to find the prompt end.
1701 1701
17021999-10-17 Miles Bader <miles@gnu.org> 17021999-10-17 Miles Bader <miles@gnu.org>
1703 1703
@@ -1746,8 +1746,8 @@
17461999-10-16 Gerd Moellmann <gerd@gnu.org> 17461999-10-16 Gerd Moellmann <gerd@gnu.org>
1747 1747
1748 * window.c (enum save_restore_action): New. 1748 * window.c (enum save_restore_action): New.
1749 (save_restore_orig_size): Change parameter list. Add 1749 (save_restore_orig_size): Change parameter list.
1750 functionality to check for valid orig_top and orig_height members 1750 Add functionality to check for valid orig_top and orig_height members
1751 in a window tree. 1751 in a window tree.
1752 (grow_mini_window): Call save_restore_orig_size with new parameter 1752 (grow_mini_window): Call save_restore_orig_size with new parameter
1753 list. 1753 list.
@@ -1848,8 +1848,8 @@
1848 (Finternal_set_lisp_face_attribute): Ditto. 1848 (Finternal_set_lisp_face_attribute): Ditto.
1849 (Fpixmap_spec_p): Rewritten. Extend doc string. 1849 (Fpixmap_spec_p): Rewritten. Extend doc string.
1850 1850
1851 * xmenu.c (set_frame_menubar, xmenu_show): Call 1851 * xmenu.c (set_frame_menubar, xmenu_show):
1852 x_set_menu_resources_from_menu_face. 1852 Call x_set_menu_resources_from_menu_face.
1853 1853
1854 * dispextern.h (enum face_id): Add MENU_FACE_ID. 1854 * dispextern.h (enum face_id): Add MENU_FACE_ID.
1855 (toplevel): Include X11/Intrinsic.h. 1855 (toplevel): Include X11/Intrinsic.h.
@@ -1869,7 +1869,7 @@
1869 1869
18701999-09-29 Gerd Moellmann <gerd@gnu.org> 18701999-09-29 Gerd Moellmann <gerd@gnu.org>
1871 1871
1872 * editfns.c (Fpropertize): Renamed from Fproperties. 1872 * editfns.c (Fpropertize): Rename from Fproperties.
1873 1873
18741999-09-29 Gerd Moellmann <gerd@gnu.org> 18741999-09-29 Gerd Moellmann <gerd@gnu.org>
1875 1875
@@ -1897,8 +1897,8 @@
1897 1897
1898 * textprop.c (next_single_char_property_change): New. 1898 * textprop.c (next_single_char_property_change): New.
1899 1899
1900 * xdisp.c (display_prop_end, invisible_text_between_p): Use 1900 * xdisp.c (display_prop_end, invisible_text_between_p):
1901 next_single_char_property_change. 1901 Use next_single_char_property_change.
1902 1902
19031999-09-25 Gerd Moellmann <gerd@gnu.org> 19031999-09-25 Gerd Moellmann <gerd@gnu.org>
1904 1904
@@ -1928,7 +1928,7 @@
1928 1928
1929 * xfaces.c (add_to_log): Move to xdisp.c. 1929 * xfaces.c (add_to_log): Move to xdisp.c.
1930 1930
1931 * xdisp.c (add_to_log): Moved from xfaces.c. Remove frame 1931 * xdisp.c (add_to_log): Move from xfaces.c. Remove frame
1932 parameter. 1932 parameter.
1933 1933
19341999-09-23 Gerd Moellmann <gerd@gnu.org> 19341999-09-23 Gerd Moellmann <gerd@gnu.org>
@@ -1945,10 +1945,10 @@
1945 (grow_mini_window, shrink_mini_window): New. 1945 (grow_mini_window, shrink_mini_window): New.
1946 (make_window, replace_window): Initialize orig_top and 1946 (make_window, replace_window): Initialize orig_top and
1947 orig_height. 1947 orig_height.
1948 (enlarge_window): Renamed from change_window_height. Make it 1948 (enlarge_window): Rename from change_window_height. Make it
1949 static. 1949 static.
1950 (Fdisplay_buffer, Fenlage_window, Fshrink_window): Call 1950 (Fdisplay_buffer, Fenlage_window, Fshrink_window):
1951 enlarge_window instead of change_window_height. 1951 Call enlarge_window instead of change_window_height.
1952 1952
1953 * window.h (struct window): New members orig_top, orig_height. 1953 * window.h (struct window): New members orig_top, orig_height.
1954 (toplevel): Add prototypes for grow_mini_window and 1954 (toplevel): Add prototypes for grow_mini_window and
@@ -2003,8 +2003,8 @@
2003 2003
2004 * xdisp.c (compute_window_start_on_continuation_line): Handle case 2004 * xdisp.c (compute_window_start_on_continuation_line): Handle case
2005 that window start is out of range. 2005 that window start is out of range.
2006 (handle_display_prop, handle_single_display_prop): Replace 2006 (handle_display_prop, handle_single_display_prop):
2007 marginal area specifications like `left-margin' with `(margin 2007 Replace marginal area specifications like `left-margin' with `(margin
2008 left-margin)'. 2008 left-margin)'.
2009 (Qmargin): New. 2009 (Qmargin): New.
2010 (syms_of_xdisp): Initialize Qmargin. 2010 (syms_of_xdisp): Initialize Qmargin.
@@ -2020,7 +2020,7 @@
2020 (Fopen_network_stream, create_process): Add parentheses to 2020 (Fopen_network_stream, create_process): Add parentheses to
2021 conditional expressions. 2021 conditional expressions.
2022 (create_process): Put declaration of sigchld in #if 0. 2022 (create_process): Put declaration of sigchld in #if 0.
2023 (Fopen_network_stream): Removed unused variables. 2023 (Fopen_network_stream): Remove unused variables.
2024 (Fopen_network_stream, wait_reading_process_input) 2024 (Fopen_network_stream, wait_reading_process_input)
2025 (wait_reading_process_input, send_process, send_process): Ditto. 2025 (wait_reading_process_input, send_process, send_process): Ditto.
2026 (toplevel): Add prototypes for set_waiting_for_input and 2026 (toplevel): Add prototypes for set_waiting_for_input and
@@ -2057,7 +2057,7 @@
2057 2057
2058 * buffer.h: Add prototype for r_re_alloc. 2058 * buffer.h: Add prototype for r_re_alloc.
2059 2059
2060 * insdel.c (copy_text): Removed unused variables. 2060 * insdel.c (copy_text): Remove unused variables.
2061 (count_combining_after, count_combining_after, insert_1_both) 2061 (count_combining_after, count_combining_after, insert_1_both)
2062 (insert_from_string_1, insert_from_buffer_1, check_markers): Ditto. 2062 (insert_from_string_1, insert_from_buffer_1, check_markers): Ditto.
2063 (adjust_after_replace, replace_range): Add parentheses to logical 2063 (adjust_after_replace, replace_range): Add parentheses to logical
@@ -2177,8 +2177,8 @@
2177 * xdisp.c (resize_mini_window): Don't report changed window 2177 * xdisp.c (resize_mini_window): Don't report changed window
2178 height if it actually hasn't changed. 2178 height if it actually hasn't changed.
2179 2179
2180 * widget.c (set_frame_size, EmacsFrameSetCharSize): Remove 2180 * widget.c (set_frame_size, EmacsFrameSetCharSize):
2181 unused variables. 2181 Remove unused variables.
2182 (mark_shell_size_user_specified): Put in #if 0 because not used. 2182 (mark_shell_size_user_specified): Put in #if 0 because not used.
2183 (create_frame_gcs): Put in #if 0 because currently unused. 2183 (create_frame_gcs): Put in #if 0 because currently unused.
2184 (first_frame_p): Ditto. 2184 (first_frame_p): Ditto.
@@ -2188,7 +2188,7 @@
2188 (free_frame_menubar, xmenu_show, xdialog_show): Remove unused 2188 (free_frame_menubar, xmenu_show, xdialog_show): Remove unused
2189 variables. 2189 variables.
2190 2190
2191 * print.c (PRINTFULLP): Removed because it is no longer used and 2191 * print.c (PRINTFULLP): Remove because it is no longer used and
2192 is misleading. 2192 is misleading.
2193 (Ferror_message_string): Remove unused variables. 2193 (Ferror_message_string): Remove unused variables.
2194 (print_object): Cast argument of sprintf to long for `%ld' 2194 (print_object): Cast argument of sprintf to long for `%ld'
@@ -2297,7 +2297,7 @@
2297 2297
2298 * xterm.c (XTcursor_to): Change for Lisp_Object selected_frame. 2298 * xterm.c (XTcursor_to): Change for Lisp_Object selected_frame.
2299 (x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto. 2299 (x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto.
2300 (XRINGBELL): Removed. 2300 (XRINGBELL): Remove.
2301 2301
23021999-09-13 Dave Love <fx@gnu.org> 23021999-09-13 Dave Love <fx@gnu.org>
2303 2303
@@ -2307,7 +2307,7 @@
2307 2307
23081999-09-13 Gerd Moellmann <gerd@delysid.gnu.org> 23081999-09-13 Gerd Moellmann <gerd@delysid.gnu.org>
2309 2309
2310 * xfns.c (QCfile): Moved to xdisp.c. 2310 * xfns.c (QCfile): Move to xdisp.c.
2311 (syms_of_xfns): Don't initialize QCfile. 2311 (syms_of_xfns): Don't initialize QCfile.
2312 (check_x_frame): Change for Lisp_Object selected_frame. 2312 (check_x_frame): Change for Lisp_Object selected_frame.
2313 (check_x_display_info, x_get_resource_string): Ditto. 2313 (check_x_display_info, x_get_resource_string): Ditto.
@@ -2317,7 +2317,7 @@
2317 * minibuf.c (choose_minibuf_frame): Don't try to set the 2317 * minibuf.c (choose_minibuf_frame): Don't try to set the
2318 mini-buffer window's buffer, if the buffer is invalid. 2318 mini-buffer window's buffer, if the buffer is invalid.
2319 2319
2320 * xfns.c (QCfile): Moved to xdisp.c. 2320 * xfns.c (QCfile): Move to xdisp.c.
2321 (syms_of_xfns): Don't initialize QCfile. 2321 (syms_of_xfns): Don't initialize QCfile.
2322 2322
2323 * xdisp.c (QCfile): Move here from xfns.c. 2323 * xdisp.c (QCfile): Move here from xfns.c.
@@ -2401,7 +2401,7 @@
2401 2401
2402 * xterm.c (XTcursor_to): Change for Lisp_Object selected_frame. 2402 * xterm.c (XTcursor_to): Change for Lisp_Object selected_frame.
2403 (x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto. 2403 (x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto.
2404 (XRINGBELL): Removed. 2404 (XRINGBELL): Remove.
2405 2405
2406 * window.c (Fminibuffer_window): Change for Lisp_Object 2406 * window.c (Fminibuffer_window): Change for Lisp_Object
2407 selected_frame. 2407 selected_frame.
@@ -2456,8 +2456,8 @@
2456 * keyboard.c (command_loop_1): Resize mini-window to the 2456 * keyboard.c (command_loop_1): Resize mini-window to the
2457 exact size of a message displayed, if any. 2457 exact size of a message displayed, if any.
2458 2458
2459 * xdisp.c (resize_mini_window): Add parameter exact_p. Resize 2459 * xdisp.c (resize_mini_window): Add parameter exact_p.
2460 to exact size if exact_p is non-zero. 2460 Resize to exact size if exact_p is non-zero.
2461 (display_echo_area_1): Call resize_mini_window with 2461 (display_echo_area_1): Call resize_mini_window with
2462 new parameter. 2462 new parameter.
2463 (redisplay_internal): Ditto. 2463 (redisplay_internal): Ditto.
@@ -2498,8 +2498,8 @@
2498 (Fkill_buffer): Ditto. 2498 (Fkill_buffer): Ditto.
2499 (Ferase_buffer): Ditto. 2499 (Ferase_buffer): Ditto.
2500 2500
2501 * buffer.h (prompt_end_charpos): Replaces 2501 * buffer.h (prompt_end_charpos):
2502 minibuffer_prompt_length. 2502 Replaces minibuffer_prompt_length.
2503 2503
2504 * minibuf.c (read_minibuf): Return mini-buffer contents 2504 * minibuf.c (read_minibuf): Return mini-buffer contents
2505 without the prompt. 2505 without the prompt.
@@ -2582,8 +2582,8 @@
2582 (x_load_font, x_find_ccl_program, x_term_init, x_delete_display): 2582 (x_load_font, x_find_ccl_program, x_term_init, x_delete_display):
2583 Likewise. 2583 Likewise.
2584 2584
2585 * alloc.c (make_float, make_pure_float, Fpurecopy): Use 2585 * alloc.c (make_float, make_pure_float, Fpurecopy):
2586 XFLOAT_DATA. 2586 Use XFLOAT_DATA.
2587 * bytecode.c (Fbyte_code): Likewise. 2587 * bytecode.c (Fbyte_code): Likewise.
2588 * floatfns.c (extract_float, Fexpt, Fabs, rounding_driver) 2588 * floatfns.c (extract_float, Fexpt, Fabs, rounding_driver)
2589 (fmod_float): Likewise. 2589 (fmod_float): Likewise.
@@ -2614,7 +2614,7 @@
26141999-09-10 Keisuke Nishida <kxn30@po.cwru.edu> 26141999-09-10 Keisuke Nishida <kxn30@po.cwru.edu>
2615 2615
2616 * print.c: Support print-circle and related features. 2616 * print.c: Support print-circle and related features.
2617 (Vprint_gensym_alist): Removed. 2617 (Vprint_gensym_alist): Remove.
2618 (Vprint_circle, Vprint_continuous_numbering, print_number_index) 2618 (Vprint_circle, Vprint_continuous_numbering, print_number_index)
2619 (Vprint_number_table): New variables. 2619 (Vprint_number_table): New variables.
2620 (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): New macros. 2620 (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): New macros.
@@ -2703,8 +2703,8 @@
2703 2703
27041999-09-07 Gerd Moellmann <gerd@gnu.org> 27041999-09-07 Gerd Moellmann <gerd@gnu.org>
2705 2705
2706 * xfns.c (x_set_foreground_color): Call 2706 * xfns.c (x_set_foreground_color):
2707 update_face_from_frame_parameter. 2707 Call update_face_from_frame_parameter.
2708 (x_set_background_color): Ditto. 2708 (x_set_background_color): Ditto.
2709 (x_set_mouse_color): Ditto. 2709 (x_set_mouse_color): Ditto.
2710 (x_set_cursor_color): Ditto. 2710 (x_set_cursor_color): Ditto.
@@ -2926,7 +2926,7 @@
2926 (Fset_window_start): Ditto. 2926 (Fset_window_start): Ditto.
2927 2927
2928 * xdisp.c (Vresize_mini_config, resize_mini_frame) 2928 * xdisp.c (Vresize_mini_config, resize_mini_frame)
2929 (resize_mini_initial_height): Removed. 2929 (resize_mini_initial_height): Remove.
2930 (syms_of_xdisp): Remove references to these variables. 2930 (syms_of_xdisp): Remove references to these variables.
2931 (resize_mini_window): Don't save window configuration, freeze 2931 (resize_mini_window): Don't save window configuration, freeze
2932 window starts instead. Enlarge window until displaying an empty 2932 window starts instead. Enlarge window until displaying an empty
@@ -2952,16 +2952,16 @@
2952 2952
2953 * xterm.c (x_scroll_bar_create): Don't clear under scroll bar 2953 * xterm.c (x_scroll_bar_create): Don't clear under scroll bar
2954 here. 2954 here.
2955 (XTset_vertical_scroll_bar): Clarify position computations. Clear 2955 (XTset_vertical_scroll_bar): Clarify position computations.
2956 under newly created scroll bar. Put toolkit scroll bars in the 2956 Clear under newly created scroll bar. Put toolkit scroll bars in the
2957 middle of the area reserved for the scroll bar. 2957 middle of the area reserved for the scroll bar.
2958 2958
29591999-09-03 Kenichi Handa <handa@etl.go.jp> 29591999-09-03 Kenichi Handa <handa@etl.go.jp>
2960 2960
2961 The following changes are for the new handling of multibyte 2961 The following changes are for the new handling of multibyte
2962 sequence. Now, except for a composite character, no multibyte 2962 sequence. Now, except for a composite character, no multibyte
2963 character in string/buffer has trailing garbage bytes. For 2963 character in string/buffer has trailing garbage bytes.
2964 instance, the length of string "\201\300\300" is now 2, the first 2964 For instance, the length of string "\201\300\300" is now 2, the first
2965 character is Latin-1 A-grave, the second is raw \300. 2965 character is Latin-1 A-grave, the second is raw \300.
2966 2966
2967 * charset.h (MAKE_NON_ASCII_CHAR): Handle the case that C1 or C2 2967 * charset.h (MAKE_NON_ASCII_CHAR): Handle the case that C1 or C2
@@ -2972,7 +2972,7 @@
2972 (PARSE_CHARACTER_SEQ): New macro. 2972 (PARSE_CHARACTER_SEQ): New macro.
2973 (PARSE_MULTIBYTE_SEQ): New macro. 2973 (PARSE_MULTIBYTE_SEQ): New macro.
2974 (CHAR_PRINTABLE_P): New macro. 2974 (CHAR_PRINTABLE_P): New macro.
2975 (STRING_CHAR): Adjusted for the change of string_to_non_ascii_char. 2975 (STRING_CHAR): Adjust for the change of string_to_non_ascii_char.
2976 (STRING_CHAR_AND_LENGTH): Likewise. 2976 (STRING_CHAR_AND_LENGTH): Likewise.
2977 (STRING_CHAR_AND_CHAR_LENGTH): Define it as STRING_CHAR_AND_LENGTH. 2977 (STRING_CHAR_AND_CHAR_LENGTH): Define it as STRING_CHAR_AND_LENGTH.
2978 (INC_POS): Use the macro PARSE_MULTIBYTE_SEQ. 2978 (INC_POS): Use the macro PARSE_MULTIBYTE_SEQ.
@@ -3016,8 +3016,8 @@
3016 3016
3017 * insdel.c (count_combining_composition): New function. 3017 * insdel.c (count_combining_composition): New function.
3018 (count_combining_before): Adjust the way to check byte-combining 3018 (count_combining_before): Adjust the way to check byte-combining
3019 possibility for the new handling of multibyte sequence. Call 3019 possibility for the new handling of multibyte sequence.
3020 count_combining_composition for a composite character. 3020 Call count_combining_composition for a composite character.
3021 (count_combining_after): Likewise. 3021 (count_combining_after): Likewise.
3022 3022
3023 * print.c (print_string): Use the macro STRING_CHAR_AND_LENGTH. 3023 * print.c (print_string): Use the macro STRING_CHAR_AND_LENGTH.
@@ -3093,8 +3093,8 @@
3093 (window_box_left): Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of 3093 (window_box_left): Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of
3094 FRAME_FLAGS_AREA_WIDTH. 3094 FRAME_FLAGS_AREA_WIDTH.
3095 3095
3096 * window.c (coordinates_in_window): Use 3096 * window.c (coordinates_in_window):
3097 FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. 3097 Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
3098 (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once 3098 (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once
3099 instead of twice. 3099 instead of twice.
3100 3100
@@ -3105,14 +3105,14 @@
3105 * dispnew.c (mode_line_string): Add FRAME_LEFT_FLAGS_AREA_WIDTH 3105 * dispnew.c (mode_line_string): Add FRAME_LEFT_FLAGS_AREA_WIDTH
3106 instead of FRAME_FLAGS_AREA_WIDTH. 3106 instead of FRAME_FLAGS_AREA_WIDTH.
3107 3107
3108 * dispextern.h (WINDOW_DISPLAY_PIXEL_WIDTH): Subtract 3108 * dispextern.h (WINDOW_DISPLAY_PIXEL_WIDTH):
3109 FRAME_FLAGS_AREA_COLS once. 3109 Subtract FRAME_FLAGS_AREA_COLS once.
3110 (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X): Add 3110 (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X):
3111 FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. 3111 Add FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
3112 3112
31131999-08-30 Gerd Moellmann <gerd@gnu.org> 31131999-08-30 Gerd Moellmann <gerd@gnu.org>
3114 3114
3115 * s/freebsd.h (C_SWITCH_SYSTEM): Added to let configure find headers 3115 * s/freebsd.h (C_SWITCH_SYSTEM): Add to let configure find headers
3116 in /usr/X11R6/include which are checked for with AC_CHECK_HEADER. 3116 in /usr/X11R6/include which are checked for with AC_CHECK_HEADER.
3117 3117
31181999-08-30 Gerd Moellmann <gerd@gnu.org> 31181999-08-30 Gerd Moellmann <gerd@gnu.org>
@@ -3139,8 +3139,8 @@
3139 3139
31401999-08-28 Ken Raeburn <raeburn@gnu.org> 31401999-08-28 Ken Raeburn <raeburn@gnu.org>
3141 3141
3142 * lisp.h (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change 3142 * lisp.h (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float):
3143 names of structure elements if HIDE_LISP_IMPLEMENTATION is 3143 Change names of structure elements if HIDE_LISP_IMPLEMENTATION is
3144 defined, to help detect code that uses knowledge of the Lisp 3144 defined, to help detect code that uses knowledge of the Lisp
3145 internals that it shouldn't have. 3145 internals that it shouldn't have.
3146 (XFLOAT_DATA): New macro. 3146 (XFLOAT_DATA): New macro.
@@ -3226,8 +3226,8 @@
3226 3226
32271999-08-22 Gerd Moellmann <gerd@gnu.org> 32271999-08-22 Gerd Moellmann <gerd@gnu.org>
3228 3228
3229 * xdisp.c (unwind_with_echo_area_buffer): Use 3229 * xdisp.c (unwind_with_echo_area_buffer):
3230 set_buffer_internal_1 instead of set_buffer_internal. 3230 Use set_buffer_internal_1 instead of set_buffer_internal.
3231 (with_echo_area_buffer): Ditto. 3231 (with_echo_area_buffer): Ditto.
3232 3232
3233 * buffer.c (set_buffer_internal): Set windows_or_buffers_changed 3233 * buffer.c (set_buffer_internal): Set windows_or_buffers_changed
@@ -3255,8 +3255,8 @@
3255 (mark_window_display_accurate, redisplay_internal): Set current 3255 (mark_window_display_accurate, redisplay_internal): Set current
3256 matrix' buffer, begv, zv. 3256 matrix' buffer, begv, zv.
3257 3257
3258 * window.c (Fset_window_hscroll): Set 3258 * window.c (Fset_window_hscroll):
3259 prevent_redisplay_optimizations_p instead of clip_changed. 3259 Set prevent_redisplay_optimizations_p instead of clip_changed.
3260 (Fset_window_hscroll): Ditto. 3260 (Fset_window_hscroll): Ditto.
3261 (temp_output_buffer_show): Ditto. 3261 (temp_output_buffer_show): Ditto.
3262 (Fset_window_vscroll): Ditto. 3262 (Fset_window_vscroll): Ditto.
@@ -3273,7 +3273,7 @@
3273 unchanged_modified, overlay_unchanged_modified. 3273 unchanged_modified, overlay_unchanged_modified.
3274 3274
3275 * window.h (beg_unchanged, end_unchanged, unchanged_modified) 3275 * window.h (beg_unchanged, end_unchanged, unchanged_modified)
3276 (overlay_unchanged_modified): Removed. 3276 (overlay_unchanged_modified): Remove.
3277 (with_echo_area_unwind_data): Don't save beg/end_unchanged. 3277 (with_echo_area_unwind_data): Don't save beg/end_unchanged.
3278 (unwind_with_echo_area_buffer): Don't restore them. 3278 (unwind_with_echo_area_buffer): Don't restore them.
3279 (debug_beg_unchanged, debug_end_unchanged) [GLYPH_DEBUG]: Removed. 3279 (debug_beg_unchanged, debug_end_unchanged) [GLYPH_DEBUG]: Removed.
@@ -3310,8 +3310,8 @@
3310 3310
3311 * lisp.h: Add prototype for copy_hash_table and Fcopy_hash_table. 3311 * lisp.h: Add prototype for copy_hash_table and Fcopy_hash_table.
3312 3312
3313 * fns.c (Qkey, Qvalue): Renamed from Qkey_weak, and Qvalue_weak. 3313 * fns.c (Qkey, Qvalue): Rename from Qkey_weak, and Qvalue_weak.
3314 (Qkey_value_weak): Removed. 3314 (Qkey_value_weak): Remove.
3315 (make_hash_table): Use nil, `key', `value', t for weakness. 3315 (make_hash_table): Use nil, `key', `value', t for weakness.
3316 (Fmake_hash_table): Ditto. 3316 (Fmake_hash_table): Ditto.
3317 (copy_hash_table): New. 3317 (copy_hash_table): New.
@@ -3336,7 +3336,7 @@
3336 * fns.c (hash_lookup): Test with EQ before calling key comparison 3336 * fns.c (hash_lookup): Test with EQ before calling key comparison
3337 function. 3337 function.
3338 (hash_remove): Ditto. 3338 (hash_remove): Ditto.
3339 (cmpfn_eq): Removed. 3339 (cmpfn_eq): Remove.
3340 (cmpfn_eql): Don't test with EQ. 3340 (cmpfn_eql): Don't test with EQ.
3341 (cmpfn_equal): Ditto. 3341 (cmpfn_equal): Ditto.
3342 (make_hash_table): Set comparison function for `eq' to null. 3342 (make_hash_table): Set comparison function for `eq' to null.
@@ -3344,7 +3344,7 @@
3344 * buffer.c, cmds.c, editfns.c, indent.c, insdel.c, buffer.h: 3344 * buffer.c, cmds.c, editfns.c, indent.c, insdel.c, buffer.h:
3345 Remove conditional compilation on NO_PROMPT_IN_BUFFER. 3345 Remove conditional compilation on NO_PROMPT_IN_BUFFER.
3346 3346
3347 * dispextern.h (NO_PROMPT_IN_BUFFER): Removed. 3347 * dispextern.h (NO_PROMPT_IN_BUFFER): Remove.
3348 3348
3349 * window.c, widget.c, process.c, keyboard.c, frame.c, xdisp.c, 3349 * window.c, widget.c, process.c, keyboard.c, frame.c, xdisp.c,
3350 xterm.c: Call change_frame_size and do_pending_window_change with 3350 xterm.c: Call change_frame_size and do_pending_window_change with
@@ -3369,8 +3369,8 @@
3369 NO_PROMPT_IN_BUFFER. 3369 NO_PROMPT_IN_BUFFER.
3370 3370
3371 * minibuf.c (Fminibuffer_prompt_end): New. 3371 * minibuf.c (Fminibuffer_prompt_end): New.
3372 (syms_of_minibuf): Defsubr it. Remove 3372 (syms_of_minibuf): Defsubr it.
3373 minibuffer-prompt-in-buffer. 3373 Remove minibuffer-prompt-in-buffer.
3374 (Fminibuffer_prompt_width): Return 0 if not in mini-buffer. 3374 (Fminibuffer_prompt_width): Return 0 if not in mini-buffer.
3375 Extend documentation. 3375 Extend documentation.
3376 3376
@@ -3381,7 +3381,7 @@
3381 3381
33821999-08-21 Gerd Moellmann <gerd@gnu.org> 33821999-08-21 Gerd Moellmann <gerd@gnu.org>
3383 3383
3384 * xdisp.c (minibuffer_scroll_overlap): Removed because not used 3384 * xdisp.c (minibuffer_scroll_overlap): Remove because not used
3385 anywhere. 3385 anywhere.
3386 (unwind_redisplay): Return nil. 3386 (unwind_redisplay): Return nil.
3387 (clear_garbaged_frames): New. 3387 (clear_garbaged_frames): New.
@@ -3400,7 +3400,7 @@
3400 * xdisp.c (echo_area_glyphs, echo_area_message) 3400 * xdisp.c (echo_area_glyphs, echo_area_message)
3401 (echo_area_glyphs_length, previous_echo_glyphs) 3401 (echo_area_glyphs_length, previous_echo_glyphs)
3402 (previous_echo_area_message, previous_echo_area_glyphs_length): 3402 (previous_echo_area_message, previous_echo_area_glyphs_length):
3403 Removed. 3403 Remove.
3404 (Vmessage_stack, echo_area_buffer, echo_buffer) 3404 (Vmessage_stack, echo_area_buffer, echo_buffer)
3405 (display_last_displayed_message_p, Vwith_echo_area_save_vector): New. 3405 (display_last_displayed_message_p, Vwith_echo_area_save_vector): New.
3406 (message2_nolog): Use set_message and clear_message. 3406 (message2_nolog): Use set_message and clear_message.
@@ -3426,7 +3426,7 @@
3426 Remove initialization of removed variables. 3426 Remove initialization of removed variables.
3427 (init_xdisp): Remove references to removed variables. 3427 (init_xdisp): Remove references to removed variables.
3428 3428
3429 * dispnew.c (adjust_frame_message_buffer): Removed references 3429 * dispnew.c (adjust_frame_message_buffer): Remove references
3430 to echo_area_glyphs and previous_echo_glyphs. 3430 to echo_area_glyphs and previous_echo_glyphs.
3431 (direct_output_for_insert): Check for mini-window displaying 3431 (direct_output_for_insert): Check for mini-window displaying
3432 echo area message differently. 3432 echo area message differently.
@@ -3440,7 +3440,7 @@
3440 longer used in that way. 3440 longer used in that way.
3441 (PRINTDECLARE): Add multibyte. 3441 (PRINTDECLARE): Add multibyte.
3442 (PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently. 3442 (PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently.
3443 (printbufidx): Removed. 3443 (printbufidx): Remove.
3444 (printchar, strout): Rewritten. 3444 (printchar, strout): Rewritten.
3445 3445
3446 * keyboard.c (ok_to_echo_at_next_pause): Make it a pointer to 3446 * keyboard.c (ok_to_echo_at_next_pause): Make it a pointer to
@@ -3493,8 +3493,8 @@
3493 3493
34941999-08-19 Gerd Moellmann <gerd@gnu.org> 34941999-08-19 Gerd Moellmann <gerd@gnu.org>
3495 3495
3496 * xterm.c (XTset_vertical_scroll_bar): Fix previous change. Clear 3496 * xterm.c (XTset_vertical_scroll_bar): Fix previous change.
3497 under scroll bar with width FRAME_SCROLL_BAR_COLS. 3497 Clear under scroll bar with width FRAME_SCROLL_BAR_COLS.
3498 3498
34991999-08-18 Dave Love <fx@gnu.org> 34991999-08-18 Dave Love <fx@gnu.org>
3500 3500
@@ -3511,8 +3511,8 @@
3511 3511
3512 * xfns.c (x_window) [USE_X_TOOLKIT]: Remove test for 3512 * xfns.c (x_window) [USE_X_TOOLKIT]: Remove test for
3513 FRAME_X_WINDOW (f) being null at the of the function. If widgets 3513 FRAME_X_WINDOW (f) being null at the of the function. If widgets
3514 cannot be created we will already have crashed earlier. Call 3514 cannot be created we will already have crashed earlier.
3515 lw_set_main_areas with a null menu-bar widget, so that we have 3515 Call lw_set_main_areas with a null menu-bar widget, so that we have
3516 a reasonable default. 3516 a reasonable default.
3517 (Fx_create_frame): Rearranged so that Lisp errors during frame 3517 (Fx_create_frame): Rearranged so that Lisp errors during frame
3518 initialization cause less damage. Initialize menu bar widget 3518 initialization cause less damage. Initialize menu bar widget
@@ -3526,8 +3526,8 @@
35261999-08-17 Gerd Moellmann <gerd@gnu.org> 35261999-08-17 Gerd Moellmann <gerd@gnu.org>
3527 3527
3528 * window.c (Fcoordinates_in_window_p): Return `left-bitmap-area' 3528 * window.c (Fcoordinates_in_window_p): Return `left-bitmap-area'
3529 and `right-bitmap-area' if position is in the bitmap areas. This 3529 and `right-bitmap-area' if position is in the bitmap areas.
3530 avoids an error when clicking on the bitmap areas. Instead, they 3530 This avoids an error when clicking on the bitmap areas. Instead, they
3531 are currently treated like clicks inside the window. 3531 are currently treated like clicks inside the window.
3532 (coordinates_in_window): Return 5 and 6 for bitmap areas. 3532 (coordinates_in_window): Return 5 and 6 for bitmap areas.
3533 (Qleft_bitmap_area, Qright_bitmap_area): New. 3533 (Qleft_bitmap_area, Qright_bitmap_area): New.
@@ -3553,14 +3553,14 @@
3553 * dispextern.h (struct it): Remove member 3553 * dispextern.h (struct it): Remove member
3554 show_trailing_whitespace_p. 3554 show_trailing_whitespace_p.
3555 3555
3556 * dispnew.c (direct_output_for_insert): Use 3556 * dispnew.c (direct_output_for_insert):
3557 Vshow_trailing_whitespace instead of former iterator member 3557 Use Vshow_trailing_whitespace instead of former iterator member
3558 show_trailing_whitespace_p. 3558 show_trailing_whitespace_p.
3559 (direct_output_forward_char): Don't do it if highlighting 3559 (direct_output_forward_char): Don't do it if highlighting
3560 trailing whitespace. 3560 trailing whitespace.
3561 3561
3562 * xdisp.c (Qshow_trailing_whitespace): Removed. 3562 * xdisp.c (Qshow_trailing_whitespace): Remove.
3563 (Vshow_trailing_whitespace): Added. 3563 (Vshow_trailing_whitespace): Add.
3564 (init_iterator): Remove initialization code for 3564 (init_iterator): Remove initialization code for
3565 show_trailing_whitespace_p. 3565 show_trailing_whitespace_p.
3566 (redisplay_internal): Don't try cursor movement in this_line 3566 (redisplay_internal): Don't try cursor movement in this_line
@@ -3578,7 +3578,7 @@
3578 3578
3579 * window.c (Fpos_visible_in_window_p): Rewritten. 3579 * window.c (Fpos_visible_in_window_p): Rewritten.
3580 3580
3581 * xfaces.c (add_to_log): Renamed from display_message. 3581 * xfaces.c (add_to_log): Rename from display_message.
3582 Don't display messages in echo area. 3582 Don't display messages in echo area.
3583 3583
3584 * xterm.c (x_draw_glyph_string_box): Use the background width 3584 * xterm.c (x_draw_glyph_string_box): Use the background width
@@ -3650,7 +3650,7 @@
3650 3650
36511999-08-13 Gerd Moellmann <gerd@gnu.org> 36511999-08-13 Gerd Moellmann <gerd@gnu.org>
3652 3652
3653 * window.c (MINSIZE): Removed. 3653 * window.c (MINSIZE): Remove.
3654 (window_min_size): New. 3654 (window_min_size): New.
3655 (set_window_height): Use window_min_size. 3655 (set_window_height): Use window_min_size.
3656 (change_window_height): Ditto. 3656 (change_window_height): Ditto.
@@ -3819,8 +3819,8 @@
3819 3819
3820 * dispextern.h (MATRIX_ROW_OVERLAPPING_P): New. 3820 * dispextern.h (MATRIX_ROW_OVERLAPPING_P): New.
3821 3821
3822 * dispextern.h (struct redisplay_interface): Add 3822 * dispextern.h (struct redisplay_interface):
3823 fix_overlapping_area. 3823 Add fix_overlapping_area.
3824 3824
3825 * xterm.c (x_append_glyph): Set glyph flag overlaps_vertically_p. 3825 * xterm.c (x_append_glyph): Set glyph flag overlaps_vertically_p.
3826 3826
@@ -3869,7 +3869,7 @@
3869 3869
38701999-08-03 Tom Breton <tob@world.std.com> 38701999-08-03 Tom Breton <tob@world.std.com>
3871 3871
3872 * lread.c (read1): Added circular reading code to #N=. 3872 * lread.c (read1): Add circular reading code to #N=.
3873 (SUBSTITUTE): New macro. 3873 (SUBSTITUTE): New macro.
3874 (seen_list): New variable. 3874 (seen_list): New variable.
3875 (substitute_object_in_subtree): New function. 3875 (substitute_object_in_subtree): New function.
@@ -4068,7 +4068,7 @@
4068 * ccl.c (ccl_driver) <CCL_Call>: Now CCL program ID to call may be 4068 * ccl.c (ccl_driver) <CCL_Call>: Now CCL program ID to call may be
4069 stored in the following CCL code. Adjusted for the change of 4069 stored in the following CCL code. Adjusted for the change of
4070 Vccl_program_table. 4070 Vccl_program_table.
4071 (resolve_symbol_ccl_program): Adjusted for the new style of 4071 (resolve_symbol_ccl_program): Adjust for the new style of
4072 embedded symbols (SYMBOL . PROP) in CCL compiled code. Return Qt 4072 embedded symbols (SYMBOL . PROP) in CCL compiled code. Return Qt
4073 is resolving failed. 4073 is resolving failed.
4074 (ccl_get_compiled_code): New function. 4074 (ccl_get_compiled_code): New function.
@@ -4078,7 +4078,7 @@
4078 (Fccl_execute): Get compiled CCL code by just calling 4078 (Fccl_execute): Get compiled CCL code by just calling
4079 setup_ccl_program. 4079 setup_ccl_program.
4080 (Fccl_execute_on_string): Likewise. 4080 (Fccl_execute_on_string): Likewise.
4081 (Fregister_ccl_program): Adjusted for the change of 4081 (Fregister_ccl_program): Adjust for the change of
4082 Vccl_program_table. 4082 Vccl_program_table.
4083 4083
4084 * coding.c (setup_coding_system): Get compiled CCL code by just 4084 * coding.c (setup_coding_system): Get compiled CCL code by just
@@ -4125,7 +4125,7 @@
4125 * xrdb.c (x_load_resources): Set double-click time defaults 4125 * xrdb.c (x_load_resources): Set double-click time defaults
4126 for Motif list boxes from double-click-time. 4126 for Motif list boxes from double-click-time.
4127 4127
4128 * fns.c (Vhash_table_tests): Removed. 4128 * fns.c (Vhash_table_tests): Remove.
4129 (Qhash_table_test): New. 4129 (Qhash_table_test): New.
4130 (syms_of_fns): Initialize Qhash_table_test. 4130 (syms_of_fns): Initialize Qhash_table_test.
4131 (Fmake_hash_table): Look up user-defined tests in symbol prop 4131 (Fmake_hash_table): Look up user-defined tests in symbol prop
@@ -4152,7 +4152,7 @@
4152 4152
41531999-07-16 Gerd Moellmann <gerd@gnu.org> 41531999-07-16 Gerd Moellmann <gerd@gnu.org>
4154 4154
4155 * frame.h (FRAME_WINDOW_REDISPLAY_P): Removed. Use FRAME_WINDOW_P 4155 * frame.h (FRAME_WINDOW_REDISPLAY_P): Remove. Use FRAME_WINDOW_P
4156 instead. 4156 instead.
4157 4157
4158 * fns.c (cmpfn_eq): Add hash code parameters. 4158 * fns.c (cmpfn_eq): Add hash code parameters.
@@ -4162,7 +4162,7 @@
4162 4162
41631999-07-15 Gerd Moellmann <gerd@gnu.org> 41631999-07-15 Gerd Moellmann <gerd@gnu.org>
4164 4164
4165 * lisp.h (DEFAULT_REHASH_THRESHOLD): Changed to 0.8. 4165 * lisp.h (DEFAULT_REHASH_THRESHOLD): Change to 0.8.
4166 4166
4167 * fns.c (maybe_resize_hash_table): Correct computation of 4167 * fns.c (maybe_resize_hash_table): Correct computation of
4168 index vector size. 4168 index vector size.
@@ -4175,19 +4175,19 @@
4175 (survives_gc_p): Make it externally visible. 4175 (survives_gc_p): Make it externally visible.
4176 (mark_object): Ditto. 4176 (mark_object): Ditto.
4177 4177
4178 * fns.c (remove_hash_entry): Removed. 4178 * fns.c (remove_hash_entry): Remove.
4179 (sweep_weak_hash_tables): New. 4179 (sweep_weak_hash_tables): New.
4180 4180
4181 * print.c (print): Print more information about hash tables. 4181 * print.c (print): Print more information about hash tables.
4182 4182
4183 * xfns.c (image_spec_hash): Removed. 4183 * xfns.c (image_spec_hash): Remove.
4184 (lookup_image): Use sxhash instead of image_spec_hash. 4184 (lookup_image): Use sxhash instead of image_spec_hash.
4185 (image_spec_equal_p): Removed. 4185 (image_spec_equal_p): Remove.
4186 (lookup_image): Use Fequal instead of image_spec_equal_p. 4186 (lookup_image): Use Fequal instead of image_spec_equal_p.
4187 4187
41881999-07-14 Gerd Moellmann <gerd@gnu.org> 41881999-07-14 Gerd Moellmann <gerd@gnu.org>
4189 4189
4190 * lisp.h (P_): Moved to top of file. 4190 * lisp.h (P_): Move to top of file.
4191 4191
4192 * fns.c (make_hash_table): Set new members. 4192 * fns.c (make_hash_table): Set new members.
4193 4193
@@ -4197,8 +4197,8 @@
4197 * lisp.h (struct Lisp_Hash_Table): Add user_cmp_function, 4197 * lisp.h (struct Lisp_Hash_Table): Add user_cmp_function,
4198 user_hash_function, cmpfn, and hashfn. 4198 user_hash_function, cmpfn, and hashfn.
4199 4199
4200 * fns.c (build_hash): Removed. 4200 * fns.c (build_hash): Remove.
4201 (hash_test): Removed. 4201 (hash_test): Remove.
4202 (cmpfn_eq, cmpfn_eql, cmpfn_equal, cmpfn_user_defined): New. 4202 (cmpfn_eq, cmpfn_eql, cmpfn_equal, cmpfn_user_defined): New.
4203 (hashfn_eq, hashfn_eql, hashfn_equal, hashfn_user_defined): New. 4203 (hashfn_eq, hashfn_eql, hashfn_equal, hashfn_user_defined): New.
4204 4204
@@ -4261,7 +4261,7 @@
4261 properties. 4261 properties.
4262 (handle_single_display_prop): Handle some display property 4262 (handle_single_display_prop): Handle some display property
4263 forms for terminal frames. 4263 forms for terminal frames.
4264 (Qimage): Moved here from xfns.c. 4264 (Qimage): Move here from xfns.c.
4265 4265
4266 * dispextern.h (struct it): New field string_from_display_prop_p. 4266 * dispextern.h (struct it): New field string_from_display_prop_p.
4267 4267
@@ -4331,8 +4331,8 @@
4331 4331
43321999-07-05 Gerd Moellmann <gerd@gnu.org> 43321999-07-05 Gerd Moellmann <gerd@gnu.org>
4333 4333
4334 * term.c (TS_cursor_visible): Renamed from TS_visual_mode. 4334 * term.c (TS_cursor_visible): Rename from TS_visual_mode.
4335 (TS_cursor_normal): Renamed from TS_end_visual_mode. 4335 (TS_cursor_normal): Rename from TS_end_visual_mode.
4336 (TS_cursor_invisible): New. 4336 (TS_cursor_invisible): New.
4337 (term_init): Initialize TS_cursor_invisible. 4337 (term_init): Initialize TS_cursor_invisible.
4338 (tty_hide_cursor): New. 4338 (tty_hide_cursor): New.
@@ -4364,7 +4364,7 @@
4364 4364
43651999-07-02 Gerd Moellmann <gerd@gnu.org> 43651999-07-02 Gerd Moellmann <gerd@gnu.org>
4366 4366
4367 * dispextern.h (HSCROLL_WINDOWS): Removed. 4367 * dispextern.h (HSCROLL_WINDOWS): Remove.
4368 4368
4369 * xdisp.c (mark_window_display_accurate): Don't set 4369 * xdisp.c (mark_window_display_accurate): Don't set
4370 w->region_showing. 4370 w->region_showing.
@@ -4378,12 +4378,12 @@
4378 up when cursor is partially visible, make it fully visible. 4378 up when cursor is partially visible, make it fully visible.
4379 (mark_window_display_accurate): Some cleanup. Record window's 4379 (mark_window_display_accurate): Some cleanup. Record window's
4380 last cursor information. 4380 last cursor information.
4381 (debug_method_add): Improved. 4381 (debug_method_add): Improve.
4382 (redisplay_internal): Record last cursor info only if not 4382 (redisplay_internal): Record last cursor info only if not
4383 consider_all_windows_p. 4383 consider_all_windows_p.
4384 4384
4385 * dispnew.c (update_window): Update top line after scrolling. 4385 * dispnew.c (update_window): Update top line after scrolling.
4386 (blank_row): Renamed from make_empty_enabled_row. 4386 (blank_row): Rename from make_empty_enabled_row.
4387 (increment_glyph_row_buffer_positions): Increment positions 4387 (increment_glyph_row_buffer_positions): Increment positions
4388 in buffers, only. 4388 in buffers, only.
4389 4389
@@ -4406,7 +4406,7 @@
4406 * dispextern.h (struct glyph_matrix): Add member window_vscroll. 4406 * dispextern.h (struct glyph_matrix): Add member window_vscroll.
4407 4407
4408 * xdisp.c (debug_method_add): New. 4408 * xdisp.c (debug_method_add): New.
4409 (debug_redisplay_method): Removed. 4409 (debug_redisplay_method): Remove.
4410 (try_window_reusing_current_matrix): Handle case where old 4410 (try_window_reusing_current_matrix): Handle case where old
4411 window start is the same as new window start. 4411 window start is the same as new window start.
4412 4412
@@ -4550,8 +4550,8 @@
4550 (CURRENT_TOP_LINE_HEIGHT): New. 4550 (CURRENT_TOP_LINE_HEIGHT): New.
4551 (DESIRED_TOP_LINE_HEIGHT): New. 4551 (DESIRED_TOP_LINE_HEIGHT): New.
4552 (WINDOW_DISPLAY_TOP_LINE_HEIGHT): New. 4552 (WINDOW_DISPLAY_TOP_LINE_HEIGHT): New.
4553 (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE): Replaces 4553 (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE):
4554 WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT. 4554 Replaces WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT.
4555 (WINDOW_DISPLAY_TEXT_HEIGHT): New. 4555 (WINDOW_DISPLAY_TEXT_HEIGHT): New.
4556 4556
4557 * xterm.c (x_after_update_window_line): Don't draw bitmaps for top 4557 * xterm.c (x_after_update_window_line): Don't draw bitmaps for top
@@ -4562,8 +4562,8 @@
4562 x_frame_mode_line_height. 4562 x_frame_mode_line_height.
4563 (x_get_glyph_string_clip_rect): Take top line into account. 4563 (x_get_glyph_string_clip_rect): Take top line into account.
4564 (x_clear_end_of_line): Ditto. 4564 (x_clear_end_of_line): Ditto.
4565 (note_mode_line_highlight): Add parameter mode_line_p. Handle 4565 (note_mode_line_highlight): Add parameter mode_line_p.
4566 top lines. 4566 Handle top lines.
4567 (note_mouse_highlight): Call note_mode_line_highlight for top lines. 4567 (note_mouse_highlight): Call note_mode_line_highlight for top lines.
4568 (x_erase_phys_cursor): Take top line into account. 4568 (x_erase_phys_cursor): Take top line into account.
4569 4569
@@ -4578,12 +4578,12 @@
4578 4578
4579 * xterm.c (x_frame_mode_line_height): Add parameter face_id. 4579 * xterm.c (x_frame_mode_line_height): Add parameter face_id.
4580 4580
4581 * term.c (estimate_mode_line_height): Renamed from 4581 * term.c (estimate_mode_line_height): Rename from
4582 frame_mode_line_height. Add parameter face_id. 4582 frame_mode_line_height. Add parameter face_id.
4583 (estimate_mode_line_height_hook): Renamed from 4583 (estimate_mode_line_height_hook): Rename from
4584 frame_mode_line_height_hook. 4584 frame_mode_line_height_hook.
4585 (produce_special_glyphs_hook): Removed. 4585 (produce_special_glyphs_hook): Remove.
4586 (produce_glyphs_hook): Removed. 4586 (produce_glyphs_hook): Remove.
4587 4587
45881999-06-23 Gerd Moellmann <gerd@gnu.org> 45881999-06-23 Gerd Moellmann <gerd@gnu.org>
4589 4589
@@ -4604,7 +4604,7 @@
4604 4604
4605 * buffer.h: Add top_line_format. 4605 * buffer.h: Add top_line_format.
4606 4606
4607 * xdisp.c (overlay_arrow_changed_p): Removed because not used. 4607 * xdisp.c (overlay_arrow_changed_p): Remove because not used.
4608 4608
46091999-06-17 Dave Love <fx@gnu.org> 46091999-06-17 Dave Love <fx@gnu.org>
4610 4610
@@ -4629,8 +4629,8 @@
4629 4629
4630 * Makefile.in (LIBGIF): Use libungif. 4630 * Makefile.in (LIBGIF): Use libungif.
4631 4631
4632 * xdisp.c (compute_window_start_on_continuation_line): Don't 4632 * xdisp.c (compute_window_start_on_continuation_line):
4633 do it if line start is too far away from window start. 4633 Don't do it if line start is too far away from window start.
4634 4634
46351999-06-14 Gerd Moellmann <gerd@gnu.org> 46351999-06-14 Gerd Moellmann <gerd@gnu.org>
4636 4636
@@ -4714,8 +4714,8 @@
4714 * xfaces.c (SCALABLE_FONTS): Define this to enable scalable 4714 * xfaces.c (SCALABLE_FONTS): Define this to enable scalable
4715 font support. 4715 font support.
4716 (Vscalable_fonts_allowed) [SCALABLE_FONTS]: New. 4716 (Vscalable_fonts_allowed) [SCALABLE_FONTS]: New.
4717 (x_face_list_fonts): Add parameter scalable_fonts_p. Handle 4717 (x_face_list_fonts): Add parameter scalable_fonts_p.
4718 scalable fonts depending on the setting of SCALABLE_FONTS. 4718 Handle scalable fonts depending on the setting of SCALABLE_FONTS.
4719 (first_font_matching): List more than one font to find the 4719 (first_font_matching): List more than one font to find the
4720 first non-scalable matching font. 4720 first non-scalable matching font.
4721 (sorted_font_list): Let x_face_list_fonts return scalable fonts 4721 (sorted_font_list): Let x_face_list_fonts return scalable fonts
@@ -4730,8 +4730,8 @@
4730 4730
47311999-05-26 Gerd Moellmann <gerd@gnu.org> 47311999-05-26 Gerd Moellmann <gerd@gnu.org>
4732 4732
4733 * xfns.c (png_load): Let PNG lib handle gamma. Construct 4733 * xfns.c (png_load): Let PNG lib handle gamma.
4734 mask only if image contains simple transparency information. 4734 Construct mask only if image contains simple transparency information.
4735 Otherwise, combine image with frame background color. 4735 Otherwise, combine image with frame background color.
4736 4736
4737 * configure.in (--with-png, HAVE_PNG): New. 4737 * configure.in (--with-png, HAVE_PNG): New.
@@ -4829,7 +4829,7 @@
4829 4829
48301999-03-29 Gerd Moellmann <gerd@gnu.org> 48301999-03-29 Gerd Moellmann <gerd@gnu.org>
4831 4831
4832 * xfaces.c (Qraised, Qsunken, QCshadow): Removed. 4832 * xfaces.c (Qraised, Qsunken, QCshadow): Remove.
4833 (QCline_width, QCstyle, Qpressed_button, Qreleased_button): New. 4833 (QCline_width, QCstyle, Qpressed_button, Qreleased_button): New.
4834 Use these symbols for the box face attribute instead of the 4834 Use these symbols for the box face attribute instead of the
4835 removed ones. 4835 removed ones.
@@ -4852,7 +4852,7 @@
4852 * xfaces.c (x_face_list_fonts): New parameter try_alternatives_p. 4852 * xfaces.c (x_face_list_fonts): New parameter try_alternatives_p.
4853 (first_font_matching): New. 4853 (first_font_matching): New.
4854 (set_lface_from_font_name): Use it if font name is a pattern. 4854 (set_lface_from_font_name): Use it if font name is a pattern.
4855 (font_field_wildcard_p): Removed. 4855 (font_field_wildcard_p): Remove.
4856 4856
4857 * dispnew.c (shift_glyph_matrix): Add `window' parameter. 4857 * dispnew.c (shift_glyph_matrix): Add `window' parameter.
4858 Recompute visible height of rows. 4858 Recompute visible height of rows.
@@ -4881,12 +4881,12 @@
4881 (update_window_line): Call after_update_window_line_hook 4881 (update_window_line): Call after_update_window_line_hook
4882 if visible row height has changed. 4882 if visible row height has changed.
4883 4883
4884 * dispextern.h (MATRIX_ROW_VISIBLE_HEIGHT): Removed. 4884 * dispextern.h (MATRIX_ROW_VISIBLE_HEIGHT): Remove.
4885 (struct glyph_row): New member visible_height. 4885 (struct glyph_row): New member visible_height.
4886 4886
4887 * xfaces.c (font_field_wildcard_p): New. 4887 * xfaces.c (font_field_wildcard_p): New.
4888 (set_lface_from_font_name): Remove parameter force_p. Accept 4888 (set_lface_from_font_name): Remove parameter force_p.
4889 font names containing wildcards. 4889 Accept font names containing wildcards.
4890 4890
48911999-03-04 Gerd Moellmann <gerd@gnu.org> 48911999-03-04 Gerd Moellmann <gerd@gnu.org>
4892 4892
@@ -4906,7 +4906,7 @@
4906 * dispextern.h (struct face): Add use_box_color_for_shadows_p. 4906 * dispextern.h (struct face): Add use_box_color_for_shadows_p.
4907 4907
4908 * xterm.c (x_draw_box_rect): New. 4908 * xterm.c (x_draw_box_rect): New.
4909 (x_draw_glyph_string_box): Renamed from 4909 (x_draw_glyph_string_box): Rename from
4910 x_draw_glyph_string_relief. Call x_draw_box_rect. 4910 x_draw_glyph_string_relief. Call x_draw_box_rect.
4911 4911
4912 * xfns.c (QCrelief): New. 4912 * xfns.c (QCrelief): New.
@@ -4914,20 +4914,20 @@
4914 4914
4915 * dispextern.h (struct glyph): Rename left_shadow_p to 4915 * dispextern.h (struct glyph): Rename left_shadow_p to
4916 left_box_line_p, right_shadow_p to right_box_line_p. 4916 left_box_line_p, right_shadow_p to right_box_line_p.
4917 (MAX_RELIEF_THICKNESS): Removed. 4917 (MAX_RELIEF_THICKNESS): Remove.
4918 (struct it): Rename members having `relief' in their names 4918 (struct it): Rename members having `relief' in their names
4919 to contain `box' instead. 4919 to contain `box' instead.
4920 4920
4921 * xfaces.c (realize_x_face): Handle new box attribute values. 4921 * xfaces.c (realize_x_face): Handle new box attribute values.
4922 (QCrelief, Qbox): Removed. 4922 (QCrelief, Qbox): Remove.
4923 (QCshadow, QCcolor, Qraised, Qsunken): New. 4923 (QCshadow, QCcolor, Qraised, Qsunken): New.
4924 (syms_of_xfaces): Initialize new symbols. 4924 (syms_of_xfaces): Initialize new symbols.
4925 4925
49261999-03-02 Gerd Moellmann <gerd@gnu.org> 49261999-03-02 Gerd Moellmann <gerd@gnu.org>
4927 4927
4928 * dispextern.h (LFACE_RELIEF_INDEX): Removed. 4928 * dispextern.h (LFACE_RELIEF_INDEX): Remove.
4929 4929
4930 * xfaces.c (LFACE_RELIEF): Removed. 4930 * xfaces.c (LFACE_RELIEF): Remove.
4931 (merge_face_vector_with_property): Remove handling of `:relief'. 4931 (merge_face_vector_with_property): Remove handling of `:relief'.
4932 (Finternal_set_lisp_face_attribute): Ditto. 4932 (Finternal_set_lisp_face_attribute): Ditto.
4933 (Finternal_set_lisp_face_attribute_from_resource): Ditto. 4933 (Finternal_set_lisp_face_attribute_from_resource): Ditto.
@@ -4946,7 +4946,7 @@
4946 4946
4947 * xterm.c (x_draw_glyph_string): Draw underline, overline, 4947 * xterm.c (x_draw_glyph_string): Draw underline, overline,
4948 strike-through, and boxes. 4948 strike-through, and boxes.
4949 (x_draw_glyph_string_underline): Removed. 4949 (x_draw_glyph_string_underline): Remove.
4950 4950
4951 * xfaces.c (QCoverline, QCstrike_through, QCbox): New. 4951 * xfaces.c (QCoverline, QCstrike_through, QCbox): New.
4952 (Qoverline, Qstrike_through, Qbox): New. 4952 (Qoverline, Qstrike_through, Qbox): New.
@@ -5019,7 +5019,7 @@
50191999-01-03 Masatake Yamato <masata-y@is.aist-nara.ac.jp> 50191999-01-03 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
5020 5020
5021 * dispextern.h (UNDERLINE_COLOR): Defined. 5021 * dispextern.h (UNDERLINE_COLOR): Defined.
5022 (struct face): Added two new members. 5022 (struct face): Add two new members.
5023 underline_color, underline_defaulted_p. 5023 underline_color, underline_defaulted_p.
5024 5024
5025 * xfaces.c (merge_face_vector_with_property): 5025 * xfaces.c (merge_face_vector_with_property):
@@ -5032,7 +5032,7 @@
5032 5032
50331999-02-12 Gerd Moellmann <gerd@gnu.org> 50331999-02-12 Gerd Moellmann <gerd@gnu.org>
5034 5034
5035 * xfns.c (Fx_image_header): Removed. 5035 * xfns.c (Fx_image_header): Remove.
5036 5036
50371999-02-07 Gerd Moellmann <gerd@gnu.org> 50371999-02-07 Gerd Moellmann <gerd@gnu.org>
5038 5038
@@ -5073,16 +5073,16 @@
5073 5073
5074 * xdisp.c (handle_single_display_prop): New. 5074 * xdisp.c (handle_single_display_prop): New.
5075 (handle_display_prop): Call it. 5075 (handle_display_prop): Call it.
5076 (handle_raise_prop): Removed. 5076 (handle_raise_prop): Remove.
5077 (handle_height_prop): Removed. 5077 (handle_height_prop): Remove.
5078 (handle_space_width_prop): Removed. 5078 (handle_space_width_prop): Remove.
5079 (handle_face_prop): Remove handling of raised text. 5079 (handle_face_prop): Remove handling of raised text.
5080 (handle_display_prop): Do it here. 5080 (handle_display_prop): Do it here.
5081 5081
5082 * dispextern.h (DISPLAY_PROP_IDX): Replaces GLYPH_PROP_IDX. 5082 * dispextern.h (DISPLAY_PROP_IDX): Replaces GLYPH_PROP_IDX.
5083 (RAISE_PROP_IDX): Removed. 5083 (RAISE_PROP_IDX): Remove.
5084 (HEIGHT_PROP_IDX): Removed. 5084 (HEIGHT_PROP_IDX): Remove.
5085 (SPACE_WIDTH_PROP_IDX): Removed. 5085 (SPACE_WIDTH_PROP_IDX): Remove.
5086 5086
5087 * xdisp.c (Qdisplay): Replaces Qglyph. 5087 * xdisp.c (Qdisplay): Replaces Qglyph.
5088 (handle_display_prop): Formerly handle_glyph_prop. 5088 (handle_display_prop): Formerly handle_glyph_prop.
@@ -5090,8 +5090,8 @@
50901999-01-11 Gerd Moellmann <gerd@gnu.org> 50901999-01-11 Gerd Moellmann <gerd@gnu.org>
5091 5091
5092 * xdisp.c (reseat_to_string): Set position in display vector to -1. 5092 * xdisp.c (reseat_to_string): Set position in display vector to -1.
5093 (handle_stop): Set position in display vector to -1. Don't 5093 (handle_stop): Set position in display vector to -1.
5094 check overlay strings when set up to deliver characters from a 5094 Don't check overlay strings when set up to deliver characters from a
5095 display vector. 5095 display vector.
5096 (set_iterator_to_next): At the end of a run of characters from a 5096 (set_iterator_to_next): At the end of a run of characters from a
5097 display vector, check whether the display vector display replaces 5097 display vector, check whether the display vector display replaces
@@ -5124,7 +5124,7 @@
5124 * buffer.h (struct buffer): indicate_empty_lines renamed from 5124 * buffer.h (struct buffer): indicate_empty_lines renamed from
5125 indicate_zv_lines. 5125 indicate_zv_lines.
5126 5126
5127 * buffer.c (indicate-empty-lines): Renamed from indicate_zv_lines. 5127 * buffer.c (indicate-empty-lines): Rename from indicate_zv_lines.
5128 (default-indicate-zv-lines): Likewise. 5128 (default-indicate-zv-lines): Likewise.
5129 5129
5130 * dispextern.h (struct glyph_row): Rename indicate_zv_line_p 5130 * dispextern.h (struct glyph_row): Rename indicate_zv_line_p
@@ -5139,7 +5139,7 @@
5139 and `N-'. 5139 and `N-'.
5140 5140
5141 * xfns.c (xbm_scan): New. 5141 * xfns.c (xbm_scan): New.
5142 (xbm_read_hexint): Removed. 5142 (xbm_read_hexint): Remove.
5143 (xbm_read_bitmap_file_data): Use xbm_scan. 5143 (xbm_read_bitmap_file_data): Use xbm_scan.
5144 5144
5145 * fileio.c (Finsert_file_contents): Prevent redisplay optimizations. 5145 * fileio.c (Finsert_file_contents): Prevent redisplay optimizations.
@@ -5155,8 +5155,8 @@
5155 5155
5156 * xfaces.c (face_with_height): New. 5156 * xfaces.c (face_with_height): New.
5157 5157
5158 * xdisp.c (eval_handler): Renamed from eval_mode_handler. 5158 * xdisp.c (eval_handler): Rename from eval_mode_handler.
5159 (eval_form): Renamed from eval_mode_element. 5159 (eval_form): Rename from eval_mode_element.
5160 (handle_face_prop): Use it. 5160 (handle_face_prop): Use it.
5161 (Qheight): Replaces Qsmaller. 5161 (Qheight): Replaces Qsmaller.
5162 (handle_height_prop): Replaces handle_smaller_prop. 5162 (handle_height_prop): Replaces handle_smaller_prop.
@@ -5183,7 +5183,7 @@
5183 5183
51841998-11-28 Gerd Moellmann <gerd@gnu.org> 51841998-11-28 Gerd Moellmann <gerd@gnu.org>
5185 5185
5186 * config.in (PROTO): Removed. 5186 * config.in (PROTO): Remove.
5187 5187
5188 * xterm.h: Change PROTO to P_. 5188 * xterm.h: Change PROTO to P_.
5189 5189
@@ -5225,7 +5225,7 @@
5225 5225
5226 * xterm.c (x_scroll_bar_move): Clear to the left and right 5226 * xterm.c (x_scroll_bar_move): Clear to the left and right
5227 of toolkit scroll bars differently. 5227 of toolkit scroll bars differently.
5228 (x_scroll_bar_move): Removed. 5228 (x_scroll_bar_move): Remove.
5229 (XTset_vertical_scroll_bar): Move code from x_scroll_bar_move here. 5229 (XTset_vertical_scroll_bar): Move code from x_scroll_bar_move here.
5230 5230
5231 * dispextern.h: Make it compilable --with-x=no. 5231 * dispextern.h: Make it compilable --with-x=no.
@@ -5256,8 +5256,8 @@
5256 5256
52571998-11-23 Gerd Moellmann <gerd@gnu.org> 52571998-11-23 Gerd Moellmann <gerd@gnu.org>
5258 5258
5259 * xdisp.c (restore_overlay_strings): Removed. 5259 * xdisp.c (restore_overlay_strings): Remove.
5260 (restore_dpvec): Removed. 5260 (restore_dpvec): Remove.
5261 (init_from_display_pos): Inline both functions above. 5261 (init_from_display_pos): Inline both functions above.
5262 5262
5263 * xfns.c (IMAGE_NON_NEGATIVE_INTEGER_VALUE): New. 5263 * xfns.c (IMAGE_NON_NEGATIVE_INTEGER_VALUE): New.
@@ -5270,7 +5270,7 @@
5270 (gif_format): Ditto. 5270 (gif_format): Ditto.
5271 (gs_format): Ditto. 5271 (gs_format): Ditto.
5272 5272
5273 * xdisp.c (set_window_cursor): Removed. 5273 * xdisp.c (set_window_cursor): Remove.
5274 (redisplay_internal): Case cursor motion in cursor line of 5274 (redisplay_internal): Case cursor motion in cursor line of
5275 selected window; use set_cursor_from_row. 5275 selected window; use set_cursor_from_row.
5276 5276
@@ -5641,7 +5641,7 @@
5641 5641
5642 * xdisp.c (redisplay_window): Always resize toolbar window if 5642 * xdisp.c (redisplay_window): Always resize toolbar window if
5643 auto_resize_toolbar_p is non-zero. 5643 auto_resize_toolbar_p is non-zero.
5644 (auto_resize_toolbar_p): Renamed from auto_resize_toolbar. 5644 (auto_resize_toolbar_p): Rename from auto_resize_toolbar.
5645 (window_box): New. 5645 (window_box): New.
5646 (window_box_height): New. 5646 (window_box_height): New.
5647 (window_box_width): New. 5647 (window_box_width): New.
@@ -5735,12 +5735,12 @@
5735 * xfns.c (x_laplace): New. 5735 * xfns.c (x_laplace): New.
5736 (x_laplace_read_row): New. 5736 (x_laplace_read_row): New.
5737 (x_laplace_write_row): New. 5737 (x_laplace_write_row): New.
5738 (lookup_image): Handle common image attributes here. New 5738 (lookup_image): Handle common image attributes here.
5739 attribute `:algorithm'. 5739 New attribute `:algorithm'.
5740 5740
5741 * xfaces.c (clear_face_cache): Call clear_image_cache. 5741 * xfaces.c (clear_face_cache): Call clear_image_cache.
5742 5742
5743 * xterm.c (x_inverted_image_mask): Removed. 5743 * xterm.c (x_inverted_image_mask): Remove.
5744 (x_draw_image_foreground_1): New. 5744 (x_draw_image_foreground_1): New.
5745 (x_draw_image_glyph_string): Draw images with mask to a temporary 5745 (x_draw_image_glyph_string): Draw images with mask to a temporary
5746 pixmap to reduce flickering. 5746 pixmap to reduce flickering.
@@ -5755,7 +5755,7 @@
5755 5755
5756 * xfns.c (cache_image): Correct call to xrealloc. 5756 * xfns.c (cache_image): Correct call to xrealloc.
5757 5757
5758 * dispnew.c (Fset_toolbar_height): Removed. 5758 * dispnew.c (Fset_toolbar_height): Remove.
5759 5759
5760 * xdisp.c (init_xdisp): Use FRAME_TOP_MARGIN instead of 5760 * xdisp.c (init_xdisp): Use FRAME_TOP_MARGIN instead of
5761 FRAME_MENU_BAR_LINES. 5761 FRAME_MENU_BAR_LINES.
@@ -5838,8 +5838,8 @@
5838 (clear_image_cache): Additional parameter force_p. 5838 (clear_image_cache): Additional parameter force_p.
5839 (Fclear_image_cache): New. 5839 (Fclear_image_cache): New.
5840 (x_find_image_file): New. 5840 (x_find_image_file): New.
5841 (xbm_load): Handle `:margin' and `:relief'. Use 5841 (xbm_load): Handle `:margin' and `:relief'.
5842 x_find_image_file. 5842 Use x_find_image_file.
5843 (xpm_load): Likewise. 5843 (xpm_load): Likewise.
5844 (pbm_load): Likewise. 5844 (pbm_load): Likewise.
5845 (jpeg_load): Likewise. 5845 (jpeg_load): Likewise.
@@ -5939,8 +5939,8 @@
5939 * frame.h (struct frame): Add toolbar-related members 5939 * frame.h (struct frame): Add toolbar-related members
5940 toolbar_window, desired_toolbar_items, current_toolbar_items, 5940 toolbar_window, desired_toolbar_items, current_toolbar_items,
5941 desired_toolbar_string, current_toolbar_string, 5941 desired_toolbar_string, current_toolbar_string,
5942 n_desired_toolbar_items, n_current_toolbar_items. Add 5942 n_desired_toolbar_items, n_current_toolbar_items.
5943 window_height. 5943 Add window_height.
5944 5944
5945 * xterm.c (x_after_update_window_line): Don't draw bitmap 5945 * xterm.c (x_after_update_window_line): Don't draw bitmap
5946 areas for pseudo-windows. 5946 areas for pseudo-windows.
@@ -6024,17 +6024,17 @@
6024 6024
60251998-09-06 Gerd Moellmann <gerd@gnu.org> 60251998-09-06 Gerd Moellmann <gerd@gnu.org>
6026 6026
6027 * lisp.h (HAVE_FACES): Removed. 6027 * lisp.h (HAVE_FACES): Remove.
6028 6028
6029 * dispextern.h (HAVE_FACES): Removed. 6029 * dispextern.h (HAVE_FACES): Remove.
6030 6030
6031 * config.in (HAVE_FACES): Removed. 6031 * config.in (HAVE_FACES): Remove.
6032 6032
6033 * dispnew.c (HAVE_FACES): Removed. 6033 * dispnew.c (HAVE_FACES): Remove.
6034 6034
6035 * xdisp.c (HAVE_FACES): Removed. 6035 * xdisp.c (HAVE_FACES): Remove.
6036 6036
6037 * xfaces.c (HAVE_FACES): Removed. 6037 * xfaces.c (HAVE_FACES): Remove.
6038 6038
60391998-09-05 Gerd Moellmann <gerd@gnu.org> 60391998-09-05 Gerd Moellmann <gerd@gnu.org>
6040 6040
@@ -6042,8 +6042,8 @@
6042 free realized faces. 6042 free realized faces.
6043 6043
6044 * xfaces.c (free_all_realized_faces): Make it externally visible. 6044 * xfaces.c (free_all_realized_faces): Make it externally visible.
6045 (Finternal_set_lisp_face_attribute): Increment 6045 (Finternal_set_lisp_face_attribute):
6046 windows_or_buffers_changed. 6046 Increment windows_or_buffers_changed.
6047 6047
6048 * dispnew.c (direct_output_for_insert): Give up if 6048 * dispnew.c (direct_output_for_insert): Give up if
6049 face_change_count is non-zero. 6049 face_change_count is non-zero.
@@ -6076,9 +6076,9 @@
6076 6076
6077 * term.c (OUTPUT_IF): Make replacement text have statement form. 6077 * term.c (OUTPUT_IF): Make replacement text have statement form.
6078 (OUTPUT1_IF): Ditto. 6078 (OUTPUT1_IF): Ditto.
6079 (TS_italic_mode, TS_end_italic_mode): Removed. 6079 (TS_italic_mode, TS_end_italic_mode): Remove.
6080 (TS_bold_mode): Removed. 6080 (TS_bold_mode): Remove.
6081 (TS_underscore_mode, TS_end_underscore_mode): Removed. 6081 (TS_underscore_mode, TS_end_underscore_mode): Remove.
6082 (TS_enter_bold_mode, TS_enter_dim_mode, TS_enter_blink_mode): New. 6082 (TS_enter_bold_mode, TS_enter_dim_mode, TS_enter_blink_mode): New.
6083 (TS_enter_reverse_mode): New. 6083 (TS_enter_reverse_mode): New.
6084 (TS_enter_underline_mode, TS_exit_underline_mode): New. 6084 (TS_enter_underline_mode, TS_exit_underline_mode): New.
@@ -6187,8 +6187,8 @@
6187 6187
6188 * frame.h (FRAME_WINDOW_WIDTH_ARG): Add bitmap area widths. 6188 * frame.h (FRAME_WINDOW_WIDTH_ARG): Add bitmap area widths.
6189 6189
6190 * dispnew.c (allocate_matrices_for_window_redisplay): Compute 6190 * dispnew.c (allocate_matrices_for_window_redisplay):
6191 total pixel width of window differently. 6191 Compute total pixel width of window differently.
6192 6192
6193 * xdisp.c (init_iterator): Compute width of mode line differently. 6193 * xdisp.c (init_iterator): Compute width of mode line differently.
6194 6194
@@ -6209,7 +6209,7 @@
6209 (update_window_tree): Parameter no_scrolling_p removed. 6209 (update_window_tree): Parameter no_scrolling_p removed.
6210 (update_single_window): Ditto. 6210 (update_single_window): Ditto.
6211 6211
6212 * xterm.c (x_get_char_font_and_encoding): Renamed to 6212 * xterm.c (x_get_char_font_and_encoding): Rename to
6213 x_get_char_face_and_encoding. 6213 x_get_char_face_and_encoding.
6214 6214
6215 * dispnew.c (update_text_area): Don't call get_glyph_overhangs 6215 * dispnew.c (update_text_area): Don't call get_glyph_overhangs
@@ -6254,8 +6254,8 @@
6254 6254
6255 * xterm.c (note_mouse_highlight): Set BEGV_BYTE, ZV_BYTE. 6255 * xterm.c (note_mouse_highlight): Set BEGV_BYTE, ZV_BYTE.
6256 6256
6257 * xfaces.c (Vx_unibyte_registry_and_encoding): Removed. Use 6257 * xfaces.c (Vx_unibyte_registry_and_encoding): Remove.
6258 face_default_registry instead. 6258 Use face_default_registry instead.
6259 6259
6260 * syntax.c (scan_sexps_forward): Set up syntax table before 6260 * syntax.c (scan_sexps_forward): Set up syntax table before
6261 jumping to initial state label. 6261 jumping to initial state label.
@@ -6372,13 +6372,13 @@
6372 (struct iterator_stack_entry): Add multibyte_p. 6372 (struct iterator_stack_entry): Add multibyte_p.
6373 6373
6374 * xdisp.c (string_pos): Use string_char_to_byte. 6374 * xdisp.c (string_pos): Use string_char_to_byte.
6375 (char_charset): Removed. 6375 (char_charset): Remove.
6376 6376
63771998-08-03 Gerd Moellmann <gerd@gnu.org> 63771998-08-03 Gerd Moellmann <gerd@gnu.org>
6378 6378
6379 * xterm.c (x_draw_image_glyph_string_foreground): Draw a 6379 * xterm.c (x_draw_image_glyph_string_foreground): Draw a
6380 rectangle for a block cursor over an image without a mask. 6380 rectangle for a block cursor over an image without a mask.
6381 (x_stretch_block_cursor): Added. Non-zero means don't draw 6381 (x_stretch_block_cursor): Add. Non-zero means don't draw
6382 a block cursor over a stretch as wide as that stretch. 6382 a block cursor over a stretch as wide as that stretch.
6383 (x_draw_stretch_glyph_string): Use it. 6383 (x_draw_stretch_glyph_string): Use it.
6384 (x_draw_hollow_cursor): Ditto. 6384 (x_draw_hollow_cursor): Ditto.
@@ -6389,7 +6389,7 @@
6389 * xdisp.c (char_charset): Return charset of a character, 6389 * xdisp.c (char_charset): Return charset of a character,
6390 depending on whether or not multi-byte characters are enabled. 6390 depending on whether or not multi-byte characters are enabled.
6391 6391
6392 * xfaces.c (Fset_face_charset_registry): Removed. 6392 * xfaces.c (Fset_face_charset_registry): Remove.
6393 (x_charset_registry): Determine registry from charset plist. 6393 (x_charset_registry): Determine registry from charset plist.
6394 6394
63951998-08-02 Gerd Moellmann <gerd@gnu.org> 63951998-08-02 Gerd Moellmann <gerd@gnu.org>
@@ -6401,7 +6401,7 @@
6401 redisplay interface. 6401 redisplay interface.
6402 * keyboard.c (detect_input_pending_run_timers): Likewise. 6402 * keyboard.c (detect_input_pending_run_timers): Likewise.
6403 6403
6404 * dispextern.h (produce_*glyphs_hook): Removed. 6404 * dispextern.h (produce_*glyphs_hook): Remove.
6405 * term.c (produce_*glyphs): Ditto. 6405 * term.c (produce_*glyphs): Ditto.
6406 (cursor_to): Remove pixel position parameters. 6406 (cursor_to): Remove pixel position parameters.
6407 6407
@@ -6457,7 +6457,7 @@
6457 * xterm.c (x_flush): Flush X output buffer. 6457 * xterm.c (x_flush): Flush X output buffer.
6458 (XTflash): Use it. 6458 (XTflash): Use it.
6459 6459
6460 * xfaces.c (lface_from_face_name): Renamed from lface_from_symbol. 6460 * xfaces.c (lface_from_face_name): Rename from lface_from_symbol.
6461 Allow strings as face names. 6461 Allow strings as face names.
6462 6462
6463 * xfns.c (forall_images_in_image_cache): Check that frame is 6463 * xfns.c (forall_images_in_image_cache): Check that frame is
@@ -6493,7 +6493,7 @@
6493 (Finternal_lisp_face_attribute_values): Ditto. 6493 (Finternal_lisp_face_attribute_values): Ditto.
6494 (syms_of_xfaces): Define the symbol `:reverse-video'. 6494 (syms_of_xfaces): Define the symbol `:reverse-video'.
6495 6495
6496 * xdisp.c (get_glyph_property): Renamed from 6496 * xdisp.c (get_glyph_property): Rename from
6497 fill_iterator_from_glyph_property. 6497 fill_iterator_from_glyph_property.
6498 (next_element_from_buffer): Handle case that no `glyph' property 6498 (next_element_from_buffer): Handle case that no `glyph' property
6499 was found correctly. 6499 was found correctly.
@@ -6501,28 +6501,28 @@
6501 6501
65021998-07-29 Gerd Moellmann <gerd@gnu.org> 65021998-07-29 Gerd Moellmann <gerd@gnu.org>
6503 6503
6504 * dispnew.c (Fshow_cursor): Renamed from blink_cursor. Take 6504 * dispnew.c (Fshow_cursor): Rename from blink_cursor.
6505 additional window argument. 6505 Take additional window argument.
6506 6506
6507 * xdisp.c (reseat_at_previous_visible_line_start): Renamed from 6507 * xdisp.c (reseat_at_previous_visible_line_start): Rename from
6508 set_iterator_to_previous_visible_line_start. 6508 set_iterator_to_previous_visible_line_start.
6509 (reseat_at_next_visible_line_start): Likewise. 6509 (reseat_at_next_visible_line_start): Likewise.
6510 (compute_stop_pos): Renamed from set_iterator_stop_pos. 6510 (compute_stop_pos): Rename from set_iterator_stop_pos.
6511 (face_before_or_after_it_pos): Renamed from get_face_at_it_pos. 6511 (face_before_or_after_it_pos): Rename from get_face_at_it_pos.
6512 (compute_face_in_buffer): Renamed from 6512 (compute_face_in_buffer): Rename from
6513 compute_face_at_iterator_position. 6513 compute_face_at_iterator_position.
6514 (compute_face_in_string): Renamed from 6514 (compute_face_in_string): Rename from
6515 compute_face_at_iterator_string_position. 6515 compute_face_at_iterator_string_position.
6516 (get_space_width): Renamed from get_iterator_space_width. 6516 (get_space_width): Rename from get_iterator_space_width.
6517 (next_overlay_string): Renamed from 6517 (next_overlay_string): Rename from
6518 set_iterator_to_next_overlay_string. 6518 set_iterator_to_next_overlay_string.
6519 (get_overlay_strings): Renamed from 6519 (get_overlay_strings): Rename from
6520 get_overlay_strings_at_iterator_position. 6520 get_overlay_strings_at_iterator_position.
6521 (restore_overlay_strings): Renamed from 6521 (restore_overlay_strings): Rename from
6522 setup_overlay_strings_from_glyph_pos. 6522 setup_overlay_strings_from_glyph_pos.
6523 (restore_dpvec): Renamed from setup_iterator_dpvec_from_glyph_pos. 6523 (restore_dpvec): Rename from setup_iterator_dpvec_from_glyph_pos.
6524 (init_from_display_pos): Renamed from init_iterator_from_glyph_pos. 6524 (init_from_display_pos): Rename from init_iterator_from_glyph_pos.
6525 (init_to_row_start): Renamed from init_iterator_to_row_start. 6525 (init_to_row_start): Rename from init_iterator_to_row_start.
6526 (init_to_row_end): Formerly init_iterator_to_next_row_start. 6526 (init_to_row_end): Formerly init_iterator_to_next_row_start.
6527 6527
6528 * xterm.c: Merge with 20.2.97. 6528 * xterm.c: Merge with 20.2.97.
@@ -6532,26 +6532,26 @@
6532 simple charpos. 6532 simple charpos.
6533 6533
6534 * xdisp.c (this_line_start_pos): Use struct text_pos. 6534 * xdisp.c (this_line_start_pos): Use struct text_pos.
6535 (this_line_end_pos): Renamed from .*endpos; use struct text_pos. 6535 (this_line_end_pos): Rename from .*endpos; use struct text_pos.
6536 (enum move_it_result): Renamed from move_iterator_result. 6536 (enum move_it_result): Rename from move_iterator_result.
6537 (string_pos_nchars_ahead): Compute text_pos in a string from a 6537 (string_pos_nchars_ahead): Compute text_pos in a string from a
6538 known text_pos plus a character delta. 6538 known text_pos plus a character delta.
6539 (string_pos): Compute text_pos in string from charpos. 6539 (string_pos): Compute text_pos in string from charpos.
6540 (c_string_pos): Likewise for a C string. 6540 (c_string_pos): Likewise for a C string.
6541 (number_of_chars): Return number of characters in a possibly 6541 (number_of_chars): Return number of characters in a possibly
6542 multi-byte C string. 6542 multi-byte C string.
6543 (check_it): Renamed from check_iterator. Check that charpos and 6543 (check_it): Rename from check_iterator. Check that charpos and
6544 bytepos are in sync. 6544 bytepos are in sync.
6545 (push_it): Renamed from save_iterator_settings. 6545 (push_it): Rename from save_iterator_settings.
6546 (pop_it): Renamed from restore_iterator_settings. 6546 (pop_it): Rename from restore_iterator_settings.
6547 (move_it_.*): Renamed from move_iterator_.*. 6547 (move_it_.*): Rename from move_iterator_.*.
6548 (charset_at_position): Take charpos/bytepos into account. 6548 (charset_at_position): Take charpos/bytepos into account.
6549 (back_to_previous_line_start): Set iterator to previous line start. 6549 (back_to_previous_line_start): Set iterator to previous line start.
6550 (forward_to_next_line_start): Set iterator to next line start. 6550 (forward_to_next_line_start): Set iterator to next line start.
6551 (back_to_previous_visible_line_start): Renamed from 6551 (back_to_previous_visible_line_start): Rename from
6552 move_iterator_previous_visible_line_start. 6552 move_iterator_previous_visible_line_start.
6553 (set_iterator_to_next_visible_line_start): Handle charpos/bytepos. 6553 (set_iterator_to_next_visible_line_start): Handle charpos/bytepos.
6554 (get_face_at_it_pos): Renamed from get_face_from_cursor_pos. 6554 (get_face_at_it_pos): Rename from get_face_from_cursor_pos.
6555 Handle charpos/bytepos. 6555 Handle charpos/bytepos.
6556 (compute_face_at_iterator_position): Handle charpos/bytepos. 6556 (compute_face_at_iterator_position): Handle charpos/bytepos.
6557 (compute_face_at_iterator_string_position): Likewise. 6557 (compute_face_at_iterator_string_position): Likewise.
@@ -6593,7 +6593,7 @@
6593 (copy_glyph_row_contents): Ditto. 6593 (copy_glyph_row_contents): Ditto.
6594 (check_matrix_invariants): Add additional checks for charpos/ 6594 (check_matrix_invariants): Add additional checks for charpos/
6595 bytepos consistency. 6595 bytepos consistency.
6596 (direct_output_for_insert): Changed for charpos/bytepos. 6596 (direct_output_for_insert): Change for charpos/bytepos.
6597 (buffer_posn_from_coords): Likewise. Put code dealing with 6597 (buffer_posn_from_coords): Likewise. Put code dealing with
6598 `direction-reversed' in #if 0. 6598 `direction-reversed' in #if 0.
6599 6599
@@ -6630,10 +6630,10 @@
6630 (SET_TEXT_POS_FROM_MARKER): Set a text_pos from a marker. 6630 (SET_TEXT_POS_FROM_MARKER): Set a text_pos from a marker.
6631 (SET_MARKER_FROM_TEXT_POS): Set a marker from a text_pos. 6631 (SET_MARKER_FROM_TEXT_POS): Set a marker from a text_pos.
6632 (TEXT_POS_EQUAL_P): Compare two text_pos structures for equality. 6632 (TEXT_POS_EQUAL_P): Compare two text_pos structures for equality.
6633 (struct display_pos): Renamed from glyph_pos. Use struct text_pos 6633 (struct display_pos): Rename from glyph_pos. Use struct text_pos
6634 for buffer and string positions. 6634 for buffer and string positions.
6635 (struct glyph): Use text_pos. 6635 (struct glyph): Use text_pos.
6636 (struct it): Renamed from display_iterator. Use text_pos. 6636 (struct it): Rename from display_iterator. Use text_pos.
6637 6637
66381998-07-23 Gerd Moellmann <gerd@gnu.org> 66381998-07-23 Gerd Moellmann <gerd@gnu.org>
6639 6639
@@ -6650,7 +6650,7 @@
6650 * xfns.c (prepare_image_for_display): Don't set loading_failed_p 6650 * xfns.c (prepare_image_for_display): Don't set loading_failed_p
6651 flag of images. 6651 flag of images.
6652 6652
6653 * dispextern.h (struct image): Removed member loading_failed_p. 6653 * dispextern.h (struct image): Remove member loading_failed_p.
6654 It's probably better to have the chance to try to load an image 6654 It's probably better to have the chance to try to load an image
6655 again. 6655 again.
6656 6656
@@ -6703,28 +6703,28 @@
6703 * xfns.c (tiff_image_p, tiff_load): Support TIFF images via 6703 * xfns.c (tiff_image_p, tiff_load): Support TIFF images via
6704 libtiff34. 6704 libtiff34.
6705 6705
6706 * configure.in (--with-tiff, HAVE_TIFF): Added. 6706 * configure.in (--with-tiff, HAVE_TIFF): Add.
6707 6707
6708 * config.in (HAVE_TIFF): Added. 6708 * config.in (HAVE_TIFF): Add.
6709 6709
6710 * Makefile.in (LIBTIFF): Added. 6710 * Makefile.in (LIBTIFF): Add.
6711 6711
6712 * xfns.c (jpeg_image_p, jpeg_load): Support JPEG images. 6712 * xfns.c (jpeg_image_p, jpeg_load): Support JPEG images.
6713 6713
6714 * Makefile.in (LIBJPEG): Added. 6714 * Makefile.in (LIBJPEG): Add.
6715 6715
6716 * xfns.c (resource_types): Enumerators renamed to RES_TYPE_NUMBER, 6716 * xfns.c (resource_types): Enumerators renamed to RES_TYPE_NUMBER,
6717 RES_TYPE_BOOLEAN etc. because of conflict of `boolean' with 6717 RES_TYPE_BOOLEAN etc. because of conflict of `boolean' with
6718 jpeglib.h. 6718 jpeglib.h.
6719 6719
6720 * configure.in (HAVE_JPEG, --with-jpeg): Added. On systems 6720 * configure.in (HAVE_JPEG, --with-jpeg): Add. On systems
6721 where the library is installed in /usr/local/lib, e.g. FreeBSD, 6721 where the library is installed in /usr/local/lib, e.g. FreeBSD,
6722 configure must be run with `--x-includes=/usr/X11R6/include: 6722 configure must be run with `--x-includes=/usr/X11R6/include:
6723 /usr/local/include --x-libraries=/usr/X11R6/lib:/usr/local/lib'. 6723 /usr/local/include --x-libraries=/usr/X11R6/lib:/usr/local/lib'.
6724 6724
67251998-07-18 Gerd Moellmann <gerd@gnu.org> 67251998-07-18 Gerd Moellmann <gerd@gnu.org>
6726 6726
6727 * config.in (HAVE_JPEG): Added. 6727 * config.in (HAVE_JPEG): Add.
6728 6728
6729 * xfns.c (ct_init): Initialize color table used to map RGB colors 6729 * xfns.c (ct_init): Initialize color table used to map RGB colors
6730 from images to X pixel colors. 6730 from images to X pixel colors.
@@ -6837,20 +6837,20 @@
6837 (redisplay_window): Case cursor movement. Don't try it if 6837 (redisplay_window): Case cursor movement. Don't try it if
6838 last_cursor.vpos is out of range. 6838 last_cursor.vpos is out of range.
6839 6839
6840 * xdisp.c (set_cursor_from_row): Set this_line_.* variables. This 6840 * xdisp.c (set_cursor_from_row): Set this_line_.* variables.
6841 way, the display optimization for the line containing the cursor 6841 This way, the display optimization for the line containing the cursor
6842 is used more frequently, esp. when we have a blinking cursor. 6842 is used more frequently, esp. when we have a blinking cursor.
6843 (display_line): Don't set this_line_.* variables. 6843 (display_line): Don't set this_line_.* variables.
6844 6844
6845 * xterm.c (x_redraw_cursor): Removed. 6845 * xterm.c (x_redraw_cursor): Remove.
6846 (x_display_and_set_cursor): Set cursor type depending on 6846 (x_display_and_set_cursor): Set cursor type depending on
6847 cursor_off_p flag of window. 6847 cursor_off_p flag of window.
6848 6848
6849 * dispnew.c (redraw_cursor_hook): Removed. 6849 * dispnew.c (redraw_cursor_hook): Remove.
6850 (Fblink_cursor): Additional parameter on_p to set the cursor_off_p 6850 (Fblink_cursor): Additional parameter on_p to set the cursor_off_p
6851 member of the selected window. 6851 member of the selected window.
6852 6852
6853 * xfaces.c (Fface_font): Added for compatibility with 20.2. 6853 * xfaces.c (Fface_font): Add for compatibility with 20.2.
6854 6854
6855 * xterm.c (x_y_to_hpos_vpos): Return null if not over text. 6855 * xterm.c (x_y_to_hpos_vpos): Return null if not over text.
6856 Return glyph area under x/y. 6856 Return glyph area under x/y.
@@ -6880,8 +6880,8 @@
6880 6880
68811998-06-29 Gerd Moellmann <gerd@gnu.org> 68811998-06-29 Gerd Moellmann <gerd@gnu.org>
6882 6882
6883 * xfaces.c (Finternal_make_lisp_face): Increment 6883 * xfaces.c (Finternal_make_lisp_face):
6884 lface_id_to_name_size when lface_id_to_name is reallocated. 6884 Increment lface_id_to_name_size when lface_id_to_name is reallocated.
6885 6885
68861998-06-27 Gerd Moellmann <gerd@gnu.org> 68861998-06-27 Gerd Moellmann <gerd@gnu.org>
6887 6887
@@ -6892,12 +6892,12 @@
6892 6892
68931998-05-09 Gerd Moellmann <gerd@gnu.org> 68931998-05-09 Gerd Moellmann <gerd@gnu.org>
6894 6894
6895 * xdisp.c (set_iterator_to_next_visible_line_start): Don't 6895 * xdisp.c (set_iterator_to_next_visible_line_start):
6896 do anything if iterator is at ZV because scan_buffer doesn't 6896 Don't do anything if iterator is at ZV because scan_buffer doesn't
6897 work otherwise. 6897 work otherwise.
6898 6898
6899 * xterm.c (x_encode_char): Inline it. 6899 * xterm.c (x_encode_char): Inline it.
6900 (x_get_char_font_and_encoding): Simplified. 6900 (x_get_char_font_and_encoding): Simplify.
6901 (x_per_char_metric): Inline it. 6901 (x_per_char_metric): Inline it.
6902 6902
6903 * xterm.c (x_draw_glyph_string_relief): Use clipping. 6903 * xterm.c (x_draw_glyph_string_relief): Use clipping.
@@ -6926,15 +6926,15 @@
6926 * xdisp.c (display_line): Compute row height from glyphs in 6926 * xdisp.c (display_line): Compute row height from glyphs in
6927 marginal areas. 6927 marginal areas.
6928 6928
6929 * xterm.c (x_draw_image_glyph_string_background): Draw 6929 * xterm.c (x_draw_image_glyph_string_background):
6930 background of an image glyph string. 6930 Draw background of an image glyph string.
6931 (x_draw_glyph_string_bg_rect): Draw a rectangular region of 6931 (x_draw_glyph_string_bg_rect): Draw a rectangular region of
6932 the background of a glyph string. 6932 the background of a glyph string.
6933 (x_draw_image_glyph_string_foreground): Draw the foreground of 6933 (x_draw_image_glyph_string_foreground): Draw the foreground of
6934 an image glyph string. 6934 an image glyph string.
6935 (x_inverted_image_mask): Return the inverted mask of an image. 6935 (x_inverted_image_mask): Return the inverted mask of an image.
6936 6936
6937 * xfns.c (x_draw_image): Removed. 6937 * xfns.c (x_draw_image): Remove.
6938 6938
6939 * dispextern.h (struct image_type): Remove drawing function. 6939 * dispextern.h (struct image_type): Remove drawing function.
6940 6940
@@ -6966,8 +6966,8 @@
6966 image drawing function. 6966 image drawing function.
6967 6967
6968 * xdisp.c (fill_iterator_from_glyph_property): Use position of 6968 * xdisp.c (fill_iterator_from_glyph_property): Use position of
6969 first character with `glyph' property as image position. Set 6969 first character with `glyph' property as image position.
6970 iterator back to that position as long as the image hasn't been 6970 Set iterator back to that position as long as the image hasn't been
6971 consumed with set_iterator_to_next. 6971 consumed with set_iterator_to_next.
6972 (set_cursor_from_row): Accept when glyph with given position is 6972 (set_cursor_from_row): Accept when glyph with given position is
6973 not found in the row. Set cursor x to end of line in that case, 6973 not found in the row. Set cursor x to end of line in that case,
@@ -6993,7 +6993,7 @@
6993 6993
6994 * dispextern.h (struct glyph_row): Use unsigned hash value. 6994 * dispextern.h (struct glyph_row): Use unsigned hash value.
6995 6995
6996 * xdisp.c (display_line): Simplified and made faster by setting 6996 * xdisp.c (display_line): Simplify and made faster by setting
6997 the cursor with set_cursor_from_row. 6997 the cursor with set_cursor_from_row.
6998 (set_cursor_from_row): Handle rows of desired matrix. 6998 (set_cursor_from_row): Handle rows of desired matrix.
6999 6999
@@ -7001,8 +7001,8 @@
7001 7001
7002 * xdisp.c (set_cursor_from_row): Don't put cursor on glyphs 7002 * xdisp.c (set_cursor_from_row): Don't put cursor on glyphs
7003 with type != CHAR_GLYPH. 7003 with type != CHAR_GLYPH.
7004 (fill_iterator_from_glyph_property): Return void. Set 7004 (fill_iterator_from_glyph_property): Return void.
7005 method to next_element_from_image. 7005 Set method to next_element_from_image.
7006 (next_element_from_image): Dummy function for delivering a 7006 (next_element_from_image): Dummy function for delivering a
7007 single image id. 7007 single image id.
7008 (set_iterator_to_next): Add method next_element_from_image. 7008 (set_iterator_to_next): Add method next_element_from_image.
@@ -7037,7 +7037,7 @@
7037 7037
7038 * xterm.c (x_produce_glyphs): Use ASCII face for spaces of a TAB. 7038 * xterm.c (x_produce_glyphs): Use ASCII face for spaces of a TAB.
7039 7039
7040 * xdisp.c (fill_iterator_from_glyph_property): Renamed from 7040 * xdisp.c (fill_iterator_from_glyph_property): Rename from
7041 setup_iterator_from_glyph_property. Don't do it for terminal 7041 setup_iterator_from_glyph_property. Don't do it for terminal
7042 frames. 7042 frames.
7043 7043
@@ -7073,12 +7073,12 @@
7073 7073
7074 * config.in: Add HAVE_XPM. 7074 * config.in: Add HAVE_XPM.
7075 7075
7076 * xfns.c (xbm_draw): Removed. 7076 * xfns.c (xbm_draw): Remove.
7077 (x_draw_image): Default implementation for drawing images. 7077 (x_draw_image): Default implementation for drawing images.
7078 (xbm_keyword_index): Remove XBM_DEPTH. 7078 (xbm_keyword_index): Remove XBM_DEPTH.
7079 (xbm_format): Remove `:depth'. 7079 (xbm_format): Remove `:depth'.
7080 (xbm_image_spec_from_file): Removed to reduce consing. 7080 (xbm_image_spec_from_file): Remove to reduce consing.
7081 (xbm_load_image_from_file): Added for the same reason. 7081 (xbm_load_image_from_file): Add for the same reason.
7082 7082
7083 * xterm.c (x_fill_image_glyph_string): Don't set ybase of 7083 * xterm.c (x_fill_image_glyph_string): Don't set ybase of
7084 glyph string. 7084 glyph string.
@@ -7148,8 +7148,8 @@
7148 7148
7149 * widget.c (widget_store_internal_border): Return void. 7149 * widget.c (widget_store_internal_border): Return void.
7150 7150
7151 * xfns.c (x_destroy_bitmap): Use xfree instead of free. Return 7151 * xfns.c (x_destroy_bitmap): Use xfree instead of free.
7152 void. 7152 Return void.
7153 (init_x_parm_symbols): Return void. 7153 (init_x_parm_symbols): Return void.
7154 (x_report_frame_params): Ditto. 7154 (x_report_frame_params): Ditto.
7155 (x_set_border_pixel): Ditto. 7155 (x_set_border_pixel): Ditto.
@@ -7220,7 +7220,7 @@
7220 * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Use these 7220 * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Use these
7221 macros. 7221 macros.
7222 7222
7223 * xterm.c (x_font_min_bounds): Moved here from xfaces.c. 7223 * xterm.c (x_font_min_bounds): Move here from xfaces.c.
7224 (x_compute_min_char_bounds): Formerly min_char_bounds in xfaces.c. 7224 (x_compute_min_char_bounds): Formerly min_char_bounds in xfaces.c.
7225 (x_load_font): Use x_compute_min_char_bounds. 7225 (x_load_font): Use x_compute_min_char_bounds.
7226 7226
@@ -7238,7 +7238,7 @@
7238 for characters < 0177 in default face. Prepare face for 7238 for characters < 0177 in default face. Prepare face for
7239 display before returning it. 7239 display before returning it.
7240 (x_produce_glyphs): Use it->charset. 7240 (x_produce_glyphs): Use it->charset.
7241 (x_get_char_font_and_encoding): Simplified. 7241 (x_get_char_font_and_encoding): Simplify.
7242 (x_encode_char): Remove parameter `font'. 7242 (x_encode_char): Remove parameter `font'.
7243 7243
7244 * xfaces.c (choose_face_font): If registry from charset symbol 7244 * xfaces.c (choose_face_font): If registry from charset symbol
@@ -7309,8 +7309,8 @@
7309 * dispextern.h (FACE_FOR_CHARSET): Replacement for function 7309 * dispextern.h (FACE_FOR_CHARSET): Replacement for function
7310 lookup_face_for_charset. 7310 lookup_face_for_charset.
7311 7311
7312 * xfaces.c (free_font_names): Renamed from free_split_font_names. 7312 * xfaces.c (free_font_names): Rename from free_split_font_names.
7313 (free_all_realized_faces): Renamed from remove_all_realized_faces. 7313 (free_all_realized_faces): Rename from remove_all_realized_faces.
7314 7314
73151998-04-25 Gerd Moellmann <gerd@gnu.org> 73151998-04-25 Gerd Moellmann <gerd@gnu.org>
7316 7316
@@ -7329,8 +7329,8 @@
7329 7329
73301998-04-24 Gerd Moellmann <gerd@gnu.org> 73301998-04-24 Gerd Moellmann <gerd@gnu.org>
7331 7331
7332 * dispextern.h (struct face): Member 7332 * dispextern.h (struct face):
7333 fontset_chosen_for_realization_p removed. 7333 Member fontset_chosen_for_realization_p removed.
7334 7334
7335 * xfaces.c (cache_face): If face->fontset >= 0, add face to the 7335 * xfaces.c (cache_face): If face->fontset >= 0, add face to the
7336 end of the collision list, so that we find more specific faces 7336 end of the collision list, so that we find more specific faces
@@ -7365,8 +7365,8 @@
7365 (xlfd_point_size): Return -1 if resolution or point size of 7365 (xlfd_point_size): Return -1 if resolution or point size of
7366 font unknown. 7366 font unknown.
7367 7367
7368 * xfaces.c (free_font): Removed. 7368 * xfaces.c (free_font): Remove.
7369 (load_face_font_or_fontset): Renamed from load_font. 7369 (load_face_font_or_fontset): Rename from load_font.
7370 (load_face_font_or_fontset): Use message2 instead of signaling. 7370 (load_face_font_or_fontset): Use message2 instead of signaling.
7371 (load_color): Likewise. 7371 (load_color): Likewise.
7372 (load_pixmap): Likewise. 7372 (load_pixmap): Likewise.
@@ -7408,8 +7408,8 @@
7408 to -1 so that it will compute the right face for the truncation 7408 to -1 so that it will compute the right face for the truncation
7409 glyphs. 7409 glyphs.
7410 7410
7411 * xfaces.c (realize_face): Set 7411 * xfaces.c (realize_face):
7412 face->fontset_chosen_for_realization_p. 7412 Set face->fontset_chosen_for_realization_p.
7413 (lookup_face_for_charset): If fontset wasn't specified originally 7413 (lookup_face_for_charset): If fontset wasn't specified originally
7414 and new charset != CHARSET_COMPOSITION, get a new face for that 7414 and new charset != CHARSET_COMPOSITION, get a new face for that
7415 charset. 7415 charset.
@@ -7461,9 +7461,9 @@
7461 (lface_hash): Add weight, slant, swidth and relief to hash value. 7461 (lface_hash): Add weight, slant, swidth and relief to hash value.
7462 (lface_equal_p): Make it faster. 7462 (lface_equal_p): Make it faster.
7463 (lface_from_symbol): Use assq_no_quit. 7463 (lface_from_symbol): Use assq_no_quit.
7464 (Fnote_default_face_changed): Removed. 7464 (Fnote_default_face_changed): Remove.
7465 (cmp_font_names): Use strcmp instead of xstricmp. 7465 (cmp_font_names): Use strcmp instead of xstricmp.
7466 (face_charset_registries): Removed. 7466 (face_charset_registries): Remove.
7467 7467
74681998-04-20 Gerd Moellmann <gerd@gnu.org> 74681998-04-20 Gerd Moellmann <gerd@gnu.org>
7469 7469
@@ -7487,8 +7487,8 @@
7487 7487
7488 * xfaces.c (Finternal_set_lisp_face_attribute): Add :bold 7488 * xfaces.c (Finternal_set_lisp_face_attribute): Add :bold
7489 and :italic for compatibility. 7489 and :italic for compatibility.
7490 (Finternal_set_lisp_face_attribute_from_resource): Handle 7490 (Finternal_set_lisp_face_attribute_from_resource):
7491 :bold and :italic. Handle boolean resource values for 7491 Handle :bold and :italic. Handle boolean resource values for
7492 :underline and :italic. 7492 :underline and :italic.
7493 7493
7494 * xfns.c (display_x_get_resource): Make it externally visible. 7494 * xfns.c (display_x_get_resource): Make it externally visible.
@@ -7500,7 +7500,7 @@
7500 definitions. 7500 definitions.
7501 (Finternal_lisp_face_equal_p): Additional frame argument. 7501 (Finternal_lisp_face_equal_p): Additional frame argument.
7502 (merge_lisp_face_vector_with_property): Ditto. 7502 (merge_lisp_face_vector_with_property): Ditto.
7503 (Frealize_basic_faces): Removed. 7503 (Frealize_basic_faces): Remove.
7504 (Finternal_get_lisp_face_attribute): Additional frame argument. 7504 (Finternal_get_lisp_face_attribute): Additional frame argument.
7505 (Finternal_lisp_face_p): Ditto. 7505 (Finternal_lisp_face_p): Ditto.
7506 (load_color) [MSDOS]: Removed because it isn't clear how 7506 (load_color) [MSDOS]: Removed because it isn't clear how
@@ -7531,8 +7531,8 @@
7531 * xdisp.c (redisplay_internal, echo_area-display): If realized 7531 * xdisp.c (redisplay_internal, echo_area-display): If realized
7532 faces have been cleared, call recompute_basic_faces. 7532 faces have been cleared, call recompute_basic_faces.
7533 7533
7534 * xfaces.c (recompute_basic_faces): Free realized faces. Reset 7534 * xfaces.c (recompute_basic_faces): Free realized faces.
7535 face_attributes_changed_p. 7535 Reset face_attributes_changed_p.
7536 (remove_all_realized_faces): Remove all realized faces on 7536 (remove_all_realized_faces): Remove all realized faces on
7537 all frames. 7537 all frames.
7538 (Finternal_set_lisp_face_attribute): Call remove_all_realized_faces. 7538 (Finternal_set_lisp_face_attribute): Call remove_all_realized_faces.
@@ -7541,7 +7541,7 @@
7541 changed since the last redisplay, recompute basic faces. 7541 changed since the last redisplay, recompute basic faces.
7542 (echo_area_display): Ditto. 7542 (echo_area_display): Ditto.
7543 7543
7544 * xfaces.c (clear_face_gcs): Renamed from clear_realized_face_cache. 7544 * xfaces.c (clear_face_gcs): Rename from clear_realized_face_cache.
7545 7545
7546 * xfaces.c (min_char_bounds): If face cache not yet present, 7546 * xfaces.c (min_char_bounds): If face cache not yet present,
7547 don't try to get font dimensions from faces. 7547 don't try to get font dimensions from faces.
@@ -7549,11 +7549,11 @@
7549 * xterm.c (x_frame_mode_line_height): If face cache not present 7549 * xterm.c (x_frame_mode_line_height): If face cache not present
7550 set, return default height. 7550 set, return default height.
7551 7551
7552 * alloc.c (mark_face_cache): Check for null faces. Correct 7552 * alloc.c (mark_face_cache): Check for null faces.
7553 index bug. 7553 Correct index bug.
7554 7554
7555 * dispextern.h (struct face): Renamed from struct rface. Member 7555 * dispextern.h (struct face): Rename from struct rface.
7556 underline renamed underline_p. Make it a bit-field. 7556 Member underline renamed underline_p. Make it a bit-field.
7557 7557
7558 * xfaces.c (init_frame_faces): Allocate face cache. 7558 * xfaces.c (init_frame_faces): Allocate face cache.
7559 (free_frame_faces): Free face cache. 7559 (free_frame_faces): Free face cache.
@@ -7562,7 +7562,7 @@
7562 7562
7563 * frame.c (make_frame): Initialze face cache with null. 7563 * frame.c (make_frame): Initialze face cache with null.
7564 7564
7565 * xfaces.c (same_size_fonts): Removed. 7565 * xfaces.c (same_size_fonts): Remove.
7566 7566
7567 * xterm.c (x_set_glyph_string_gc): Add post-condition 7567 * xterm.c (x_set_glyph_string_gc): Add post-condition
7568 s->gc != 0. 7568 s->gc != 0.
@@ -7584,56 +7584,56 @@
7584 7584
7585 * xfaces.c (syms_of_xfaces): Correct calls to defsubr. 7585 * xfaces.c (syms_of_xfaces): Correct calls to defsubr.
7586 7586
7587 * xfns.c (Fx_face_fixed_p): Removed. 7587 * xfns.c (Fx_face_fixed_p): Remove.
7588 (Fx_list_fonts): Moved to xfaces.c. 7588 (Fx_list_fonts): Move to xfaces.c.
7589 7589
7590 * xfaces.c (compute_face_at_buffer_pos): Renamed to 7590 * xfaces.c (compute_face_at_buffer_pos): Rename to
7591 face_at_buffer_position. Parameter charset removed; always 7591 face_at_buffer_position. Parameter charset removed; always
7592 compute face for CHARSET_ASCII. 7592 compute face for CHARSET_ASCII.
7593 (face_at_string_position): Renamed from 7593 (face_at_string_position): Rename from
7594 compute_face_at_string_pos. Parameter charset removed; always 7594 compute_face_at_string_pos. Parameter charset removed; always
7595 compute for CHARSET_ASCII. 7595 compute for CHARSET_ASCII.
7596 (lookup_face_for_charset): Take frame parameter instead of 7596 (lookup_face_for_charset): Take frame parameter instead of
7597 face_cache. 7597 face_cache.
7598 (lookup_face): Ditto. 7598 (lookup_face): Ditto.
7599 (compute_char_face): Renamed from compute_glyph_face. 7599 (compute_char_face): Rename from compute_glyph_face.
7600 7600
7601 * xdisp.c (init_iterator): Initialize charset member. 7601 * xdisp.c (init_iterator): Initialize charset member.
7602 (reseat_iterator_to_string): Ditto. 7602 (reseat_iterator_to_string): Ditto.
7603 (get_charset_at_buffer_position): Determine charset at 7603 (get_charset_at_buffer_position): Determine charset at
7604 buffer position in current_buffer. 7604 buffer position in current_buffer.
7605 (reseat_iterator): Call above function. 7605 (reseat_iterator): Call above function.
7606 (compute_face_at_iterator_position): Call 7606 (compute_face_at_iterator_position):
7607 compute_face_at_buffer_pos. 7607 Call compute_face_at_buffer_pos.
7608 (compute_face_at_iterator_string_position): Call 7608 (compute_face_at_iterator_string_position):
7609 compute_face_at_string_pos. 7609 Call compute_face_at_string_pos.
7610 (get_face_from_id): Removed. 7610 (get_face_from_id): Remove.
7611 (get_face_from_cursor_pos): Call compute_face_at_buffer_pos. 7611 (get_face_from_cursor_pos): Call compute_face_at_buffer_pos.
7612 Call get_charset_at_buffer_position. 7612 Call get_charset_at_buffer_position.
7613 (reseat_iterator): Determine face if charset at pos differs 7613 (reseat_iterator): Determine face if charset at pos differs
7614 from iterator's charset. 7614 from iterator's charset.
7615 (reseat_iterator_to_glyph_pos): Removed. 7615 (reseat_iterator_to_glyph_pos): Remove.
7616 7616
7617 * xfaces.c (compute_face_at_bufpos): Remove parameter charset. 7617 * xfaces.c (compute_face_at_bufpos): Remove parameter charset.
7618 Determine charset from buffer position. 7618 Determine charset from buffer position.
7619 (compute_string_char_face): Renamed to compute_face_at_string_pos. 7619 (compute_string_char_face): Rename to compute_face_at_string_pos.
7620 (compute_face_at_bufpos): Renamed to compute_face_at_buffer_pos. 7620 (compute_face_at_bufpos): Rename to compute_face_at_buffer_pos.
7621 7621
7622 * dispextern.h (struct display_iterator): Add member charset. 7622 * dispextern.h (struct display_iterator): Add member charset.
7623 7623
76241998-04-15 Gerd Moellmann <gerd@gnu.org> 76241998-04-15 Gerd Moellmann <gerd@gnu.org>
7625 7625
7626 * xfaces.c (compute_char_face): Removed. 7626 * xfaces.c (compute_char_face): Remove.
7627 7627
7628 * xdisp.c (get_overlay_arrow_glyph_row): Use compute_glyph_face 7628 * xdisp.c (get_overlay_arrow_glyph_row): Use compute_glyph_face
7629 with new parameter list. 7629 with new parameter list.
7630 7630
7631 * xfaces.c (region_face): Removed. 7631 * xfaces.c (region_face): Remove.
7632 (allocate_face): Removed. 7632 (allocate_face): Remove.
7633 (copy_face): Ditto. 7633 (copy_face): Ditto.
7634 (face_eql): Removed. 7634 (face_eql): Remove.
7635 (intern_face): Removed. 7635 (intern_face): Remove.
7636 (clear_face_cache): Removed. 7636 (clear_face_cache): Remove.
7637 (load_font): Ditto. 7637 (load_font): Ditto.
7638 (unload_font): Ditto. 7638 (unload_font): Ditto.
7639 (load_color): Ditto. 7639 (load_color): Ditto.
@@ -7644,9 +7644,9 @@
7644 (merge_faces): Ditto. 7644 (merge_faces): Ditto.
7645 (compute_base_face): Ditto. 7645 (compute_base_face): Ditto.
7646 (merge_face_list): Ditto. 7646 (merge_face_list): Ditto.
7647 (Fmake_face_internal): Removed. 7647 (Fmake_face_internal): Remove.
7648 (Fset_face_attribute_internal): Ditto. 7648 (Fset_face_attribute_internal): Ditto.
7649 (face_name_id_number): Removed. 7649 (face_name_id_number): Remove.
7650 (Fframe_face_alist): Ditto. 7650 (Fframe_face_alist): Ditto.
7651 (Fset_frame_face_alist): Ditto. 7651 (Fset_frame_face_alist): Ditto.
7652 (Finternal_next_face_id): Ditto. 7652 (Finternal_next_face_id): Ditto.
@@ -7693,7 +7693,7 @@
7693 * fontset.h: Add external declarations for Vfontset_alias_alist 7693 * fontset.h: Add external declarations for Vfontset_alias_alist
7694 and Vglobal_fontset_alist. 7694 and Vglobal_fontset_alist.
7695 7695
7696 * xfaces.c (merge_lisp_face_vector_with_property): Simplified. 7696 * xfaces.c (merge_lisp_face_vector_with_property): Simplify.
7697 (realize_default_face): If frame parameters contain an artificial 7697 (realize_default_face): If frame parameters contain an artificial
7698 font name naming a fontset, set the family of the default face to 7698 font name naming a fontset, set the family of the default face to
7699 the fontset name given by the registry. 7699 the fontset name given by the registry.
@@ -7741,11 +7741,11 @@
7741 * xdisp.c (set_cursor_from_row): If PT is not found in the 7741 * xdisp.c (set_cursor_from_row): If PT is not found in the
7742 row, display the cursor at the start of the row. 7742 row, display the cursor at the start of the row.
7743 7743
7744 * dispnew.c (direct_output_forward_char): Call 7744 * dispnew.c (direct_output_forward_char):
7745 set_cursor_from_row. 7745 Call set_cursor_from_row.
7746 7746
7747 * xdisp.c (setup_iterator_overlay_strings_from_glyph_pos): If 7747 * xdisp.c (setup_iterator_overlay_strings_from_glyph_pos):
7748 position is not in an overlay string, set iterator's position and 7748 If position is not in an overlay string, set iterator's position and
7749 method explicitly so. 7749 method explicitly so.
7750 (set_cursor_from_row): Correct cursor position calculation. 7750 (set_cursor_from_row): Correct cursor position calculation.
7751 Make it externally visible. 7751 Make it externally visible.
@@ -7907,7 +7907,7 @@
7907 * dispnew.c: Make compilable with -Wall. 7907 * dispnew.c: Make compilable with -Wall.
7908 * term.c: Ditto. 7908 * term.c: Ditto.
7909 7909
7910 * charset.h (CHAR_LEN): Moved here from dispextern.h. 7910 * charset.h (CHAR_LEN): Move here from dispextern.h.
7911 7911
79121998-03-14 Gerd Moellmann <gerd@gnu.org> 79121998-03-14 Gerd Moellmann <gerd@gnu.org>
7913 7913
@@ -7939,8 +7939,8 @@
7939 * xdisp.c (init_iterator): Increase last_visible_x by vertical 7939 * xdisp.c (init_iterator): Increase last_visible_x by vertical
7940 scroll bar width for mode lines. 7940 scroll bar width for mode lines.
7941 7941
7942 * dispnew.c (allocate_matrices_for_window_redisplay): Include 7942 * dispnew.c (allocate_matrices_for_window_redisplay):
7943 vertical scroll bar width in width calculation so that we can 7943 Include vertical scroll bar width in width calculation so that we can
7944 display mode lines wider. 7944 display mode lines wider.
7945 7945
7946 * xdisp.c (redisplay_window): Restore buffers before returning 7946 * xdisp.c (redisplay_window): Restore buffers before returning
@@ -7958,7 +7958,7 @@
7958 * dispextern.h (struct glyph_row): Member max_ascent renamed 7958 * dispextern.h (struct glyph_row): Member max_ascent renamed
7959 ascent. Member max_descent replaced by height. 7959 ascent. Member max_descent replaced by height.
7960 (struct display_iterator): Member max_descent replaced by height. 7960 (struct display_iterator): Member max_descent replaced by height.
7961 (MATRIX_ROW_PIXEL_HEIGHT): Removed. 7961 (MATRIX_ROW_PIXEL_HEIGHT): Remove.
7962 7962
7963 * xterm.c (x_alloc_lighter_color): Don't free colors if visual 7963 * xterm.c (x_alloc_lighter_color): Don't free colors if visual
7964 class makes it unnecessary or dangerous. 7964 class makes it unnecessary or dangerous.
@@ -7999,10 +7999,10 @@
7999 * xterm.c (x_scroll_run): Don't set updated_window to null. 7999 * xterm.c (x_scroll_run): Don't set updated_window to null.
8000 This resets updated_window when called from scrolling_window. 8000 This resets updated_window when called from scrolling_window.
8001 8001
8002 * dispextern.h (scroll_run_hook): Renamed from line_dance_hook. 8002 * dispextern.h (scroll_run_hook): Rename from line_dance_hook.
8003 8003
8004 * xterm.c (x_scroll_run): Additional window parameter. Set 8004 * xterm.c (x_scroll_run): Additional window parameter.
8005 and reset updated_window. 8005 Set and reset updated_window.
8006 8006
8007 * dispnew.c (line_dance_hook): Additional window parameter. 8007 * dispnew.c (line_dance_hook): Additional window parameter.
8008 8008
@@ -8016,7 +8016,7 @@
8016 * dispnew.c (Fblink_cursor): Remove call to detect_input_pending. 8016 * dispnew.c (Fblink_cursor): Remove call to detect_input_pending.
8017 Don't redraw cursor during redisplay. 8017 Don't redraw cursor during redisplay.
8018 8018
8019 * xterm.c (x_scroll_run): Renamed from do_line_dance. 8019 * xterm.c (x_scroll_run): Rename from do_line_dance.
8020 8020
8021 * xdisp.c (redisplay_window): For window-based redisplay, always 8021 * xdisp.c (redisplay_window): For window-based redisplay, always
8022 try try_window_id. 8022 try try_window_id.
@@ -8080,8 +8080,8 @@
8080 8080
8081 * xdisp.c (set_next_iterator_stop_pos): No longer static. 8081 * xdisp.c (set_next_iterator_stop_pos): No longer static.
8082 8082
8083 * dispnew.c (direct_output_for_insert): Call 8083 * dispnew.c (direct_output_for_insert):
8084 set_next_iterator_stop_pos after having changed it2.endpos. 8084 Call set_next_iterator_stop_pos after having changed it2.endpos.
8085 8085
80861998-02-17 Gerd Moellmann <gerd@gnu.org> 80861998-02-17 Gerd Moellmann <gerd@gnu.org>
8087 8087
@@ -8102,22 +8102,22 @@
8102 enough glyphs to display a mode line or menu line which draws over 8102 enough glyphs to display a mode line or menu line which draws over
8103 flags areas. 8103 flags areas.
8104 8104
8105 * xterm.c (XTset_vertical_scroll_bar): Use 8105 * xterm.c (XTset_vertical_scroll_bar):
8106 WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT instead of 8106 Use WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT instead of
8107 VERTICAL_SCROLL_BAR_PIXEL_HEIGHT. 8107 VERTICAL_SCROLL_BAR_PIXEL_HEIGHT.
8108 (x_draw_glyphs): Draw over flags areas when drawing a mode line 8108 (x_draw_glyphs): Draw over flags areas when drawing a mode line
8109 or menu. 8109 or menu.
8110 (x_set_glyph_string_clipping): Set clipping differently if drawing 8110 (x_set_glyph_string_clipping): Set clipping differently if drawing
8111 a mode line or menu line. 8111 a mode line or menu line.
8112 8112
8113 * xterm.h (VERTICAL_SCROLL_BAR_PIXEL_HEIGHT): Removed. 8113 * xterm.h (VERTICAL_SCROLL_BAR_PIXEL_HEIGHT): Remove.
8114 8114
8115 * xterm.c (expose_line): Don't draw bitmaps for mode lines and 8115 * xterm.c (expose_line): Don't draw bitmaps for mode lines and
8116 menu lines. 8116 menu lines.
8117 (x_scroll_bar_create): Don't clear flags areas. 8117 (x_scroll_bar_create): Don't clear flags areas.
8118 (x_draw_row_bitmaps): Clear visible row height, only. 8118 (x_draw_row_bitmaps): Clear visible row height, only.
8119 8119
8120 * dispnew.c (Fblink_cursor): Moved here from xdisp.c. 8120 * dispnew.c (Fblink_cursor): Move here from xdisp.c.
8121 8121
81221998-02-15 Gerd Moellmann <gerd@gnu.org> 81221998-02-15 Gerd Moellmann <gerd@gnu.org>
8123 8123
@@ -8137,21 +8137,21 @@
8137 * dispnew.c (update_window_line): Special handling of inverse 8137 * dispnew.c (update_window_line): Special handling of inverse
8138 lines in #if 0 removed. 8138 lines in #if 0 removed.
8139 8139
8140 * xterm.c (x_write_glyphs): Renamed from XTwrite_glyphs. 8140 * xterm.c (x_write_glyphs): Rename from XTwrite_glyphs.
8141 (x_insert_glyphs): Renamed from XTinsert_glyphs. 8141 (x_insert_glyphs): Rename from XTinsert_glyphs.
8142 (x_clear_frame): Renamed from XTclear_frame. 8142 (x_clear_frame): Rename from XTclear_frame.
8143 (x_clear_end_of_line): Renamed from XTclear_end_of_line. 8143 (x_clear_end_of_line): Rename from XTclear_end_of_line.
8144 (x_ins_del_lines): Renamed from XTins_del_lines. 8144 (x_ins_del_lines): Rename from XTins_del_lines.
8145 (x_change_line_height): Renamed from XTchange_line_height. 8145 (x_change_line_height): Rename from XTchange_line_height.
8146 (x_delete_glyphs): Renamed from XTdelete_glyphs. 8146 (x_delete_glyphs): Rename from XTdelete_glyphs.
8147 (x_clear_cursor): Renamed from clear_cursor. 8147 (x_clear_cursor): Rename from clear_cursor.
8148 (x_update_begin): Renamed from XTupdate_begin. 8148 (x_update_begin): Rename from XTupdate_begin.
8149 (x_update_end): Renamed from XTupdate_end. 8149 (x_update_end): Rename from XTupdate_end.
8150 (x_update_window_begin): Renamed from XTupdate_window_begin. 8150 (x_update_window_begin): Rename from XTupdate_window_begin.
8151 (x_update_window_end): Renamed from XTupdate_window_end. 8151 (x_update_window_end): Rename from XTupdate_window_end.
8152 (x_frame_mode_line_height): Renamed from XTframe_mode_line_height. 8152 (x_frame_mode_line_height): Rename from XTframe_mode_line_height.
8153 (x_produce_glyphs): Renamed from XTproduce_glyphs. 8153 (x_produce_glyphs): Rename from XTproduce_glyphs.
8154 (x_produce_special_glyphs): Renamed from XTproduce_special_glyphs. 8154 (x_produce_special_glyphs): Rename from XTproduce_special_glyphs.
8155 (x_produce_special_glyphs): Implementation in #if 0 removed. 8155 (x_produce_special_glyphs): Implementation in #if 0 removed.
8156 8156
8157 * xdisp.c (Fdump_redisplay_state): Display row's fill_line_p 8157 * xdisp.c (Fdump_redisplay_state): Display row's fill_line_p
@@ -8232,14 +8232,14 @@
8232 8232
8233 * dispextern.h (struct glyph_matrix): New member window_width. 8233 * dispextern.h (struct glyph_matrix): New member window_width.
8234 8234
8235 * dispnew.c (adjust_glyph_matrix): Set window_width. Optimize 8235 * dispnew.c (adjust_glyph_matrix): Set window_width.
8236 case of changing window height. 8236 Optimize case of changing window height.
8237 8237
8238 * xterm.c (x_draw_row_bitmaps): Don't clear vertical window 8238 * xterm.c (x_draw_row_bitmaps): Don't clear vertical window
8239 border to the left. 8239 border to the left.
8240 8240
8241 * dispextern.h (struct glyph_row): Remove right_to_left_p. RMS 8241 * dispextern.h (struct glyph_row): Remove right_to_left_p.
8242 says this aspect of Emacs is currently redesigned. 8242 RMS says this aspect of Emacs is currently redesigned.
8243 8243
8244 * xterm.c (x_clip_to_row): Subtract 1 from clip width if we 8244 * xterm.c (x_clip_to_row): Subtract 1 from clip width if we
8245 have to draw a vertical border. 8245 have to draw a vertical border.
@@ -8268,8 +8268,8 @@
8268 removed. 8268 removed.
8269 (struct glyph): Ditto. 8269 (struct glyph): Ditto.
8270 8270
8271 * xterm.c (x_draw_relief): Removed. 8271 * xterm.c (x_draw_relief): Remove.
8272 (x_draw_bitmap): Renamed from draw_bitmap. 8272 (x_draw_bitmap): Rename from draw_bitmap.
8273 (x_draw_glyphs): Completely new implementation of draw_glyphs 8273 (x_draw_glyphs): Completely new implementation of draw_glyphs
8274 capable of handling arbitrary lbearing and rbearing values. 8274 capable of handling arbitrary lbearing and rbearing values.
8275 Several sub-functions not mentioned here. 8275 Several sub-functions not mentioned here.
@@ -8347,11 +8347,11 @@
8347 8347
83481998-01-25 Gerd Moellmann <gerd@gnu.org> 83481998-01-25 Gerd Moellmann <gerd@gnu.org>
8349 8349
8350 * dispextern.h (DEFAULT_FACE_ID, MODE_LINE_FACE_ID): Symbolic 8350 * dispextern.h (DEFAULT_FACE_ID, MODE_LINE_FACE_ID):
8351 names for face ids of frame default face and mode line face. 8351 Symbolic names for face ids of frame default face and mode line face.
8352 8352
8353 * xdisp.c (compute_face_at_iterator_string_position): If 8353 * xdisp.c (compute_face_at_iterator_string_position):
8354 displaying a mode line use MODE_LINE_FACE_ID instead of 8354 If displaying a mode line use MODE_LINE_FACE_ID instead of
8355 DEFAULT_FACE_ID. 8355 DEFAULT_FACE_ID.
8356 8356
8357 * xdisp.c (reseat_iterator_to_string): Additional parameter start. 8357 * xdisp.c (reseat_iterator_to_string): Additional parameter start.
@@ -8405,8 +8405,8 @@
8405 (move_iterator_in_display_line_to): If to_pos specified, move 8405 (move_iterator_in_display_line_to): If to_pos specified, move
8406 over before-strings. 8406 over before-strings.
8407 8407
8408 * dispextern.h (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Test 8408 * dispextern.h (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P):
8409 start.string_index > 0. 8409 Test start.string_index > 0.
8410 8410
8411 * xdisp.c (redisplay_internal): Adjust glyphs if fonts_changed_p 8411 * xdisp.c (redisplay_internal): Adjust glyphs if fonts_changed_p
8412 is set. Retry redisplay if fonts_changed_p is set before update. 8412 is set. Retry redisplay if fonts_changed_p is set before update.
@@ -8415,7 +8415,7 @@
8415 8415
8416 * xfaces.c (Fset_face_attribute_internal): Set fonts_changed_p. 8416 * xfaces.c (Fset_face_attribute_internal): Set fonts_changed_p.
8417 8417
8418 * dispnew.c (adjust_glyphs_for_font_change): Removed. 8418 * dispnew.c (adjust_glyphs_for_font_change): Remove.
8419 8419
8420 * xdisp.c (try_window): Check fonts_changed_p. 8420 * xdisp.c (try_window): Check fonts_changed_p.
8421 (try_window_reusing_current_matrix): Ditto. 8421 (try_window_reusing_current_matrix): Ditto.
@@ -8468,8 +8468,8 @@
8468 * editfns.c (make_buffer_string): If PROMPT_IN_BUFFER, add prompt 8468 * editfns.c (make_buffer_string): If PROMPT_IN_BUFFER, add prompt
8469 length to start position. 8469 length to start position.
8470 8470
8471 * buffer.c (Fget_buffer_create): Initialize 8471 * buffer.c (Fget_buffer_create):
8472 minibuffer_prompt_length. 8472 Initialize minibuffer_prompt_length.
8473 (Fmake_indirect_buffer): Ditto. 8473 (Fmake_indirect_buffer): Ditto.
8474 (Fkill_buffer): Ditto. 8474 (Fkill_buffer): Ditto.
8475 8475
@@ -8489,15 +8489,15 @@
8489 * xfaces.c (compute_string_char_face): Compute face for 8489 * xfaces.c (compute_string_char_face): Compute face for
8490 arbitrary Lisp string. Renamed from compute_overlay_string_char_face. 8490 arbitrary Lisp string. Renamed from compute_overlay_string_char_face.
8491 8491
8492 * xdisp.c (next_element_from_string): Renamed from 8492 * xdisp.c (next_element_from_string): Rename from
8493 next_element_from_overlay_string. 8493 next_element_from_overlay_string.
8494 (compute_face_at_iterator_string_position): Renamed from 8494 (compute_face_at_iterator_string_position): Rename from
8495 compute_face_at_iterator_overlay_string_position. 8495 compute_face_at_iterator_overlay_string_position.
8496 8496
8497 * dispextern.h (struct display_iterator): Member overlay_string 8497 * dispextern.h (struct display_iterator): Member overlay_string
8498 renamed string. 8498 renamed string.
8499 8499
8500 * xdisp.c (next_element_from_c_string): Renamed from 8500 * xdisp.c (next_element_from_c_string): Rename from
8501 next_element_from_string. 8501 next_element_from_string.
8502 8502
8503 * dispextern.h (struct glyph_pos): Reversed meaning of 8503 * dispextern.h (struct glyph_pos): Reversed meaning of
@@ -8535,8 +8535,8 @@
8535 8535
85361998-01-17 Gerd Moellmann <gerd@gnu.org> 85361998-01-17 Gerd Moellmann <gerd@gnu.org>
8537 8537
8538 * xdisp.c (move_iterator_vertically): Check post-condition. Move 8538 * xdisp.c (move_iterator_vertically): Check post-condition.
8539 to start of line if ending at ZV and no newline in front. 8539 Move to start of line if ending at ZV and no newline in front.
8540 (move_iterator_to): If to_y specified, always first move to x = 0, 8540 (move_iterator_to): If to_y specified, always first move to x = 0,
8541 so that move stops at line start instead of line end. This is 8541 so that move stops at line start instead of line end. This is
8542 probably what callers would expect to happen. 8542 probably what callers would expect to happen.
@@ -8561,19 +8561,19 @@
8561 try_window_reusing_current_matrix if window scroll functions 8561 try_window_reusing_current_matrix if window scroll functions
8562 exist. 8562 exist.
8563 8563
8564 * dispextern.h (struct display_iterator): Member 8564 * dispextern.h (struct display_iterator):
8565 redisplay_end_trigger_p removed. 8565 Member redisplay_end_trigger_p removed.
8566 8566
8567 * dispextern.h (WINDOW_DISPLAY_PIXEL_HEIGHT_WITHOUT_MODE_LINE): 8567 * dispextern.h (WINDOW_DISPLAY_PIXEL_HEIGHT_WITHOUT_MODE_LINE):
8568 Renamed to WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT. 8568 Rename to WINDOW_DISPLAY_TEXT_AREA_PIXEL_HEIGHT.
8569 8569
85701998-01-16 Gerd Moellmann <gerd@gnu.org> 85701998-01-16 Gerd Moellmann <gerd@gnu.org>
8571 8571
8572 * xdisp.c (move_iterator_by_lines): Optimize for truncate-lines 8572 * xdisp.c (move_iterator_by_lines): Optimize for truncate-lines
8573 nil. Optimize truncate-lines t and moving backward. 8573 nil. Optimize truncate-lines t and moving backward.
8574 (move_iterator_to_previous_visible_line_start): Contains the heart 8574 (move_iterator_to_previous_visible_line_start): Contains the heart
8575 of the previous set_iterator_to_previous_visible_line_end. Don't 8575 of the previous set_iterator_to_previous_visible_line_end.
8576 reseat the iterator. Used by move_iterator_by_lines. 8576 Don't reseat the iterator. Used by move_iterator_by_lines.
8577 (set_iterator_to_previous_visible_line_start): Call function 8577 (set_iterator_to_previous_visible_line_start): Call function
8578 above. 8578 above.
8579 (move_iterator_in_display_line_to): Check TO_POS before doing 8579 (move_iterator_in_display_line_to): Check TO_POS before doing
@@ -8608,8 +8608,8 @@
8608 (Fset_face_attribute_internal): Use XINT instead of XFASTINT 8608 (Fset_face_attribute_internal): Use XINT instead of XFASTINT
8609 to get a relief because they can be negative. 8609 to get a relief because they can be negative.
8610 8610
8611 * xterm.c (x_draw_relief): Correct line drawing positions. Pixel 8611 * xterm.c (x_draw_relief): Correct line drawing positions.
8612 positions are for the middle of lines under X. 8612 Pixel positions are for the middle of lines under X.
8613 8613
8614 * xdisp.c (try_window_id): Always search for the cursor by setting 8614 * xdisp.c (try_window_id): Always search for the cursor by setting
8615 w->cursor.vpos = -1. Search in unchanged rows at the top and 8615 w->cursor.vpos = -1. Search in unchanged rows at the top and
@@ -8642,16 +8642,16 @@
8642 8642
8643 * xdisp.c (display_line): Bug fix cursor positioning. 8643 * xdisp.c (display_line): Bug fix cursor positioning.
8644 8644
8645 * xfns.c (x-list-fonts): Copied from x-list-fonts.c; #include 8645 * xfns.c (x-list-fonts): Copy from x-list-fonts.c; #include
8646 removed. x-list-fonts.c is now obsolete. 8646 removed. x-list-fonts.c is now obsolete.
8647 (Qfixed, Qvariable): Moved here from xfaces.c. 8647 (Qfixed, Qvariable): Move here from xfaces.c.
8648 8648
86491998-01-14 Gerd Moellmann <gerd@gnu.org> 86491998-01-14 Gerd Moellmann <gerd@gnu.org>
8650 8650
8651 * xdisp.c (display_line): Set row->ends_at_zv_p based on 8651 * xdisp.c (display_line): Set row->ends_at_zv_p based on
8652 FETCH_BYTE for truncated lines. 8652 FETCH_BYTE for truncated lines.
8653 (display_line): Set cursor differently. 8653 (display_line): Set cursor differently.
8654 (display_line): Fixed bug setting last_pos_on_this_line wrong 8654 (display_line): Fix bug setting last_pos_on_this_line wrong
8655 for truncated lines. 8655 for truncated lines.
8656 8656
8657 * dispnew.c (adjust_glyph_matrix): Always adjust for frame-based 8657 * dispnew.c (adjust_glyph_matrix): Always adjust for frame-based
@@ -8659,8 +8659,8 @@
8659 8659
8660 * window.c (Fsplit_window): Adjust glyphs before setting buffer. 8660 * window.c (Fsplit_window): Adjust glyphs before setting buffer.
8661 8661
8662 * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add 8662 * dispnew.c (adjust_frame_glyphs_for_window_redisplay):
8663 assertion that character dimensions are not zero. 8663 Add assertion that character dimensions are not zero.
8664 8664
8665 * xterm.c (x_load_font): adjust_glyphs_for_font_change while 8665 * xterm.c (x_load_font): adjust_glyphs_for_font_change while
8666 input is blocked. 8666 input is blocked.
@@ -8680,7 +8680,7 @@
8680 8680
8681 * xterm.h (FRAME_FLAGS_BITMAP_WIDTH): Macro giving the width 8681 * xterm.h (FRAME_FLAGS_BITMAP_WIDTH): Macro giving the width
8682 in pixels of a flags area of a frame. 8682 in pixels of a flags area of a frame.
8683 (FRAME_X_FLAGS_AREA_WIDTH): Removed. 8683 (FRAME_X_FLAGS_AREA_WIDTH): Remove.
8684 (FRAME_X_FLAGS_AREA_COLS): Macro giving the number of columns 8684 (FRAME_X_FLAGS_AREA_COLS): Macro giving the number of columns
8685 occupied by a flags area. 8685 occupied by a flags area.
8686 8686
@@ -8694,7 +8694,7 @@
8694 8694
8695 * xdisp.c (display_line): Correct wrong calculation of row->x for 8695 * xdisp.c (display_line): Correct wrong calculation of row->x for
8696 the case of nglyphs == 1. 8696 the case of nglyphs == 1.
8697 (hscroll_window_tree): Renamed from hscroll_windows. 8697 (hscroll_window_tree): Rename from hscroll_windows.
8698 (hscroll_windows): New function calling hscroll_window_tree that 8698 (hscroll_windows): New function calling hscroll_window_tree that
8699 clears desired matrices on a frame when hscroll has been changed. 8699 clears desired matrices on a frame when hscroll has been changed.
8700 (redisplay_p): Global flag set during redisplay. 8700 (redisplay_p): Global flag set during redisplay.
@@ -8725,8 +8725,8 @@
8725 * xfaces.c (Qfixed, Qvariable): Symbols for use by x-list-fonts. 8725 * xfaces.c (Qfixed, Qvariable): Symbols for use by x-list-fonts.
8726 (syms_of_xfaces): Initialize them. 8726 (syms_of_xfaces): Initialize them.
8727 8727
8728 * xterm.c (x_list_fonts): Include auto-scaled fonts. Extend 8728 * xterm.c (x_list_fonts): Include auto-scaled fonts.
8729 cached information. 8729 Extend cached information.
8730 8730
87311998-01-11 Gerd Moellmann <gerd@acm.org> 87311998-01-11 Gerd Moellmann <gerd@acm.org>
8732 8732
@@ -8742,7 +8742,7 @@
8742 8742
87431998-01-05 Gerd Moellmann <gerd@acm.org> 87431998-01-05 Gerd Moellmann <gerd@acm.org>
8744 8744
8745 * xdisp.c (get_row_start_continuation_line_width): Removed. 8745 * xdisp.c (get_row_start_continuation_line_width): Remove.
8746 (init_iterator_to_row_start): Set it.current_x from row. 8746 (init_iterator_to_row_start): Set it.current_x from row.
8747 (try_window_id): Set it.continuation_lines_width directly from 8747 (try_window_id): Set it.continuation_lines_width directly from
8748 row. 8748 row.
@@ -8768,7 +8768,7 @@
8768 8768
87691998-01-02 Gerd Moellmann <gerd@acm.org> 87691998-01-02 Gerd Moellmann <gerd@acm.org>
8770 8770
8771 * xterm.c (x_get_mode_line_face_gc): Renamed from 8771 * xterm.c (x_get_mode_line_face_gc): Rename from
8772 x_get_modeline_face_gc. 8772 x_get_modeline_face_gc.
8773 8773
8774 * xdisp.c (TEXT_PROP_DISTANCE_LIMIT): Max. distance from current 8774 * xdisp.c (TEXT_PROP_DISTANCE_LIMIT): Max. distance from current
@@ -8820,22 +8820,22 @@
8820 * xterm.c (x_get_cursor_gc): Don't return cursor_gc for font == 8820 * xterm.c (x_get_cursor_gc): Don't return cursor_gc for font ==
8821 frame font if line height differs from font height. 8821 frame font if line height differs from font height.
8822 8822
8823 * xdisp.c (set_iterator_to_next): Renamed from 8823 * xdisp.c (set_iterator_to_next): Rename from
8824 move_iterator_forward to avoid confusion with other move_.* 8824 move_iterator_forward to avoid confusion with other move_.*
8825 functions. 8825 functions.
8826 8826
8827 * dispextern.h (FACE_RELIEF_P): Renamed from FACE_3D_P. 8827 * dispextern.h (FACE_RELIEF_P): Rename from FACE_3D_P.
8828 8828
88291997-12-31 Gerd Moellmann <gerd@acm.org> 88291997-12-31 Gerd Moellmann <gerd@acm.org>
8830 8830
8831 * xterm.c (x_get_cursor_gc): Renamed from x_cursor_gc to use the 8831 * xterm.c (x_get_cursor_gc): Rename from x_cursor_gc to use the
8832 same naming convention as for other GC functions. 8832 same naming convention as for other GC functions.
8833 (draw_glyphs): Don't fill background when drawing a cursor and 8833 (draw_glyphs): Don't fill background when drawing a cursor and
8834 font height is less than line height. 8834 font height is less than line height.
8835 8835
88361997-12-30 Gerd Moellmann <gerd@acm.org> 88361997-12-30 Gerd Moellmann <gerd@acm.org>
8837 8837
8838 * xdisp.c (init_display_iterator.*): Renamed to shorter names 8838 * xdisp.c (init_display_iterator.*): Rename to shorter names
8839 init_iterator_.*. 8839 init_iterator_.*.
8840 8840
8841 * xdisp.c (move_iterator_forward): Restore it->len from 8841 * xdisp.c (move_iterator_forward): Restore it->len from
@@ -8918,8 +8918,8 @@
8918 (x_get_char_font_and_encoding): Return null if font could not be 8918 (x_get_char_font_and_encoding): Return null if font could not be
8919 loaded. Reset font to null if fontset could not be loaded. 8919 loaded. Reset font to null if fontset could not be loaded.
8920 (draw_glyphs): Fill background if font not found. 8920 (draw_glyphs): Fill background if font not found.
8921 (draw_glyphs): Unused parameter just_foreground_p removed. New 8921 (draw_glyphs): Unused parameter just_foreground_p removed.
8922 parameter composite_glyph. 8922 New parameter composite_glyph.
8923 (draw_glyphs): Use enumeration for parameter hl. 8923 (draw_glyphs): Use enumeration for parameter hl.
8924 (draw_glyphs): Pass a display area relative x-position to 8924 (draw_glyphs): Pass a display area relative x-position to
8925 draw_glyphs when calling it recursively for composite chars. 8925 draw_glyphs when calling it recursively for composite chars.
@@ -8961,8 +8961,8 @@
8961 * xterm.c (x_after_update_window_line): Draw continuation line 8961 * xterm.c (x_after_update_window_line): Draw continuation line
8962 bitmap. 8962 bitmap.
8963 8963
8964 * dispnew.c (update_window_line): Call 8964 * dispnew.c (update_window_line):
8965 after_update_window_line_hook when row's continuation_line_p 8965 Call after_update_window_line_hook when row's continuation_line_p
8966 changes. 8966 changes.
8967 8967
8968 * xterm.c (draw_bitmap): Draw new bitmap CONTINUATION_LINE_BITMAP. 8968 * xterm.c (draw_bitmap): Draw new bitmap CONTINUATION_LINE_BITMAP.
@@ -8999,27 +8999,27 @@
8999 8999
90001997-12-14 Gerd Moellmann <gerd@acm.org> 90001997-12-14 Gerd Moellmann <gerd@acm.org>
9001 9001
9002 * frame.h (FRAME_MODE_LINE_PIXEL_HEIGHT): Removed. 9002 * frame.h (FRAME_MODE_LINE_PIXEL_HEIGHT): Remove.
9003 9003
9004 * window.c (coordinates_in_window): Call frame_mode_line_height. 9004 * window.c (coordinates_in_window): Call frame_mode_line_height.
9005 9005
9006 * xterm.c (x_draw_3d_border): Removed. 9006 * xterm.c (x_draw_3d_border): Remove.
9007 (x_draw_row_borders): Removed. 9007 (x_draw_row_borders): Remove.
9008 9008
9009 * dispnew.c (update_window): References to 9009 * dispnew.c (update_window): References to
9010 FRAME_MODE_LINE_BORDER_WIDTH removed. 9010 FRAME_MODE_LINE_BORDER_WIDTH removed.
9011 9011
9012 * xterm.h (FRAME_MODE_LINE_BORDER_WIDTH): Removed. 9012 * xterm.h (FRAME_MODE_LINE_BORDER_WIDTH): Remove.
9013 (FRAME_MODE_LINE_HEIGHT): Removed. 9013 (FRAME_MODE_LINE_HEIGHT): Remove.
9014 9014
9015 * xterm.c (draw_3d_borders_p): Removed. 9015 * xterm.c (draw_3d_borders_p): Remove.
9016 (draw_glyphs): Ditto. 9016 (draw_glyphs): Ditto.
9017 (XTwrite_glyphs): Ditto. 9017 (XTwrite_glyphs): Ditto.
9018 (expose_line): Ditto. 9018 (expose_line): Ditto.
9019 (x_initialize): Ditto. 9019 (x_initialize): Ditto.
9020 9020
9021 * dispextern.h (WINDOW_DISPLAY_MODE_LINE_HEIGHT): Call 9021 * dispextern.h (WINDOW_DISPLAY_MODE_LINE_HEIGHT):
9022 frame_mode_line_height. 9022 Call frame_mode_line_height.
9023 9023
9024 * term.c (frame_mode_line_height): Get the pixel height of a 9024 * term.c (frame_mode_line_height): Get the pixel height of a
9025 frame's mode line. 9025 frame's mode line.
@@ -9047,8 +9047,8 @@
9047 * xdisp.c (compute_face_at_iterator_overlay_string_position): 9047 * xdisp.c (compute_face_at_iterator_overlay_string_position):
9048 Use it. 9048 Use it.
9049 9049
9050 * xdisp.c (set_iterator_to_next_overlay_string): Formerly 9050 * xdisp.c (set_iterator_to_next_overlay_string):
9051 set_iterator_to_next_overlay. 9051 Formerly set_iterator_to_next_overlay.
9052 (struct overlay_entry): Structure used to sort overlay strings. 9052 (struct overlay_entry): Structure used to sort overlay strings.
9053 (compare_overlay_entries): Compare overlay strings. 9053 (compare_overlay_entries): Compare overlay strings.
9054 (load_iterator_with_overlay_strings): Load a chunk of overlay 9054 (load_iterator_with_overlay_strings): Load a chunk of overlay
@@ -9056,11 +9056,11 @@
9056 (get_overlay_strings_at_iterator_position): Call it. 9056 (get_overlay_strings_at_iterator_position): Call it.
9057 (next_element_from_overlay_string): Set it->object to the overlay 9057 (next_element_from_overlay_string): Set it->object to the overlay
9058 string. Prepare for setting it->position to a string position. 9058 string. Prepare for setting it->position to a string position.
9059 (get_overlay_strings_at_iterator_position): Renamed from 9059 (get_overlay_strings_at_iterator_position): Rename from
9060 get_overlays_at_iterator_position. 9060 get_overlays_at_iterator_position.
9061 (setup_iterator_overlay_strings_from_glyph_pos): Changed to load 9061 (setup_iterator_overlay_strings_from_glyph_pos): Change to load
9062 chunks of overlay strings. 9062 chunks of overlay strings.
9063 (load_overlay_strings): Renamed from load_iterator_overlay_strings. 9063 (load_overlay_strings): Rename from load_iterator_overlay_strings.
9064 9064
9065 * dispextern.h (struct display_iterator): New vector 9065 * dispextern.h (struct display_iterator): New vector
9066 overlay_strings and new member n_overlay_strings---formerly 9066 overlay_strings and new member n_overlay_strings---formerly
@@ -9072,9 +9072,9 @@
9072 9072
9073 * xdisp.c (copy_iterator): Increment n_iterator_overlay_vectors 9073 * xdisp.c (copy_iterator): Increment n_iterator_overlay_vectors
9074 when allocating a vector. 9074 when allocating a vector.
9075 (release_iterator): Removed. 9075 (release_iterator): Remove.
9076 (restore_iterator): Removed. 9076 (restore_iterator): Remove.
9077 (copy_iterator): Removed. 9077 (copy_iterator): Remove.
9078 9078
90791997-12-08 Gerd Moellmann <gerd@acm.org> 90791997-12-08 Gerd Moellmann <gerd@acm.org>
9080 9080
@@ -9087,10 +9087,10 @@
9087 9087
9088 * xterm.h (struct x_output): trunc_area_extra renamed 9088 * xterm.h (struct x_output): trunc_area_extra renamed
9089 flags_areas_extra. 9089 flags_areas_extra.
9090 (FRAME_X_FLAGS_AREA_WIDTH): Renamed from FRAME_X_TRUNC_WIDTH. 9090 (FRAME_X_FLAGS_AREA_WIDTH): Rename from FRAME_X_TRUNC_WIDTH.
9091 9091
9092 * dispnew.c (update_window_line): Call 9092 * dispnew.c (update_window_line):
9093 after_update_window_line_hook when current row is not enabled 9093 Call after_update_window_line_hook when current row is not enabled
9094 which is the case after a frame has been cleared. 9094 which is the case after a frame has been cleared.
9095 9095
9096 * xdisp.c (display_mode_line): Reset row flags for truncation 9096 * xdisp.c (display_mode_line): Reset row flags for truncation
@@ -9129,8 +9129,8 @@
9129 face changes and changes in invisible text property. 9129 face changes and changes in invisible text property.
9130 (struct glyph_pos): Former ovlen now overlay_string_index. 9130 (struct glyph_pos): Former ovlen now overlay_string_index.
9131 9131
9132 * xdisp.c (setup_iterator_overlays_from_glyph_pos): Set 9132 * xdisp.c (setup_iterator_overlays_from_glyph_pos):
9133 overlay_string. 9133 Set overlay_string.
9134 (set_iterator_to_next_overlay_string): Set overlay_string and 9134 (set_iterator_to_next_overlay_string): Set overlay_string and
9135 pos.overlay_string_index. 9135 pos.overlay_string_index.
9136 (get_overlays_at_iterator_position): Use overlay_string and 9136 (get_overlays_at_iterator_position): Use overlay_string and
@@ -9167,7 +9167,7 @@
9167 * buffer.h (overlays_at): Function prototype. 9167 * buffer.h (overlays_at): Function prototype.
9168 9168
9169 * xdisp.c (reseat_iterator_to_string): Clear iterator position. 9169 * xdisp.c (reseat_iterator_to_string): Clear iterator position.
9170 * dispextern.h (GET_NEXT_DISPLAY_ELEMENT): Removed. 9170 * dispextern.h (GET_NEXT_DISPLAY_ELEMENT): Remove.
9171 9171
9172 * xdisp.c (release_iterator): Release dynamically allocated 9172 * xdisp.c (release_iterator): Release dynamically allocated
9173 memory of a display_iterator. 9173 memory of a display_iterator.
@@ -9187,23 +9187,23 @@
9187 * buffer.c (overlays_at): Make it work when extending vectors 9187 * buffer.c (overlays_at): Make it work when extending vectors
9188 and an initial vector of zero size. 9188 and an initial vector of zero size.
9189 9189
9190 * xdisp.c (set_iterator_to_previous_visible_line_end): Renamed 9190 * xdisp.c (set_iterator_to_previous_visible_line_end):
9191 from set_cursor_to_previous_visible_line_end. 9191 Rename from set_cursor_to_previous_visible_line_end.
9192 (set_iterator_to_next_visible_line_start): Renamed from 9192 (set_iterator_to_next_visible_line_start): Rename from
9193 set_cursor_to_next_visible_line_end. 9193 set_cursor_to_next_visible_line_end.
9194 (set_next_iterator_stop_pos): Renamed from set_next_stop_pos. 9194 (set_next_iterator_stop_pos): Rename from set_next_stop_pos.
9195 (compute_face_at_iterator_position): Renamed from 9195 (compute_face_at_iterator_position): Rename from
9196 compute_cursor_face. 9196 compute_cursor_face.
9197 (set_iterator_to_next_overlay_string): Renamed from 9197 (set_iterator_to_next_overlay_string): Rename from
9198 cursor_to_next_overlay_string. 9198 cursor_to_next_overlay_string.
9199 (get_overlays_at_iterator_position): Renamed from 9199 (get_overlays_at_iterator_position): Rename from
9200 get_overlays_for_cursor. 9200 get_overlays_for_cursor.
9201 (reseat_iterator): Renamed from reseat_cursor. 9201 (reseat_iterator): Rename from reseat_cursor.
9202 (setup_iterator_overlays_from_glyph_pos): Renamed from 9202 (setup_iterator_overlays_from_glyph_pos): Rename from
9203 setup_overlays_from_pos. 9203 setup_overlays_from_pos.
9204 (init_string_iterator): Renamed from init_string_cursor. 9204 (init_string_iterator): Rename from init_string_cursor.
9205 (get_next_display_element): Renamed from next_display_element. 9205 (get_next_display_element): Rename from next_display_element.
9206 (move_iterator_forward): Renamed from advance_display_cursor. 9206 (move_iterator_forward): Rename from advance_display_cursor.
9207 (get_overlays_at_iterator_position): Allocate overlays vector 9207 (get_overlays_at_iterator_position): Allocate overlays vector
9208 dynamically. 9208 dynamically.
9209 9209
@@ -9214,7 +9214,7 @@
92141997-12-01 Gerd Moellmann <gerd@acm.org> 92141997-12-01 Gerd Moellmann <gerd@acm.org>
9215 9215
9216 * window.c (mark_window_cursors_off): Function comment added. 9216 * window.c (mark_window_cursors_off): Function comment added.
9217 (window_topmost_p, window_rightmost_p): Removed because not used. 9217 (window_topmost_p, window_rightmost_p): Remove because not used.
9218 9218
92191997-11-30 Gerd Moellmann <gerd@acm.org> 92191997-11-30 Gerd Moellmann <gerd@acm.org>
9220 9220
@@ -9229,7 +9229,7 @@
9229 frame_title_buf. 9229 frame_title_buf.
9230 (init_xdisp): Initialize frame_title_.* variables to null. 9230 (init_xdisp): Initialize frame_title_.* variables to null.
9231 9231
9232 * dispnew.c (quit_error_check): Removed. 9232 * dispnew.c (quit_error_check): Remove.
9233 9233
9234 * eval.c (Fsignal): Call to quit_error_check removed. 9234 * eval.c (Fsignal): Call to quit_error_check removed.
9235 * keyboard.c (quit_throw_to_read_char): Ditto. 9235 * keyboard.c (quit_throw_to_read_char): Ditto.
@@ -9275,8 +9275,8 @@
9275 * xterm.c (XTupdate_window_end): Don't display cursor if 9275 * xterm.c (XTupdate_window_end): Don't display cursor if
9276 pseudo_window_p. 9276 pseudo_window_p.
9277 9277
9278 * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Don't 9278 * dispnew.c (adjust_frame_glyphs_for_window_redisplay):
9279 set mini_p. 9279 Don't set mini_p.
9280 (update_window): Don't set cursor if pseudo_window_p. 9280 (update_window): Don't set cursor if pseudo_window_p.
9281 9281
9282 * dispextern.h (WINDOW_WANTS_MODELINE_P): Test pseudo_window_p. 9282 * dispextern.h (WINDOW_WANTS_MODELINE_P): Test pseudo_window_p.
@@ -9307,8 +9307,8 @@
9307 f->menu_bar_window if appropriate. 9307 f->menu_bar_window if appropriate.
9308 (display_mode_line): Use MATRIX_MODE_LINE_ROW. 9308 (display_mode_line): Use MATRIX_MODE_LINE_ROW.
9309 9309
9310 * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Allocate 9310 * dispnew.c (adjust_frame_glyphs_for_window_redisplay):
9311 dummy window and window matrices for f->menu_bar_window. 9311 Allocate dummy window and window matrices for f->menu_bar_window.
9312 (free_glyphs): Free the dummy window and its glyph matrices. 9312 (free_glyphs): Free the dummy window and its glyph matrices.
9313 9313
9314 * frame.h (struct frame): New member menu_bar_window. 9314 * frame.h (struct frame): New member menu_bar_window.
@@ -9323,8 +9323,8 @@
9323 first_row_to_display. The previous scheme failed if the last row 9323 first_row_to_display. The previous scheme failed if the last row
9324 was fully visible. 9324 was fully visible.
9325 9325
9326 * dispnew.c (update_window): Remove cost calculations. Remove 9326 * dispnew.c (update_window): Remove cost calculations.
9327 redundant preempt_count calculations. 9327 Remove redundant preempt_count calculations.
9328 9328
9329 * xterm.c (x_clip_to_row): Set clipping for non-text rows 9329 * xterm.c (x_clip_to_row): Set clipping for non-text rows
9330 differently. 9330 differently.
@@ -9345,7 +9345,7 @@
9345 try_window_id. 9345 try_window_id.
9346 (try_window_reusing_current_matrix): Give up for terminal frames 9346 (try_window_reusing_current_matrix): Give up for terminal frames
9347 if window is not full width or we cannot insert/delete lines. 9347 if window is not full width or we cannot insert/delete lines.
9348 (try_window_reusing_current_matrix): Fixed scrolling for terminal 9348 (try_window_reusing_current_matrix): Fix scrolling for terminal
9349 frames. 9349 frames.
9350 9350
9351 * alloc.c (mark_glyph_matrix): Bug fix - pass pointer to 9351 * alloc.c (mark_glyph_matrix): Bug fix - pass pointer to
@@ -9407,8 +9407,8 @@
9407 (update_window_line): Set it. 9407 (update_window_line): Set it.
9408 (update_marginal_area): Clear to end of line if not in text area. 9408 (update_marginal_area): Clear to end of line if not in text area.
9409 9409
9410 * window.c (Fset_window_margins): Increment 9410 * window.c (Fset_window_margins):
9411 windows_or_buffer_changed. Adjust glyphs. 9411 Increment windows_or_buffer_changed. Adjust glyphs.
9412 9412
9413 * dispextern.h (WINDOW_TEXT_TO_FRAME_PIXEL_X): Convert text 9413 * dispextern.h (WINDOW_TEXT_TO_FRAME_PIXEL_X): Convert text
9414 area X coordinates to frame coordinates. 9414 area X coordinates to frame coordinates.
@@ -9496,8 +9496,8 @@
9496 9496
94971997-10-27 Gerd Moellmann <gerd@acm.org> 94971997-10-27 Gerd Moellmann <gerd@acm.org>
9498 9498
9499 * dispnew.c (update_window_line): Call 9499 * dispnew.c (update_window_line):
9500 after_update_window_line_hook only for interesting constellations. 9500 Call after_update_window_line_hook only for interesting constellations.
9501 (free_glyph_matrix): Fix memory leak. 9501 (free_glyph_matrix): Fix memory leak.
9502 9502
9503 * window.h: Include blocker WINDOW_H_INCLUDED, include 9503 * window.h: Include blocker WINDOW_H_INCLUDED, include
@@ -9507,7 +9507,7 @@
9507 (replace_window): Ditto. 9507 (replace_window): Ditto.
9508 * dispnew.c (free_window_matrices): Remove freeing of 9508 * dispnew.c (free_window_matrices): Remove freeing of
9509 phys_cursor_glyph. 9509 phys_cursor_glyph.
9510 (check_matrix_invariants): Renamed from check_current_matrix_... 9510 (check_matrix_invariants): Rename from check_current_matrix_...
9511 * xterm.c: All references to phys_cursor_glyph changed. 9511 * xterm.c: All references to phys_cursor_glyph changed.
9512 9512
9513 * dispextern.h (DISPEXTERN_H_INCLUDED): New include blocker. 9513 * dispextern.h (DISPEXTERN_H_INCLUDED): New include blocker.
@@ -9665,8 +9665,8 @@
9665 9665
9666 * dispextern.h (MATRIX_ROW_FIRST_POS): Use row start. 9666 * dispextern.h (MATRIX_ROW_FIRST_POS): Use row start.
9667 9667
9668 * dispnew.c (increment_glyph_row_buffer_positions): Adjust 9668 * dispnew.c (increment_glyph_row_buffer_positions):
9669 start and end positions in rows. 9669 Adjust start and end positions in rows.
9670 (increment_glyph_row_buffer_positions): Stop adjusting at 9670 (increment_glyph_row_buffer_positions): Stop adjusting at
9671 glyphs with positions <= 0. 9671 glyphs with positions <= 0.
9672 9672
@@ -9682,8 +9682,8 @@
9682 9682
96831997-10-21 Gerd Moellmann <gerd@acm.org> 96831997-10-21 Gerd Moellmann <gerd@acm.org>
9684 9684
9685 * dispnew.c (update_window): Add scrolling_window again. It's 9685 * dispnew.c (update_window): Add scrolling_window again.
9686 necessary for scroll_step != 0. 9686 It's necessary for scroll_step != 0.
9687 9687
9688 * xdisp.c (redisplay_window): Use vmotion for scroll_step 9688 * xdisp.c (redisplay_window): Use vmotion for scroll_step
9689 scrolling. 9689 scrolling.
@@ -9745,7 +9745,7 @@
97451997-10-19 Gerd Moellmann <gerd@acm.org> 97451997-10-19 Gerd Moellmann <gerd@acm.org>
9746 9746
9747 * dispnew.c (update_window): Remove unused variable. 9747 * dispnew.c (update_window): Remove unused variable.
9748 (update_window_line): Simplified. 9748 (update_window_line): Simplify.
9749 9749
9750 * xterm.c (x_get_char_font_and_encoding): Handle most common 9750 * xterm.c (x_get_char_font_and_encoding): Handle most common
9751 case at the beginning. 9751 case at the beginning.
@@ -9756,8 +9756,8 @@
9756 9756
9757 * xdisp.c (try_window_id): New implementation. 9757 * xdisp.c (try_window_id): New implementation.
9758 9758
9759 * dispnew.c (increment_glyph_row_buffer_positions): Capture 9759 * dispnew.c (increment_glyph_row_buffer_positions):
9760 rows displaying a line end, only. 9760 Capture rows displaying a line end, only.
9761 9761
97621997-10-18 Gerd Moellmann <gerd@acm.org> 97621997-10-18 Gerd Moellmann <gerd@acm.org>
9763 9763
@@ -9850,8 +9850,8 @@
9850 9850
9851 * term.c: Some hooks with function prototypes. 9851 * term.c: Some hooks with function prototypes.
9852 9852
9853 * xdisp.c (reseat_cursor): Additional argument force_p. Avoid 9853 * xdisp.c (reseat_cursor): Additional argument force_p.
9854 computing face if possible. 9854 Avoid computing face if possible.
9855 9855
9856 * xdisp.c (next_display_element): Use face from glyph from display 9856 * xdisp.c (next_display_element): Use face from glyph from display
9857 table only if != 0. 9857 table only if != 0.
@@ -9883,7 +9883,7 @@
9883 (init_display_info): Subtract vertical border glyph from 9883 (init_display_info): Subtract vertical border glyph from
9884 last_visible_x. 9884 last_visible_x.
9885 9885
9886 * scroll.c (scrolling_window_1): Removed. 9886 * scroll.c (scrolling_window_1): Remove.
9887 9887
9888 * dispnew.c (adjust_frame_glyphs): Split into two functions, 9888 * dispnew.c (adjust_frame_glyphs): Split into two functions,
9889 based on redisplay method used. 9889 based on redisplay method used.
@@ -9892,7 +9892,7 @@
9892 (adjust_frame_glyphs_for_window_redisplay): Part for purely 9892 (adjust_frame_glyphs_for_window_redisplay): Part for purely
9893 window based redisplay. 9893 window based redisplay.
9894 9894
9895 * frame.h (FRAME_WINDOW_REDISPLAY_P): Changed to not depend 9895 * frame.h (FRAME_WINDOW_REDISPLAY_P): Change to not depend
9896 on data structures. 9896 on data structures.
9897 9897
9898 * dispnew.c (adjust_glyph_matrix): Additional parameter W. 9898 * dispnew.c (adjust_glyph_matrix): Additional parameter W.
@@ -9904,8 +9904,8 @@
9904 * dispextern.h (struct glyph_matrix): window_top_y, 9904 * dispextern.h (struct glyph_matrix): window_top_y,
9905 window_height. 9905 window_height.
9906 9906
9907 * dispnew.c (allocate_matrices_for_window_redisplay): Detect 9907 * dispnew.c (allocate_matrices_for_window_redisplay):
9908 and optimize some common cases of window changes. 9908 Detect and optimize some common cases of window changes.
9909 9909
9910 * emacs.c (main): Remove own profiling code because 0.95 now 9910 * emacs.c (main): Remove own profiling code because 0.95 now
9911 has it in. 9911 has it in.
@@ -9965,9 +9965,9 @@
9965 * xterm.c (x_draw_row_borders): Use FRAME_MODE_LINE_HEIGHT height 9965 * xterm.c (x_draw_row_borders): Use FRAME_MODE_LINE_HEIGHT height
9966 value. 9966 value.
9967 (x_clip_to_row): Use MATRIX_ROW_VISIBLE_HEIGHT. Simplified. 9967 (x_clip_to_row): Use MATRIX_ROW_VISIBLE_HEIGHT. Simplified.
9968 (do_line_dance): Simplified and pixel corrected. 9968 (do_line_dance): Simplify and pixel corrected.
9969 9969
9970 * dispnew.c (scrolling_window): Simplified. 9970 * dispnew.c (scrolling_window): Simplify.
9971 9971
9972 * xterm.c (x_draw_3d_border): Insert rectangle by line width. 9972 * xterm.c (x_draw_3d_border): Insert rectangle by line width.
9973 9973
@@ -10049,15 +10049,15 @@
10049 10049
10050 * xterm.h (WINDOW_COL_PIXEL_X etc.) Removed. 10050 * xterm.h (WINDOW_COL_PIXEL_X etc.) Removed.
10051 10051
10052 * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c. 10052 * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Move to dispnew.c.
10053 10053
10054 * xfns.c (x_contour_region): Use pixel coordinates from window 10054 * xfns.c (x_contour_region): Use pixel coordinates from window
10055 cursor instead of WINDOW_TO_FRAME_H/VPOS. 10055 cursor instead of WINDOW_TO_FRAME_H/VPOS.
10056 10056
10057 * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS): 10057 * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS):
10058 Removed. 10058 Remove.
10059 10059
10060 * dispnew.c (frame_to_window_hpos, frame_to_window_vpos): Removed. 10060 * dispnew.c (frame_to_window_hpos, frame_to_window_vpos): Remove.
10061 10061
10062 * xterm.c (x_y_to_hpos_vpos): Get hpos/vpos from window relative 10062 * xterm.c (x_y_to_hpos_vpos): Get hpos/vpos from window relative
10063 pixel coordinates. 10063 pixel coordinates.
@@ -10541,16 +10541,16 @@
10541 * xfns.c (Fx_create_frame): Don't set PHYS_CURSOR_X to -1. 10541 * xfns.c (Fx_create_frame): Don't set PHYS_CURSOR_X to -1.
10542 I don't believe this is really necessary. 10542 I don't believe this is really necessary.
10543 10543
10544 * dispnew.c (build_frame_matrix_from_leaf_window): Determine 10544 * dispnew.c (build_frame_matrix_from_leaf_window):
10545 border glyph once. 10545 Determine border glyph once.
10546 10546
105471997-07-15 Gerd Moellmann <gerd@acm.org> 105471997-07-15 Gerd Moellmann <gerd@acm.org>
10548 10548
10549 * window.c (mark_window_cursors_off): Mark all cursors in 10549 * window.c (mark_window_cursors_off): Mark all cursors in
10550 window tree off. 10550 window tree off.
10551 10551
10552 * xterm.c (x_display_box_cursor): Window parameter. Use 10552 * xterm.c (x_display_box_cursor): Window parameter.
10553 window matrix. 10553 Use window matrix.
10554 (glyph_to_pixel_pos): Convert matrix pos -> pixels. 10554 (glyph_to_pixel_pos): Convert matrix pos -> pixels.
10555 (pixel_to_glyph_pos): Convert pixel pos -> matrix pos. 10555 (pixel_to_glyph_pos): Convert pixel pos -> matrix pos.
10556 (x_update_cursor): Work on windows. 10556 (x_update_cursor): Work on windows.
@@ -10576,7 +10576,7 @@
10576 10576
10577 * frame.h (struct frame): Cursor information removed. 10577 * frame.h (struct frame): Cursor information removed.
10578 10578
10579 * frame.h (FRAME_SCROLL_BAR_WIDTH): Removed because unused. 10579 * frame.h (FRAME_SCROLL_BAR_WIDTH): Remove because unused.
10580 (FRAME_WINDOW_WIDTH_ARG): Don't add scroll bar width. 10580 (FRAME_WINDOW_WIDTH_ARG): Don't add scroll bar width.
10581 10581
10582 * window.h (WINDOW_LEFT_MARGIN): Remove FRAME_LEFT_SCROLL_BAR. 10582 * window.h (WINDOW_LEFT_MARGIN): Remove FRAME_LEFT_SCROLL_BAR.
@@ -10650,7 +10650,7 @@
10650 * window.h: CURSOR_VPOS/HPOS added. 10650 * window.h: CURSOR_VPOS/HPOS added.
10651 10651
10652 * frame.h (struct frame): CURSOR_X/Y removed. 10652 * frame.h (struct frame): CURSOR_X/Y removed.
10653 (FRAME_CURSOR_X): Removed. 10653 (FRAME_CURSOR_X): Remove.
10654 (FRAME_CURSOR_Y): Ditto. 10654 (FRAME_CURSOR_Y): Ditto.
10655 10655
10656 * dispnew.c (direct_output_for_insert): LAST_POINT_X removed. 10656 * dispnew.c (direct_output_for_insert): LAST_POINT_X removed.
@@ -10687,10 +10687,10 @@
10687 10687
10688 * minibuf.c (read_minibuf): Build frame matrix. 10688 * minibuf.c (read_minibuf): Build frame matrix.
10689 10689
10690 * xdisp.c (this_line_start_hpos): Renamed to 10690 * xdisp.c (this_line_start_hpos): Rename to
10691 THIS_LINE_START_WINDOW_HPOS to make it clear that this is window 10691 THIS_LINE_START_WINDOW_HPOS to make it clear that this is window
10692 relative. 10692 relative.
10693 (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same 10693 (this_line_vpos): Rename to THIS_LINE_WINDOW_VPOS for the same
10694 reason. 10694 reason.
10695 10695
10696 * dispnew.c (build_frame_matrix): Don't clear rows of the 10696 * dispnew.c (build_frame_matrix): Don't clear rows of the
@@ -10717,7 +10717,7 @@
10717 10717
10718 * lisp.h: Prototype for SCAN_BUFFER. 10718 * lisp.h: Prototype for SCAN_BUFFER.
10719 10719
10720 * xdisp.c (redisplay_windows): Simplified. 10720 * xdisp.c (redisplay_windows): Simplify.
10721 10721
10722 * dispnew.c (window_to_frame_vpos): Convert window to frame vpos 10722 * dispnew.c (window_to_frame_vpos): Convert window to frame vpos
10723 with debug checks. 10723 with debug checks.
@@ -10739,8 +10739,8 @@
10739 * xdisp.c (try_window_id): Use CANCEL_WINDOW_LINE. 10739 * xdisp.c (try_window_id): Use CANCEL_WINDOW_LINE.
10740 (redisplay_internal): Ditto. 10740 (redisplay_internal): Ditto.
10741 10741
10742 * dispnew.c (cancel_window_line): Use window matrix. Changed 10742 * dispnew.c (cancel_window_line): Use window matrix.
10743 name to CANCEL_WINDOW_LINE. 10743 Changed name to CANCEL_WINDOW_LINE.
10744 10744
10745 * xdisp.c (try_window_id): Use DISPLAY_TEXT_LINE with window 10745 * xdisp.c (try_window_id): Use DISPLAY_TEXT_LINE with window
10746 relative VPOS. 10746 relative VPOS.
@@ -10790,7 +10790,7 @@
10790 (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of 10790 (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of
10791 top-most windows. 10791 top-most windows.
10792 10792
10793 * window.h (WINDOW_TOPMOST_P): Added. 10793 * window.h (WINDOW_TOPMOST_P): Add.
10794 10794
10795 * xdisp.c (echo_area_display): Use PREPARE_DESIRED_ROW. 10795 * xdisp.c (echo_area_display): Use PREPARE_DESIRED_ROW.
10796 (redisplay_window): Ditto. 10796 (redisplay_window): Ditto.
@@ -10860,25 +10860,25 @@
10860 10860
10861 * dispnew.c (check_matrix_pointer_lossage): Check against 10861 * dispnew.c (check_matrix_pointer_lossage): Check against
10862 pointer lossage in matrices. 10862 pointer lossage in matrices.
10863 (get_glyph_matrix_row): Removed. 10863 (get_glyph_matrix_row): Remove.
10864 10864
10865 * scroll.c (do_scrolling): Simplified. 10865 * scroll.c (do_scrolling): Simplify.
10866 (do_direct_scrolling): Simplified. 10866 (do_direct_scrolling): Simplify.
10867 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to 10867 (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to
10868 DO_.*SCROLLING. 10868 DO_.*SCROLLING.
10869 10869
10870 10870
10871 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix. 10871 * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix.
10872 (rotate_vector): Removed. 10872 (rotate_vector): Remove.
10873 (rotate_pointers): Removed. 10873 (rotate_pointers): Remove.
10874 (scroll_frame_lines): Simplified. 10874 (scroll_frame_lines): Simplify.
10875 10875
108761997-07-03 Gerd Moellmann <gerd@acm.org> 108761997-07-03 Gerd Moellmann <gerd@acm.org>
10877 10877
10878 * dispextern.h (MATRIX_ROW_SWAP_CONTENTS): Removed. 10878 * dispextern.h (MATRIX_ROW_SWAP_CONTENTS): Remove.
10879 10879
10880 * dispnew.c (increment_glyph_matrix_buffer_positions): Does 10880 * dispnew.c (increment_glyph_matrix_buffer_positions):
10881 what the name says. 10881 Does what the name says.
10882 (clear_glyph_row): Make a glyph row structure empty. 10882 (clear_glyph_row): Make a glyph row structure empty.
10883 (make_matrix_row_current): Make a glyph row current. 10883 (make_matrix_row_current): Make a glyph row current.
10884 (make_window_matrix_row_current): Perform analogous row swaps 10884 (make_window_matrix_row_current): Perform analogous row swaps
@@ -10895,11 +10895,11 @@
10895 10895
10896 * All files: Use above new names. 10896 * All files: Use above new names.
10897 10897
10898 * dispnew.c (scroll_frame_lines): Simplified. Use 10898 * dispnew.c (scroll_frame_lines): Simplify.
10899 SCROLL_GLYPH_MATRIX. 10899 Use SCROLL_GLYPH_MATRIX.
10900 (make_glyph_row_empty): Mark a glyph row empty. 10900 (make_glyph_row_empty): Mark a glyph row empty.
10901 (increment_glyph_row_buffer_positions): Increment 10901 (increment_glyph_row_buffer_positions):
10902 buffer positions in a glyph row. 10902 Increment buffer positions in a glyph row.
10903 (increment_glyph_matrix_buffer_positions): Increment buffer 10903 (increment_glyph_matrix_buffer_positions): Increment buffer
10904 positions in a range of rows. 10904 positions in a range of rows.
10905 (scroll_glyph_matrix): Scroll a glyph matrix. 10905 (scroll_glyph_matrix): Scroll a glyph matrix.
@@ -10942,7 +10942,7 @@
10942 (MATRIX_ROW_USED): Ditto. 10942 (MATRIX_ROW_USED): Ditto.
10943 (MATRIX_ROW_SET_USED): Ditto. 10943 (MATRIX_ROW_SET_USED): Ditto.
10944 10944
10945 * dispnew.c (line_hash_code): Simplified. 10945 * dispnew.c (line_hash_code): Simplify.
10946 10946
109471997-06-30 Gerd Moellmann <gerd@acm.org> 109471997-06-30 Gerd Moellmann <gerd@acm.org>
10948 10948
@@ -10966,8 +10966,8 @@
10966 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER, 10966 DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER,
10967 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY, 10967 SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY,
10968 10968
10969 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame. Return 10969 * dispnew.c (redraw_frame): FRAME_PTR -> struct frame.
10970 void. 10970 Return void.
10971 (cancel_line): Return void. 10971 (cancel_line): Return void.
10972 (clear_frame_records): Return void. 10972 (clear_frame_records): Return void.
10973 10973
@@ -11085,13 +11085,13 @@
11085 WRITE_GLYPHS_HOOK, DELETE_GLYPHS_HOOK, 11085 WRITE_GLYPHS_HOOK, DELETE_GLYPHS_HOOK,
11086 11086
11087 * xdisp.c (redisplay_internal): Remove call to VERIFY_CHARSTARTS. 11087 * xdisp.c (redisplay_internal): Remove call to VERIFY_CHARSTARTS.
11088 (do_verify_charstarts): Removed. 11088 (do_verify_charstarts): Remove.
11089 11089
11090 * frame.c (Fmake_terminal_frame): Adjust glyphs. 11090 * frame.c (Fmake_terminal_frame): Adjust glyphs.
11091 (Fdelete_frame): Free glyphs. 11091 (Fdelete_frame): Free glyphs.
11092 (make_frame): Initialize matrix fields in frame. 11092 (make_frame): Initialize matrix fields in frame.
11093 11093
11094 * config.in (PROTO): Added. 11094 * config.in (PROTO): Add.
11095 11095
11096 * emacs.c (shut_down_emacs): Check glyph memory. 11096 * emacs.c (shut_down_emacs): Check glyph memory.
11097 11097
@@ -11261,7 +11261,7 @@
11261 11261
11262 * emacs.c [DOUG_LEA_MALLOC] (malloc_initialize_hook): 11262 * emacs.c [DOUG_LEA_MALLOC] (malloc_initialize_hook):
11263 Move the handling of MALLOC_CHECK_ envvar here. 11263 Move the handling of MALLOC_CHECK_ envvar here.
11264 (main): Moved from here. 11264 (main): Move from here.
11265 11265
112661999-06-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> 112661999-06-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
11267 11267
@@ -11414,8 +11414,8 @@
11414 11414
11415 * w32console.c (clear_frame): Remember that the window width might 11415 * w32console.c (clear_frame): Remember that the window width might
11416 be smaller than the screen buffer width. 11416 be smaller than the screen buffer width.
11417 (write_glyphs): Remove redundant variable attrs. Use 11417 (write_glyphs): Remove redundant variable attrs.
11418 FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute. 11418 Use FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute.
11419 11419
114201999-05-20 Andrew Innes <andrewi@gnu.org> 114201999-05-20 Andrew Innes <andrewi@gnu.org>
11421 11421
@@ -11423,8 +11423,8 @@
11423 loses focus. 11423 loses focus.
11424 11424
11425 * w32fns.c (w32_wnd_proc): Ensure mouse capture is released if 11425 * w32fns.c (w32_wnd_proc): Ensure mouse capture is released if
11426 frame loses focus, and that mouse button state is reset. Ditto 11426 frame loses focus, and that mouse button state is reset.
11427 when the menu bar is activated. 11427 Ditto when the menu bar is activated.
11428 11428
114291999-05-18 Richard Stallman <rms@gnu.org> 114291999-05-18 Richard Stallman <rms@gnu.org>
11430 11430
@@ -11599,7 +11599,7 @@
11599 (w32_clear_frame, clear_cursor, x_display_bar_cursor) 11599 (w32_clear_frame, clear_cursor, x_display_bar_cursor)
11600 (x_display_box_cursor, x_set_window_size): Use phys_cursor_on 11600 (x_display_box_cursor, x_set_window_size): Use phys_cursor_on
11601 field in frame. 11601 field in frame.
11602 (do_line_dance): Updated WRT xterm.c. Use macros where possible. 11602 (do_line_dance): Update WRT xterm.c. Use macros where possible.
11603 (dumprectangle): Take into account the width of a left-side 11603 (dumprectangle): Take into account the width of a left-side
11604 scroll bar. 11604 scroll bar.
11605 11605
@@ -11617,8 +11617,8 @@
11617 11617
116181999-05-02 Kenichi HANDA <handa@etl.go.jp> 116181999-05-02 Kenichi HANDA <handa@etl.go.jp>
11619 11619
11620 * coding.c (setup_raw_text_coding_system): Call 11620 * coding.c (setup_raw_text_coding_system):
11621 setup_coding_system to initialize the fields of struct 11621 Call setup_coding_system to initialize the fields of struct
11622 coding_system correctly. 11622 coding_system correctly.
11623 11623
116241999-04-26 Kenichi HANDA <handa@etl.go.jp> 116241999-04-26 Kenichi HANDA <handa@etl.go.jp>
@@ -11773,11 +11773,11 @@
117731999-03-25 Andrew Innes <andrewi@gnu.org> 117731999-03-25 Andrew Innes <andrewi@gnu.org>
11774 11774
11775 * makefile.nt (PREPARED_HEADERS): Change name of paths.h to epaths.h. 11775 * makefile.nt (PREPARED_HEADERS): Change name of paths.h to epaths.h.
11776 (epaths.h): Renamed from paths.h. 11776 (epaths.h): Rename from paths.h.
11777 (clean): 11777 (clean):
11778 ($(BLD)\filelock.obj): 11778 ($(BLD)\filelock.obj):
11779 ($(BLD)\lread.obj): 11779 ($(BLD)\lread.obj):
11780 ($(BLD)\w32fns.obj): Renamed paths.h to epaths.h. 11780 ($(BLD)\w32fns.obj): Rename paths.h to epaths.h.
11781 11781
117821999-03-23 Ken'ichi Handa <handa@gnu.org> 117821999-03-23 Ken'ichi Handa <handa@gnu.org>
11783 11783
@@ -11791,8 +11791,8 @@
11791 11791
117921999-03-20 Kenichi HANDA <handa@etl.go.jp> 117921999-03-20 Kenichi HANDA <handa@etl.go.jp>
11793 11793
11794 * coding.c (ENCODE_ISO_CHARACTER): Check validity of CHARSET. If 11794 * coding.c (ENCODE_ISO_CHARACTER): Check validity of CHARSET.
11795 invalid, produce the buffer internal byte sequence without encoding. 11795 If invalid, produce the buffer internal byte sequence without encoding.
11796 11796
117971999-03-19 Karl Heuer <kwzh@gnu.org> 117971999-03-19 Karl Heuer <kwzh@gnu.org>
11798 11798
@@ -11965,8 +11965,8 @@
119651999-02-24 Kenichi Handa <handa@etl.go.jp> 119651999-02-24 Kenichi Handa <handa@etl.go.jp>
11966 11966
11967 * keymap.c (push_key_description): If enable-multibyte-characters 11967 * keymap.c (push_key_description): If enable-multibyte-characters
11968 is non-nil, try to convert unibyte character to multibyte. For 11968 is non-nil, try to convert unibyte character to multibyte.
11969 invalid multibyte character, show all bits by octal form. 11969 For invalid multibyte character, show all bits by octal form.
11970 (Fsingle_key_description): Check the validity of charset for a 11970 (Fsingle_key_description): Check the validity of charset for a
11971 generic character. 11971 generic character.
11972 11972
@@ -12083,8 +12083,8 @@
12083 12083
120841999-02-15 Kenichi Handa <handa@etl.go.jp> 120841999-02-15 Kenichi Handa <handa@etl.go.jp>
12085 12085
12086 * coding.c (Fdecode_sjis_char, Fencode_sjis_char): Handle 12086 * coding.c (Fdecode_sjis_char, Fencode_sjis_char):
12087 ASCII correctly. Signal error on invalid characters. 12087 Handle ASCII correctly. Signal error on invalid characters.
12088 (Fdecode_big5_char, Fencode_big5_char): Likewise. 12088 (Fdecode_big5_char, Fencode_big5_char): Likewise.
12089 12089
120901999-02-15 Eli Zaretskii <eliz@gnu.org> 120901999-02-15 Eli Zaretskii <eliz@gnu.org>
@@ -12146,8 +12146,8 @@
12146 12146
121471999-02-04 Eli Zaretskii <eliz@gnu.org> 121471999-02-04 Eli Zaretskii <eliz@gnu.org>
12148 12148
12149 * w16select.c (last_clipboard_text, clipboard_storage_size): New 12149 * w16select.c (last_clipboard_text, clipboard_storage_size):
12150 static variables. 12150 New static variables.
12151 (set_clipboard_data): Save a copy of the text we put into 12151 (set_clipboard_data): Save a copy of the text we put into
12152 clipboard in last_clipboard_text. 12152 clipboard in last_clipboard_text.
12153 (get_clipboard_data): If the clipboard text is identical to what 12153 (get_clipboard_data): If the clipboard text is identical to what
@@ -12305,8 +12305,8 @@
12305 (x_destroy_bitmap): Returns void not int. 12305 (x_destroy_bitmap): Returns void not int.
12306 (x_set_border_pixel): Returns void. 12306 (x_set_border_pixel): Returns void.
12307 (w32_load_bdf_font): New function. 12307 (w32_load_bdf_font): New function.
12308 (w32_load_system_font): New function, was w32_load_font. List 12308 (w32_load_system_font): New function, was w32_load_font.
12309 fonts before loading. Explicitly set encoding for SJIS fonts. 12309 List fonts before loading. Explicitly set encoding for SJIS fonts.
12310 Set default_ascent to 0 as comment indicates. 12310 Set default_ascent to 0 as comment indicates.
12311 (w32_load_font): Call w32_load_system_font and w32_load_bdf_font. 12311 (w32_load_font): Call w32_load_system_font and w32_load_bdf_font.
12312 (w32_unload_font): Support BDF fonts. 12312 (w32_unload_font): Support BDF fonts.
@@ -12350,7 +12350,7 @@
12350 w32_codepage_for_charset. Add cast to int where float 12350 w32_codepage_for_charset. Add cast to int where float
12351 operation is assigned to int. 12351 operation is assigned to int.
12352 (Vw32_charset_to_codepage_alist): New variable. 12352 (Vw32_charset_to_codepage_alist): New variable.
12353 (w32_codepage_for_charset): Removed. 12353 (w32_codepage_for_charset): Remove.
12354 (w32_codepage_for_font): New function, replacing 12354 (w32_codepage_for_font): New function, replacing
12355 w32_codepage_for_charset. 12355 w32_codepage_for_charset.
12356 (syms_of_w32term): Add and initialize 12356 (syms_of_w32term): Add and initialize
@@ -12369,7 +12369,7 @@
12369 12369
12370 * w32heap.h (ROUND_UP): 12370 * w32heap.h (ROUND_UP):
12371 (ROUND_DOWN): New macros. 12371 (ROUND_DOWN): New macros.
12372 (need_to_recreate_heap): Renamed to using_dynamic_heap. 12372 (need_to_recreate_heap): Rename to using_dynamic_heap.
12373 (init_heap): New extern. 12373 (init_heap): New extern.
12374 (data_region_size): 12374 (data_region_size):
12375 (recreate_heap): 12375 (recreate_heap):
@@ -12384,11 +12384,11 @@
12384 (round_to_next): Obsolete function removed. 12384 (round_to_next): Obsolete function removed.
12385 (preload_heap_section): New variable. 12385 (preload_heap_section): New variable.
12386 (data_region_size): Obsolete variable removed. 12386 (data_region_size): Obsolete variable removed.
12387 (allocate_heap): Modified to determine end of static heap section 12387 (allocate_heap): Modify to determine end of static heap section
12388 used during preload, and use that as initial base address for 12388 used during preload, and use that as initial base address for
12389 dynamic heap instead of hard-coded value. 12389 dynamic heap instead of hard-coded value.
12390 (sbrk): Remove call to allocate_heap; handled by init_heap. Skip 12390 (sbrk): Remove call to allocate_heap; handled by init_heap.
12391 calls to commit or decommit pages when allocating from static heap 12391 Skip calls to commit or decommit pages when allocating from static heap
12392 section during preload. 12392 section during preload.
12393 (recreate_heap): Obsolete function removed. 12393 (recreate_heap): Obsolete function removed.
12394 (init_heap): New function to initialize internal sbrk heap 12394 (init_heap): New function to initialize internal sbrk heap
@@ -12399,10 +12399,10 @@
12399 * unexw32.c: Major rewrite to support cleaner method of dumping; a 12399 * unexw32.c: Major rewrite to support cleaner method of dumping; a
12400 static "bss" section is used for heap space during preload, and 12400 static "bss" section is used for heap space during preload, and
12401 bss data is now written to the proper section area when dumping. 12401 bss data is now written to the proper section area when dumping.
12402 (need_to_recreate_heap): Renamed to using_dynamic_heap. 12402 (need_to_recreate_heap): Rename to using_dynamic_heap.
12403 (heap_index_in_executable): Obsolete variable removed. 12403 (heap_index_in_executable): Obsolete variable removed.
12404 (data_section): New variable. 12404 (data_section): New variable.
12405 (data_start_va): Renamed to data_start. 12405 (data_start_va): Rename to data_start.
12406 (data_start_file): Obsolete variable removed. 12406 (data_start_file): Obsolete variable removed.
12407 (bss_section): 12407 (bss_section):
12408 (extra_bss_size): 12408 (extra_bss_size):
@@ -12432,8 +12432,8 @@
12432 sections where data will be dumped. Allows for static and global 12432 sections where data will be dumped. Allows for static and global
12433 bss data to be in separate ranges. No longer relies on knowledge 12433 bss data to be in separate ranges. No longer relies on knowledge
12434 of section names. 12434 of section names.
12435 (copy_executable_and_dump_data_section): Renamed 12435 (copy_executable_and_dump_data_section):
12436 copy_executable_and_dump_data. Completely rewritten to copy 12436 Rename copy_executable_and_dump_data. Completely rewritten to copy
12437 executable section by section, so that raw data areas can be 12437 executable section by section, so that raw data areas can be
12438 expanded to hold dumped data as necessary. Allows for bss data to 12438 expanded to hold dumped data as necessary. Allows for bss data to
12439 be in same section as initialized data. Reduces size of static 12439 be in same section as initialized data. Reduces size of static
@@ -12511,8 +12511,8 @@
12511 Return zero in case of success, 1 or 2 otherwise. 12511 Return zero in case of success, 1 or 2 otherwise.
12512 (get_clipboard_data): Only bail out if the null character is in 12512 (get_clipboard_data): Only bail out if the null character is in
12513 the last 32-byte chunk of clipboard data. 12513 the last 32-byte chunk of clipboard data.
12514 (Fw16_set_clipboard_data): Make ok and put_status be unsigned. If 12514 (Fw16_set_clipboard_data): Make ok and put_status be unsigned.
12515 they save binary data, print a message in the echo area saying the 12515 If they save binary data, print a message in the echo area saying the
12516 text was not put into the clipboard. 12516 text was not put into the clipboard.
12517 12517
12518 * msdos.c (IT_write_glyphs): Move constant expression out of the loop. 12518 * msdos.c (IT_write_glyphs): Move constant expression out of the loop.
@@ -12688,8 +12688,8 @@
12688 based on VEC. 12688 based on VEC.
12689 12689
12690 * charset.c (Qunknown): New variable. 12690 * charset.c (Qunknown): New variable.
12691 (init_charset_once): Intern and staticpro Qunknown. Initialize 12691 (init_charset_once): Intern and staticpro Qunknown.
12692 all elements of Vcharset_symbol_table to Qunknown. 12692 Initialize all elements of Vcharset_symbol_table to Qunknown.
12693 (find_charset_in_str): New arg MULTIBYTE. If it is zero, check 12693 (find_charset_in_str): New arg MULTIBYTE. If it is zero, check
12694 unibyte characters only. For an invalid composition sequence, set 12694 unibyte characters only. For an invalid composition sequence, set
12695 CHARSETS[1] to 1. 12695 CHARSETS[1] to 1.
@@ -12997,8 +12997,8 @@
12997 (RIGHT_WIN_PRESSED): 12997 (RIGHT_WIN_PRESSED):
12998 (APPS_PRESSED): New console keyboard modifier flags. 12998 (APPS_PRESSED): New console keyboard modifier flags.
12999 12999
13000 * w32term.c (convert_to_key_event): Removed. 13000 * w32term.c (convert_to_key_event): Remove.
13001 (is_dead_key): Copied to w32fns.c. 13001 (is_dead_key): Copy to w32fns.c.
13002 (w32_read_socket): Generate language_change_event. Modify to work 13002 (w32_read_socket): Generate language_change_event. Modify to work
13003 with keyboard handling changes in w32_wnd_proc. 13003 with keyboard handling changes in w32_wnd_proc.
13004 13004
@@ -13037,10 +13037,10 @@
13037 code. 13037 code.
13038 (is_dead_key): Copy from w32fns.c. 13038 (is_dead_key): Copy from w32fns.c.
13039 (w32_kbd_patch_key): Comment attempt to improve handling of 13039 (w32_kbd_patch_key): Comment attempt to improve handling of
13040 dead-keys, and system bug relating to same on Windows NT. Work 13040 dead-keys, and system bug relating to same on Windows NT.
13041 around the bug by calling ToUnicode and then converting to the 13041 Work around the bug by calling ToUnicode and then converting to the
13042 correct codepage. 13042 correct codepage.
13043 (map_virt_key): Removed obsolete variable. 13043 (map_virt_key): Remove obsolete variable.
13044 (lispy_function_keys): Add extern. 13044 (lispy_function_keys): Add extern.
13045 (key_event): Major rework of keyboard input handling: optionally 13045 (key_event): Major rework of keyboard input handling: optionally
13046 recognize Windows keys and Apps key as modifiers; optionally treat 13046 recognize Windows keys and Apps key as modifiers; optionally treat
@@ -13066,7 +13066,7 @@
13066 for given key. 13066 for given key.
13067 (w32_get_modifiers): Returns modifier flags for 13067 (w32_get_modifiers): Returns modifier flags for
13068 non-keyboard input events. 13068 non-keyboard input events.
13069 (construct_console_modifiers): Renamed from construct_modifiers; 13069 (construct_console_modifiers): Rename from construct_modifiers;
13070 recognize Windows and Apps keys as modifiers. 13070 recognize Windows and Apps keys as modifiers.
13071 (w32_get_key_modifiers): New function. Returns modifier flags for 13071 (w32_get_key_modifiers): New function. Returns modifier flags for
13072 keyboard input events. 13072 keyboard input events.
@@ -13098,12 +13098,12 @@
13098 13098
130991998-11-10 Kenichi Handa <handa@etl.go.jp> 130991998-11-10 Kenichi Handa <handa@etl.go.jp>
13100 13100
13101 * category.h (CATEGORY_SET): Adjusted for the change of 13101 * category.h (CATEGORY_SET): Adjust for the change of
13102 cmpchar_component. 13102 cmpchar_component.
13103 (CATEGORY_SET): Likewise. 13103 (CATEGORY_SET): Likewise.
13104 13104
13105 * charset.c (cmpchar_component): New arg NOERROR. Check 13105 * charset.c (cmpchar_component): New arg NOERROR.
13106 composition char ID more strictly. 13106 Check composition char ID more strictly.
13107 (Fcmpchar_component): Call cmpchar_component with NOERROR arg zero. 13107 (Fcmpchar_component): Call cmpchar_component with NOERROR arg zero.
13108 (Fcmpchar_cmp_rule): If CHARACTER should be composed relatively, 13108 (Fcmpchar_cmp_rule): If CHARACTER should be composed relatively,
13109 return 255. 13109 return 255.
@@ -13303,8 +13303,8 @@
13303 (insert_from_buffer_1): Likewise. 13303 (insert_from_buffer_1): Likewise.
13304 (adjust_after_replace): Inhibit bytes combined across region 13304 (adjust_after_replace): Inhibit bytes combined across region
13305 boundary. Update end_unchanged correctly. 13305 boundary. Update end_unchanged correctly.
13306 (replace_range): Call CHECK_BYTE_COMBINING_FOR_INSERT. Update 13306 (replace_range): Call CHECK_BYTE_COMBINING_FOR_INSERT.
13307 end_unchanged correctly. 13307 Update end_unchanged correctly.
13308 (del_range_2): Inhibit bytes combined across region boundary. 13308 (del_range_2): Inhibit bytes combined across region boundary.
13309 Update end_unchanged correctly. 13309 Update end_unchanged correctly.
13310 13310
@@ -13333,8 +13333,8 @@
13333 13333
133341998-10-27 Dave Love <fx@gnu.org> 133341998-10-27 Dave Love <fx@gnu.org>
13335 13335
13336 * fns.c (Fbase64_decode_region, Fbase64_encode_region): Fix 13336 * fns.c (Fbase64_decode_region, Fbase64_encode_region):
13337 newline in doc string. 13337 Fix newline in doc string.
13338 13338
133391998-10-27 Kenichi Handa <handa@etl.go.jp> 133391998-10-27 Kenichi Handa <handa@etl.go.jp>
13340 13340
@@ -13415,28 +13415,28 @@
13415 * w32fns.c (Vx_pixel_size_width): New global variable. 13415 * w32fns.c (Vx_pixel_size_width): New global variable.
13416 (unibyte_display_via_language_environment): New global variable. 13416 (unibyte_display_via_language_environment): New global variable.
13417 (x_set_font): Add support for setting fontsets. 13417 (x_set_font): Add support for setting fontsets.
13418 (Fx_create_frame): Add check_w32(). Initialize fontsets. Fix 13418 (Fx_create_frame): Add check_w32(). Initialize fontsets.
13419 font names to match xlfd-tight-regexp. 13419 Fix font names to match xlfd-tight-regexp.
13420 (w32_load_font): Rewrite based on x_load_font. 13420 (w32_load_font): Rewrite based on x_load_font.
13421 (x_to_w32_charset, w32_to_x_charset): Add character sets. Use 13421 (x_to_w32_charset, w32_to_x_charset): Add character sets.
13422 `iso8859-1' rather than `ansi'. 13422 Use `iso8859-1' rather than `ansi'.
13423 (w32_to_x_font): Remove `-' from font name. Remove the `-' off the 13423 (w32_to_x_font): Remove `-' from font name. Remove the `-' off the
13424 end. Move charset into `charset registry' field. 13424 end. Move charset into `charset registry' field.
13425 (enum_font_cb2): Check charsets match. Include width in font list. 13425 (enum_font_cb2): Check charsets match. Include width in font list.
13426 (w32_list_fonts): Rewrite based on x_list_fonts. 13426 (w32_list_fonts): Rewrite based on x_list_fonts.
13427 Moved from w32term.c to have access to enumfont_t struct. 13427 Moved from w32term.c to have access to enumfont_t struct.
13428 (Fx_list_fonts): w32 specific version eliminated. Include 13428 (Fx_list_fonts): w32 specific version eliminated.
13429 `x-list-fonts.c'. 13429 Include `x-list-fonts.c'.
13430 (w32_get_font_info, w32_query_font, w32_find_ccl_program): New 13430 (w32_get_font_info, w32_query_font, w32_find_ccl_program):
13431 functions for fontset support - adapted from x_ equivalents. 13431 New functions for fontset support - adapted from x_ equivalents.
13432 (syms_of_w32fns): New lisp variables initialized. Function 13432 (syms_of_w32fns): New lisp variables initialized.
13433 pointers for fontset.c set up. 13433 Function pointers for fontset.c set up.
13434 13434
13435 * w32term.c: Include fontset.h. Define codepage macros. 13435 * w32term.c: Include fontset.h. Define codepage macros.
13436 Add ENCODE_BIG5 macro from coding.c. 13436 Add ENCODE_BIG5 macro from coding.c.
13437 (w32_no_unicode_output): New variable. 13437 (w32_no_unicode_output): New variable.
13438 (w32_codepage_for_charset, w32_use_unicode_for_codepage): New 13438 (w32_codepage_for_charset, w32_use_unicode_for_codepage):
13439 functions. 13439 New functions.
13440 (BUILD_WCHAR_T, BYTE1, BYTE2): New macros. 13440 (BUILD_WCHAR_T, BYTE1, BYTE2): New macros.
13441 (dumpglyphs): Rewrite based on xterm.c equivalent. 13441 (dumpglyphs): Rewrite based on xterm.c equivalent.
13442 (x_new_font): Use functionality provided in fontset.c. 13442 (x_new_font): Use functionality provided in fontset.c.
@@ -13552,8 +13552,8 @@
13552 13552
13553 * lisp.h (clear_string_char_byte_cache): Extern it. 13553 * lisp.h (clear_string_char_byte_cache): Extern it.
13554 13554
13555 * xselect.c (lisp_data_to_selection_data): Call 13555 * xselect.c (lisp_data_to_selection_data):
13556 find_charset_in_str with CMPCHARP arg 0. 13556 Call find_charset_in_str with CMPCHARP arg 0.
13557 * w16select.c (Fw16_set_clipboard_data): Likewise. 13557 * w16select.c (Fw16_set_clipboard_data): Likewise.
13558 * w32select.c (Fw32_set_clipboard_data): Likewise. 13558 * w32select.c (Fw32_set_clipboard_data): Likewise.
13559 13559
@@ -13623,7 +13623,7 @@
13623 13623
13624 * coding.c (check_composing_code): Fix previous change. Now it 13624 * coding.c (check_composing_code): Fix previous change. Now it
13625 always returns 0 or -1. 13625 always returns 0 or -1.
13626 (decode_coding_iso2022): Adjusted for the above change. 13626 (decode_coding_iso2022): Adjust for the above change.
13627 (encode_coding_iso2022): When encoding the last block, flush out 13627 (encode_coding_iso2022): When encoding the last block, flush out
13628 tailing garbage bytes. 13628 tailing garbage bytes.
13629 (setup_coding_system): Delete unnecessary code. 13629 (setup_coding_system): Delete unnecessary code.
@@ -13700,8 +13700,8 @@
13700 13700
13701 * ccl.c (CCL_WRITE_CHAR): Don't use bcopy. 13701 * ccl.c (CCL_WRITE_CHAR): Don't use bcopy.
13702 (ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0, 13702 (ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0,
13703 cause error if the program is going to output some bytes. When 13703 cause error if the program is going to output some bytes.
13704 outputting a string to notify an error, check the case that 13704 When outputting a string to notify an error, check the case that
13705 DST_BYTES is zero. 13705 DST_BYTES is zero.
13706 13706
13707 * coding.h (CODING_FINISH_INTERRUPT): New macro. 13707 * coding.h (CODING_FINISH_INTERRUPT): New macro.
@@ -13838,8 +13838,8 @@
13838 * w16select.c (Vnext_selection_coding_system): New variable. 13838 * w16select.c (Vnext_selection_coding_system): New variable.
13839 (syms_of_win16select): DEFVAR_LISP it. No need to staticpro 13839 (syms_of_win16select): DEFVAR_LISP it. No need to staticpro
13840 Vselection_coding_system. 13840 Vselection_coding_system.
13841 (Fw16_set_clipboard_data): Always convert multibyte strings. Use 13841 (Fw16_set_clipboard_data): Always convert multibyte strings.
13842 Vnext_selection_coding_system if non-nil. 13842 Use Vnext_selection_coding_system if non-nil.
13843 (Fw16_get_clipboard_data): Always convert a string that includes 13843 (Fw16_get_clipboard_data): Always convert a string that includes
13844 non-ASCII characters. Use Vnext_selection_coding_system if 13844 non-ASCII characters. Use Vnext_selection_coding_system if
13845 non-nil. 13845 non-nil.
@@ -13911,8 +13911,8 @@
139111998-08-28 Kenichi Handa <handa@etl.go.jp> 139111998-08-28 Kenichi Handa <handa@etl.go.jp>
13912 13912
13913 * insdel.c (adjust_after_replace): Fix the code to record undo 13913 * insdel.c (adjust_after_replace): Fix the code to record undo
13914 information for the case that `before combining' happens. Remove 13914 information for the case that `before combining' happens.
13915 text properties which are added to the new text by 13915 Remove text properties which are added to the new text by
13916 offset_intervals. 13916 offset_intervals.
13917 13917
13918 * coding.c (code_convert_region1): Remove all text properties of 13918 * coding.c (code_convert_region1): Remove all text properties of