1. 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
  2. 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
  3. 13 Sep, 2003 1 commit
  4. 01 Sep, 2003 1 commit
  5. 31 Jul, 2003 1 commit
  6. 22 Jun, 2003 1 commit
  7. 04 Jun, 2003 1 commit
  8. 25 May, 2003 1 commit
  9. 17 May, 2003 1 commit
  10. 09 Mar, 2003 1 commit
  11. 21 Feb, 2003 2 commits
  12. 20 Feb, 2003 1 commit
  13. 10 Feb, 2003 2 commits
    • Kim F. Storm's avatar
      Doc fixes. · 7392e23c
      Kim F. Storm authored
      (syms_of_process): Add `:' prefix to QCfilter_multibyte.
      7392e23c
    • Kenichi Handa's avatar
      (QCfilter_multibyte): New variable. · 03f04413
      Kenichi Handa authored
      (setup_process_coding_systems): New function.
      (Fset_process_buffer, Fset_process_filter): Call
      setup_process_coding_systems.
      (Fstart_process): Initialize the member `filter_multibyte' of
      struct Lisp_Process.
      (create_process): Call setup_process_coding_systems.
      (Fmake_network_process): New keyward `:filter-multibyte'.
      Initialize the member `filter_multibyte' of struct Lisp_Process.
      Call setup_process_coding_systems.
      (server_accept_connection): Call setup_process_coding_systems.
      (read_process_output): If the process has a filter, decide the
      multibyteness of a string to given to the filter by
      `filter_multibyte' member of the process.  If the process doesn't
      have a filter and the result of conversion is unibyte, use
      Fstring_to_multibyte (not Fstring_make_multibyte) to get the
      multibyte form.
      (Fset_process_coding_system): Call setup_process_coding_systems.
      (Fset_process_filter_multibyte): New function.
      (Fprocess_filter_multibyte_p): New function.
      (syms_of_process): Intern and staticpro QCfilter_multibyte.
      Defsubr Sset_process_filter_multibyte and
      Sprocess_filter_multibyte_p.
      03f04413
  14. 04 Feb, 2003 1 commit
  15. 16 Jan, 2003 1 commit
  16. 14 Jan, 2003 2 commits
  17. 12 Jan, 2003 1 commit
    • Kim F. Storm's avatar
      (QCvars): New variable. · ac4a7584
      Kim F. Storm authored
      (syms_of_process): Intern and staticpro it.
      (Fprocess_variable, Fset_process_variable): New functions.
      (syms_of_process): Defsubr them.
      (Fstart_process): Initialize private_vars plist to nil.
      (Fmake_network_process): New arg :vars to setup the private
      variables for new network process.
      (server_accept_connection): Copy server's private variables to
      client process.
      ac4a7584
  18. 10 Jan, 2003 1 commit
  19. 08 Jan, 2003 3 commits
  20. 18 Nov, 2002 1 commit
  21. 07 Nov, 2002 1 commit
  22. 06 Nov, 2002 1 commit
  23. 31 Oct, 2002 1 commit
  24. 30 Oct, 2002 1 commit
  25. 28 Oct, 2002 1 commit
  26. 24 Oct, 2002 1 commit
    • Kim F. Storm's avatar
      (Fformat_network_address): New function. · 991234f0
      Kim F. Storm authored
      (syms_of_process): Defsubr it.
      (list_processes_1): Use it to format :local/:remote address if
      service/host is not set; before emacs would crash in that case.
      (Fmake_network_process): Don't use Ffind_operation_coding_system
      to setup coding system if host or service is not set.
      991234f0
  27. 18 Sep, 2002 1 commit
  28. 12 Sep, 2002 1 commit
  29. 24 Aug, 2002 1 commit
  30. 16 Jul, 2002 2 commits
  31. 15 Jul, 2002 1 commit
  32. 12 Jul, 2002 1 commit
  33. 11 Jul, 2002 1 commit
  34. 20 May, 2002 1 commit