diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0fe8fbf9225..0a079500925 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,87 @@ | |||
| 1 | 2004-02-28 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | ||
| 4 | an event into kbd fifo, but with special handling of quit event; | ||
| 5 | a quit event is saved for later, and further events are discarded | ||
| 6 | until the saved quit event has been processed. | ||
| 7 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | ||
| 8 | (gen_help_event): Store help event in kbd fifo. | ||
| 9 | (NREAD_INPUT_EVENTS): Remove. | ||
| 10 | (read_avail_input): Adapt to new read_socket_hook interface. | ||
| 11 | Remove allocation and initialization of local input_event buffer, | ||
| 12 | as read_socket_hook stores events directly in fifo. Allocate and | ||
| 13 | initialize local hold_quit event to handle postponed quit event | ||
| 14 | (and store it if set by kbd_buffer_store_event_hold). | ||
| 15 | |||
| 16 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | ||
| 17 | (gen_help_event): Fix prototype. | ||
| 18 | |||
| 19 | * macterm.c (XTread_socket): Remove bufp_r and | ||
| 20 | numcharsp args. Add hold_quit arg. | ||
| 21 | Rework to use just one, local, inev input_event. Store inev | ||
| 22 | directly in fifo using kbd_buffer_store_event_hold. | ||
| 23 | |||
| 24 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | ||
| 25 | (read_input_waiting): Adapt to new read_socket_hook interface. | ||
| 26 | Remove allocation and initialization of local input_event buffer, | ||
| 27 | as read_socket_hook stores events directly in fifo. Allocate and | ||
| 28 | initialize local hold_quit event to handle postponed quit event | ||
| 29 | (and store it if set by kbd_buffer_store_event_hold). | ||
| 30 | |||
| 31 | * term.c (read_socket_hook): Fix arg list. | ||
| 32 | |||
| 33 | * termhooks.h (read_socket_hook): Fix prototype. | ||
| 34 | |||
| 35 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | ||
| 36 | numcharsp args. Add hold_quit arg. | ||
| 37 | Rework to use just one, local, inev input_event. Store inev | ||
| 38 | directly in fifo using kbd_buffer_store_event_hold. | ||
| 39 | |||
| 40 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | ||
| 41 | |||
| 42 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | ||
| 43 | Add hold_quit arg. Rework to use just one, local, inev | ||
| 44 | input_event. Store inev directly in fifo using | ||
| 45 | kbd_buffer_store_event_hold. Update count in one place. | ||
| 46 | Postpone call to gen_help_event until inev is stored; use new | ||
| 47 | local do_help for this. | ||
| 48 | Remove local emacs_event in handing of ButtonPress event; just use | ||
| 49 | inev instead (so no reason to copy it later). | ||
| 50 | |||
| 51 | * xsmfns.c (x_session_check_input): Remove numchars arg. | ||
| 52 | |||
| 53 | * xterm.c (x_focus_changed, x_detect_focus_change): Remove | ||
| 54 | numchars arg. Always store event into bufp arg. Return nothing. | ||
| 55 | Callers changed accordingly. | ||
| 56 | (glyph_rect): Simplify. | ||
| 57 | (STORE_KEYSYM_FOR_DEBUG): New macro. | ||
| 58 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | ||
| 59 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | ||
| 60 | (current_hold_quit) [USE_GTK]: Add. | ||
| 61 | (event_handler_gdk): Adapt to new handle_one_xevent. | ||
| 62 | (handle_one_xevent): Remove bufp_r and numcharsp args. | ||
| 63 | Add hold_quit arg. Rework to use just one, local, inev | ||
| 64 | input_event. Store inev directly in fifo using | ||
| 65 | kbd_buffer_store_event_hold. Update count in one place. | ||
| 66 | Postpone call to gen_help_event until inev is stored; use new | ||
| 67 | local do_help for this. | ||
| 68 | Simplify handling of keysyms (consolidate common code). Fix bug | ||
| 69 | where count was updated with nchars instead of nbytes. | ||
| 70 | Remove local emacs_event in handing of ButtonPress event; just use | ||
| 71 | inev instead (so no reason to copy it later). | ||
| 72 | Remove `out' label. Rename label `ret' to `done'; add various | ||
| 73 | `goto done' to clarify code flow in deeply nested blocks. | ||
| 74 | (x_dispatch_event): Simplify as handle_one_xevent now calls | ||
| 75 | kbd_buffer_store_event itself. | ||
| 76 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit | ||
| 77 | arg. Call handle_one_xevent with new arglist. Store event from | ||
| 78 | x_session_check_input in fifo. | ||
| 79 | [USE_GTK]: Setup current_hold_quit. | ||
| 80 | Decrement handling_signal before unblocking input. | ||
| 81 | (x_initialize) [USE_GTK]: Initialize current_count. | ||
| 82 | |||
| 83 | * xterm.h (x_session_check_input): Fix prototype. | ||
| 84 | |||
| 1 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 85 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 86 | ||
| 3 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework | 87 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework |