1. 28 Oct, 2002 1 commit
  2. 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
  3. 18 Sep, 2002 1 commit
  4. 12 Sep, 2002 1 commit
  5. 24 Aug, 2002 1 commit
  6. 16 Jul, 2002 2 commits
  7. 15 Jul, 2002 1 commit
  8. 12 Jul, 2002 1 commit
  9. 11 Jul, 2002 1 commit
  10. 20 May, 2002 1 commit
  11. 16 May, 2002 1 commit
  12. 04 May, 2002 1 commit
  13. 03 May, 2002 1 commit
  14. 30 Apr, 2002 1 commit
  15. 26 Apr, 2002 1 commit
  16. 03 Apr, 2002 1 commit
  17. 01 Apr, 2002 1 commit
    • Stefan Monnier's avatar
      (DATAGRAM_CONN_P, list_processes_1) · bed9664a
      Stefan Monnier authored
      (Fprocess_datagram_address, Fset_process_datagram_address)
      (Fset_network_process_options, server_accept_connection):
      Fix some int/Lisp_Object confusions (thank you union types).
      bed9664a
  18. 28 Mar, 2002 1 commit
  19. 27 Mar, 2002 1 commit
  20. 21 Mar, 2002 2 commits
    • Kim F. Storm's avatar
      (init_process): Only provide make-network-process feature and · c2bd2c26
      Kim F. Storm authored
      subfeatures if HAVE_SOCKETS.
      c2bd2c26
    • Kim F. Storm's avatar
      (QCfeature, QCdatagram): Removed variables. · 9057ff80
      Kim F. Storm authored
      (QCtype, Qdatagram): New variables.
      (network_process_featurep): Removed function.
      (Fmake_network_process): Removed :feature check.
      Use :type 'datagram instead of :datagram t to create a datagram
      socket.  This allows us to add other connection types (e.g. raw
      sockets) later in a consistent manner.
      (init_process) [subprocess]: Provide list of supported subfeatures
      for feature make-network-process.
      (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
      Intern and staticpro QCtype and Qdatagram.
      (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
      9057ff80
  21. 20 Mar, 2002 2 commits
  22. 18 Mar, 2002 3 commits
  23. 17 Mar, 2002 1 commit
    • Kim F. Storm's avatar
      (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) · e690ca94
      Kim F. Storm authored
      (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
      (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
      New variables.
      (NETCONN1_P): New macro.
      (DATAGRAM_SOCKETS): New conditional symbol.
      (datagram_address): New array.
      (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
      (status_message): Use concat3.
      (Fprocess_status): Add `listen' status to doc string.  Return `stop'
      for a stopped network process.
      (Fset_process_buffer): Update contact plist for network process.
      (Fset_process_filter): Ditto.  Don't enable input for stopped
      network processes.  Server must listen, even if filter is t.
      (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
      New functions.
      (Fprocess_kill_without_query): Removed.  Now defined in simple.el.
      (Fprocess_contact): Added KEY argument.  Handle datagrams.
      (list_processes_1): Optionally show only processes with the query
      on exit flag set.  Dynamically adjust column widths.  Omit tty
      column if not needed.  Report stopped network processes.
      Identify server and datagram network processes.
      (Flist_processes): New optional arg `query-only'.
      (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
      (conv_lisp_to_sockaddr, set_socket_options)
      (network_process_featurep, unwind_request_sigio): New helper functions.
      (Fprocess_datagram_address, Fset_process_datagram_address):
      (Fset_network_process_options): New lisp functions.
      (Fopen_network_stream): Removed.  Now defined in simple.el.
      (Fmake_network_process): New lisp function.  Code is based on previous
      Fopen_network_stream, but heavily reworked with new property list based
      argument list, support for datagrams, server processes, and local
      sockets in addition to old client-only functionality.
      (server_accept_connection): New function.
      (wait_reading_process_input): Use it to handle incoming connects.
      Do not enable input on a new connection if process is stopped.
      (read_process_output): Handle datagram sockets. Use 2k buffer for them.
      (send_process): Handle datagram sockets.
      (Fstop_process, Fcontinue_process): Apply to network processes.  A stopped
      network process is indicated by setting command field to t .
      (Fprocess_send_eof): No-op if datagram connection.
      (Fstatus_notify): Don't read input for a stream server socket or a
      stopped network process.
      (init_process): Initialize datagram_address array.
      (syms_of_process): Intern and staticpro new variables, defsubr new
      functions.
      e690ca94
  24. 03 Mar, 2002 1 commit
  25. 01 Mar, 2002 2 commits
  26. 28 Feb, 2002 1 commit
    • Kim F. Storm's avatar
      (Qconnect, Qfailed): New variables. · dd2a17ab
      Kim F. Storm authored
      (syms_of_process): Intern and staticpro them.
      [NON_BLOCKING_CONNECT]: New conditional.
      (connect_wait_mask, num_pending_connects): New variables.
      (status_message): Convert Qfailed status.
      (Fopen_network_stream): Added support for non-blocking connect.
      New optional args: filter, sentinel, non_blocking.  Doc updated.
      [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]:  Merged common code.
      (deactivate_process): Handle pending non-blocking connect.
      (wait_reading_process_input): Poll for status of non-blocking
      connects.  Exec sentinel directly when connect succeeds.
      (status_notify): Don't read process output if not yet connected.
      dd2a17ab
  27. 07 Jan, 2002 1 commit
  28. 11 Dec, 2001 1 commit
  29. 07 Dec, 2001 1 commit
  30. 02 Nov, 2001 2 commits
  31. 24 Oct, 2001 1 commit
  32. 20 Oct, 2001 1 commit
  33. 16 Oct, 2001 1 commit