aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (read_process_output): Decide the multibyteness ofKenichi Handa1998-12-221-1/+8
| | | | | string given to a process filter by a coding system used for decoding the process output.
* (read_process_output): If NBYTES is zero andKenichi Handa1998-12-151-1/+14
| | | | | | | CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it and try decoding again. (Fprocess_send_eof): If the coding system of PROCESS requires flushing, call send_process with null-string at first.
* (read_process_output): Call signal_after_change.Richard M. Stallman1998-11-251-1/+4
|
* (Fprocess_status): Doc fix.Karl Heuer1998-11-071-1/+1
|
* (exec_sentinel, read_process_output):Richard M. Stallman1998-10-141-0/+11
| | | | Restore waiting_for_user_input_p after running Lisp code.
* Doc fixes.Karl Heuer1998-10-081-13/+14
|
* (wait_reading_process_input): If a pty gives EIO,Richard M. Stallman1998-08-151-2/+6
| | | | raise SIGCHLD just in case.
* (Fprocess_send_eof): Transfer proc_encode_coding_systemRichard M. Stallman1998-08-081-1/+15
| | | | data to the new outfd.
* (create_process): For outchannel, set upRichard M. Stallman1998-08-011-1/+1
| | | | proc_encode_coding_system, not proc_decode_coding_system.
* Whitespace change.Richard M. Stallman1998-07-291-2/+2
|
* (read_process_output): Even if we read data withoutKenichi Handa1998-07-161-12/+18
| | | | | code conversion, calculate character counts. If we insert the data into a unibyte buffer, treat the data as unibyte.
* (init_process): Initilize Vdefault_process_coding_system.Kenichi Handa1998-06-261-0/+5
|
* (Fstart_process): Check process-coding-system-alistKenichi Handa1998-06-261-23/+23
| | | | | | and default-process-coding-system even in unibyte mode. (create_process): In unibyte mode, suppress character code conversion.
* (read_process_output): While processing carryover,Kenichi Handa1998-06-221-7/+13
| | | | check the size of p->decoding_buf.
* (wait_reading_process_input): Recompute timeout eachEli Zaretskii1998-06-211-13/+26
| | | | | time through the loop. Check requeued_events_pending_p and exit the loop if there is unread keyboard input.
* (read_process_output): Handle carryover correctly.Kenichi Handa1998-06-201-2/+14
|
* (Fstart_process): Remove the special case forRichard M. Stallman1998-05-101-120/+114
| | | | | | | unibyte, for initializing the process coding systems. Instead, use the normal multibyte code, but check BUFFER's value and the default value of enable-multibyte-characters. (Fopen_network_stream): Likewise.
* (init_process, syms_of_process): Make definition consistent withEli Zaretskii1998-05-071-0/+2
| | | | prototypes on lisp.h
* (create_process): Add cast when calling encode_codingRichard M. Stallman1998-05-051-2/+2
| | | | and another when storing buf into new_argv.
* (Fset_process_inherit_coding_system_flag, Fstart_process):Richard M. Stallman1998-04-291-6/+8
| | | | | | | Store inherit_coding_system_flag as a Lisp_Object. (Fopen_network_stream): Likewise. (Fprocess_inherit_coding_system_flag): Access it as Lisp_Object. (read_process_output): Likewise.
* (Fset_process_inherit_coding_system_flag): Fix test for non-nil FLAG.Andreas Schwab1998-04-281-1/+1
|
* (Fset_process_inherit_coding_system_flag,Eli Zaretskii1998-04-191-0/+77
| | | | | | | | Fprocess_inherit_coding_system_flag): New functions. (syms_of_process): Defsubr them. (Fstart_process, Fopen_network_stream): Initialize inherit_coding_system_flag. (read_process_output): If the process buffer isn't dead, call after-insert-file-set-buffer-file-coding-system.
* (read_process_output): Fix mixing of Lisp_Object andAndreas Schwab1998-04-141-2/+2
| | | | int.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-2/+11
|
* (kill_buffer_processes): Make consistent withKarl Heuer1998-04-081-0/+1
| | | | prototype on lisp.h.
* (read_process_output): Count multibyte characters. IfKenichi Handa1998-03-251-4/+14
| | | | | | received data is stored in p->decoding_buf, copy it to a temporary buffer and call insert_before_makers instead of insert_from_string_before_markers.
* (read_process_output): Use make_string_from_bytes.Richard M. Stallman1998-03-211-1/+1
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-10/+10
|
* (exec_sentinel, read_process_output): Fstore_match_data => Fset_match_data.Richard M. Stallman1998-03-141-5/+5
| | | | (Fstart_process): Doc fix.
* (Vdefault_file_name_coding_system): Extern it.Kenichi Handa1998-03-031-3/+2
| | | | (create_process): Use ENCODE_FILE.
* (Fstart_process): Use raw-text instead of emacs-muleKenichi Handa1998-01-221-51/+56
| | | | | | | | | | if enable-multibyte-characters is nil. Initialize members decoding_carryover and encoding_carryover of PROC. (create_process): Adjusted for the change of encode_coding. (Fopen_network_stream): Initialize members decoding_carryover and encoding_carryover of PROC. (read_process_output): Adjusted for the change of decode_coding. (send_process): Adjusted for the change of encode_coding.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (read_process_output): Use insert_1_both.Richard M. Stallman1998-01-051-34/+47
| | | | | | | | | (read_process_output): New var `multibyte'. Set it according to which coding system was used. (read_process_output): Handle bytes vs chars. (send_process): Use size_byte of OBJECT. (Fprocess_send_string): Pass size_byte to send_process.
* (status_notify): Use byte and char pointers.Richard M. Stallman1998-01-011-25/+47
| | | | | | (Fprocess_send_region): Make bytepos for send_process. (read_process_output): Save, restore, and update both kinds of ptrs. (send_process): OFFSET is now in bytes.
* (read_process_output): Fix previous change, i.e, ifKenichi Handa1997-12-091-7/+13
| | | | | | | | | proc_encode_coding_system[p->outfd] is NULL, instead of allocating `struct coding_system' for encoding, just skip setting up coding system for encoding. Set Vlast_coding_system_used after some text is read. (send_process): Set Vlast_coding_system_used after deciding a coding system to be used for encoding.
* (read_process_output): Allocate for coding system, ifKarl Heuer1997-12-081-0/+4
| | | | not already done.
* (create_process, deactivate_process, close_process_descs):Andreas Schwab1997-11-281-1/+6
| | | | | (kill_buffer_processes, status_notify): Return void. (Fstart_process): Cast arg to create_process.
* (create_process): Encode arguments for the process.Kenichi Handa1997-11-081-2/+32
| | | | | (read_process_output): Use new macros defined in coding.h. (send_process): Likewise.
* (create_process): Encode the new current dir.Richard M. Stallman1997-09-091-0/+5
|
* (read_process_output): Index forKenichi Handa1997-09-011-1/+1
| | | | | proc_encode_coding_system should be p->outfd (not `channel' which is p->infd).
* (Fset_process_coding_system): Doc-string modified.Kenichi Handa1997-08-041-2/+2
| | | | (Fprocess_coding_system): Likewise.
* (read_process_output): Don't call setup_coding_systemRichard M. Stallman1997-07-311-9/+13
| | | | | | | | for proc_decode_coding_system[channel]. It is already done in detect_coding called via decode_coding. (wait_reading_process_input): Call detect_input_pending whenever read_kbd is 0, not just when wait_for_cell.
* (read_process_output): Use new macroKenichi Handa1997-07-251-2/+2
| | | | | CODING_REQUIRE_NO_CONVERSION (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
* (wait_reading_process_input): Initialize total_read.Richard M. Stallman1997-07-241-2/+9
| | | | Check for read_process_output giving back EIO.
* (Fprocess_send_region): Convert move_gap argument to int.Richard M. Stallman1997-07-121-1/+1
|
* (read_process_output): Add cast.Richard M. Stallman1997-07-101-1/+1
|
* (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.