- 03 Oct, 1992 3 commits
-
-
Joseph Arceneaux authored
-
Jim Blandy authored
-
Jim Blandy authored
(NUM_MOUSE_BUTTONS): New constant. (click_modifier): New modifier. (NUM_MODIFIER_COMBOS): Removed.
-
- 02 Oct, 1992 16 commits
-
-
Jim Blandy authored
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.
-
Jim Blandy authored
testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on all sorts of events now. (read_key_sequence): Use the new accessors to decide in which window an event occurred. * keyboard.c (Qevent_unmodified): Replaced by... (Qevent_symbol_elements): New property. (syms_of_keyboard): initialize and staticpro the latter, not the former. * keyboard.c (readable_events): This doesn't need to scan and discard mouse release events anymore; it just uses EVENT_QUEUES_EMPTY. (kbd_buffer_get_event): No need to skip past mouse release events. * keyboard.c (button_down_location): New variable, which stores the location at which each button was pressed, so we can build a complete drag event when the button is released. (make_lispy_event): When a button is pressed, record its location in button_down_location, and turn it into a `down' event. When a button is released, compare its release location with its press location, and decide whether to call it a `click' or `drag' event. Change mouse movement events to be arranged like click events. (format_modifiers): Note that the click modifier has no written representation. (modifier_names, modifer_symbols): New variables, used to create the Qevent_symbol_elements property. (modify_event_symbol): Change the format of the modified symbol cache; there are too many modifier bits now to use a vector indexed by a modifier mask. Use an assoc-list instead. Document the format of the cache. Put the Qevent_symbol_elements property on each new symbol, instead of a Qevent_unmodified property. (symbols_of_keyboard): Put Qevent_symbol_elements properties on the symbols specified in head_table, not Qevent_unmodifed properties. Initialize and staticpro modifier_symbols, and staticpro the window elements of button_down_location.
-
Richard M. Stallman authored
Fix interactive spec. Doc fix. Put on mouse-3.
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
Jim Blandy authored
(Fx_popup_menu): Use the event accessors defined in keyboard.h, instead of writing out cars and cdrs.
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
"USE_TEXT_PROPERTIES".
-
Joseph Arceneaux authored
"USE_TEXT_PROPERTIES".
-
Joseph Arceneaux authored
(init_intervals, make_interval, mark_interval, mark_interval_tree): New functions conditionally defined. (make_uninit_string): Call INITIALIZE_INTERVAL. (INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE): New macros, conditionally defined. (mark_object): Call MARK_INTERVAL_TREE in case Lisp_String. (gc_sweep): If text properties are in use, place all unmarked intervals on the free list. Call UNMARK_BALANCE_INTERVALS on `buffer->intervals' when unmarking `buffer'. (compact_strings): Include INTERVAL_PTR_SIZE in calculation for target of bcopy when relocating strings. (init_alloc_once): Call INIT_INTERVALS. (make_pure_string): Include INTERVAL_PTR_SIZE in calculation of `size'.
-
Joseph Arceneaux authored
text was actually inserted. #include "intervals.h".
-
Richard M. Stallman authored
-
Jim Blandy authored
-
Richard M. Stallman authored
-
- 01 Oct, 1992 13 commits
-
-
Richard M. Stallman authored
Avoid recursion on constants-vector of a compiled function.
-
Roland McGrath authored
looking-at call doesn't clobber its value when we want to use it to back up before the error we discard. Make sure compilation-error-list is at least two elts long before checking its first two elts for being in the same file.
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
interval component. (Fkill_buffer): Likewise.
-
Joseph Arceneaux authored
Add DECLARE_INTERVALS to struct Lisp_String.
-
Joseph Arceneaux authored
(prepare_to_modify_buffer): Call verify_interval_modification(). (insert_from_string): Call offset_intervals() and graft_intervals_into_buffer(). (del_range): Call offset_intervals(). (insert): Call offset_intervals().
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
and TEMP_SET_PT are function calls. Similarly for BUF_SET_PT and BUF_TEMP_SET_PT. Added DECLARE_INTERVALS to buffer structure to conditionally compile an interval tree into it..
-
Joseph Arceneaux authored
(Finsert_buffer_substring): Call graft_intervals_into_buffer(). #include "intervals.h".
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
-
- 30 Sep, 1992 8 commits
-
-
Jim Blandy authored
-
Jim Blandy authored
got removed with no comment or ChangeLog entry, and append-to-buffer uses it.
-
Jim Blandy authored
just because we restored its configuration. * window.c (Fset_window_configuration): Don't forget to set the frame's selected window when we can't call Fselect_window.
-
Jim Blandy authored
modifier bits denote meta keys. (x_find_modifier_meanings): New function, to set x_meta_mod_mask. (x_convert_modifiers): Use that. (x_term_init): Call x_find_modifier_meanings. * xterm.c (XTread_socket): Pass PropertyNotify events from the root window to x_invalidate_cut_buffer_cache. (x_term_init): Call x_watch_cut_buffer_cache here.
-
Jim Blandy authored
swap in the value for the current buffer immediately.
-
Jim Blandy authored
-
Richard M. Stallman authored
(delete-indentation): Don't go beyond eob, comparing with fill-prefix.
-
Jim Blandy authored
-