1. 18 May, 2005 1 commit
  2. 16 May, 2005 1 commit
  3. 13 May, 2005 1 commit
  4. 02 May, 2005 1 commit
  5. 01 May, 2005 1 commit
  6. 12 Apr, 2005 2 commits
  7. 10 Apr, 2005 1 commit
  8. 31 Mar, 2005 1 commit
  9. 19 Mar, 2005 1 commit
  10. 16 Mar, 2005 1 commit
  11. 10 Mar, 2005 1 commit
  12. 06 Mar, 2005 1 commit
  13. 01 Mar, 2005 1 commit
  14. 15 Feb, 2005 1 commit
  15. 13 Feb, 2005 1 commit
  16. 16 Jan, 2005 1 commit
    • Jan Djärv's avatar
      * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) · a2d5fca0
      Jan Djärv authored
      (READABLE_EVENTS_FILTER_EVENTS)
      (READABLE_EVENTS_IGNORE_SQUEEZABLES): New flags for readable_events.
      get_filtered_input_pending, readable_filtered_events): Removed.
      (tracking_off): Call readable_events and get_input_pending with
      flag READABLE_EVENTS_DO_TIMERS_NOW.
      (readable_events): Move code from old readable_filtered_events here,
      but check new READABLE_EVENTS_* in argument flags instead of previous
      two boolean arguments do_timers_now and filter_events.
      If we are doing mouse tracking and the mouse moved, return only if
      READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags.
      (swallow_events): Call get_input_pending with flag
      READABLE_EVENTS_DO_TIMERS_NOW.
      (get_input_pending): Move code from old   get_filtered_input_pending
      here.  Replace boolean arguments do_timers_now, filter_events with
      flags, and pass flags to readable_events.  Document new
      READABLE_EVENTS_* flags.
      (detect_input_pending_ignore_squeezables): New function.
      (detect_input_pending_run_timers): Call get_input_pending with flag
      READABLE_EVENTS_DO_TIMERS_NOW.
      (Finput_pending_p): Call get_input_pending with flags
      READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS.
      
      * dispnew.c (update_window, update_frame_1): Replace calls to
      detect_input_pending with detect_input_pending_ignore_squeezables
      so that redisplay is not paused if the event queue contains only
      mouse movements.
      
      * lisp.h: Declare detect_input_pending_ignore_squeezables.
      a2d5fca0
  17. 14 Jan, 2005 1 commit
  18. 13 Jan, 2005 1 commit
  19. 23 Dec, 2004 1 commit
  20. 21 Dec, 2004 1 commit
  21. 15 Dec, 2004 3 commits
    • Jan Djärv's avatar
      * syssignal.h: Declare main_thread. · 333f1b6f
      Jan Djärv authored
      (SIGNAL_THREAD_CHECK): New macro.
      
      * keyboard.c (input_available_signal): Move thread checking code
      to macro SIGNAL_THREAD_CHECK and call that macro.
      (interrupt_signal): Call SIGNAL_THREAD_CHECK.
      
      * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.
      
      * emacs.c: Define main_thread.
      (main): Initialize main_thread.
      (handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
      (memory_warning_signal): Call SIGNAL_THREAD_CHECK.
      
      * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.
      
      * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.
      
      * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.
      
      * process.c (send_process_trap, sigchld_handler): Call
      SIGNAL_THREAD_CHECK.
      
      * data.c (arith_error): Call SIGNAL_THREAD_CHECK.
      
      * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
      333f1b6f
    • Kim F. Storm's avatar
      (read_char): Save and restore echo_string when · dc29116a
      Kim F. Storm authored
      handling input method.
      dc29116a
    • Kim F. Storm's avatar
      (Vthrow_on_input): New variable. · 2a84c6da
      Kim F. Storm authored
      (syms_of_keyboard): Defvar and initialize it.
      (kbd_buffer_store_event_hold): Handle Vthrow_on_input.
      2a84c6da
  22. 11 Dec, 2004 1 commit
  23. 07 Dec, 2004 2 commits
    • Jan Djärv's avatar
      * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around · cf435f39
      Jan Djärv authored
      reset_malloc_hooks.
      
      * keyboard.c (handle_async_input, input_available_signal): Add
      ! defined (SYSTEM_MALLOC) around thread code.
      cf435f39
    • Jan Djärv's avatar
      * gtkutil.c: Include signal.h and syssignal.h. · aa477689
      Jan Djärv authored
      (xg_get_file_name): Block and unblock __SIGRTMIN if defined.
      
      * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h,
      new variables main_thread and alloc_mutex,
      define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect
      emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread.
      If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as
      (UN)BLOCK_INPUT.
      (emacs_blocked_free, emacs_blocked_malloc)
      (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC.
      (uninterrupt_malloc): Initialize main_thread and alloc_mutex.
      (reset_malloc_hooks): New function.
      
      * lisp.h: Declare reset_malloc_hooks.
      
      * emacs.c (Fdump_emacs): Call reset_malloc_hooks.
      
      * keyboard.c: Conditionally include pthread.h
      (handle_async_inpu, input_available_signalt): If not in the main
      thread, block signal, send signal to main thread and return.
      aa477689
  24. 30 Nov, 2004 1 commit
    • Steven Tamm's avatar
      * keyboard.c: Don't undef SIGIO · fc7a70cc
      Steven Tamm authored
      * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon
      * Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
             (macfns.o): Don't depend on ccl.h.
      * macfns.c (mac_frame_parm_handlers): Set handlers for
      Qleft_fringe and Qright_fringe.
      * macterm.c (mac_fill_rectangle_to_pixmap)
      (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
      (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
      Put in #if 0.
      (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
      (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
      (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
      (x_draw_glyph_string_background, x_draw_glyph_string_foreground)
      [!MAC_OS8]: Added ifdef'd out code for os8.  Don't use
      XDrawImageString.  Always draw background and foreground separately.
      (x_draw_image_foreground): Use clipping instead of computing the
      intersection rectangle.
      (x_draw_image_glyph_string): Don't draw an image with mask to a
      pixmap.
      (x_redisplay_interface): Set flush_display_optional member to 0.
      (XTread_socket): Correctly reset the TEConverter
      object.
      fc7a70cc
  25. 25 Nov, 2004 1 commit
  26. 15 Nov, 2004 1 commit
  27. 09 Nov, 2004 1 commit
  28. 07 Nov, 2004 1 commit
  29. 05 Nov, 2004 1 commit
  30. 09 Oct, 2004 1 commit
    • Kim F. Storm's avatar
      (timer_resume_idle): New function to resume idle · 5c12e63f
      Kim F. Storm authored
      timer without resetting timers on the idle list.
      (read_char): Use timer_resume_idle. Remove local var last_idle_start.
      (timer_start_idle, timer_stop_idle): Declare static.
      (read_key_sequence): Use timer_resume_idle instead of timer_start_idle.
      5c12e63f
  31. 20 Aug, 2004 1 commit
  32. 19 Aug, 2004 1 commit
  33. 08 Aug, 2004 1 commit
  34. 07 Aug, 2004 1 commit
  35. 31 Jul, 2004 1 commit
  36. 19 Jul, 2004 1 commit
    • Steven Tamm's avatar
      Fixes for Ctrl-G support on carbon, replacing old timeout based polling · e082ac9d
      Steven Tamm authored
      with alarm based polling.
      mac.c (sys_select): Redo sys_select to use alarm-based
      polling instead of 1 sec timeouts (like solaris).
      macterm.c (x_make_frame_visible): Comment in polling on
      frame creation.
      keyboard.c: Undef SIGIO on Carbon
      atimer.c (alarm_signal_handler): Call alarm handlers after
      scheduling.
      eval.c (Feval): Remove quit_char test
      process.c (wait_reading_process_input): Remove clearing
      stdin for select call on process input
      e082ac9d