Bram Moolenaar
a889cf4642
patch 7.4.1593
...
Problem: Using channel timeout instead of request timeout. (Coverity)
Solution: Remove the extra assignment.
2016-03-19 13:49:43 +01:00
Bram Moolenaar
a3dc5e92dc
patch 7.4.1579
...
Problem: Missing changes in channel.c
Solution: Include the changes.
2016-03-15 23:19:14 +01:00
Bram Moolenaar
d6c2f05260
patch 7.4.1560
...
Problem: Dict options with a dash are more difficult to use.
Solution: Use an underscore, so that dict.err_io can be used.
2016-03-14 23:22:59 +01:00
Bram Moolenaar
1735bc988c
patch 7.4.1559
...
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
2016-03-14 23:05:14 +01:00
Bram Moolenaar
583c1f14a4
patch 7.4.1544
...
Problem: On Win32 escaping the command does not work properly.
Solution: Reset 'ssl' when escaping the command. (Yasuhiro Matsumoto)
2016-03-12 15:58:34 +01:00
Bram Moolenaar
8950a563b3
patch 7.4.1541
...
Problem: Missing job_info().
Solution: Implement it.
2016-03-12 15:22:55 +01:00
Bram Moolenaar
8e2c942ce4
patch 7.4.1539
...
Problem: Too much code in eval.c.
Solution: Move job and channel code to channel.c.
2016-03-12 13:43:33 +01:00
Bram Moolenaar
509ce2a558
patch 7.4.1537
...
Problem: Too many feature flags for pipes, jobs and channels.
Solution: Only use FEAT_JOB_CHANNEL.
2016-03-11 22:52:15 +01:00
Bram Moolenaar
de27989157
patch 7.4.1536
...
Problem: Cannot re-use a channel for another job.
Solution: Add the "channel" option to job_start().
2016-03-11 22:19:44 +01:00
Bram Moolenaar
40e8cb292c
patch 7.4.1531
...
Problem: Compiler warning for unitinialized variable. (Dominique Pelle)
Solution: Always give the variable a value.
2016-03-10 21:10:58 +01:00
Bram Moolenaar
29fd03878c
patch 7.4.1529
...
Problem: Specifying buffer number for channel not implemented yet.
Solution: Implement passing a buffer number.
2016-03-09 23:14:07 +01:00
Bram Moolenaar
562ca71428
patch 7.4.1527
...
Problem: Channel test is flaky on MS-Windows.
Solution: Limit the select() timeout to 50 msec and try with a new socket if
it fails.
2016-03-09 21:50:05 +01:00
Bram Moolenaar
045a284a83
patch 7.4.1524
...
Problem: Channel test fails on BSD.
Solution: Break out of the loop when connect() succeeds. (Ozaki Kiichi)
2016-03-08 22:33:07 +01:00
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