summaryrefslogtreecommitdiff
path: root/src/proto/channel.pro
AgeCommit message (Collapse)Author
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-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-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-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-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-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-03patch 8.0.0848: using multiple ch_log functions is clumsyBram Moolenaar
Problem: Using multiple ch_log functions is clumsy. Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
2017-07-22patch 8.0.0742: terminal feature does not work on MS-WindowsBram Moolenaar
Problem: Terminal feature does not work on MS-Windows. Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)
2017-07-17patch 8.0.0728: the terminal structure is never freedBram Moolenaar
Problem: The terminal structure is never freed. Solution: Free the structure and unreference what it contains.
2017-07-16patch 8.0.0718: output of job in terminal is not displayedBram Moolenaar
Problem: Output of job in terminal is not displayed. Solution: Connect the job output to the terminal.
2016-12-01patch 8.0.0107Bram Moolenaar
Problem: When reading channel output in a timer, messages may go missing. (Skywind) Solution: Add the "drop" option. Write error messages in the channel log. Don't have ch_canread() check for the channel being open.
2016-11-29patch 8.0.0105Bram Moolenaar
Problem: When using ch_read() with zero timeout, can't tell the difference between reading an empty line and nothing available. Solution: Add ch_canread().
2016-11-26patch 8.0.0103Bram Moolenaar
Problem: May not process channel readahead. (skywind) Solution: If there is readahead don't block on input.
2016-10-09patch 8.0.0027Bram Moolenaar
Problem: A channel is closed when reading on stderr or stdout fails, but there may still be something to read on another part. Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
2016-09-29patch 8.0.0018Bram Moolenaar
Problem: When using ":sleep" channel input is not handled. Solution: When there is a channel check for input also when not in raw mode. Check every 100 msec.
2016-09-26patch 8.0.0015Bram Moolenaar
Problem: Can't tell which part of a channel has "buffered" status. Solution: Add an optional argument to ch_status(). Let ch_info() also return "buffered" for out_status and err_status.
2016-09-01patch 7.4.2298Bram Moolenaar
Problem: It is not possible to close the "in" part of a channel. Solution: Add ch_close_in().
2016-07-07patch 7.4.1998Bram Moolenaar
Problem: When writing buffer lines to a job there is no NL to NUL conversion. Solution: Make it work symmetrical with writing lines from a job into a buffer.
2016-06-07patch 7.4.1906Bram Moolenaar
Problem: Collapsing channel buffers and searching for NL does not work properly. (Xavier de Gary, Ramel Eshed) Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes to NL to avoid the string is truncated.
2016-06-04patch 7.4.1891Bram Moolenaar
Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
2016-06-02patch 7.4.1878Bram Moolenaar
Problem: Whether a job has exited isn't detected until a character is typed. After calling exit_cb the cursor is in the wrong place. Solution: Don't wait forever for a character to be typed when there is a pending job. Update the screen if neede after calling exit_cb.
2016-05-28patch 7.4.1855Bram Moolenaar
Problem: Valgrind reports memory leak for job that is not freed. Solution: Free all jobs on exit. Add test for failing job.
2016-05-09patch 7.4.1828Bram Moolenaar
Problem: May try to access buffer that's already freed. Solution: When freeing a buffer remove it from any channel.
2016-05-01patch 7.4.1814Bram Moolenaar
Problem: A channel may be garbage collected while it's still being used by a job. (James McCoy) Solution: Mark the channel as used if the job is still used. Do the same for channels that are still used.
2016-04-26patch 7.4.1789Bram Moolenaar
Problem: Cannot use ch_read() in the close callback. Solution: Do not discard the channel if there is readahead. Do not discard readahead if there is a close callback.
2016-04-26patch 7.4.1787Bram Moolenaar
Problem: When a job ends the close callback is invoked before other callbacks. On Windows the close callback is not called. Solution: First invoke out/err callbacks before the close callback. Make the close callback work on Windows.
2016-04-08patch 7.4.1719Bram Moolenaar
Problem: Leaking memory when there is a cycle involving a job and a partial. Solution: Add a copyID to job and channel. Set references in items referred by them. Go through all jobs and channels to find unreferenced items. Also, decrement reference counts when garbage collecting.
2016-04-07patch 7.4.1717Bram Moolenaar
Problem: Leaking memory when opening a channel fails. Solution: Unreference partials in job options.
2016-03-28patch 7.4.1669Bram Moolenaar
Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later.
2016-03-20patch 7.4.1624Bram Moolenaar
Problem: Can't get info about a channel. Solution: Add ch_info().
2016-03-20patch 7.4.1623Bram Moolenaar
Problem: All Channels share the message ID, it keeps getting bigger. Solution: Use a message ID per channel.
2016-03-14patch 7.4.1561Bram Moolenaar
Problem: Missing update to proto file. Solution: Change the proto file.
2016-03-12patch 7.4.1541Bram Moolenaar
Problem: Missing job_info(). Solution: Implement it.
2016-03-12patch 7.4.1539Bram Moolenaar
Problem: Too much code in eval.c. Solution: Move job and channel code to channel.c.
2016-03-11patch 7.4.1536Bram Moolenaar
Problem: Cannot re-use a channel for another job. Solution: Add the "channel" option to job_start().
2016-03-06patch 7.4.1502Bram Moolenaar
Problem: Writing last-but-one line of buffer to a channel isn't implemented yet. Solution: Implement it. Fix leaving a swap file behind.
2016-03-03patch 7.4.1485Bram Moolenaar
Problem: Job input from buffer is not implemented. Solution: Implement it. Add "in-top" and "in-bot" options.
2016-02-28patch 7.4.1451Bram Moolenaar
Problem: Vim hangs when a channel has a callback but isn't referenced. Solution: Have channel_unref() only return TRUE when the channel was actually freed.
2016-02-25patch 7.4.1421Bram Moolenaar
Problem: May free a channel when a callback may need to be invoked. Solution: Keep the channel when refcount is zero.
2016-02-24patch 7.4.1413Bram Moolenaar
Problem: When calling ch_close() the close callback is invoked, even though the docs say it isn't. (Christian J. Robinson) Solution: Don't call the close callback.
2016-02-23patch 7.4.1398Bram Moolenaar
Problem: The close-cb option is not implemented yet. Solution: Implemente close-cb. (Yasuhiro Matsumoto)
2016-02-20patch 7.4.1372Bram Moolenaar
Problem: channel read implementation is incomplete. Solution: Add ch_read() and options for ch_readraw().
2016-02-20patch 7.4.1369Bram Moolenaar
Problem: Channels don't have a queue for stderr. Solution: Have a queue for each part of the channel.
2016-02-19patch 7.4.1360Bram Moolenaar
Problem: Can't remove a callback with ch_setoptions(). Solution: When passing zero or an empty string remove the callback.
2016-02-19patch 7.4.1356Bram Moolenaar
Problem: Job and channel options parsing is scattered. Solution: Move all option value parsing to get_job_options();
2016-02-19patch 7.4.1355Bram Moolenaar
Problem: Win32 console and GUI handle channels differently. Solution: Consolidate code between Win32 console and GUI.
2016-02-18patch 7.4.1351Bram Moolenaar
Problem: When the port isn't opened yet when ch_open() is called it may fail instead of waiting for the specified time. Solution: Loop when select() succeeds but when connect() failed. Also use channel logging for jobs. Add ch_log().
2016-02-16patch 7.4.1341Bram Moolenaar
Problem: It's difficult to add more arguments to ch_sendraw() and ch_sendexpr(). Solution: Make the third option a dictionary.
2016-02-16patch 7.4.1336Bram Moolenaar
Problem: Channel NL mode is not supported yet. Solution: Add NL mode support to channels.