summaryrefslogtreecommitdiff
path: root/src/process.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fstart_process): If enable-multibyte-characters isKenichi Handa1997-07-071-4/+32
| | | | | | | nil, set coding system for decoding output of process to emacs-mule, and set coding system for encoding to nil. (Fopen_network_stream): If enable-multibyte-characters is nil, set coding systems for decoding and encoding to nil.
* (send_process): Make buf and temp_buf `unsigned char *'.Richard M. Stallman1997-07-041-16/+15
|
* (Fstart_process): Call Ffind_operation_coding_system.Kenichi Handa1997-07-021-6/+7
| | | | (Fopen_network_stream): Likewise.
* (READ_CHILD_OUTPUT): Macro deleted.Richard M. Stallman1997-07-011-10/+4
| | | | (read_process_output): Use read instead of READ_CHILD_OUTPUT.
* (wait_reading_process_input): If wait_for_cell,Richard M. Stallman1997-06-291-8/+11
| | | | | | do check for keyboard input and swallow events, just don't exit. (max): New macro. (wait_reading_process_input): Pass a smaller first arg to select.
* (wait_reading_process_input): Don't check forRichard M. Stallman1997-06-221-3/+20
| | | | keyboard input if wait_for_cell.
* (Fprocess_send_eof): Prooperly conditionalize prev. change.Richard M. Stallman1997-06-191-0/+4
|
* (Fprocess_send_eof): Use shutdown, if it's a socket.Richard M. Stallman1997-06-191-1/+10
| | | | Don't close the output descriptor if that is also the input descriptor.
* Further fix previous change.Richard M. Stallman1997-06-181-1/+2
|
* (wait_reading_process_input): Fix previous change.Richard M. Stallman1997-06-171-1/+2
|
* (wait_reading_process_input): When exiting becauseRichard M. Stallman1997-06-161-0/+10
| | | | the process WAIT_PROC has terminated, first read all its output.
* (wait_reading_process_input): Return if unread events appear.Richard M. Stallman1997-06-131-0/+10
|
* (Fstart_process):Pay attention toKenichi Handa1997-06-091-2/+12
| | | | | Vdefault_process_coding_system. (Fopen_network_stream): Likewise.
* (read_process_output): Update opoint, old_begv and old_zvRichard M. Stallman1997-04-301-19/+25
| | | | | | based on actual buffer change rather than size of string. old_begv and old_zv are now ints. (status_notify): Likewise for opoint.
* (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.