1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
Commit graph

40 commits

Author SHA1 Message Date
Gerd Moellmann
381c798c15 (polling_for_input): Removed. 2000-01-25 15:52:54 +00:00
Ken Raeburn
3331fb0688 Use XCAR and XCDR. 1999-09-11 20:42:47 +00:00
Gerd Moellmann
045dee35ff Change
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
1999-09-05 16:39:19 +00:00
Gerd Moellmann
6e0adcfa04 (POSN_STRING): New. 1999-07-21 21:43:52 +00:00
Geoff Voelker
501d50943c (parse_modifiers): Declare prototype. 1998-12-02 23:00:02 +00:00
Richard M. Stallman
d94a2d9ab6 (struct kboard): New elts Vreal_last_command and Vlast_prefix_arg. 1998-06-07 22:38:17 +00:00
Andreas Schwab
ec5d8db72d Add more prototypes. 1998-04-14 12:33:47 +00:00
Richard M. Stallman
0340dc60d6 (item_properties): New variable.
(ITEM_PROPERTY_...): New macros.
1998-03-27 04:52:43 +00:00
Andreas Schwab
d748a3dbdc Add prototypes and more function declarations. 1997-11-21 15:12:34 +00:00
Richard M. Stallman
6c747f3005 (num_input_events, num_nonmacro_input_events):
Renamed from ..._input_chars.
1997-05-19 03:20:48 +00:00
Karl Heuer
e3678b6433 Removed support for !MULTI_FRAME. 1996-09-01 21:04:32 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
063c96e675 (struct kboard): Add Voverriding_terminal_local_map. 1995-06-16 04:56:05 +00:00
Karl Heuer
8955bab83d (struct kboard): New member system_key_syms. 1995-06-09 20:37:20 +00:00
Karl Heuer
334a398c80 (struct kboard): New member Vlast_command. 1995-06-09 03:04:26 +00:00
Karl Heuer
18afd4778c (Vlucid_menu_bar_dirty_flag): Declare this variable.
(Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.
1995-06-09 00:53:44 +00:00
Karl Heuer
7e92640755 (struct kboard): member Vprefix_arg restored, replacing
prefix_factor, prefix_value, prefix_sign, and prefix_partial.
1995-06-07 21:48:03 +00:00
Karl Heuer
2db45b7b38 (struct kboard): New member Vdefault_minibuffer_frame. 1995-05-09 05:16:50 +00:00
Karl Heuer
be2f0083ad (struct kboard): New member Vsystem_key_alist. 1995-04-24 22:12:44 +00:00
Karl Heuer
167018113c Comment changes. 1995-04-11 00:38:11 +00:00
Richard M. Stallman
931e786616 (single_kboard): Renamed from kboard_locked. All refs renamed.
(struct kboard): Renamed from struct KBOARD.
Move flag fields to the end, and make them chars.
Delete the `unused' field.

(KBOARD, etc): Moved from lisp.h.
1995-04-10 07:34:53 +00:00
Karl Heuer
4a2fb8bd2b (EVENT_HAS_PARAMETERS): Use type test macros. 1994-09-27 03:13:08 +00:00
Richard M. Stallman
3b0deae51f (polling_for_input): Declared. 1994-08-28 19:59:18 +00:00
Richard M. Stallman
71e61810da (map_prompt): Declared. 1994-04-16 03:50:19 +00:00
Jim Blandy
6765e5b098 * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
accessors.
1993-07-05 04:26:30 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
9e6314a476 * keyboard.h (internal_last_event_frame): This should be extern,
dummy.
1993-03-14 21:43:17 +00:00
Jim Blandy
fd2777e08f 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.

        Don't generate switch-frame events by checking Vlast_event_frame;
	use a separate variable for that bookkeeping.  In order to
	generate them properly, we may need to fiddle with it.
	* keyboard.c (internal_last_event_frame): New variable.
	(command_loop_1): Check internal_last_event_frame, not
	Vlast_event_frame.
	(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
	internal_last_event_frame.
	(kbd_buffer_get_event): Check internal_last_event_frame to decide
	whether to generate a switch-frame event.  Set Vlast_event_frame
	after each event.
	(init_keyboard): Initialize both Vlast_event_frame and
	internal_last_event_frame.
	* keyboard.h (internal_last_event_frame): Add extern declaration
	for this.
	* frame.c (Vlast_event_frame): Remove external declaration for
	this.
	(Fselect_frame): Set internal_last_event_frame to Qnil to force a
	switch-frame event, not Vlast_event_frame; the latter is supposed
	to convey information to the user.
1993-03-02 08:14:57 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Jim Blandy
d56a7c549e * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,
Qabove_handle, Qhandle, Qbelow_handle): New symbols.
	(make_lispy_event): New code to build scrollbar clicks.
	(make_lispy_movement): New code to handle scrollbar movement.
	(head_table): Include Qscrollbar_movement in the event heads.
	(syms_of_keyboard): Init and staticpro Qvertical_scrollbar,
	Qabove_handle, Qhandle, and Qbelow_handle.
	* keyboard.h (Qscrollbar_movement): Declare this along with the
	other event types.
	* lisp.h (Qvertical_scrollbar): Declare this.
	* window.c (window_from_scrollbar): New function.

	* xterm.h (struct x_display): Delete v_scrollbar, v_thumbup,
	v_thumbdown, v_slider, h_scrollbar, h_thumbup,
	h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
	fields.
	* keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part,
	Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part,
	Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
	interface.
	(head_table): Removed from here as well.
	(syms_of_keyboard): And here.
	* keyboard.h: And here.
	(POSN_SCROLLBAR_BUTTON): Removed.
	* xscrollbar.h: File removed - no longer necessary.
	* xfns.c: Don't #include it any more.
	(Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted.
	(syms_of_xfns): Don't initialize or staticpro them.
	(gray_bits): Salvaged from xscrollbar.h.
	(x_window_to_scrollbar): Deleted.
	(x_set_horizontal_scrollbar): Deleted.
	(enum x_frame_parm, x_frame_parms): Remove references to
	x_set_horizontal_scrollbar.
	(x_set_foreground_color, x_set_background_color,
	x_set_border_pixel): Remove special code to support scrollbars.
	(Fx_create_frame): Remove old scrollbar setup code.
	(install_vertical_scrollbar, install_horizontal_scrollbar,
	adjust_scrollbars, x_resize_scrollbars): Deleted.
	* xterm.c (construct_mouse_click): This doesn't need to take care of
	scrollbar clicks anymore.
	(XTread_socket): Remove old code to support scrollbars.  Call new
	functions instead for events which occur in scrollbar windows.
	(XTupdate_end): Remove call to adjust_scrollbars; the main
	redisplay code takes care of that now.
	(enum window_type): Deleted.
	* ymakefile: Note that xfns.o no longer depends on xscrollbar.h.
1992-12-24 06:13:00 +00:00
Jim Blandy
5bb46ecf6c * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
Fmouse_click_p, read_char): Add external declarations for these.
1992-10-31 05:24:03 +00:00
Jim Blandy
49fcd3debd * keyboard.h (this_command_keys): Extern declaration changed. Doc fix. 1992-10-19 18:39:37 +00:00
Jim Blandy
6084b314a5 * keyboard.h (Qswitch_frame): Declare this extern.
* keyboard.h (this_command_keys, this_command_key_count): Added
	external declarations.
1992-10-11 06:42:47 +00:00
Jim Blandy
53ce28d6e1 Doc fixes. 1992-10-03 00:04:45 +00:00
Jim Blandy
ac501cd970 * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
are not 5 elements long.
	(EVENT_HEAD): Work correctly on all sorts of events, not just
	events with parameters.
	(EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON,
	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_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
	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.
1992-10-02 23:56:44 +00:00
Jim Blandy
0ca96cef67 * keyboard.h (num_nonmacro_input_chars): Added extern declaration
for this.
1992-09-22 04:28:52 +00:00
Jim Blandy
ec558adcce entered into RCS 1992-09-13 11:44:06 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Jim Blandy
284f4730f4 Initial revision 1992-01-28 17:22:57 +00:00