1. 30 Jun, 1993 1 commit
  2. 29 Jun, 1993 5 commits
  3. 28 Jun, 1993 1 commit
  4. 24 Jun, 1993 1 commit
  5. 22 Jun, 1993 10 commits
    • Jim Blandy's avatar
      * commands.h (Vglobal_mouse_map): Removed; unused. · 5c153892
      Jim Blandy authored
      	* xfns.c (Vglobal_mouse_map): Same.
      5c153892
    • Jim Blandy's avatar
      * keyboard.c (menu_bar_items, read_key_sequence): Use · 7e6992e0
      Jim Blandy authored
      	current_global_map, not global_map; the latter is only meant to be
      	used for initial_define_key.
      	* commands.h: Doc fix.
      7e6992e0
    • Jim Blandy's avatar
      * keyboard.c (menu_bar_items, read_key_sequence): Use · 6ce387e6
      Jim Blandy authored
      	current_global_map, not global_map; the latter is only meant to be
      	used for initial_define_key.
      	* commands.h: Doc fix.
      
      	* commands.h (Vglobal_mouse_map): Removed; unused.
      	* xfns.c (Vglobal_mouse_map): Same.
      6ce387e6
    • Jim Blandy's avatar
      * buffer.c (list_buffers_1): Make desired_point a lisp object; set · 718cde7d
      Jim Blandy authored
      	it to nil, unless we find the current buffer.
      	(Flist_buffers): Don't try to set point in the buffer list unless
      	list_buffers_1 actually returns an integer.  Don't use a full
      	save_excursion; just save and restore the buffer.
      718cde7d
    • Jim Blandy's avatar
      Separate parameter faces (those created and modified by the user) · 28f72798
      Jim Blandy authored
      	from the computed faces (the combinations created by
      	compute_char_face), so that we don't waste global face id's.
      	* xterm.h (struct x_display): Replace the fields faces and n_faces
      	with fields param_faces, n_param_faces, computed_faces,
      	n_computed_faces, and size_computed_faces.
      	(FRAME_FACES, FRAME_N_FACES): Replaced by...
      	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
      	FRAME_N_PARAM_FACES): New macros.
      	* xfaces.c: Doc fixes.
      	(init_frame_faces): Call new_computed_face to create entries for
      	the default and mode line faces.  Use the FRAME...PARAM_FACES
      	macros.
      	(free_frame_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
      	parameter faces have real X resources, and all computed faces just
      	have copies.  Free both the parameter and computed face arrays.
      	(new_computed_face): New function.
      	(intern_computed_face): Renamed from intern_frame_face; callers
      	changed.  Call new_computed_face.
      	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
      	FRAME...PARAM_FACES macros.
      	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
      	starting with the base faces and merging in the parameter faces.
      	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
      	macros.  Just call recompute_basic_faces if the default or mode
      	line faces have changed.
      	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
      	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
      	* dispextern.h (struct face): Remove the copy member.  This is no
      	longer necessary; all computed faces are copies, and no parameter
      	faces are.
      28f72798
    • Jim Blandy's avatar
      Separate parameter faces (those created and modified by the user) · 7b00de84
      Jim Blandy authored
      	from the computed faces (the combinations created by
      	compute_char_face), so that we don't waste global face id's.
      	* xterm.h (struct x_display): Replace the fields faces and n_faces
      	with fields param_faces, n_param_faces, computed_faces,
      	n_computed_faces, and size_computed_faces.
      	(FRAME_FACES, FRAME_N_FACES): Replaced by...
      	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
      	FRAME_N_PARAM_FACES): New macros.
      	* xfaces.c: Doc fixes.
      	(init_frame_faces): Call new_computed_face to create entries for
      	the default and mode line faces.  Use the FRAME...PARAM_FACES
      	macros.
      	(free_frame_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
      	parameter faces have real X resources, and all computed faces just
      	have copies.  Free both the parameter and computed face arrays.
      	(new_computed_face): New function.
      	(intern_computed_face): Renamed from intern_frame_face; callers
      	changed.  Call new_computed_face.
      	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
      	FRAME...PARAM_FACES macros.
      	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
      	starting with the base faces and merging in the parameter faces.
      	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
      	macros.  Just call recompute_basic_faces if the default or mode
      	line faces have changed.
      	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
      	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
      	* dispextern.h (struct face): Remove the copy member.  This is no
      	longer necessary; all computed faces are copies, and no parameter
      	faces are.
      
      	* xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
      	static.
      7b00de84
    • Jim Blandy's avatar
      Separate parameter faces (those created and modified by the user) · a081bd37
      Jim Blandy authored
      	from the computed faces (the combinations created by
      	compute_char_face), so that we don't waste global face id's.
      	* xterm.h (struct x_display): Replace the fields faces and n_faces
      	with fields param_faces, n_param_faces, computed_faces,
      	n_computed_faces, and size_computed_faces.
      	(FRAME_FACES, FRAME_N_FACES): Replaced by...
      	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
      	FRAME_N_PARAM_FACES): New macros.
      	* xfaces.c: Doc fixes.
      	(init_frame_faces): Call new_computed_face to create entries for
      	the default and mode line faces.  Use the FRAME...PARAM_FACES
      	macros.
      	(free_frame_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
      	parameter faces have real X resources, and all computed faces just
      	have copies.  Free both the parameter and computed face arrays.
      	(new_computed_face): New function.
      	(intern_computed_face): Renamed from intern_frame_face; callers
      	changed.  Call new_computed_face.
      	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
      	FRAME...PARAM_FACES macros.
      	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
      	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
      	starting with the base faces and merging in the parameter faces.
      	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
      	macros.  Just call recompute_basic_faces if the default or mode
      	line faces have changed.
      	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
      	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
      	* dispextern.h (struct face): Remove the copy member.  This is no
      	longer necessary; all computed faces are copies, and no parameter
      	faces are.
      
      	* xfns.c (Fx_open_connection): Remember to block input while
      	calling x_load_resources.
      	* xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
      	not a server-specific bug.
      a081bd37
    • Jim Blandy's avatar
      * xdisp.c (redisplay_window): Remember to compute end relative to · 85f26be9
      Jim Blandy authored
      	the start of the visible region, too.
      85f26be9
    • Jim Blandy's avatar
      * xrdb.c (get_user_db): Remember to free the screen-local resource · fdce0b39
      Jim Blandy authored
      	string after we've merged its data into db.
      fdce0b39
    • Jim Blandy's avatar
      * keyboard.c (make_lispy_event): Added detection of double-click · fbcd35bd
      Jim Blandy authored
      	and triple-click events.
      	(parse_modifiers_uncached, apply_modifiers_uncached): Same.
      	(read_key_sequence): Coerce double-clicks to clicks, and triple-clicks
      	to double-clicks or clicks, by analogy with drag events.
      	(double_click_time): Added variable.
      	* termhooks.h: Added multi-click event modifier bits.
      fbcd35bd
  6. 21 Jun, 1993 2 commits
  7. 20 Jun, 1993 2 commits
  8. 19 Jun, 1993 9 commits
  9. 18 Jun, 1993 4 commits
    • Jim Blandy's avatar
      Changes for Irix 4.0, tested this time: · 5a570e37
      Jim Blandy authored
      	* s/irix4-0.h: Get rid of our fake definitions for setpgrp and
      	getpgrp.
      	* callproc.c (Fcall_process): Go ahead and use the USG calling
      	convention for setpgrp.
      	* ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
      	separate-source-directory compilation.
      	* emacs.c (shut_down_emacs): Some USG systems #define
      	EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
      	* sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
      	non-USG.
      	* process.c [IRIX] (create_process): Don't put child in process
      	group zero before opening the tty; Irix is like USG in this
      	regard.
      5a570e37
    • Jim Blandy's avatar
    • Jim Blandy's avatar
      * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to · 0505a740
      Jim Blandy authored
      	be missing on some systems, and there's no point in having
      	configure check; it should work fine to always use our copy.
      0505a740
    • Jim Blandy's avatar
      Typo. · 40166bf1
      Jim Blandy authored
      40166bf1
  10. 17 Jun, 1993 5 commits
    • Jim Blandy's avatar
      * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are · 1319549a
      Jim Blandy authored
      	now calling the BSD[sg]etpgrp functions directly, so this library
      	is not needed; it just provides the BSD[sg]etpgrp functions under
      	the [sg]etpgrp names.
      	* callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
      	It's already been called up in Fcall_process, and create_process.
      1319549a
    • Jim Blandy's avatar
      * xfaces.c (compute_base_face): Initialize the face's stipple. · 582080c1
      Jim Blandy authored
      	Although we don't use this feature now, face_eql notices it.
      
      	* xfaces.c (compute_base_face): Set cached_index to an invalid
      	index, to avoid an unnecessary comparison.
      582080c1
    • Jim Blandy's avatar
      * callproc.c (Fcall_process, child_setup): If IRIX is #defined, · b5aaed99
      Jim Blandy authored
      	call setpgrp with arguments, even if USG is #defined.
      	* process.c [IRIX] (create_process): Don't call setpgrp before
      	opening the pty.  Call it after doing the TIOCNOTTY ioctl.
      b5aaed99
    • Jim Blandy's avatar
      * keyboard.c (read_key_sequence): Don't confuse mock input with · cca310da
      Jim Blandy authored
      	function-key-map expansion, and continue reading mock events when
      	the current sequence is unbound.
      
      	* keyboard.c (read_key_sequence): After providing a prefix symbol
      	for a mouse event, modify the mouse event to indicate that that
      	won't need to be done again, by putting the event's position
      	symbol in a list.
      
      	* keyboard.c (read_key_sequence): When returning mock input which
      	has run off the end of the current maps, make sure the events get
      	echoed, and make it into this-command-keys.
      
      	* keyboard.c (read_key_sequence): When re-reading a previously
      	read mouse click which requires a prefix symbol, make sure to set
      	last_real_key_start appropriately, so we can properly drop
      	button-down events.
      cca310da
    • Jim Blandy's avatar
      Don't let the 'B' interactive spec default to buffers viewed in · 1bc981d2
      Jim Blandy authored
      	any visible frame.
      	* buffer.c (Fother_buffer): Pass Qt as the second argument
      	to Fget_buffer_window.
      	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
      	non-visible frames.
      	(Fget_buffer_window): Change doc string to mention that passing Qt
      	for the FRAME argument returns windows on visible frames only.
      	(Qvisible): Removed.
      1bc981d2