1. 29 Feb, 2004 6 commits
  2. 28 Feb, 2004 17 commits
  3. 27 Feb, 2004 17 commits
    • Kim F. Storm's avatar
      *** empty log message *** · 3e0c6482
      Kim F. Storm authored
      3e0c6482
    • Kim F. Storm's avatar
      (x_session_check_input): Fix prototype. · b5f2e4cd
      Kim F. Storm authored
      b5f2e4cd
    • Kim F. Storm's avatar
      (x_focus_changed, x_detect_focus_change): Remove · 89079179
      Kim F. Storm authored
      numchars arg.  Always store event into bufp arg.  Return nothing.
      Callers changed accordingly.
      (glyph_rect): Simplify.
      (STORE_KEYSYM_FOR_DEBUG): New macro.
      (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
      (current_bufp, current_numcharsp) [USE_GTK]: Remove.
      (current_hold_quit) [USE_GTK]: Add.
      (event_handler_gdk): Adapt to new handle_one_xevent.
      (handle_one_xevent): Remove bufp_r and numcharsp args.
      Add hold_quit arg. Rework to use just one, local, inev
      input_event. Store inev directly in fifo using
      kbd_buffer_store_event_hold.  Update count in one place.
      Postpone call to gen_help_event until inev is stored; use new
      local do_help for this.
      Simplify handling of keysyms (consolidate common code).  Fix bug
      where count was updated with nchars instead of nbytes.
      Remove local emacs_event in handing of ButtonPress event; just use
      inev instead (so no reason to copy it later).
      Remove `out' label.  Rename label `ret' to `done'; add various
      `goto done' to clarify code flow in deeply nested blocks.
      (x_dispatch_event): Simplify as handle_one_xevent now calls
      kbd_buffer_store_event itself.
      (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit
      arg.  Call handle_one_xevent with new arglist.  Store event from
      x_session_check_input in fifo.
      [USE_GTK]: Setup current_hold_quit.
      Decrement handling_signal before unblocking input.
      (x_initialize) [USE_GTK]: Initialize current_count.
      89079179
    • Kim F. Storm's avatar
      a6950dfa
    • Kim F. Storm's avatar
      (w32_read_socket): Remove bufp_r and numcharsp args. · 004b1d38
      Kim F. Storm authored
      Add hold_quit arg. Rework to use just one, local, inev
      input_event. Store inev directly in fifo using
      kbd_buffer_store_event_hold.  Update count in one place.
      Postpone call to gen_help_event until inev is stored; use new
      local do_help for this.
      Remove local emacs_event in handing of ButtonPress event; just use
      inev instead (so no reason to copy it later).
      004b1d38
    • Kim F. Storm's avatar
      15639586
    • Kim F. Storm's avatar
      (w32_console_read_socket): Remove bufp_r and · 9cd31aaf
      Kim F. Storm authored
      numcharsp args.  Add hold_quit arg.
      Rework to use just one, local, inev input_event. Store inev
      directly in fifo using kbd_buffer_store_event_hold.
      9cd31aaf
    • Kim F. Storm's avatar
      (read_socket_hook): Fix prototype. · 9c46d57b
      Kim F. Storm authored
      9c46d57b
    • Kim F. Storm's avatar
      (read_socket_hook): Fix arg list. · a4ab7d75
      Kim F. Storm authored
      a4ab7d75
    • Kim F. Storm's avatar
      (BUFFER_SIZE_FACTOR): Remove. · 9f893fc6
      Kim F. Storm authored
      (read_input_waiting): Adapt to new read_socket_hook interface.
      Remove allocation and initialization of local input_event buffer,
      as read_socket_hook stores events directly in fifo.  Allocate and
      initialize local hold_quit event to handle postponed quit event
      (and store it if set by kbd_buffer_store_event_hold).
      9f893fc6
    • Kim F. Storm's avatar
      (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit arg. · ff158530
      Kim F. Storm authored
      Rework to use just one, local, inev input_event. Store inev
      directly in fifo using kbd_buffer_store_event_hold.
      ff158530
    • Kim F. Storm's avatar
      (kbd_buffer_store_event_hold): Add prototype. · e0de7f88
      Kim F. Storm authored
      (gen_help_event): Fix prototype.
      e0de7f88
    • Kim F. Storm's avatar
      (kbd_buffer_store_event_hold): New function to store · 0fc0bac9
      Kim F. Storm authored
      an event into kbd fifo, but with special handling of quit event;
      a quit event is saved for later, and further events are discarded
      until the saved quit event has been processed.
      (kbd_buffer_store_event): Use kbd_buffer_store_event_hold.
      (gen_help_event): Store help event in kbd fifo.
      (NREAD_INPUT_EVENTS): Remove.
      (read_avail_input): Adapt to new read_socket_hook interface.
      Remove allocation and initialization of local input_event buffer,
      as read_socket_hook stores events directly in fifo.  Allocate and
      initialize local hold_quit event to handle postponed quit event
      (and store it if set by kbd_buffer_store_event_hold).
      0fc0bac9
    • Eli Zaretskii's avatar
      *** empty log message *** · 9022d421
      Eli Zaretskii authored
      9022d421
    • Eli Zaretskii's avatar
      Fix copyright years. · 97cc3d15
      Eli Zaretskii authored
      97cc3d15
    • Eli Zaretskii's avatar
      In scheme-mode symbol regexp, disallow backquote and · 08d87b2d
      Eli Zaretskii authored
      comma, so that it DTRT in macros.
      08d87b2d
    • Eli Zaretskii's avatar
      (sh-shell-arg, sh-require-final-newline, sh-assignment-regexp, sh-builtins) · 5d18b953
      Eli Zaretskii authored
      (sh-leading-keywords, sh-other-keywords): Fix custom type.
      5d18b953