1. 17 Jun, 1993 1 commit
  2. 16 Jun, 1993 1 commit
  3. 14 Jun, 1993 1 commit
  4. 12 Jun, 1993 1 commit
  5. 11 Jun, 1993 1 commit
  6. 09 Jun, 1993 1 commit
  7. 06 Jun, 1993 1 commit
  8. 29 May, 1993 2 commits
  9. 27 May, 1993 1 commit
  10. 22 May, 1993 1 commit
  11. 20 May, 1993 1 commit
  12. 19 May, 1993 2 commits
  13. 18 May, 1993 1 commit
  14. 17 May, 1993 1 commit
    • Richard M. Stallman's avatar
      (mark_window_display_accurate): Set region_showing fields. · bd66d1ba
      Richard M. Stallman authored
      (redisplay_window): Update region_showing field.
      (display_text_line): Set region_showing to t if will show one.
      (mark_window_display_accurate): Set region_showing fields.
      (redisplay_window): Update region_showing field.
      (display_text_line): Set region_showing to t if will show one.
      (redisplay, redisplay_window): Don't use the cursor-motion
      special-case code if the region is or was highlighted.
      (display_text_line): Pass those args,
      describing the region if the mark is transient and active.
      (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
  15. 13 May, 1993 2 commits
  16. 11 May, 1993 1 commit
    • Jim Blandy's avatar
      * xdisp.c (display_text_line): Make face-handling code conditional · 9dbd4b48
      Jim Blandy authored
      	on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
      	but it'll do for now.
      	* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
      	macro here; that's x-specific.  Just don't pass the second
      	* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
      	use F's default face.
  17. 10 May, 1993 1 commit
    • Jim Blandy's avatar
      Arrange to tell redisplay about changes in overlays. · 31b24551
      Jim Blandy authored
      	* xdisp.c (redisplay_region): New function.
      	* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
      	overlay has enclosed or left.
      	(Fdelete_overlay): Call redisplay_region on the area the overlay
      	used to occupy.
      	(Foverlay_put): Call redisplay_region on the area the overlay now
      	occupies; we may have put a face property on it.
      	* xdisp.c (redisplay): If we're doing a thorough redisplay (all
      	windows on all frames involved), go ahead and flush the GC cache -
      	call clear_face_vector.
      	* xdisp.c (display_text_line): Apply faces to characters
      	according to overlays and text properties; use
      	compute_char_face and compute_glyph_face to figure out what
      	face to use, and where a new face starts.
      	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
      	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
      	we're implementing the glyph table properly.  If we're not using
      	the default or mode line face, call intern_face to find a display
      	face for the frame face selected by the glyph code.  Implement
      	underlining.  Remove the `font' argument; we have to derive this
      	from the frame and face anyway.  Change all callers.
      	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
  18. 13 Apr, 1993 1 commit
  19. 23 Mar, 1993 1 commit
  20. 21 Mar, 1993 1 commit
  21. 18 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * frame.h (FOR_EACH_FRAME): Change the definition so that · 35f56f96
      Jim Blandy authored
      	FRAME_VAR is a lisp object.
      	* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
      	Adjusted appropriately.
      	* xdisp.c (redisplay): Adjusted appropriately.
      	* dispnew.c (Fredraw_frame): Give this appropriate definitions for
      	MULTI_FRAME and non-MULTI_FRAME configurations.
      	(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
  22. 15 Mar, 1993 1 commit
  23. 12 Mar, 1993 1 commit
  24. 08 Mar, 1993 1 commit
  25. 02 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * xdisp.c (redisplay): Protect calls to request_sigio and · 88f22aff
      Jim Blandy authored
      	unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined
      	Use the term `scroll bar', instead of `scrollbar'.
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
  26. 14 Feb, 1993 1 commit
  27. 14 Jan, 1993 1 commit
    • Jim Blandy's avatar
      * window.c (window_internal_width): New function, which accounts · b1d1124b
      Jim Blandy authored
      	for scrollbars if present.
      	* lisp.h (window_internal_height, window_internal_width): Add
      	extern declarations for these.
      	* dispnew.c (direct_output_for_insert, direct_output_forward_char,
      	buffer_posn_from_coords): Use window_internal_width instead of
      	writing out its definition.
      	* indent.c (compute_motion): Doc fix; mention scrollbars and
      	(pos_tab_offset, Fvertical_motion): Use window_internal_width
      	instead of writing it out.
      	* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
      	Fscroll_right): Same.
      	* xdisp.c (redisplay, try_window, try_window_id,
      	display_text_line): Same.
      	* xdisp.c (display_string): Add new variable `f', to be W's
      	frame.  Use it to set desired_glyphs, and to get the frame's width
      	to decide whether or not to draw vertical bars.
      	* xdisp.c (display_text_line): If we're using vertical scrollbars,
      	don't draw the vertical bars separating side-by-side windows.
      	(display_string): Same thing.  Draw spaces to fill in the part of
      	the mode line that is under the scrollbar in partial-width
      	* xdisp.c (display_text_line): Use the usable internal width of
      	the window, as calculated above, as the limit on the length of the
      	overlay arrow's image, rather than using the window's width field,
      	less one.
      	* xdisp.c (redisplay): Call condemn_scrollbars_hook and
      	judge_scrollbars_hook whenever they are set, not just when the
      	frame has vertical scrollbars.
      	* termhooks.h (mouse_position_hook): Doc fix.
      	(set_vertical_scrollbar_hook): This doesn't return anything any
      	more, and doesn't take a struct scrollbar * argument any more.
      	(condemn_scrollbars_hook, redeem_scrollbar_hook,
      	judge_scrollbars_hook): Doc fixes.
      	* term.c (mouse_position_hook): Doc fix.
      	(set_vertical_scrollbar_hook): This doesn't return
      	anything any more.  Doc fixes.
      	* keyboard.c (kbd_buffer_get_event): Receive the scrollbar's
      	window from *mouse_position_hook and pass it to
      	make_lispy_movement, instead of working with a pointer to a struct
      	(make_lispy_event): We don't need a window_from_scrollbar function
      	anymore; we are given the window directly in *EVENT.
      	Unify the code which generates
      	text-area mouse clicks and scrollbar clicks; use the same code to
      	distinguish clicks from drags on the scrollbar as in the text area.
      	Distinguish clicks from drags by storing a copy of the lispy
      	position list returned as part of the event.
      	(button_down_location): Make this a lisp vector, rather than an
      	array of random structures.
      	(struct mouse_position): Remove this; it's been replaced by a lisp
      	(make_lispy_movement): Accept the scrollbar's window as a
      	parameter, rather than the scrollbar itself.
      	If FRAME is zero, assume that the other arguments are garbage.
      	(syms_of_keyboard): No need to staticpro each window of
      	button_down_location now; just initialize and staticpro it.
      	* window.c (window_from_scrollbar): Function deleted; no longer
      	* xdisp.c (redisplay_window): Just pass the window to
      	set_vertical_scrollbar hook; don't pass the scrollbar object too.
      	* xterm.c (XTmouse_position): Don't return a pointer to the
      	scrollbar for scrollbar motion; instead, return the scrollbar's
      	* xdisp.c (echo_area_display): Move the assignment of f and the
      	check for visibility out of the "#ifdef MULTI_FRAME" clause; they
      	should work under any circumstances.
      	* xdisp.c (redisplay_window): If we're not going to redisplay this
      	window because it's a minibuffer whose contents have already been
      	updated, go ahead and jump to the scrollbar refreshing code
      	anyway; they still need to be updated.  Initialize opoint, so it's
      	known to be valid when we jump.  Calculate the scrollbar settings
      	properly for minibuffers, no matter what they are displaying at
      	the time.
      	* xdisp.c (redisplay_windows): Don't restore the current buffer
      	and its point before refreshing the scrollbars; we need the buffer
  28. 24 Dec, 1992 1 commit
    • Jim Blandy's avatar
      * xdisp.c: #include "termhooks.h". · 30c566e4
      Jim Blandy authored
      	(redisplay, redisplay_window): Use set_vertical_scrollbar_hook,
      	condemn_scrollbars_hook, redeem_scrollbar_hook, and
      	judge_scrollbars_hook to make scrollbars redisplay properly.
      	It's a pain to remember that you can't assign to FRAME->visible.
      	Let's change all references to the `visible' member of struct
      	frame to use the accessor macros, and then write a setter for the
      	`visible' field that does the right thing.
      	* frame.h (FRAME_VISIBLE_P): Make this not an l-value.
      	(FRAME_SET_VISIBLE): New macro.
      	* frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE.
      	(Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and
      	* dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and
      	FRAME_GARBAGED_P accessors.
      	* xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor.
      	* xfns.c (x_set_foreground_color, x_set_background_color,
      	x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the
      	FRAME_VISIBLE_P accessor.
      	(Fx_create_frame): Use FRAME_SET_VISIBILITY.
      	* xterm.c (clear_cursor, x_display_bar_cursor,
      	x_display_box_cursor): Use FRAME_SET_VISIBILITY.
  29. 06 Dec, 1992 1 commit
    • Jim Blandy's avatar
      * xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the · d724d989
      Jim Blandy authored
      	visible and iconified flags appropriately for each frame.
      	(message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and
      	iconified flags for the minibuffer frame.
      	* xdisp.c (redisplay): Use FOR_EACH_FRAME to apply
      	redisplay_windows to the root window of each frame.  This makes a
      	#ifdef MULTI_FRAME unneeded, but it also means we recompute
      	buffer_shared from scratch even on non-MULTI_FRAME configurations.
      	Don't skip elements of Vframe_list that aren't frames; go ahead
      	and crash here.
      	* xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code
      	which updates separate minibuffer frames specially; there's
      	nothing there that won't work on a single-frame configuration.
  30. 16 Nov, 1992 1 commit
  31. 31 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow · ded34426
      Jim Blandy authored
      	positions, not !=.
      	(mark_window_display_accurate): Barf if WINDOW isn't a window.
      	(display_string): Test buffer_defaults.ctl_arrow using NILP,
      	instead of comparing it with zero.
      	* xdisp.c (last_arrow_position, last_arrow_string): Make these
      	* xdisp.c (message): Re-write this in terms of message1.
      	(message1): Move code to clear out echo_area_glyphs and
      	previous_echo_glyphs from message to here.
  32. 19 Oct, 1992 1 commit
  33. 13 Sep, 1992 1 commit
  34. 19 Aug, 1992 1 commit
  35. 12 Aug, 1992 1 commit
  36. 21 Jul, 1992 2 commits