1. 25 May, 1993 17 commits
    • Jim Blandy's avatar
      * xterm.h: New section for declarations for xfaces.c. · 660ed669
      Jim Blandy authored
      	(init_frame_faces, free_frame_faces, intern_face,
      	face_name_id_number, same_size_fonts, recompute_basic_faces,
      	compute_char_face, compute_glyph_face): Declare these here.
      	* xfaces.c (same_size_fonts): We can now remove this extern
      	declaration.
      	* xfns.c (face_name_id_number): Likewise.
      	* xterm.c (intern_face): Likewise.
      
      	* xfaces.c (build_face, unload_font, free_frame_faces): Don't
      	forget to block input while making X calls.
      
      	Treat faces as structures specifying modifications to the frame's
      	parameters, rather than things which need to specify a complete
      	set of parameters by themselves.
      	* xfaces.c (init_frame_faces): Don't set up the two frame display
      	faces by querying the GC - just leave all their fields blank, and
      	call recompute_basic_faces, letting build_face do the work of
      	consulting the frame when necessary.
      	(recompute_basic_faces): New function.
      	(compute_base_faces): New function for obtaining the "identity"
      	for compute_char_face and compute_glyph_face.
      	(compute_char_face, compute_glyph_face): Call it, instead of copying
      	FRAME_DEFAULT_FACE.
      	* xfns.c (x_make_gc): No need to call init_frame_faces here.
      
      	* xfaces.c (intern_frame_face): This can be static.
      
      	* dispextern.h (struct face): New field - `copy', to help us with
      	resource allocation.
      	* xfaces.c (free_frame_faces): Do free the first two faces; don't
      	free anything from a face that's a copy.
      	(intern_frame_face): Mark every face we intern as a copy; its
      	resources are actually a combination of the real faces.
      	(Fset_face_attribute_internal): No need to check if we're trying
      	to free one of the frame's GC's; they never enter into the
      	picture.
      
      	* xfns.c (Fx_list_fonts): New function.
      	(face_name_id_number): Add extern declaration for this.
      	* xfaces.c (face_name_id_number): Make this externally visible,
      	and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
      	(compute_char_face): Call face_name_id_number properly.
      660ed669
    • Jim Blandy's avatar
      * dispextern.h (struct face): New field - `copy', to help us with · e5c8436a
      Jim Blandy authored
      	resource allocation.
      	* xfaces.c (free_frame_faces): Do free the first two faces; don't
      	free anything from a face that's a copy.
      	(intern_frame_face): Mark every face we intern as a copy; its
      	resources are actually a combination of the real faces.
      	(Fset_face_attribute_internal): No need to check if we're trying
      	to free one of the frame's GC's; they never enter into the
      	picture.
      e5c8436a
    • Jim Blandy's avatar
      a1de6b4b
    • Jim Blandy's avatar
      Fix the fix. · 7b50ece7
      Jim Blandy authored
      7b50ece7
    • Jim Blandy's avatar
      * xfaces.c (merge_faces): You can't tell if a font is a · f126bd67
      Jim Blandy authored
      	character-cell font or not by testing whether or not it has a
      	per_char table.  They all do.
      	* xterm.c (x_new_font): Same deal.
      f126bd67
    • Jim Blandy's avatar
      * xfns.c (Fx_list_fonts): New function. · 1d9fd7fe
      Jim Blandy authored
      	(same_size_fonts): Function moved here from xfaces.c.
      	(face_name_id_number): Add extern declaration for this.
      	* xfaces.c (same_size_fonts): Moved to xfns.c.  Left an extern
      	declaration behind.
      	(face_name_id_number): Make this externally visible, and make the
      	FRAME argument a FRAME_PTR, not a Lisp_Object.
      	(compute_char_face): Call face_name_id_number properly.
      
      	* xfaces.c (unload_color): Don't free the pixel for now.
      
      	* xfaces.c (merge_faces): You can't tell if a font is a
      	character-cell font or not by testing whether or not it has a
      	per_char table.  They all do.
      1d9fd7fe
    • Jim Blandy's avatar
      * paths.h (PATH_INFO): New path, to edited by the configuration · ed61592a
      Jim Blandy authored
      	process.
      	* callproc.c (Vconfigure_info_directory): New variable, used
      	internally by build process.
      	(syms_of_callproc): DEFVAR it and initialize it.
      ed61592a
    • Jim Blandy's avatar
      * m/iris4d.h: Dyke out the section which specifies how to get the · 7af17c1c
      Jim Blandy authored
      	load average.
      7af17c1c
    • Jim Blandy's avatar
      * keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last · 3fa657a2
      Jim Blandy authored
      	element of the return value, not XSETINT.
      3fa657a2
    • Jim Blandy's avatar
      Changes for OSF/1: · c027d070
      Jim Blandy authored
      	* mem-limits.h [__osf__ && (__mips || mips)]: #include
      	<sys/time.h> and <sys/resource.h>.
      	(get_lim_data): OSF wants a definition like BSD4_2's.
      	* s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
      c027d070
    • Richard M. Stallman's avatar
    • Jim Blandy's avatar
      Some makes can't handle form feed characters in their makefiles. · f5070950
      Jim Blandy authored
      	* s/usg5-3.h: Remove form feed.
      	* s/template.h, m/template.h: Remove form feeds.
      f5070950
    • Jim Blandy's avatar
      s/ · a753b637
      Jim Blandy authored
      a753b637
    • Jim Blandy's avatar
      * xfns.c (select_visual): Include the screen number in the · f0614854
      Jim Blandy authored
      template of things XGetVisualInfo must match.
      * xfns.c (Fx_list_fonts): New function.
      (same_size_fonts): Function moved here from xfaces.c.
      (face_name_id_number): Add extern declaration for this.
      f0614854
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      (XTread_socket, ConfigureNotify case): · 3bd330d4
      Richard M. Stallman authored
      Convert from parent window, not Emacs window.
      (XTread_socket): Handle ReparentNotify events.
      
      (XTread_socket): For ConfigureNotify event,
      translate coordinates if send_event field is false
      provided the x-coord value is not large.
      3bd330d4
    • Richard M. Stallman's avatar
      *** empty log message *** · 5b3bb7c6
      Richard M. Stallman authored
      5b3bb7c6
  2. 24 May, 1993 22 commits
  3. 23 May, 1993 1 commit