Mercurial > emacs
comparison src/ChangeLog @ 30235:5a0d447b7eea
check default_face before dereferencing
author | Sam Steingold <sds@gnu.org> |
---|---|
date | Fri, 14 Jul 2000 20:29:04 +0000 |
parents | 1cd3b42b273e |
children | 6d37357647d2 |
comparison
equal
deleted
inserted
replaced
30234:1cd3b42b273e | 30235:5a0d447b7eea |
---|---|
1 2000-07-14 Sam Steingold <sds@gnu.org> | |
2 | |
3 * xfaces.c (realize_x_face): Fix the last patch: | |
4 check `default_face' before dereferencing. | |
5 | |
1 2000-07-14 Dave Love <fx@gnu.org> | 6 2000-07-14 Dave Love <fx@gnu.org> |
2 | 7 |
3 * syntax.c (back_comment): Add null default in switch for pcc. | 8 * syntax.c (back_comment): Add null default in switch for pcc. |
4 | 9 |
5 2000-07-14 Kenichi Handa <handa@etl.go.jp> | 10 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
6 | 11 |
7 * xfaces.c (realize_x_face): Make fontset using the base of the | 12 * xfaces.c (realize_x_face): Make fontset using the base of the |
8 default'face's fontset, not using the default fontset. | 13 default_face's fontset, not using the default fontset. |
9 | 14 |
10 * coding.c (inhibit_iso_escape_detection): New variable. | 15 * coding.c (inhibit_iso_escape_detection): New variable. |
11 (syms_of_coding): Make it a Lisp variable. | 16 (syms_of_coding): Make it a Lisp variable. |
12 (detect_coding_iso2022): If inhibit_iso_escape_detection is | 17 (detect_coding_iso2022): If inhibit_iso_escape_detection is |
13 nonzero, ignore ISO2022's escape sequence. | 18 nonzero, ignore ISO2022's escape sequence. |
27 to get the help to display. | 32 to get the help to display. |
28 (gen_help_event, kbd_buffer_store_help_event): New functions. | 33 (gen_help_event, kbd_buffer_store_help_event): New functions. |
29 (kbd_buffer_get_event): Construct the Lisp help-event differently. | 34 (kbd_buffer_get_event): Construct the Lisp help-event differently. |
30 (read_char): Call show_help_echo with new parameters. | 35 (read_char): Call show_help_echo with new parameters. |
31 | 36 |
32 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): | 37 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
33 Add prototypes. | 38 Add prototypes. |
34 | 39 |
35 * xterm.c (help_echo_object, help_echo_pos): New variables. | 40 * xterm.c (help_echo_object, help_echo_pos): New variables. |
36 (note_mode_line_highlight): Store additional information about the | 41 (note_mode_line_highlight): Store additional information about the |
37 help-echo in help_echo_object and help_echo_pos. Check both | 42 help-echo in help_echo_object and help_echo_pos. Check both |
130 * lisp.h (AREF, ASET, ASIZE): New macros. | 135 * lisp.h (AREF, ASET, ASIZE): New macros. |
131 | 136 |
132 * fontset.c (AREF, ASIZE): Remove definitions. | 137 * fontset.c (AREF, ASIZE): Remove definitions. |
133 | 138 |
134 * fns.c (AREF): Remove definition. | 139 * fns.c (AREF): Remove definition. |
135 | 140 |
136 * composite.c (AREF): Remove definition. | 141 * composite.c (AREF): Remove definition. |
137 | 142 |
138 2000-07-12 Gerd Moellmann <gerd@gnu.org> | 143 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
139 | 144 |
140 * dispnew.c (redraw_overlapped_rows): Add missing local. | 145 * dispnew.c (redraw_overlapped_rows): Add missing local. |
241 * ccl.c (Fccl_execute): Typo fixed. | 246 * ccl.c (Fccl_execute): Typo fixed. |
242 | 247 |
243 2000-07-06 Gerd Moellmann <gerd@gnu.org> | 248 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
244 | 249 |
245 * window.c (window_loop): Add missing gcpro1 local variable. | 250 * window.c (window_loop): Add missing gcpro1 local variable. |
246 | 251 |
247 * window.c (Fwindow_list): Reverse list at the end. | 252 * window.c (Fwindow_list): Reverse list at the end. |
248 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | 253 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil |
249 means allow windows on OWINDOW's frame, only. | 254 means allow windows on OWINDOW's frame, only. |
250 (window_loop): Simplified; use Fwindow_list. | 255 (window_loop): Simplified; use Fwindow_list. |
251 | 256 |
258 | 263 |
259 * eval.c (handling_signal): New variable. | 264 * eval.c (handling_signal): New variable. |
260 (Fsignal): Abort if handling_signal is non-zero. | 265 (Fsignal): Abort if handling_signal is non-zero. |
261 | 266 |
262 * lisp.h (handling_signal): External declaration. | 267 * lisp.h (handling_signal): External declaration. |
263 | 268 |
264 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. | 269 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
265 | 270 |
266 2000-07-05 Ken Raeburn <raeburn@gnu.org> | 271 2000-07-05 Ken Raeburn <raeburn@gnu.org> |
267 | 272 |
268 Sound support for NetBSD through "Linux emulation" support: | 273 Sound support for NetBSD through "Linux emulation" support: |
291 2000-07-05 Dave Love <fx@gnu.org> | 296 2000-07-05 Dave Love <fx@gnu.org> |
292 | 297 |
293 * syswait.h: Use the autoconf recommended approach. Old code | 298 * syswait.h: Use the autoconf recommended approach. Old code |
294 #if'd out in case we need to revert. | 299 #if'd out in case we need to revert. |
295 | 300 |
296 * config.in (HAVE_SYS_WAIT_H): Added. | 301 * config.in (HAVE_SYS_WAIT_H): Added. |
297 | 302 |
298 2000-07-05 Andrew Innes <andrewi@gnu.org> | 303 2000-07-05 Andrew Innes <andrewi@gnu.org> |
299 | 304 |
300 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | 305 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore |
301 when non-NULL instead of __morecore, to take account of buffer | 306 when non-NULL instead of __morecore, to take account of buffer |
331 * keyboard.c (show_help_echo): New function, extracted from read_char. | 336 * keyboard.c (show_help_echo): New function, extracted from read_char. |
332 Feval its `msg' argument if it's a cons cell. | 337 Feval its `msg' argument if it's a cons cell. |
333 (read_char): Use it. | 338 (read_char): Use it. |
334 (follow_key): Pass `autoload' to get_keyelt. | 339 (follow_key): Pass `autoload' to get_keyelt. |
335 | 340 |
336 * xterm.c (note_mode_line_highlight, note_mouse_highlight) | 341 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
337 (note_tool_bar_highlight, XTread_socket): | 342 (note_tool_bar_highlight, XTread_socket): |
338 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) | 343 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) |
339 (dos_rawgetc): | 344 (dos_rawgetc): |
340 * w32term.c (note_mode_line_highlight, note_mouse_highlight) | 345 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
341 (note_tool_bar_highlight, w32_read_socket): | 346 (note_tool_bar_highlight, w32_read_socket): |
342 Do not gratuitously ignore non-string `help-echo' properties. | 347 Do not gratuitously ignore non-string `help-echo' properties. |
343 | 348 |
357 the code in clear_glyph_row that's in #if 0. If the flickering is | 362 the code in clear_glyph_row that's in #if 0. If the flickering is |
358 gone with that, chances are that it is caused by something | 363 gone with that, chances are that it is caused by something |
359 similar. | 364 similar. |
360 | 365 |
361 * dispnew.c (clear_glyph_row): Add debug code in #if 0. | 366 * dispnew.c (clear_glyph_row): Add debug code in #if 0. |
362 | 367 |
363 * dispextern.h: Add some comments. | 368 * dispextern.h: Add some comments. |
364 | 369 |
365 * window.c (add_window_to_list): Add parameter LIST. | 370 * window.c (add_window_to_list): Add parameter LIST. |
366 (window_list): Order list so that, for each frame, windows are | 371 (window_list): Order list so that, for each frame, windows are |
367 in canonical order, and so that frames appear in the list in | 372 in canonical order, and so that frames appear in the list in |
409 | 414 |
410 2000-07-03 Gerd Moellmann <gerd@gnu.org> | 415 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
411 | 416 |
412 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. | 417 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
413 | 418 |
414 * fns.c (sweep_weak_table): Mark only objects that are not | 419 * fns.c (sweep_weak_table): Mark only objects that are not |
415 marked already. | 420 marked already. |
416 | 421 |
417 * frame.c (next_frame, prev_frame): If MINIBUF is a window, | 422 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
418 include those frames as candidates which have their focus | 423 include those frames as candidates which have their focus |
419 redirected to the minibuffer frame. | 424 redirected to the minibuffer frame. |
480 (Fwidget_get): Use it. | 485 (Fwidget_get): Use it. |
481 (syms_of_fns): Defsubr it. | 486 (syms_of_fns): Defsubr it. |
482 | 487 |
483 2000-06-26 Gerd Moellmann <gerd@gnu.org> | 488 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
484 | 489 |
485 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the | 490 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
486 display info for XIM. | 491 display info for XIM. |
487 (xim_open_dpy): Likewise. | 492 (xim_open_dpy): Likewise. |
488 (xim_close_dpy): Don't free the display info's XIM. | 493 (xim_close_dpy): Don't free the display info's XIM. |
489 | 494 |
490 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | 495 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. |
579 2000-06-22 Gerd Moellmann <gerd@gnu.org> | 584 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
580 | 585 |
581 * xrdb.c (x_load_resources): Add default resource for scroll bar's | 586 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
582 trough color and main window's background color. | 587 trough color and main window's background color. |
583 | 588 |
584 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events | 589 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
585 differently. | 590 differently. |
586 | 591 |
587 * xterm.h (Xt_app_con): External declaration. | 592 * xterm.h (Xt_app_con): External declaration. |
588 | 593 |
589 * widget.c (EmacsFrameRealize): Fix typo. | 594 * widget.c (EmacsFrameRealize): Fix typo. |
590 | 595 |
591 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. | 596 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
592 | 597 |
593 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. | 598 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
594 (handle_invisible_prop): Record the start of invisible text in | 599 (handle_invisible_prop): Record the start of invisible text in |
595 it->add_overlay_start. | 600 it->add_overlay_start. |
617 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | 622 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it |
618 is greater than 0. | 623 is greater than 0. |
619 | 624 |
620 2000-06-21 Dave Love <fx@gnu.org> | 625 2000-06-21 Dave Love <fx@gnu.org> |
621 | 626 |
622 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. | 627 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
623 | 628 |
624 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> | 629 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
625 | 630 |
626 * syntax.c (back_comment): Simplify string-parity counting (with | 631 * syntax.c (back_comment): Simplify string-parity counting (with |
627 the added benefit of handling multiple string-styles as long as | 632 the added benefit of handling multiple string-styles as long as |
649 2000-06-20 Dave Love <fx@gnu.org> | 654 2000-06-20 Dave Love <fx@gnu.org> |
650 | 655 |
651 * fns.c (make_hash_table, maybe_resize_hash_table): | 656 * fns.c (make_hash_table, maybe_resize_hash_table): |
652 Cast arg of next_almost_prime. | 657 Cast arg of next_almost_prime. |
653 | 658 |
654 * tparam.c [emacs]: Include lisp.h. | 659 * tparam.c [emacs]: Include lisp.h. |
655 | 660 |
656 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | 661 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h |
657 and unistd.h. | 662 and unistd.h. |
658 | 663 |
659 2000-06-20 Gerd Moellmann <gerd@gnu.org> | 664 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
660 | 665 |
661 * keyboard.c (adjust_point_for_property): Check if display | 666 * keyboard.c (adjust_point_for_property): Check if display |
662 property should be treated as intangible by looking at its | 667 property should be treated as intangible by looking at its |
663 value. | 668 value. |
664 | 669 |
665 * xdisp.c (single_display_prop_intangible_p) | 670 * xdisp.c (single_display_prop_intangible_p) |
666 (display_prop_intangible_p): New functions. | 671 (display_prop_intangible_p): New functions. |
667 | 672 |
668 * dispextern.h (display_prop_intangible_p): Add prototype. | 673 * dispextern.h (display_prop_intangible_p): Add prototype. |
669 | 674 |
670 * xdisp.c (dump_glyph_row): Show type of glyph->object. | 675 * xdisp.c (dump_glyph_row): Show type of glyph->object. |
671 | 676 |
672 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second | 677 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
673 argument to sigprocmask. | 678 argument to sigprocmask. |
674 | 679 |
675 * s/sco5.h (sigblock): Redefined to pass a pointer as second | 680 * s/sco5.h (sigblock): Redefined to pass a pointer as second |
676 argument to sigprocmask. | 681 argument to sigprocmask. |
12483 | 12488 |
12484 * keyboard.c (record_asynch_buffer_change): Return void. | 12489 * keyboard.c (record_asynch_buffer_change): Return void. |
12485 | 12490 |
12486 The first line of the following paragraph was garbled for an | 12491 The first line of the following paragraph was garbled for an |
12487 unknown reason. It couldn't be fully reconstructed. | 12492 unknown reason. It couldn't be fully reconstructed. |
12488 | 12493 |
12489 * xterm.c (XTread_socket, XTset_terminal_window): Ditto. | 12494 * xterm.c (XTread_socket, XTset_terminal_window): Ditto. |
12490 (x_lower_frame): Ditto. | 12495 (x_lower_frame): Ditto. |
12491 (x_scroll_bar_clear): Ditto. | 12496 (x_scroll_bar_clear): Ditto. |
12492 (XTflash): Add default case in switch for -Wall. | 12497 (XTflash): Add default case in switch for -Wall. |
12493 (construct_mouse_click): Return Qnil. | 12498 (construct_mouse_click): Return Qnil. |
13771 (display_string): Pass a Lisp string to reseat_iterator_to_string. | 13776 (display_string): Pass a Lisp string to reseat_iterator_to_string. |
13772 (compute_face_at_iterator_overlay_string_position): Compute face | 13777 (compute_face_at_iterator_overlay_string_position): Compute face |
13773 based on text properties for an overlay string. | 13778 based on text properties for an overlay string. |
13774 (next_element_from_overlay_string): Check invisible and face text | 13779 (next_element_from_overlay_string): Check invisible and face text |
13775 properties. | 13780 properties. |
13776 | 13781 |
13777 (set_iterator_to_next_overlay_string): Restore face id before | 13782 (set_iterator_to_next_overlay_string): Restore face id before |
13778 overlay strings when no more overlay strings are found to return. | 13783 overlay strings when no more overlay strings are found to return. |
13779 Initialize next_ovstr_.*check_pos for each new overlay string | 13784 Initialize next_ovstr_.*check_pos for each new overlay string |
13780 | 13785 |
13781 A line in the following paragraph was garbled for an unknown | 13786 A line in the following paragraph was garbled for an unknown |
13782 reason. It couldn't be fully reconstructed. | 13787 reason. It couldn't be fully reconstructed. |
13783 | 13788 |
13784 (compute_base_face): Made public. | 13789 (compute_base_face): Made public. |
13785 (merge_face_list): Ditto. | 13790 (merge_face_list): Ditto. |
13786 (intern_computed_face): Ditto. | 13791 (intern_computed_face): Ditto. |
13787 | 13792 |
13788 * xdisp.c (redisplay_window): Cursor movement in unchanged | 13793 * xdisp.c (redisplay_window): Cursor movement in unchanged |