1. 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
  2. 27 Dec, 2004 1 commit
  3. 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
  4. 09 Nov, 2004 2 commits
  5. 01 Nov, 2004 1 commit
    • Kim F. Storm's avatar
      (connect_wait_mask, num_pending_connects): Only · bad49fc7
      Kim F. Storm authored
      declare and use them if NON_BLOCKING_CONNECT is defined.
      (IF_NON_BLOCKING_CONNECT): New helper macro.
      (wait_reading_process_output): Only declare and use local vars
      Connecting and check_connect when NON_BLOCKING_CONNECT is defined.
      (init_process): Initialize them if NON_BLOCKING_CONNECT defined.
      bad49fc7
  6. 29 Sep, 2004 1 commit
  7. 22 Aug, 2004 1 commit
  8. 20 Aug, 2004 1 commit
  9. 19 Aug, 2004 2 commits
  10. 17 Aug, 2004 2 commits
  11. 16 Aug, 2004 1 commit
  12. 01 Aug, 2004 1 commit
  13. 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
  14. 13 Jun, 2004 1 commit
  15. 06 Jun, 2004 1 commit
    • Kim F. Storm's avatar
      (Fdelete_process): Undo 2004-05-28 change. · 116c423c
      Kim F. Storm authored
      Instead, call status_notify also for network process.
      (status_message): Use process instead of status as arg.
      Give messages "deleted" or "connection broken by remote peer" for
      an exited network process.
      (status_notify): Change call to status_message.
      (read_process_output): Increase readmax to 4096.  Do not increase
      buffer size for datagram channels (default is now large enough).
      116c423c
  16. 28 May, 2004 1 commit
  17. 25 May, 2004 1 commit
  18. 13 May, 2004 1 commit
  19. 11 May, 2004 1 commit
  20. 10 May, 2004 1 commit
  21. 08 May, 2004 1 commit
    • Juanma Barranquero's avatar
      (Fwaiting_for_user_input_p, Fmake_network_process) · f3d9532b
      Juanma Barranquero authored
      (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering):
      Fix spelling of Emacs on docstring.
      (Fset_process_coding_system, Fprocess_coding_system)
      (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p):
      Make argument names match their use in docstring.
      (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process):
      Fix docstring.
      f3d9532b
  22. 06 Feb, 2004 1 commit
  23. 27 Jan, 2004 1 commit
  24. 26 Jan, 2004 1 commit
  25. 21 Jan, 2004 1 commit
  26. 20 Jan, 2004 1 commit
  27. 06 Jan, 2004 1 commit
  28. 01 Jan, 2004 1 commit
    • Kim F. Storm's avatar
      (ADAPTIVE_READ_BUFFERING): New conditional. · 2d942bfa
      Kim F. Storm authored
      (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX)
      (READ_OUTPUT_DELAY_MAX_MAX): New constants.
      (process_output_delay_count, process_output_skip): New vars.
      (Vprocess_adaptive_read_buffering): New variable.
      (make_process): Initialize adaptive read buffering members.
      (Fstart_process): Set adaptive_read_buffering member.
      (deactivate_process): Cleanup adaptive read buffering.
      (wait_reading_process_input): Temporarily omit delayed
      subprocesses from the set of file descriptors to read from;
      adjust the select timeout if we skipped any subprocesses.
      (read_process_output): Increase adaptive read buffering delay if
      we read less than a full buffer; reduce delay when we read a
      full buffer.
      (send_process): Simplify using local Lisp_Process var.
      Reset adaptive read buffering delay after write.
      (init_process): Initialize process_output_delay_count and
      process_output_skip.
      (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering.
      2d942bfa
  29. 16 Nov, 2003 1 commit
  30. 27 Sep, 2003 1 commit
  31. 23 Sep, 2003 2 commits
  32. 18 Sep, 2003 1 commit
  33. 17 Sep, 2003 1 commit
    • Kim F. Storm's avatar
      (Fnetwork_interface_list, Fnetwork_interface_info): · b8c7fd71
      Kim F. Storm authored
      Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns.
      (Fnetwork_interface_info): Check that ifreq struct has required
      fields before accessing them; this requires that those fields are
      defined as macros, which may be too restrictive on some platforms,
      but it is better than failing on other platforms.
      (syms_of_process): Only defsubr above fns when included.
      b8c7fd71
  34. 16 Sep, 2003 1 commit
    • Kim F. Storm's avatar
      (Fset_process_sentinel): Add sentinel to childp plist · 2ccf3102
      Kim F. Storm authored
      for network process.
      (socket_options): Add `:' prefix to option names.  Add optbit field.
      (set_socket_option): Remove no_error arg and special handling of s < 0.
      Return 1<<optbit for known option, 0 for unknown.
      Do not interpret 0 as false for boolean option (only nil).
      Pass failed option and value to report_file_error.
      (Fset_network_process_options): Replaced by Fset_network_process_option.
      (Fset_network_process_option): New function to set just one option.
      (Fmake_network_process): Allow :coding arg to be a cons.
      Allow :server arg to be an integer specifying backlog size.
      Remove :options arg, and allow options to be specified directly
      as :KEY, VALUE pairs.  Parse these options before binding socket.
      As before, :reuseaddr t is default for a server process, but this
      can now be disabled by specifying :reuseaddr nil.
      (Fnetwork_interface_info): Rename from Fget_network_interface_info.
      (init_process): Availability of network options is now checked with
      simpler syntax (featurep 'make-network-process :OPTION); use loop to
      setup features.
      (syms_of_process): Fix defsubr's for the replaced functions.
      2ccf3102
  35. 13 Sep, 2003 1 commit
  36. 01 Sep, 2003 1 commit