1. 06 Oct, 1992 6 commits
  2. 05 Oct, 1992 11 commits
  3. 04 Oct, 1992 3 commits
  4. 03 Oct, 1992 19 commits
    • Richard M. Stallman's avatar
      Dox fix. · af36339a
      Richard M. Stallman authored
    • Richard M. Stallman's avatar
      Doc fix. · a864e33e
      Richard M. Stallman authored
    • Jim Blandy's avatar
      * keyboard.c (read_key_sequence): Treat mouse clicks on non-text · 0a7f1fc0
      Jim Blandy authored
      	areas as if they were prefixed with the symbol denoting the
      	area clicked on - `mode-line', etcetera.
      	When we throw away an unbound `down-' event, reset mock_input as
      	* keyboard.c (Qevent_symbol_element_mask, Qmodifier_cache): Two
      	new symbols, used to implement caches on event heads.  These take
      	the place of some of the caching that modify_event_symbol used to do.
      	(parse_modifiers_uncached, apply_modifiers_uncached,
      	lispy_modifier_list, parse_modifiers, apply_modifiers): New
      	functions, which replace format_modifiers and reorder_modifiers;
      	they can be useful elsewhere too.
      	(reorder_modifiers, modify_event_symbol): Re-implement these in
      	terms of parse_modifiers and apply_modifiers.  modify_event_symbol
      	now uses a much simpler cache, and takes advantage of the caches
      	maintained by parse_ and apply_modifiers.
      	(follow_key): Don't modify NEXT if KEY has no bindings.
      	(read_key_sequence): Drop unbound `down-' events, and turn unbound
      	`drag-' events into clicks if that would make them bound.  This
      	benefits from the rewriting of the modifier key handling code.
      	(syms_of_keyboard): Initialize and intern
      	Qevent_symbol_element_mask and Qmodifier_cache.
      	* keyboard.c (echo_prompt): Terminate the echo buffer properly
      	even when the string is too long to display in the minibuffer.
      	(echo_truncate): Just return echoptr - echobuf, rather than
      	calling strlen on echobuf.
      	* keyboard.c (modifier_names): The modifier is named "control",
      	not "ctrl".
    • Jim Blandy's avatar
      * alloc.c (Fmemory_limit): New function. · 20d24714
      Jim Blandy authored
      	(syms_of_alloc): Defsubr it.
    • Jim Blandy's avatar
      * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof, · ff06df24
      Jim Blandy authored
      	instead of just saying it's 7; that way, we won't get screwed if
      	we add members to struct save_window_data.
      	* window.c (Fset_window_configuration): The pointer to the
      	saved window data is called `data', not just `d'.
    • Jim Blandy's avatar
      * window.c (struct save_window_data): Save the currently selected · bdc727bf
      Jim Blandy authored
      	frame, too.
      	(Fset_window_configuration): Restore the frame's selected window
      	using Fselect_window, and then restore the selected frame using
      	(Fcurrent_window_configuration): Record the currently selected
      	frame.  Update docstring to describe the information now recorded.
      	* window.c (Fset_window_configuration): Clean up the way we save
      	and restore the frame's size.
              * window.c (struct save_window_data): Add a member called
      	focus_frame, to save and restore the screen's focus frame.
      	(Fset_window_configuration): Redirect the frame's focus as
      	indicated in the window configuration.
      	(Fcurrent_window_configuration): Record the frame's current focus.
    • Jim Blandy's avatar
      * xterm.c (x_find_modifier_meanings): If there are no · f689eb05
      Jim Blandy authored
      	modifiers containing a Meta_ keysym, use the Alt keysyms to
      	denote meta.
      	(construct_mouse_click): Set the down_modifier bit on mouse
      	button press events.
      	(XTread_socket): When processing keypress events, use
      	x_meta_mod_mask when processing ordinary ASCII characters, not
      	just when processing function keys and other non-ASCII events.
      	(XTread_socket): If we receive a MappingNotify event with the
      	`request' member set to `MappingModifier', then call
      	x_find_modifier_meanings to refresh x_meta_mod_mask.
    • Jim Blandy's avatar
      * process.c (wait_reading_process_input): If the select returns · 8058415c
      Jim Blandy authored
      	ENOMEM, treat that like EINTR under Ultrix.
    • Jim Blandy's avatar
      * keyboard.c (modify_event_symbol): Make sure that the unmodified · 13b5e56c
      Jim Blandy authored
      	event header gets the proper properties set on it, by recursing
      	and letting the same code build the properties for all event symbols.
      	* keyboard.c (Qmouse_click): Fix typo which assigned `mouse-click'
      	symbol to Qmouse_movement.
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
    • Jim Blandy's avatar
      Doc fix. · 45288343
      Jim Blandy authored
    • Joseph Arceneaux's avatar
      Fixed typos. · 350273a4
      Joseph Arceneaux authored
    • Jim Blandy's avatar
      * minibuf.c (read_minibuf): Don't bother to save the current · 91dc12bb
      Jim Blandy authored
      	frame's focus, and have read_minibuf_unwind restore it; saving and
      	restoring the window configurations will take care of that.
      	(read_minibuf_unwind): Don't worry about restoring the frame's focus.
    • Joseph Arceneaux's avatar
    • Jim Blandy's avatar
      * keymap.c (access_keymap, store_in_keymap, · cebd887d
      Jim Blandy authored
      	Fsingle_key_description): No need to check for
      	EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now
      	works properly on all sorts of events.
    • Joseph Arceneaux's avatar
    • Jim Blandy's avatar
      Doc fixes. · 53ce28d6
      Jim Blandy authored
    • Jim Blandy's avatar
      * termhooks.h (struct input_event): Doc fix. · a1867fb1
      Jim Blandy authored
      	(NUM_MOUSE_BUTTONS): New constant.
      	(click_modifier): New modifier.
      	(NUM_MODIFIER_COMBOS): Removed.
  5. 02 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events · ac501cd9
      Jim Blandy authored
      	are not 5 elements long.
      	(EVENT_HEAD): Work correctly on all sorts of events, not just
      	events with parameters.
      	EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
      	anymore; this information may appear twice in an event.  These
      	are replaced by the POSN_ accessors, which are meant to be
      	composed with the EVENT_START and EVENT_END accessors.
      	(EVENT_START, EVENT_END): Two new accessors, to get at the
      	starting and ending position of an event.
      	POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
      	diasassemble the values returned by EVENT_START and EVENT_END.
      	* keyboard.h (Qevent_unmodified): Extern declaration replaced by...
      	(Qevent_symbol_elements): This.
      	(EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements
      	property, rather than the Qevent_unmodified property.