1. 01 Jun, 2006 1 commit
    • Kim F. Storm's avatar
      2006-06-01 Michaël Cadilhac <michael.cadilhac@lrde.org> · a5cfdda8
      Kim F. Storm authored
      (deleted_pid_list): New variable to store the pids
      of deleted processes.  Declare it only if SIGCHLD is defined.
      (init_process): Initialize it.
      (syms_of_process): Staticpro it.
      (Fdelete_process): Add pid of the deleted process to it.  Check after
      the addition and before the kill if the process is already stopped,
      in which case it is deleted from the list and not killed.
      (sigchld_handler): Define it only if SIGCHLD is.  Search the process
      that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'.
      Original idea by Stefan Monnier.
      a5cfdda8
  2. 31 May, 2006 1 commit
  3. 08 May, 2006 1 commit
  4. 13 Apr, 2006 1 commit
  5. 12 Apr, 2006 2 commits
  6. 08 Apr, 2006 1 commit
    • Stefan Monnier's avatar
      * process.h (struct Lisp_Process): Replace Lisp_Objects `pid', · 6bfd98e7
      Stefan Monnier authored
      `raw_status_high', and `raw_status_low' with plain integers, and move
      them to the end of the structure.
      
      * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the
      pseudovector's size field so only the Lisp_Object fields get GC'd.
      
      * process.c (update_status, make_process, Fdelete_process)
      (Fprocess_status, list_processes_1, start_process_unwind)
      (create_process, Fmake_network_process, server_accept_connection)
      (wait_reading_process_output, send_process, Fprocess_running_child_p)
      (process_send_signal, proc_encode_coding_system, Fprocess_send_eof)
      (sigchld_handler, status_notify): Adjust to new non-Lisp fields for
      `pid' and `raw_status'.
      (Fprocess_id, Fsignal_process): Same, and additionally use floats when
      representing PIDs that are larger than most-positive-fixnum.
      6bfd98e7
  7. 22 Mar, 2006 1 commit
  8. 11 Mar, 2006 1 commit
  9. 25 Feb, 2006 1 commit
  10. 06 Feb, 2006 1 commit
  11. 12 Jan, 2006 1 commit
  12. 05 Jan, 2006 1 commit
  13. 04 Jan, 2006 2 commits
    • Eli Zaretskii's avatar
    • Kim F. Storm's avatar
      Add IPv6 support. · e1652a86
      Kim F. Storm authored
      (Qipv4, Qipv6): New vars.
      (syms_of_process): Intern and staticpro them.
      (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address
      with or without port number.  Handle 4 element vector as IPv4 address
      without port number.
      (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
      (conv_lisp_to_sockaddr): Handle IPv6 addresses.
      (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly
      request that address family only.  :family nil or omitted means to
      determine address family from the specified :host and :service.
      (server_accept_connection): Handle IPv6 addresses.
      (init_process): Add (:family ipv4) and (:family ipv6) sub-features.
      (ifflag_table): Add missing OpenBSD IFF_ flags.
      e1652a86
  14. 30 Dec, 2005 1 commit
  15. 08 Nov, 2005 1 commit
  16. 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
  17. 27 Sep, 2005 1 commit
    • Dan Nicolaescu's avatar
      * xlwmenu.c (find_next_selectable): · 43f15d4a
      Dan Nicolaescu authored
      (find_prev_selectable): Add missing parameter
      declarations.
      
      * xfaces.c (lookup_derived_face): Add parameter type.
      
      * xdisp.c (cursor_row_fully_visible_p): Add parameter type.
      
      * marker.c (verify_bytepos): Add parameter type.
      
      * process.c (get_operating_system_release): Move prototype ...
      
      * systime.h (get_operating_system_release): ... here.
      
      * xterm.c (set_vertical_scroll_bar): Move prototype ...
      
      * xterm.h: ... here.
      
      * fns.c (internal_equal, seed_random): Fix prototypes.
      (internal_equal): Add missing parameter.
      43f15d4a
  18. 21 Sep, 2005 1 commit
  19. 15 Aug, 2005 1 commit
    • Kim F. Storm's avatar
      (deactivate_process, status_notify, read_process_output) · ff6daed3
      Kim F. Storm authored
      (update_status, status_convert, decode_status, allocate_pty)
      (make_process, remove_process, list_processes_1)
      (create_process_1, unwind_request_sigio, read_process_output)
      (send_process, keyboard_bit_set): Declare static.
      (Fdelete_process): Simplify.  Pass process to status_notify, so we
      don't try to read output from it.
      (status_notify): New arg deleting_process--don't try to read
      output from that process.
      ff6daed3
  20. 07 Aug, 2005 1 commit
  21. 04 Jul, 2005 1 commit
  22. 23 Jun, 2005 1 commit
  23. 21 Jun, 2005 1 commit
  24. 10 Jun, 2005 1 commit
  25. 08 Jun, 2005 2 commits
  26. 07 Jun, 2005 1 commit
  27. 22 May, 2005 2 commits
  28. 21 May, 2005 1 commit
  29. 14 May, 2005 1 commit
  30. 24 Mar, 2005 1 commit
  31. 16 Mar, 2005 1 commit
  32. 22 Jan, 2005 1 commit
    • Steven Tamm's avatar
      * s/darwin.h: Removed PTY_ITERATION from here. · d9e7c622
      Steven Tamm authored
      	(DARWIN): Defined.
      * process.c (init_process): Default process-connection-type to
      	nil on darwin 6 or less, t if it is 7 or higher.  This way the
      	broken pty behavior is still allowed on darwin 6 for interactive
      	processes for people that know what they are doing.
      d9e7c622
  33. 27 Dec, 2004 1 commit
  34. 15 Dec, 2004 1 commit
    • 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
  35. 09 Nov, 2004 2 commits