summaryrefslogtreecommitdiff
path: root/src/process.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* (create_process): Restore the signal stateKarl Heuer1996-01-091-21/+30
| | | | after vfork whether it succeeds or not.
* (Fprocessp, Fget_buffer_process, Fdelete_process, Fprocess_status,Erik Naggum1996-01-091-100/+100
| | | | | | | | Fprocess_exit_status, Fprocess_id, Fprocess_name, Fprocess_command, Fprocess_tty_name, Fset_process_buffer, Fprocess_buffer, Fprocess_mark, Fset_process_filter, Fprocess_filter, Fset_process_sentinel, Fprocess_sentinel, Fset_process_window_size, Fprocess_kill_without_query, Faccept_process_output): Harmonize arguments with documentation.
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* (Fopen_network_stream): Call bind_polling_period earlier.Karl Heuer1995-12-211-7/+7
|
* (create_process): Use Posix signal handling toKarl Heuer1995-12-131-3/+50
| | | | | | | block signals, if available. If HAVE_VFORK, save and restore signal handlers that the child might change, since in many systems (e.g. Solaris 2.4) if the child changes the signal handlers this munges the parent's handler.
* [HAVE_NTGUI] (POLL_FOR_INPUT): Define macro.Geoff Voelker1995-11-071-2/+2
| | | | Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
* (exec_sentinel, read_process_output):Richard M. Stallman1995-10-091-2/+10
| | | | Call record_asynch_buffer_change only if caller is reading kbd input.
* (read_process_output, exec_sentinel): CallRichard M. Stallman1995-08-081-8/+6
| | | | | | record_asynch_buffer_change after any eval. Don't call prepare_menu_bars. (wait_reading_process_input): Don't call prepare_menu_bars.
* Maybe include net/errno.h.Richard M. Stallman1995-08-021-0/+3
|
* (Fstart_process): Don't expand the file name before trying openp.Richard M. Stallman1995-07-251-2/+1
|
* (keyboard_bit_set): Fix one-off in loop end.Karl Heuer1995-07-171-1/+1
|
* (Fstart_process): Expand PROGRAM.Richard M. Stallman1995-07-071-1/+8
| | | | Error if it is a directory.
* (Fopen_network_stream): Sleep 1 sec before connect retry.Richard M. Stallman1995-06-251-0/+4
|
* (sigchld_handler): Change XSETFASTINT to XSETINT.Richard M. Stallman1995-06-191-2/+2
|
* (status_notify): Undo May 18 change.Richard M. Stallman1995-06-141-77/+74
| | | | Set update_tick at the beginning not at end.
* [!subprocesses]: Include sysselect.h.Karl Heuer1995-06-081-0/+1
|
* (create_process, send_process): Add volatile qualifiers.Karl Heuer1995-05-261-8/+14
| | | | (wait_reading_process_input) [both versions]: Cast args of select.
* (status_notify): If Vprocess_alist changes withinKarl Heuer1995-05-181-70/+75
| | | | the loop, do the whole loop again.
* (wait_reading_process_input): Pass arg in new call to set_waiting_for_input.Richard M. Stallman1995-05-071-1/+1
|
* (wait_reading_process_input): Don't call prepare_menu_bars.Richard M. Stallman1995-05-061-6/+6
| | | | Clear waiting_for_input around calling redisplay_preserve_echo_area.
* (list_processes_1): Cast XFASTINT for passing to sprintf.Richard M. Stallman1995-05-051-1/+1
|