summaryrefslogtreecommitdiff
path: root/src/process.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fopen_network_stream): Use same socket for in and out.Richard M. Stallman1997-03-251-3/+1
|
* (wait_reading_process_input): If wait_for_cell,Richard M. Stallman1997-03-221-1/+10
| | | | | | | | ignore subprocess input and respond only to keyboard. (non_process_wait_mask): New variable. (add_keyboard_wait_descriptor): Update it. (delete_keyboard_wait_descriptor): Update it. (init_process): Initialize it.
* (Fstart_process, Fopen_network_stream): Do not performKenichi Handa1997-02-271-76/+104
| | | | character code conversion if enable-multibyte-characters is nil.
* Include charset.h and coding.h.Karl Heuer1997-02-201-11/+297
| | | | | | | | | | | | | | | (proc_decode_coding_system, proc_encode_coding_system): New variables. (Fstart_process, create_process, Fopen_network_stream): Setup coding systems for character code conversion. (READ_CHILD_OUTPUT): New macro. (read_process_output): Perform character code conversion of a process output. (send_process): Perform character code conversion of a text sent to a process. (Fset_process_coding_system, Fprocess_coding_system): New functions. (syms_of_process): Handle them.
* Include blockinput.h.Richard M. Stallman1996-12-301-0/+5
| | | | (create_process): Block input around the fork.
* (read_process_output, exec_sentinel):Richard M. Stallman1996-12-191-4/+4
| | | | Call Fmatch_data with new explicit arguments.
* (send_process) [EMACS_HAS_USECS]:Richard M. Stallman1996-12-181-0/+4
| | | | When we wait for the buffer to clear, wait just .02 second.
* (status_notify): Test p->infd > 0Richard M. Stallman1996-12-081-5/+43
| | | | | | before each call to read_process_output. (read_process_output): Handle match data properly in recursive calls. (exec_sentinel): Likewise.
* (status_notify): Update p->tick againRichard M. Stallman1996-10-261-0/+5
| | | | just before running the sentinel, in case it dies.
* Replaced symbol BSD with BSD_SYSTEM.Karl Heuer1996-09-171-5/+5
|
* (stream_process): Variable deleted.Richard M. Stallman1996-09-161-5/+0
| | | | (syms_of_process): staticpro deleted.
* (create_process): Test HAVE_SETPGID for using setpgid.Richard M. Stallman1996-09-041-1/+1
|
* (create_process_1, sigchld_handler) [POSIX_SIGNALS]:Richard M. Stallman1996-09-041-3/+3
| | | | Don't reestablish handler.
* (create_process): Undo previous change.Richard M. Stallman1996-09-031-5/+7
|
* (Fprocess_contact): New function.Richard M. Stallman1996-09-011-6/+17
| | | | | | (Fopen_network_stream): Store a cons cell in childp. (NETCONN_P): Use GC_CONSP. (list_processes_1): Use new childp format.
* (create_process): Test defined (TIOCSCTTY)Richard M. Stallman1996-09-011-2/+4
| | | | and defined (HAVE_SETSID) instead of DONT_REOPEN_PTY.
* Change all references from point to PT.Karl Heuer1996-09-011-9/+9
|
* (send_process): GCPRO object.Richard M. Stallman1996-08-221-0/+5
|
* (create_process_1, sigchld_handler): Undo previous change.Karl Heuer1996-07-161-3/+3
|
* (create_process_1, sigchld_handler):Karl Heuer1996-07-151-3/+3
| | | | Don't reinstall sig handler if POSIX_SIGNALS.
* (wait_reading_process_input) [hpux]: Workaround forKarl Heuer1996-07-131-1/+17
| | | | annoying messages.
* Comment change.Richard M. Stallman1996-06-111-0/+2
|
* (wait_reading_process_input): Move the O_NONBLOCK andRichard M. Stallman1996-06-111-2/+1
| | | | O_NDELAY conditionals out of the EWOULDBLOCK conditional.
* (create_process): Add DONT_OPEN_PTY conditional.Richard M. Stallman1996-06-091-2/+3
|
* (Fopen_network_stream)[WINDOWSNT]: Ensure WindowsRichard M. Stallman1996-06-081-0/+5
| | | | socket library is loaded if available.
* (Fopen_network_stream): Set process infd to inch.Richard M. Stallman1996-04-261-26/+3
| | | | | (create_process, read_process_output, Fsignal_process) [WINDOWSNT]: Remove conditional NT code.
* (wait_reading_process_input, both definitions):Richard M. Stallman1996-04-231-8/+36
| | | | | If wait_for_cell, don't call timer_check, and use detect_input_pending instead of detect_input_pending_run_timers.
* (wait_reading_process_input) [!subprocesses]:Richard M. Stallman1996-04-151-13/+8
| | | | Get rid of the loop around the detect_input_pending call.
* (wait_reading_process_input) [!subprocesses]: HandleRichard M. Stallman1996-04-141-25/+57
| | | | | | | | | the case of READ_KBD being a cons cell. Retry the timer check after a timer fired. (All of these make this definition consistent with the one that supports async subprocesses.) (wait_reading_process_input, both definitions): Use plain detect_input_pending just before the select call.
* (wait_reading_process_input, both definitions):Richard M. Stallman1996-04-121-29/+25
| | | | Don't call detect_input_pending; use detect_input_pending_run_timers.
* (wait_reading_process_input): Don't callRichard M. Stallman1996-04-031-1/+2
| | | | wait_reading_process_input_1 if time_limit is -1.
* (wait_reading_process_input_1): New (empty) function.Richard M. Stallman1996-03-271-2/+22
| | | | | (wait_reading_process_input): Call wait_reading_process_input_1. If timer_check runs some timers, retry it.
* (wait_reading_process_input): Eliminate bogus testRichard M. Stallman1996-03-221-1/+1
| | | | that was trying to check read_kbd and failing.
* (wait_reading_process_input): Extract the number from read_kbd with XINT.Richard M. Stallman1996-03-191-1/+1
|
* (wait_reading_process_input) [! subprocesses]: RunKarl Heuer1996-03-141-36/+42
| | | | | timers and redisplay if they were run, like the code for systems which support subprocesses does.
* [!subprocesses] (wait_reading_process_input):Richard M. Stallman1996-03-101-4/+44
| | | | Port the timer changes from the other wait_reading_process_input.
* (wait_reading_process_input):Richard M. Stallman1996-03-081-0/+4
| | | | Redisplay after timer_check if timers were actually run.
* (wait_reading_process_input):Richard M. Stallman1996-03-051-2/+5
| | | | | | Pass DO_DISPLAY to detect_input_pending_run_timers. (Fopen_network_stream): Set immediate_quit around gethostbyname.
* (wait_reading_process_input): Use getpid when generating SIGIO.Richard M. Stallman1996-03-031-2/+2
|
* (Fopen_network_stream): Set immediate_quit for the connect.Richard M. Stallman1996-02-261-0/+8
|
* (wait_reading_process_input):Karl Heuer1996-02-211-6/+11
| | | | | | | Pass new arg to swallow_events. (wait_reading_process_input): If read_kbd is 1, use detect_input_pending_run_timers instead of detect_input_pending.
* (Faccept_process_output): Accept sub-second timeouts.Erik Naggum1996-02-211-1/+1
|
* (Fopen_network_stream): Use sizeof, not strlen, for numeric_addr.Richard M. Stallman1996-02-111-1/+2
|
* (remove_process): Don't unlink the process marker.Richard M. Stallman1996-02-081-1/+0
|
* (sigchld_handler): Use cleaner end-of-list test.Karl Heuer1996-02-051-2/+2
|
* (wait_reading_process_input): If select times out,Richard M. Stallman1996-02-011-4/+11
| | | | | return only if we had no timers to shorten the wait. Don't shorten the wait for timers if time_limit is -1.
* (create_process): Set outchannel to be non-blocking.Richard M. Stallman1996-01-291-1/+4
|
* (wait_reading_process_input): Call timer_checkRichard M. Stallman1996-01-291-0/+18
| | | | and shorten the inner delay if appropriate.
* (wait_reading_process_input) [not subprocesses]: DoKarl Heuer1996-01-241-3/+6
| | | | not assume SELECT_TYPE is an int.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|