summaryrefslogtreecommitdiff
path: root/src/channel.c
AgeCommit message (Collapse)Author
2018-06-17patch 8.1.0069: cannot handle pressing CTRL-C in a prompt bufferBram Moolenaar
Problem: Cannot handle pressing CTRL-C in a prompt buffer. Solution: Add prompt_setinterrupt().
2018-06-12patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal windowBram Moolenaar
Problem: $VIM_TERMINAL is also set when not in a terminal window. Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-03patch 8.1.0027: difficult to make a plugin that feeds a line to a jobBram Moolenaar
Problem: Difficult to make a plugin that feeds a line to a job. Solution: Add the nitial code for the "prompt" buftype.
2018-05-13patch 8.0.1828: get no clue why :gui does not forkBram Moolenaar
Problem: Get no clue why :gui does not fork. Solution: Add a channel log message.
2018-05-13patch 8.0.1827: compiler warning for signed/unsigned char pointersBram Moolenaar
Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani) Solution: Change the type of jv_argv.
2018-05-05patch 8.0.1795: lose contact with jobs when :gui forksBram Moolenaar
Problem: Lose contact with jobs when :gui forks. Solution: Don't fork when there is a running job. Make log message for a died job clearer. Also close the terminal when stderr and stdout are the same FD.
2018-04-30patch 8.0.1775: MS-Windows: warning for unused variableBram Moolenaar
Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams)
2018-04-24patch 8.0.1761: job in terminal window with no output channel is killedBram Moolenaar
Problem: Job in terminal window with no output channel is killed. Solution: Keep the job running when the input is a tty. (Ozaki Kiichi, closes #2734)
2018-04-21patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmdBram Moolenaar
Problem: MS-Windows: term_start() does not set job_info() cmd. Solution: Share the code from job_start() to set jv_argv.
2018-04-21patch 8.0.1746: MS-Windows: channel tests failBram Moolenaar
Problem: MS-Windows: channel tests fail. Solution: Make a copy of the command before splitting it.
2018-04-21patch 8.0.1745: build failure on MS-WindowsBram Moolenaar
Problem: Build failure on MS-Windows. Solution: Build job arguments for MS-Windows. Fix allocating job twice.
2018-04-21patch 8.0.1742: cannot get a list of all the jobsBram Moolenaar
Problem: Cannot get a list of all the jobs. Cannot get the command of the job. Solution: When job_info() is called without an argument return a list of jobs. Otherwise, include the command that the job is running. (Yegappan Lakshmanan)
2018-04-14patch 8.0.1709: some non-C89 code may slip throughBram Moolenaar
Problem: Some non-C89 code may slip through. Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, closes #2735)
2018-04-10patch 8.0.1685: can't set ANSI colors of a terminal windowBram Moolenaar
Problem: Can't set ANSI colors of a terminal window. Solution: Add term_setansicolors(), term_getansicolors() and g:term_ansi_colors. (Andy Massimino, closes #2747)
2018-04-10patch 8.0.1681: the format attribute fails with MinGWBram Moolenaar
Problem: The format attribute fails with MinGW. (John Marriott) Solution: Don't use the format attribute with MinGW.
2018-04-08patch 8.0.1676: no compiler warning for wrong printf formatBram Moolenaar
Problem: No compiler warning for wrong printf format. Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique Pelle, closes #2789)
2018-04-07patch 8.0.1671: crash when passing non-dict argument as env to job_start()Bram Moolenaar
Problem: Crash when passing non-dict argument as env to job_start(). Solution: Check for valid argument. (Ozaki Kiichi, closes #2765)
2018-04-03patch 8.0.1657: crash when reading a channelBram Moolenaar
Problem: Crash when reading a channel. Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi, closes #2769).
2018-03-16patch 8.0.1609: shell commands in the GUI use a dumb terminalBram Moolenaar
Problem: Shell commands in the GUI use a dumb terminal. Solution: Add the "!" flag to 'guioptions' to execute system commands in a special terminal window. Only for Unix now.
2018-03-10patch 8.0.1593: :qall never exits with an active terminal windowBram Moolenaar
Problem: :qall never exits with an active terminal window. Solution: Add a way to kill a job in a terminal window.
2018-03-09patch 8.0.1592: terminal windows in a session are not properly restoredBram Moolenaar
Problem: Terminal windows in a session are not properly restored. Solution: Add "terminal" in 'sessionoptions'. When possible restore the command running in a terminal.
2018-02-13patch 8.0.1516: errors for job options are not very specificBram Moolenaar
Problem: Errors for job options are not very specific. Solution: Add more specific error messages.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesBram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-01-31patch 8.0.1449: slow redrawing with DirectXBram Moolenaar
Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
2017-12-09patch 8.0.1381: ch_readraw() waits for NL if channel mode is NLBram Moolenaar
Problem: ch_readraw() waits for NL if channel mode is NL. Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
2017-11-11patch 8.0.1286: occasional crash when using a channelBram Moolenaar
Problem: Occasional crash when using a channel. (Marek) Solution: Decrement reference count later. (closes #2315)
2017-10-01patch 8.0.1170: using termdebug results in 100% CPU timeBram Moolenaar
Problem: Using termdebug results in 100% CPU time. (tomleb) Solution: Use polling instead of select().
2017-09-13patch 8.0.1101: channel write fails if writing to log failsBram Moolenaar
Problem: Channel write fails if writing to log fails. Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)
2017-09-09patch 8.0.1083: leaking memory in input part of channelBram Moolenaar
Problem: Leaking memory in input part of channel. Solution: Clear the input part of channel. Free the entry. Move failing command test to a separate file to avoid bogus leak reports clouding tests that should not leak.
2017-09-09patch 8.0.1081: memory leak for the channel write queueBram Moolenaar
Problem: Memory leak for the channel write queue. Solution: Free the write queue when clearing a channel.
2017-09-08patch 8.0.1076: term_start() does not take callbacksBram Moolenaar
Problem: term_start() does not take callbacks. When using two terminals without a job only one is read from. A terminal without a window returns the wrong pty. Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a window. Fix reading from multiple channels.
2017-09-08patch 8.0.1074: ":term NONE" does not work on MS-WindowsBram Moolenaar
Problem: ":term NONE" does not work on MS-Windows. Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro Matsumoto, closes #2058, closes #2045)
2017-09-02patch 8.0.1036: ++eof argument for terminal only available on MS-WindowsBram Moolenaar
Problem: ++eof argument for terminal only available on MS-Windows. Solution: Also support ++eof on Unix. Add a test.
2017-09-02patch 8.0.1035: sending buffer lines to terminal doesn't work on MS-WindowsBram Moolenaar
Problem: Sending buffer lines to terminal doesn't work on MS-Windows. Solution: Use CR instead of NL after every line. Make the EOF text work properly. Add the ++eof argument to :terminal.
2017-09-02patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-WindowsBram Moolenaar
Problem: Sending buffer lines to terminal doesn't work on MS-Windows. Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto, closes #2043) Add the "eof_chars" option.
2017-08-27patch 8.0.1005: terminal without job updates slowly in GUIBram Moolenaar
Problem: Terminal without job updates slowly in GUI. Solution: Poll for input when a channel has the keep_open flag.
2017-08-27patch 8.0.1003: 64 bit compiler warningBram Moolenaar
Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams)
2017-08-26patch 8.0.1002: unnecessarily updating screen after timer callbackBram Moolenaar
Problem: Unnecessarily updating screen after timer callback. Solution: Check if calling the timer sets must_redraw.
2017-08-26patch 8.0.1000: cannot open a terminal without running a job in itBram Moolenaar
Problem: Cannot open a terminal without running a job in it. Solution: Make ":terminal NONE" open a terminal with a pty.
2017-08-19patch 8.0.0969: Coverity warning for unused return valueBram Moolenaar
Problem: Coverity warning for unused return value. Solution: Add (void) to avoid the warning.
2017-08-19patch 8.0.0964: channel write buffer does not work with poll()Bram Moolenaar
Problem: Channel write buffer does not work with poll(). Solution: Use the same mechanism as with select().
2017-08-18patch 8.0.0959: build failure on MS-WindowsBram Moolenaar
Problem: Build failure on MS-Windows. Solution: Use ioctlsocket() instead of fcntl().
2017-08-18patch 8.0.0957: a terminal job can deadlock when sending many keysBram Moolenaar
Problem: When term_sendkeys() sends many keys it may get stuck in writing to the job. Solution: Make the write non-blocking, buffer keys to be sent.
2017-08-13patch 8.0.0928: MS-Windows: passing arglist to job has escaping problemsBram Moolenaar
Problem: MS-Windows: passing arglist to job has escaping problems. Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
2017-08-12patch 8.0.0916: cannot specify properties of window for terminal openBram Moolenaar
Problem: Cannot specify properties of window for when opening a window for a finished terminal job. Solution: Add "term_opencmd".
2017-08-12patch 8.0.0912: cannot run a job in a hidden terminalBram Moolenaar
Problem: Cannot run a job in a hidden terminal. Solution: Add option "hidden" and ++hidden.
2017-08-11patch 8.0.0910: cannot create a terminal in the current windowBram Moolenaar
Problem: Cannot create a terminal in the current window. Solution: Add option "curwin" and ++curwin.
2017-08-11patch 8.0.0909: channel test failsBram Moolenaar
Problem: Channel test fails. Solution: Allow for "cwd" and "env" arguments.
2017-08-11patch 8.0.0908: cannot set terminal size with optionsBram Moolenaar
Problem: Cannot set terminal size with options. Solution: Add "term_rows", "term_cols" and "vertical".
2017-08-11patch 8.0.0902: cannot specify directory or environment for a jobBram Moolenaar
Problem: Cannot specify directory or environment for a job. Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro Matsumoto, closes #1160)