1. 10 May, 1993 13 commits
    • Jim Blandy's avatar
      * xfns.c (x_make_gc): After building the GC's for the frame, call · 9c7bb45f
      Jim Blandy authored
      	init_frame_faces to set up the first two faces.
      	* xfaces.c (init_frame_faces): Don't just try to copy the default
      	and mode line faces from some other random frame; instead, consult
      	the normal_gc and reverse_gc members of the frame, and build the
      	faces based on their parameters.
      9c7bb45f
    • Jim Blandy's avatar
      * xfaces.c (Fmake_face_internal): Do nothing for non-X frames. · cb637678
      Jim Blandy authored
      	* dispextern.h (struct face): Add cached_index member.
      	* xfaces.c (get_cached_face): Use it to avoid unnecessary
      	searches of face_vector.
      
      	* xfaces.c (intern_face): Renamed from get_display_face.
      
      	* xfns.c (x_make_gc): After building the GC's for the frame, call
      	init_frame_faces to set up the first two faces.
      	* xfaces.c (init_frame_faces): Don't just try to copy the default
      	and mode line faces from some other random frame; instead, consult
      	the normal_gc and reverse_gc members of the frame, and build the
      	faces based on their parameters.
      
      	Adjust the face computation functions to return frame face ID's,
      	not pointers to display faces; since we call these functions
      	during display construction, we don't want the display faces yet.
      	* xfaces.c (intern_frame_face): New function.
      	(compute_char_face, compute_glyph_face): Apply intern_frame_face
      	to the computed face, and return the frame face's ID, instead of
      	calling intern_face and returning a pointer to a display frame.
      
      	* xfaces.c: Describe the facial data structures.  It took me a
      	while to figure them out; perhaps this will save someone else the
      	trouble.
      
      	* xfaces.c (get_display_face): Use face_eql instead of writing it out.
      cb637678
    • 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.
      31b24551
    • Jim Blandy's avatar
      * config.h.in: Remove mention of GLYPH datatype; that shouldn't be · 703f2808
      Jim Blandy authored
      	a user option.
      	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
      703f2808
    • Jim Blandy's avatar
      * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid · 2fc66973
      Jim Blandy authored
      	returning a non-ascii key sequence unless FIRSTONLY is the symbol
      	`non-ascii'.
      2fc66973
    • Jim Blandy's avatar
      * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is · ad163903
      Jim Blandy authored
      	defined everywhere this file is #included; merge the two
      	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
      	which calls reinvoke_input_signal if interrupt_input_pending is
      	set.
      	* keyboard.c (reinvoke_input_signal): New function.
      
      	* keyboard.c (syms_of_keyboard): Doc fix for
      	extra-keyboard-modifiers.
      ad163903
    • Jim Blandy's avatar
      * xdisp.c (display_text_line): Apply faces to characters according · be269961
      Jim Blandy authored
      	to overlays and text properties; use compute_char_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.
      be269961
    • Jim Blandy's avatar
      * dispextern.h (struct face): Add cached_index member. · 88fd275e
      Jim Blandy authored
      	* xfaces.c (get_cached_face): Use it to avoid unnecessary
      	searches of face_vector.
      88fd275e
    • Jim Blandy's avatar
      * config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER, · 783f85c7
      Jim Blandy authored
      	instead of AC_OUTPUT.
      
      	* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
      	a user option.
      	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
      783f85c7
    • Jim Blandy's avatar
      Arrange to tell redisplay about changes in overlays. · b61982dd
      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.
      
      	* buffer.c (Fmove_overlay): Doc fix.
      b61982dd
    • Jim Blandy's avatar
      * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is · 40a4095a
      Jim Blandy authored
      	defined everywhere this file is #included; merge the two
      	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
      	which calls reinvoke_input_signal if interrupt_input_pending is
      	set.
      	* keyboard.c (reinvoke_input_signal): New function.
      40a4095a
    • Jim Blandy's avatar
      * Makefile.in (DEFS): Remove this; we have configure build a · d70fd7d6
      Jim Blandy authored
      	config.h file directly, instead of having lots of -D flags.
      
      	* Makefile.in (CFLAGS): Don't make this carry DEFS from the
      	configure script; the coding standards say that CFLAGS should be
      	left for the user to tweak.
      
      	* Makefile.in (LN_S): New variable, edited by top Makefile.
      	(SUBMAKEFILE): New variable, containing all flags to pass to
      	recursive makes.
      d70fd7d6
    • Jim Blandy's avatar
      * keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t. · 663258f2
      Jim Blandy authored
      	* keyboard.c (do_mouse_tracking): Now static.
      
      	* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
      	to return a list of events.  Don't lose any of them.
      663258f2
  2. 09 May, 1993 20 commits
  3. 08 May, 1993 7 commits