aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Dave Love2002-05-171-0/+7
|
* Include "character.h" instead of "charset.h".Kenichi Handa2002-03-011-54/+45
| | | | | (read_process_output): Adjusted for the new code-conversion API. (send_process): Likewise.
* (send_process): Set src_multibyte to 1 after the callEli Zaretskii2002-01-071-3/+5
| | | | top setup_coding_system, not before the call.
* Test GNU_LINUX, not LINUX.Richard M. Stallman2001-12-111-1/+1
|
* (create_process): Use HAVE_WORKING_VFORK, not HAVE_VFORK.Paul Eggert2001-12-071-4/+4
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-39/+39
|
* (Fstart_process): Add usage to doc-string.Pavel Janík2001-11-021-1/+2
|
* Don't define max.Pavel Janík2001-10-241-3/+0
| | | | (create_process): Remove unused variable `buffer'.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-201-234/+234
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-14/+18
| | | | with lisp system changes.
* (process-inherit-coding-system-flag, get-buffer-process): Do not confusePavel Janík2001-10-151-4/+4
| | | | make-docfile with doc strings in comment.
* Update calls to openp.Stefan Monnier2001-10-121-3/+3
|
* (send_process): Disable composition if from_byte < 0.Gerd Moellmann2001-09-251-2/+7
| | | | From Kenichi Handa <handa@etl.go.jp>.
* (sigchld_handler) [LINUX]: Don't return fromGerd Moellmann2001-09-241-1/+3
| | | | the signal handler at the end of the loop.
* (sigchld_handler): Use GC_CONSP, GC_INTEGERP, GC_EQGerd Moellmann2001-09-201-27/+29
| | | | since this function can be called during GC.
* (read_process_output): Don't call signal_after_changeGerd Moellmann2001-05-161-2/+0
| | | | and update_compositions after insert_from_string_before_markers.
* (wait_reading_process_input): CallGerd Moellmann2001-04-251-1/+5
| | | | | record_asynch_buffer_change only if a timer really changed buffers.
* (wait_reading_process_input) [!subprocesses]: Don'tEli Zaretskii2001-04-211-19/+5
| | | | | reference waiting_for_user_input_p, it's not defined in the branch without async subprocesses support.
* (wait_reading_process_input): CallGerd Moellmann2001-04-191-10/+46
| | | | | record_asynch_buffer_change after running timers, to make read_key_sequence aware of buffer changes from under it.
* (Fset_process_window_size): Fix a typo.Gerd Moellmann2001-03-081-1/+1
|
* (Fset_process_filter): Don't crash if the inputGerd Moellmann2001-03-071-11/+29
| | | | | file descriptor of PROCESS is closed. (Fset_process_window_size): Likewise.
* (make_process): Use allocate_process.Gerd Moellmann2001-02-281-7/+2
|
* Call redisplay_preserve_echo_area with additional arg.Gerd Moellmann2001-01-161-7/+7
|
* (wait_reading_process_input): Check for pendingGerd Moellmann2000-12-181-18/+20
| | | | input when running timers.
* (read_process_output): Don't run a filter if the codeKenichi Handa2000-12-181-5/+6
| | | | decoder produces nothing but carryover.
* (read_process_output): Make sure the process marker'sGerd Moellmann2000-12-071-1/+9
| | | | | position is valid when the process buffer is changed in after-change functions. W3 does that.
* (send_process): If OBJECT is t, it means that the dataKenichi Handa2000-10-251-12/+20
| | | | | | is from C string, but we should encode it. Before calling setup_raw_text_coding_system, be sure to flush out data by the previous coding system.
* (read_process_output): Cancel previous change.Kenichi Handa2000-10-111-4/+4
|
* (read_process_output): Fix previous change. Adjust multibyteness ofKenichi Handa2000-10-111-2/+2
| | | | | text to insert in a buffer by make_string_unibyte/multibyte instead of Fstring_as_unibyte/multibyte.
* (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S toAndreas Schwab2000-10-091-0/+1
| | | | -1 after socket is closed, to fall through to error processing.
* (Fopen_network_stream): Use HAVE_GAI_STRERROR.Dave Love2000-10-021-0/+5
|
* (Fopen_network_stream) [HAVE_GETADDRINFO]: UseGerd Moellmann2000-09-301-38/+65
| | | | | gai_strerror. Make sure xerrno is set if connect fails. Improve error recovery.
* (process_sent_to): New variable.Gerd Moellmann2000-09-211-107/+118
| | | | | | (send_process): Workaround for a crash on sparc-sun-solaris-2.6 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. Declare more parameters volatile.
* (read_process_output): Before inserting the decodedKenichi Handa2000-09-071-0/+6
| | | | text in the buffer, adjust the multibyteness.
* (create_process): Don't setup raw-text coding here.Kenichi Handa2000-08-241-22/+23
| | | | | | | | | | | | (Fopen_network_stream): Don't set coding->src_multibyte and coding->dst_multibyte here. (read_process_output): For process filter, return unibyte string if default-enable-multibyte-characters is nil. (send_process): If OBJECT is multibyte text, be sure to encoded it by the specified coding system for the process. Otherwise, setup raw-text coding. (init_process): Don't initialize default-process-coding-system here.
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-1/+5
| | | | | | | [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
* *** empty log message ***Kenichi Handa2000-08-041-0/+2
|
* (read_process_output): Big simplification. HandleKenichi Handa2000-08-041-209/+89
| | | | | composition and post-read-conversion of coding system correctly. (send_process): Handle composition correctly.
* * process.c (Fopen_network_stream): Turn off atimers for duration of call toKen Raeburn2000-06-241-0/+9
| | | | connect. (Patch from Gerd.)
* (toplevel) [UNIX98_PTYS]: Include stdlib.h.Gerd Moellmann2000-05-201-1/+1
|
* (Fstart_process): GCPRO current_dir before callingKenichi Handa2000-05-201-125/+130
| | | | | | | | | | | | | Ffind_operation_coding_system. Encode arguments here. (create_process): Don't encode arguments here. Setup src_multibyte and dst_multibyte members of struct coding. (read_process_output): Setup src_multibyte and dst_multibyte members of struct coding. If the output is to multibyte buffer, always decode the output of the process. Adjust the representation of 8-bit characters to the multibyteness of the output. (send_process): Setup coding->src_multibyte according to the multibyteness of the source.
* (send_process): Add a hint that the functionGerd Moellmann2000-03-151-1/+3
| | | | can call Lisp code to its comment.
* (send_process): Remove local variable `procname' thatGerd Moellmann2000-03-061-5/+8
| | | | | might become invalid when a GC happens. Instead, access the process name slot directly.
* (wait_reading_process_input): Remove busy-cursor code.Gerd Moellmann2000-02-251-11/+0
|
* (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:Gerd Moellmann2000-02-151-0/+26
| | | | | Workaround for FreeBSD bug. Flush output queue after EAGAIN in write(2).
* (Fopen_network_stream) [POLL_FOR_INPUT]: RegisterGerd Moellmann2000-02-121-0/+1
| | | | unwind function to undo the effect of stopping atimers.
* (Fstart_process): Doc fix.Dave Love2000-02-011-1/+2
|
* (toplevel): Include atimer.h.Gerd Moellmann2000-01-251-19/+24
| | | | | | | | | (create_process_1): Rewritten. (create_process): Use atimers instead of alarm. (wait_reading_process_input) [hpux]: Turn atimers off instead of turning off SIGALRM. (wait_reading_process_input): Turn off atimers instead off calling stop_polling.
* (read_process_output): Fix the args CHARPOS and LENINSKenichi Handa1999-12-291-1/+1
| | | | to signal_after_change.
* (read_process_output): Fix the arg FROM toKenichi Handa1999-12-241-1/+1
| | | | update_compositions.