1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

292 commits

Author SHA1 Message Date
Gerd Moellmann
2b6538062c Call change_frame_size and do_pending_window_change with
new parameter.
1999-08-21 19:30:35 +00:00
Karl Heuer
418b48fddf (Fopen_network_stream): Fix previous change. 1999-08-14 04:36:10 +00:00
Karl Heuer
a319f7c188 (Fopen_network_stream): Use getaddrinfo. 1999-08-12 16:35:22 +00:00
Karl Heuer
fc14013c81 (create_process): Detect failure of `pipe'. 1999-07-30 14:39:27 +00:00
Gerd Moellmann
efa2a55cbd (wait_reading_process_input): Show and hide busy
cursor.
1999-07-21 21:43:52 +00:00
Richard M. Stallman
10af5b4c34 (create_process): If the output goes to a unibyte
buffer, suppress character code conversion.p
1999-07-07 22:50:13 +00:00
Karl Heuer
9660863d1e (send_process): Delete unsafe/redundant assignment. 1999-06-17 22:52:23 +00:00
Richard M. Stallman
0748d150ec (Faccept_process_output): Check validity of PROCESS. 1999-04-08 16:50:04 +00:00
Richard M. Stallman
b81ea5ef1d (syms_of_process): defsubr it.
(Fprocess_running_child_p): New function.

(process_send_signal): If CURRENT_GROUP is `lambda'
then don't send the signal if the shell owns the terminal.
(Finterrupt_process): Doc change.
1999-02-19 01:39:27 +00:00
Kenichi Handa
51c6067d9b (read_process_output): Decide the multibyteness of
string given to a process filter by a coding system used for
decoding the process output.
1998-12-22 06:06:48 +00:00
Kenichi Handa
de7fbd0989 (read_process_output): If NBYTES is zero and
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.
1998-12-15 04:35:38 +00:00
Richard M. Stallman
1741e72de6 (read_process_output): Call signal_after_change. 1998-11-25 01:26:56 +00:00
Karl Heuer
31cd7d0079 (Fprocess_status): Doc fix. 1998-11-07 16:55:41 +00:00
Richard M. Stallman
bbce7d721d (exec_sentinel, read_process_output):
Restore waiting_for_user_input_p after running Lisp code.
1998-10-14 14:36:33 +00:00
Karl Heuer
7744ca33c6 Doc fixes. 1998-10-08 20:31:34 +00:00
Richard M. Stallman
5651af6d63 (wait_reading_process_input): If a pty gives EIO,
raise SIGCHLD just in case.
1998-08-15 05:53:00 +00:00
Richard M. Stallman
4525f571f5 (Fprocess_send_eof): Transfer proc_encode_coding_system
data to the new outfd.
1998-08-08 00:49:24 +00:00
Richard M. Stallman
7c5e21ab08 (create_process): For outchannel, set up
proc_encode_coding_system, not proc_decode_coding_system.
1998-08-01 19:04:28 +00:00
Richard M. Stallman
929a672696 Whitespace change. 1998-07-29 18:59:34 +00:00
Kenichi Handa
8bc49fd1f3 (read_process_output): Even if we read data without
code conversion, calculate character counts.  If we insert the
data into a unibyte buffer, treat the data as unibyte.
1998-07-16 00:14:44 +00:00
Kenichi Handa
77c070f379 (init_process): Initilize Vdefault_process_coding_system. 1998-06-26 04:13:40 +00:00
Kenichi Handa
d5d4ae7193 (Fstart_process): Check process-coding-system-alist
and default-process-coding-system even in unibyte mode.
(create_process): In unibyte mode, suppress character code
conversion.
1998-06-26 03:29:15 +00:00
Kenichi Handa
55fd504836 (read_process_output): While processing carryover,
check the size of p->decoding_buf.
1998-06-22 00:24:57 +00:00
Eli Zaretskii
52fd88d3c4 (wait_reading_process_input): Recompute timeout each
time through the loop.  Check requeued_events_pending_p and exit
the loop if there is unread keyboard input.
1998-06-21 14:52:08 +00:00
Kenichi Handa
ca65341ea8 (read_process_output): Handle carryover correctly. 1998-06-20 03:01:00 +00:00
Richard M. Stallman
6791894163 (Fstart_process): Remove the special case for
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.
1998-05-10 19:21:05 +00:00
Eli Zaretskii
02b9b4fd8a (init_process, syms_of_process): Make definition consistent with
prototypes on lisp.h
1998-05-07 07:46:41 +00:00
Richard M. Stallman
833d591d60 (create_process): Add cast when calling encode_coding
and another when storing buf into new_argv.
1998-05-05 19:33:16 +00:00
Richard M. Stallman
aa91317aed (Fset_process_inherit_coding_system_flag, Fstart_process):
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.
1998-04-29 21:46:43 +00:00
Andreas Schwab
3a80c0aa96 (Fset_process_inherit_coding_system_flag): Fix test for non-nil FLAG. 1998-04-28 09:27:02 +00:00
Eli Zaretskii
52a1b89480 (Fset_process_inherit_coding_system_flag,
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.
1998-04-19 14:13:47 +00:00
Andreas Schwab
e6d6dff2d0 (read_process_output): Fix mixing of Lisp_Object and
int.
1998-04-14 13:05:38 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Karl Heuer
d9bb0c3292 (kill_buffer_processes): Make consistent with
prototype on lisp.h.
1998-04-08 06:49:17 +00:00
Kenichi Handa
0d023da168 (read_process_output): Count multibyte characters. If
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.
1998-03-25 10:45:59 +00:00
Richard M. Stallman
e6e5ac6800 (read_process_output): Use make_string_from_bytes. 1998-03-21 17:50:30 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman
8f1ecd05a8 (exec_sentinel, read_process_output): Fstore_match_data => Fset_match_data.
(Fstart_process): Doc fix.
1998-03-14 08:23:21 +00:00
Kenichi Handa
14dc609387 (Vdefault_file_name_coding_system): Extern it.
(create_process): Use ENCODE_FILE.
1998-03-03 07:18:46 +00:00
Kenichi Handa
e7fbaa6567 (Fstart_process): Use raw-text instead of emacs-mule
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.
1998-01-22 01:26:45 +00:00
Richard M. Stallman
4a2f9c6aef Update copyright year. 1998-01-21 23:32:12 +00:00
Richard M. Stallman
1d2fc6120d (read_process_output): Use insert_1_both.
(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.
1998-01-05 17:33:41 +00:00
Richard M. Stallman
d8a2934ed2 (status_notify): Use byte and char pointers.
(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.
1998-01-01 06:45:08 +00:00
Kenichi Handa
486b111b20 (read_process_output): Fix previous change, i.e, if
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.
1997-12-09 04:12:03 +00:00
Karl Heuer
ea4496e6c5 (read_process_output): Allocate for coding system, if
not already done.
1997-12-08 01:35:12 +00:00
Andreas Schwab
6b53bb8563 (create_process, deactivate_process, close_process_descs):
(kill_buffer_processes, status_notify): Return void.
(Fstart_process): Cast arg to create_process.
1997-11-28 14:53:09 +00:00
Kenichi Handa
1a283a4c9e (create_process): Encode arguments for the process.
(read_process_output): Use new macros defined in coding.h.
(send_process): Likewise.
1997-11-08 03:05:44 +00:00
Richard M. Stallman
a932f187fb (create_process): Encode the new current dir. 1997-09-09 05:30:58 +00:00
Kenichi Handa
e9c509cd76 (read_process_output): Index for
proc_encode_coding_system should be p->outfd (not `channel' which
is p->infd).
1997-09-01 07:15:46 +00:00
Kenichi Handa
a95c35f6a2 (Fset_process_coding_system): Doc-string modified.
(Fprocess_coding_system): Likewise.
1997-08-04 06:59:57 +00:00