Bram Moolenaar
6ff02c9651
patch 7.4.1522
...
Problem: Cannot write channel err to a buffer.
Solution: Implement it.
2016-03-08 20:12:44 +01:00
Bram Moolenaar
367aabdbf7
patch 7.4.1517
...
Problem: Compiler warning with 64bit compiler.
Solution: Add typecast. (Mike Williams)
2016-03-08 17:13:06 +01:00
Bram Moolenaar
d0b6502a7a
patch 7.4.1505
...
Problem: When channel log is enabled get too many "looking for messages"
log entries.
Solution: Only give the message after another message.
2016-03-06 21:50:33 +01:00
Bram Moolenaar
99ef06296f
patch 7.4.1502
...
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-06 20:22:25 +01:00
Bram Moolenaar
a96909cfaf
patch 7.4.1496
...
Problem: Crash when built with GUI but it's not active. (Dominique Pelle)
Solution: Check gui.in_use.
2016-03-05 22:19:41 +01:00
Bram Moolenaar
5983ad0b03
patch 7.4.1493
...
Problem: Wrong callback invoked for zero-id messages.
Solution: Don't use the first one-time callback when the sequence number
doesn't match.
2016-03-05 20:54:36 +01:00
Bram Moolenaar
014069a7ac
patch 7.4.1485
...
Problem: Job input from buffer is not implemented.
Solution: Implement it. Add "in-top" and "in-bot" options.
2016-03-03 22:51:40 +01:00
Bram Moolenaar
d6547fc647
patch 7.4.1483
...
Problem: A one-time callback is not used for a raw channel.
Solution: Use a one-time callback when it exists.
2016-03-03 19:35:02 +01:00
Bram Moolenaar
bf73b91c66
patch 7.4.1471
...
Problem: Missing out-of-memory check. And Coverity warning.
Solution: Bail out when msg is NULL.
2016-03-02 21:16:59 +01:00
Bram Moolenaar
289a90551d
patch 7.4.1470
...
Problem: Coverity reports missing restore.
Solution: Move json_encode() call up.
2016-03-02 21:09:32 +01:00
Bram Moolenaar
42bc6dde46
patch 7.4.1469
...
Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu
Kuriyama)
Solution: Change the && into ||, call getsockopt() in more situations.
(Ozaki Kiichi)
2016-03-02 20:48:47 +01:00
Bram Moolenaar
6b584af3d7
patch 7.4.1466
...
Problem: Coverity reports dead code.
Solution: Remove the two lines.
2016-02-29 23:03:23 +01:00
Bram Moolenaar
cc7f8be3e0
patch 7.4.1465
...
Problem: Coverity reported possible use of NULL pointer when using buffer
output with JSON mode.
Solution: Make it actually possible to use JSON mode with a buffer.
Re-encode the JSON to append it to the buffer.
2016-02-29 22:55:56 +01:00
Bram Moolenaar
e081e21f76
patch 7.4.1459
...
Problem: MS-Windows doesn't know socklen_t.
Solution: Use previous method for WIN32.
2016-02-28 22:33:46 +01:00
Bram Moolenaar
fdd6ce4a2f
patch 7.4.1458
...
Problem: When a JSON channel has a callback it may never be cleared.
Solution: Do not write "DETACH" into a JS or JSON channel.
2016-02-28 22:21:38 +01:00
Bram Moolenaar
d42119fff2
patch 7.4.1457
...
Problem: Opening a channel with select() is not done properly.
Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki
Kiichi)
2016-02-28 20:51:49 +01:00
Bram Moolenaar
18b5d6df10
patch 7.4.1452
...
Problem: When a callback adds a syntax item either the redraw doesn't
happen right away or in the GUI the cursor is in the wrong
position for a moment. (Jakson Alves de Aquino)
Solution: Redraw after the callback was invoked.
2016-02-28 19:30:24 +01:00
Bram Moolenaar
707659490d
patch 7.4.1451
...
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-28 19:28:59 +01:00
Bram Moolenaar
d6051b5eb8
patch 7.4.1447
...
Problem: Memory leak when using ch_read(). (Dominique Pelle)
No log message when stopping a job and a few other situations.
Too many "Nothing to read" messages. Channels are not freed.
Solution: Free the listtv. Add more log messages. Remove "Nothing to read"
message. Remove the channel from the job when its refcount
becomes zero.
2016-02-28 15:49:03 +01:00
Bram Moolenaar
e26643e6bc
patch 7.4.1441
...
Problem: Using empty name instead of no name for channel buffer.
Solution: Remove the empty name.
2016-02-27 21:53:02 +01:00
Bram Moolenaar
c7f0ebc6d1
patch 7.4.1438
...
Problem: Can't get buffer number of a channel.
Solution: Add ch_getbufnr().
2016-02-27 21:10:09 +01:00
Bram Moolenaar
187db50d04
patch 7.4.1426
...
Problem: The "out-io" option for jobs is not implemented yet.
Solution: Implement the "buffer" value: append job output to a buffer.
2016-02-27 14:44:26 +01:00
Bram Moolenaar
4cafa6dc7f
patch 7.4.1423
...
Problem: Channel test fails on MS-Windows.
Solution: Do not give an error message when reading fails, assume the other
end exited.
2016-02-26 11:52:39 +01:00
Bram Moolenaar
46c85439c9
patch 7.4.1422
...
Problem: Error when reading fails uses wrong errno. Keeping channel open
after job stops results in test failing.
Solution: Move the error up. Add ch_job_killed.
2016-02-26 11:17:46 +01:00
Bram Moolenaar
c8dcbb12c5
patch 7.4.1421
...
Problem: May free a channel when a callback may need to be invoked.
Solution: Keep the channel when refcount is zero.
2016-02-25 23:10:17 +01:00
Bram Moolenaar
8b374215cc
patch 7.4.1413
...
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-24 20:43:06 +01:00
Bram Moolenaar
9186a27622
patch 7.4.1404
...
Problem: ch_read() doesn't time out on MS-Windows.
Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira)
2016-02-23 19:34:01 +01:00
Bram Moolenaar
9892189d2e
patch 7.4.1402
...
Problem: GTK 3 is not supported.
Solution: Add GTK 3 support. (Kazunobu Kuriyama)
2016-02-23 17:14:37 +01:00
Bram Moolenaar
4e221c99e8
patch 7.4.1398
...
Problem: The close-cb option is not implemented yet.
Solution: Implemente close-cb. (Yasuhiro Matsumoto)
2016-02-23 13:20:22 +01:00
Bram Moolenaar
eed284a169
patch 7.4.1395
...
Problem: Using DETACH in quotes is not compatible with the Netbeans
interface. (Xavier de Gaye)
Solution: Remove the quotes, only use them for JSON and JS mode.
2016-02-22 23:13:33 +01:00
Bram Moolenaar
bd73ae1bc6
patch 7.4.1393
...
Problem: Starting a job hangs in the GUI. (Takuya Fujiwara)
Solution: Don't check if ch_job is NULL when checking for an error.
(Yasuhiro Matsumoto)
2016-02-22 22:19:22 +01:00
Bram Moolenaar
ee1cffc07a
patch 7.4.1380
...
Problem: The job exit callback is not implemented.
Solution: Add the "exit-cb" option.
2016-02-21 19:14:41 +01:00
Bram Moolenaar
b7522a2f0c
patch 7.4.1379
...
Problem: Channel test fails on Win32 console.
Solution: Don't sleep when timeout is zero. Call channel_wait() before
channel_read(). Channels are not polled during ":sleep". (Yukihiro
Nakadaira)
2016-02-21 17:20:55 +01:00
Bram Moolenaar
b6b5252bcd
patch 7.4.1376
...
Problem: ch_setoptions() cannot set all options.
Solution: Support more options.
2016-02-20 23:30:07 +01:00
Bram Moolenaar
ece61b06ef
patch 7.4.1373
...
Problem: Calling a Vim function over a channel requires turning the
arguments into a string.
Solution: Add the "call" command. (Damien) Also merge "expr" and "eval"
into one.
2016-02-20 21:39:05 +01:00
Bram Moolenaar
6f3a544228
patch 7.4.1372
...
Problem: channel read implementation is incomplete.
Solution: Add ch_read() and options for ch_readraw().
2016-02-20 19:56:13 +01:00
Bram Moolenaar
fffd5560c6
patch 7.4.1371
...
Problem: X11 GUI callbacks don't specify the part of the channel.
Solution: Pass the fd instead of the channel ID.
2016-02-20 18:44:39 +01:00
Bram Moolenaar
42d38a2db1
patch 7.4.1369
...
Problem: Channels don't have a queue for stderr.
Solution: Have a queue for each part of the channel.
2016-02-20 18:18:59 +01:00
Bram Moolenaar
254e00d714
patch 7.4.1361
...
Problem: Channel test fails on Solaris.
Solution: Use the 1 msec waittime for all systems.
2016-02-19 23:23:12 +01:00
Bram Moolenaar
0ba75a9714
patch 7.4.1360
...
Problem: Can't remove a callback with ch_setoptions().
Solution: When passing zero or an empty string remove the callback.
2016-02-19 23:21:26 +01:00
Bram Moolenaar
40ea1da14b
patch 7.4.1356
...
Problem: Job and channel options parsing is scattered.
Solution: Move all option value parsing to get_job_options();
2016-02-19 22:33:35 +01:00
Bram Moolenaar
ed5a78e11c
patch 7.4.1355
...
Problem: Win32 console and GUI handle channels differently.
Solution: Consolidate code between Win32 console and GUI.
2016-02-19 21:05:03 +01:00
Bram Moolenaar
81661fb868
patch 7.4.1351
...
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-18 22:23:34 +01:00
Bram Moolenaar
e74e8e7d75
patch 7.4.1342
...
Problem: On Mac OS/X the waittime must be > 0 for connect to work.
Solution: Use select() in a different way. (partly by Kazunobu Kuriyama)
Always use a waittime of 1 or more.
2016-02-16 22:01:30 +01:00
Bram Moolenaar
910b8aac5d
patch 7.4.1341
...
Problem: It's difficult to add more arguments to ch_sendraw() and
ch_sendexpr().
Solution: Make the third option a dictionary.
2016-02-16 21:03:07 +01:00
Bram Moolenaar
9a6e33a19b
patch 7.4.1336
...
Problem: Channel NL mode is not supported yet.
Solution: Add NL mode support to channels.
2016-02-16 19:25:12 +01:00
Bram Moolenaar
6aa2cd4be2
patch 7.4.1334
...
Problem: Many compiler warnings with MingW.
Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-16 15:06:59 +01:00
Bram Moolenaar
d46ae142aa
patch 7.4.1331
...
Problem: Crash when closing the channel in a callback. (Christian J.
Robinson)
Solution: Take the callback out of the list before invoking it.
2016-02-16 13:33:52 +01:00
Bram Moolenaar
0943a09db8
patch 7.4.1330
...
Problem: fd_read() has an unused argument.
Solution: Remove the timeout. (Yasuhiro Matsumoto)
2016-02-16 13:11:17 +01:00
Bram Moolenaar
5cefd40982
patch 7.4.1329
...
Problem: Crash when using channel that failed to open.
Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
2016-02-16 12:44:26 +01:00