diff options
| author | Kim F. Storm | 2002-03-17 20:33:31 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-03-17 20:33:31 +0000 |
| commit | 5439f987dd05340c901b74ad2381b9ba035f33a3 (patch) | |
| tree | 24213a62b8bb8d63f6f7b4043f8810a27b7fe632 /src | |
| parent | 41c4dfe119edf8cb9f9a259b67344ff42c657c0d (diff) | |
| download | emacs-5439f987dd05340c901b74ad2381b9ba035f33a3.tar.gz emacs-5439f987dd05340c901b74ad2381b9ba035f33a3.zip | |
Enhanced network process support.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 08d223c0134..ba3bcd8224f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,60 @@ | |||
| 1 | 2002-03-17 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | The following changes adds support for network server processes, | ||
| 4 | datagram connections, and local (unix) sockets. | ||
| 5 | |||
| 6 | * process.h (struct Lisp_Process): New member log. | ||
| 7 | Doc fix: Member command used to indicate stopped network process. | ||
| 8 | Doc fix: Member childp contains plist for network process. | ||
| 9 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | ||
| 10 | |||
| 11 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | ||
| 12 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | ||
| 13 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | ||
| 14 | New variables. | ||
| 15 | (NETCONN1_P): New macro. | ||
| 16 | (DATAGRAM_SOCKETS): New conditional symbol. | ||
| 17 | (datagram_address): New array. | ||
| 18 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | ||
| 19 | (status_message): Use concat3. | ||
| 20 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | ||
| 21 | for a stopped network process. | ||
| 22 | (Fset_process_buffer): Update contact plist for network process. | ||
| 23 | (Fset_process_filter): Ditto. Don't enable input for stopped | ||
| 24 | network processes. Server must listen, even if filter is t. | ||
| 25 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | ||
| 26 | New functions. | ||
| 27 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | ||
| 28 | (Fprocess_contact): Added KEY argument. Handle datagrams. | ||
| 29 | (list_processes_1): Optionally show only processes with the query | ||
| 30 | on exit flag set. Dynamically adjust column widths. Omit tty | ||
| 31 | column if not needed. Report stopped network processes. | ||
| 32 | Identify server and datagram network processes. | ||
| 33 | (Flist_processes): New optional arg `query-only'. | ||
| 34 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | ||
| 35 | (conv_lisp_to_sockaddr, set_socket_options) | ||
| 36 | (network_process_featurep, unwind_request_sigio): New helper functions. | ||
| 37 | (Fprocess_datagram_address, Fset_process_datagram_address): | ||
| 38 | (Fset_network_process_options): New lisp functions. | ||
| 39 | (Fopen_network_stream): Removed. Now defined in simple.el. | ||
| 40 | (Fmake_network_process): New lisp function. Code is based on previous | ||
| 41 | Fopen_network_stream, but heavily reworked with new property list based | ||
| 42 | argument list, support for datagrams, server processes, and local | ||
| 43 | sockets in addition to old client-only functionality. | ||
| 44 | (server_accept_connection): New function. | ||
| 45 | (wait_reading_process_input): Use it to handle incoming connects. | ||
| 46 | Do not enable input on a new connection if process is stopped. | ||
| 47 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | ||
| 48 | (send_process): Handle datagram sockets. | ||
| 49 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | ||
| 50 | network process is indicated by setting command field to t . | ||
| 51 | (Fprocess_send_eof): No-op if datagram connection. | ||
| 52 | (Fstatus_notify): Don't read input for a stream server socket or a | ||
| 53 | stopped network process. | ||
| 54 | (init_process): Initialize datagram_address array. | ||
| 55 | (syms_of_process): Intern and staticpro new variables, defsubr new | ||
| 56 | functions. | ||
| 57 | |||
| 1 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | 58 | 2002-03-16 Jason Rumney <jasonr@gnu.org> |
| 2 | 59 | ||
| 3 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | 60 | * w32fns.c (w32_to_all_x_charsets): Return correct type in |