summaryrefslogtreecommitdiffstats
path: root/src/channel.c
AgeCommit message (Collapse)Author
2018-09-06patch 8.1.0350: Vim may block on ch_sendraw()v8.1.0350Bram Moolenaar
Problem: Vim may block on ch_sendraw() when the job is sending data back to Vim, which isn't read yet. (Nate Bosch) Solution: Add the "noblock" option to job_start(). (closes #2548)
2018-08-09patch 8.1.0263: channel log doesn't show part of channelv8.1.0263Bram Moolenaar
Problem: Channel log doesn't show part of channel. Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303)
2018-07-08patch 8.1.0167: lock flag in new dictitem is reset in many placesv8.1.0167Bram Moolenaar
Problem: Lock flag in new dictitem is reset in many places. Solution: Always reset the lock flag.
2018-07-08patch 8.1.0166: using dict_add_nr_str() is clumsyv8.1.0166Bram Moolenaar
Problem: Using dict_add_nr_str() is clumsy. Solution: Split into two functions. (Ozaki Kiichi, closes #3154)
2018-06-17patch 8.1.0069: cannot handle pressing CTRL-C in a prompt bufferv8.1.0069Bram 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 windowv8.1.0050Bram 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 jobv8.1.0027Bram 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 forkv8.0.1828Bram 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 pointersv8.0.1827Bram 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 forksv8.0.1795Bram 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 variablev8.0.1775Bram 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 killedv8.0.1761Bram 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() cmdv8.0.1747Bram 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 failv8.0.1746Bram 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-Windowsv8.0.1745Bram 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 jobsv8.0.1742Bram 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 throughv8.0.1709Bram 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 windowv8.0.1685Bram 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 MinGWv8.0.1681Bram 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 formatv8.0.1676Bram 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()v8.0.1671Bram 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 channelv8.0.1657Bram 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 terminalv8.0.1609Bram 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 windowv8.0.1593Bram 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 restoredv8.0.1592Bram 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 specificv8.0.1516Bram 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 linesv8.0.1496Bram 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 DirectXv8.0.1449Bram 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 NLv8.0.1381Bram 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 channelv8.0.1286Bram 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 timev8.0.1170Bram 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 failsv8.0.1101Bram 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 channelv8.0.1083Bram 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 queuev8.0.1081Bram 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 callbacksv8.0.1076Bram 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-Windowsv8.0.1074Bram 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-Windowsv8.0.1036Bram 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-Windowsv8.0.1035Bram 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-Windowsv8.0.1034Bram 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 GUIv8.0.1005Bram 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 warningv8.0.1003Bram Moolenaar
Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams)
2017-08-26patch 8.0.1002: unnecessarily updating screen after timer callbackv8.0.1002Bram 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 itv8.0.1000Bram 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 valuev8.0.0969Bram 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()v8.0.0964Bram 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-Windowsv8.0.0959Bram 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 keysv8.0.0957Bram 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 problemsv8.0.0928Bram 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 openv8.0.0916Bram 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 terminalv8.0.0912Bram Moolenaar
Problem: Cannot run a job in a hidden terminal. Solution: Add option "hidden" and ++hidden.