1. 29 Oct, 2005 1 commit
  2. 02 Oct, 2005 1 commit
  3. 30 Sep, 2005 1 commit
    • Dan Nicolaescu's avatar
      * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct · fa8459a3
      Dan Nicolaescu authored
      type.
      * xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
      
      * unexelf.c (fatal): Fix prototype.
      
      * term.c (fatal): Implement using varargs.
      
      * regex.c (re_char): Move typedef ...
      * regex.h (re_char): ... here.
      (re_iswctype, re_wctype, re_set_whitespace_regexp): New
      prototypes.
      
      * emacs.c (malloc_set_state): Fix return type.
      (endif): Fix type.
      
      * lisp.h (fatal): Add argument types.
      
      * dispextern.h (fatal): Delete prototype.
      
      * systime.h: (make_time): Prototype moved from ...
      * editfns.c (make_time): ... here.
      
      * editfns.c: Move systime.h include after lisp.h.
      * dired.c:
      * xsmfns.c:
      * process.c: Likewise.
      
      * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
      Add parameter types.
      (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
      (emacs_blocked_free): Change definition to match __free_hook.
      (emacs_blocked_malloc): Change definition to match __malloc_hook.
      (emacs_blocked_realloc): Change definition to match
      __realloc_hook.
      fa8459a3
  4. 10 Sep, 2005 2 commits
  5. 15 Aug, 2005 2 commits
  6. 09 Aug, 2005 1 commit
  7. 07 Aug, 2005 1 commit
  8. 23 Jul, 2005 1 commit
  9. 13 Jul, 2005 2 commits
  10. 04 Jul, 2005 1 commit
  11. 10 Jun, 2005 1 commit
  12. 08 Jun, 2005 1 commit
  13. 24 May, 2005 1 commit
  14. 21 Apr, 2005 1 commit
  15. 20 Apr, 2005 1 commit
  16. 19 Apr, 2005 1 commit
  17. 01 Apr, 2005 1 commit
  18. 24 Mar, 2005 1 commit
  19. 06 Mar, 2005 1 commit
  20. 22 Jan, 2005 1 commit
  21. 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
  22. 27 Dec, 2004 1 commit
  23. 23 Dec, 2004 1 commit
  24. 21 Dec, 2004 1 commit
  25. 13 Dec, 2004 1 commit
  26. 07 Dec, 2004 1 commit
    • 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
  27. 01 Dec, 2004 1 commit
  28. 30 Nov, 2004 1 commit
  29. 27 Nov, 2004 1 commit
  30. 21 Nov, 2004 1 commit
  31. 16 Nov, 2004 1 commit
  32. 15 Nov, 2004 1 commit
  33. 09 Nov, 2004 1 commit
  34. 07 Nov, 2004 1 commit
  35. 02 Nov, 2004 1 commit
    • Jan Djärv's avatar
      * fileio.c (Fread_file_name): Pass Qt as fifth parameter to · f9d64bb3
      Jan Djärv authored
      Fx_file_dialog if only directories should be read.
      
      * lisp.h: Fx_file_dialog takes 5 parameters.
      
      * xfns.c (Fx_file_dialog): Both Motif and GTK version:  Add
      parameter only_dir_p.
      In Motif version, don't put DEFAULT_FILENAME in filter part of the
      dialog, just text field part.  Do not add DEFAULT_FILENAME
      to list of files if it isn't there.
      In GTK version, pass only_dir_p parameter to xg_get_file_name.
      
      * macfns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".  When using
      a save dialog, add option kNavDontConfirmReplacement, change title
      to "Enter name", change text for save button to "Ok".
      
      * w32fns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".
      
      * gtkutil.c (xg_get_file_with_chooser)
      (xg_get_file_with_selection): New functions, only defined ifdef
      HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW
      respectively.
      (xg_get_file_name): Add parameter only_dir_p.
      Call xg_get_file_with_chooser or xg_get_file_with_selection
      depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
      (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.
      
      * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
      f9d64bb3
  36. 26 Oct, 2004 1 commit
    • Kim F. Storm's avatar
      (USE_SAFE_ALLOCA): Add and init sa_must_free integer. · c33188d9
      Kim F. Storm authored
      (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
      (SAFE_FREE): Test it to determine if we need to unwind to free.
      Remove size arg.  All users changed.
      (SAFE_FREE_LISP) Remove.  All users changed to use SAFE_FREE.
      c33188d9
  37. 18 Oct, 2004 1 commit