aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (make-network-process): Doc fix (there is no network-server-log-function hook).Kim F. Storm2002-09-181-3/+2
|
* (wait_reading_process_input, both versions):Richard M. Stallman2002-09-121-1/+5
| | | | Before calling turn_on_atimers, call stop_polling.
* (Fstart_process): Remove /: from program name.Richard M. Stallman2002-08-241-6/+14
|
* * process.c (status_message): Use SSET.Ken Raeburn2002-07-161-1/+1
|
* (create_process): Test USG_SUBTTY_WORKS.Richard M. Stallman2002-07-161-16/+19
| | | | | (process_send_signal): Clean up handling of GID. Detect errors in ioctls meant to set GID.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-66/+66
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* (process_send_signal): Add abort call.Richard M. Stallman2002-07-121-1/+3
|
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-5/+5
|
* * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAMEKen Raeburn2002-05-201-3/+3
| | | | and XSTRING instead of XSYMBOL and name field.
* Fix typo.Juanma Barranquero2002-05-161-1/+1
|
* (init_process): Only add server subfeature if we canJason Rumney2002-05-041-1/+1
| | | | use non-blocking I/O.
* (Fmake_network_process): Only support server socketsJason Rumney2002-05-031-1/+3
| | | | when we can make them non-blocking.
* (Fstart_process): Update call to openp.Stefan Monnier2002-04-301-1/+1
|
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-0/+13
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* Comment change.Richard M. Stallman2002-04-031-1/+2
|
* (DATAGRAM_CONN_P, list_processes_1)Stefan Monnier2002-04-011-8/+8
| | | | | | (Fprocess_datagram_address, Fset_process_datagram_address) (Fset_network_process_options, server_accept_connection): Fix some int/Lisp_Object confusions (thank you union types).
* (DATAGRAM_CONN_P): Make sure PROC is really a process.Miles Bader2002-03-281-1/+1
|
* (set-network-process-options): Add usage.Pavel Janík2002-03-271-3/+5
| | | | (make-network-process): Doc fix.
* (init_process): Only provide make-network-process feature andKim F. Storm2002-03-211-16/+19
| | | | subfeatures if HAVE_SOCKETS.
* (QCfeature, QCdatagram): Removed variables.Kim F. Storm2002-03-211-121/+72
| | | | | | | | | | | | | | (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.
* (QCfamily, QCfiler): Remove duplicate declaration and initialization.Jason Rumney2002-03-201-6/+6
|
* (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don'tEli Zaretskii2002-03-201-7/+7
| | | | | use "sun" as a variable, it's a predefined constant on Sun machines.
* (wait_reading_process_input): Move variables `pname' and `pnamelen' downPavel Janík2002-03-181-11/+14
| | | | where they are used.
* Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.Kim F. Storm2002-03-181-9/+1
| | | | Remove explicit GNU_LINUX settings for datagram support.
* (Fmake_network_process): Remove unused variable `sa'.Pavel Janík2002-03-181-4/+4
| | | | | Doc fix. Add usage:. (set_socket_options): Remove unused variables `optnum' and `opttype'.
* (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)Kim F. Storm2002-03-171-274/+1630
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (Fopen_network_stream): Always call turn_on_atimers around connect.Kim F. Storm2002-03-031-4/+2
|
* (Fopen_network_stream): Use GCPRO6.Kim F. Storm2002-03-011-5/+4
|
* (Fprocess_status): Document connect and failed return values.Kim F. Storm2002-03-011-0/+2
|
* (Qconnect, Qfailed): New variables.Kim F. Storm2002-02-281-145/+350
| | | | | | | | | | | | | | (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.
* (send_process): Set src_multibyte to 1 after the callEli Zaretskii2002-01-071-3/+5
| | | | top setup_coding_system, not before the call.
* Test GNU_LINUX, not LINUX.Richard M. Stallman2001-12-111-1/+1
|
* (create_process): Use HAVE_WORKING_VFORK, not HAVE_VFORK.Paul Eggert2001-12-071-4/+4
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-39/+39
|
* (Fstart_process): Add usage to doc-string.Pavel Janík2001-11-021-1/+2
|
* Don't define max.Pavel Janík2001-10-241-3/+0
| | | | (create_process): Remove unused variable `buffer'.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-201-234/+234
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-14/+18
| | | | with lisp system changes.
* (process-inherit-coding-system-flag, get-buffer-process): Do not confusePavel Janík2001-10-151-4/+4
| | | | make-docfile with doc strings in comment.
* Update calls to openp.Stefan Monnier2001-10-121-3/+3
|
* (send_process): Disable composition if from_byte < 0.Gerd Moellmann2001-09-251-2/+7
| | | | From Kenichi Handa <handa@etl.go.jp>.
* (sigchld_handler) [LINUX]: Don't return fromGerd Moellmann2001-09-241-1/+3
| | | | the signal handler at the end of the loop.
* (sigchld_handler): Use GC_CONSP, GC_INTEGERP, GC_EQGerd Moellmann2001-09-201-27/+29
| | | | since this function can be called during GC.
* (read_process_output): Don't call signal_after_changeGerd Moellmann2001-05-161-2/+0
| | | | and update_compositions after insert_from_string_before_markers.
* (wait_reading_process_input): CallGerd Moellmann2001-04-251-1/+5
| | | | | record_asynch_buffer_change only if a timer really changed buffers.
* (wait_reading_process_input) [!subprocesses]: Don'tEli Zaretskii2001-04-211-19/+5
| | | | | reference waiting_for_user_input_p, it's not defined in the branch without async subprocesses support.
* (wait_reading_process_input): CallGerd Moellmann2001-04-191-10/+46
| | | | | record_asynch_buffer_change after running timers, to make read_key_sequence aware of buffer changes from under it.
* (Fset_process_window_size): Fix a typo.Gerd Moellmann2001-03-081-1/+1
|
* (Fset_process_filter): Don't crash if the inputGerd Moellmann2001-03-071-11/+29
| | | | | file descriptor of PROCESS is closed. (Fset_process_window_size): Likewise.
* (make_process): Use allocate_process.Gerd Moellmann2001-02-281-7/+2
|