| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Before calling turn_on_atimers, call stop_polling.
|
| | |
|
| | |
|
| |
|
|
|
| |
(process_send_signal): Clean up handling of GID.
Detect errors in ioctls meant to set GID.
|
| |
|
|
|
| |
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
|
| | |
|
| | |
|
| |
|
|
| |
and XSTRING instead of XSYMBOL and name field.
|
| | |
|
| |
|
|
| |
use non-blocking I/O.
|
| |
|
|
| |
when we can make them non-blocking.
|
| | |
|
| |
|
|
| |
lisp/ChangeLog, and src/ChangeLog for list of changes.
|
| | |
|
| |
|
|
|
|
| |
(Fprocess_datagram_address, Fset_process_datagram_address)
(Fset_network_process_options, server_accept_connection):
Fix some int/Lisp_Object confusions (thank you union types).
|
| | |
|
| |
|
|
| |
(make-network-process): Doc fix.
|
| |
|
|
| |
subfeatures if HAVE_SOCKETS.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| | |
|
| |
|
|
|
| |
use "sun" as a variable, it's a predefined constant on Sun
machines.
|
| |
|
|
| |
where they are used.
|
| |
|
|
| |
Remove explicit GNU_LINUX settings for datagram support.
|
| |
|
|
|
| |
Doc fix. Add usage:.
(set_socket_options): Remove unused variables `optnum' and `opttype'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
| |
top setup_coding_system, not before the call.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(create_process): Remove unused variable `buffer'.
|
| | |
|
| |
|
|
| |
with lisp system changes.
|
| |
|
|
| |
make-docfile with doc strings in comment.
|
| | |
|
| |
|
|
| |
From Kenichi Handa <handa@etl.go.jp>.
|
| |
|
|
| |
the signal handler at the end of the loop.
|
| |
|
|
| |
since this function can be called during GC.
|
| |
|
|
| |
and update_compositions after insert_from_string_before_markers.
|
| |
|
|
|
| |
record_asynch_buffer_change only if a timer really changed
buffers.
|
| |
|
|
|
| |
reference waiting_for_user_input_p, it's not defined in the branch
without async subprocesses support.
|
| |
|
|
|
| |
record_asynch_buffer_change after running timers, to make
read_key_sequence aware of buffer changes from under it.
|
| | |
|
| |
|
|
|
| |
file descriptor of PROCESS is closed.
(Fset_process_window_size): Likewise.
|
| | |
|