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
5a6ec52392
patch 7.4.1543
...
Problem: Channel log methods are not tested.
Solution: Log job activity and check it.
2016-03-12 15:51:44 +01:00
Bram Moolenaar
1adda3403d
patch 7.4.1542
...
Problem: job_start() with a list is not tested.
Solution: Call job_start() with a list.
2016-03-12 15:39:40 +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
ac42afd10b
patch 7.4.1540
...
Problem: Channel test is a bit flaky.
Solution: Increase expected wait time.
2016-03-12 13:48:49 +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
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
d5d3d307dd
patch 7.4.1526
...
Problem: Writing to file and not connecting a channel doesn't work for
MS-Windows.
Solution: Make it work. (Yasuhiro Matsumoto)
2016-03-09 20:54:51 +01:00
Bram Moolenaar
0622732b32
patch 7.4.1523
...
Problem: Writing channel to a file fails on MS-Windows.
Solution: Disable it for now.
2016-03-08 20:58:29 +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
d9d473ea12
patch 7.4.1520
...
Problem: Channel test: Waiting for a file to appear doesn't work.
Solution: In waitFor() ignore errors.
2016-03-08 19:07:22 +01:00
Bram Moolenaar
13d6fb17a2
patch 7.4.1519
...
Problem: Channel output to file not implemented for MS-Windows.
Solution: Implement it. (Yasuhiro Matsumoto)
2016-03-08 18:40:52 +01:00
Bram Moolenaar
f65333c9b5
patch 7.4.1518
...
Problem: Channel with disconnected in/out/err is not supported.
Solution: Implement it for Unix.
2016-03-08 18:27:21 +01:00
Bram Moolenaar
9fe885e49a
patch 7.4.1515
...
Problem: Channel test is a bit flaky.
Solution: Instead of a fixed sleep time wait until an expression evaluates
to true.
2016-03-08 16:06:55 +01:00
Bram Moolenaar
e98d121052
patch 7.4.1514
...
Problem: Channel output to file not implemented yet.
Solution: Implement it for Unix.
2016-03-08 15:37:41 +01:00
Bram Moolenaar
94d0191dbc
patch 7.4.1512
...
Problem: Channel input from file not supported on MS-Windows.
Solution: Implement it. (Yasuhiro Matsumoto)
2016-03-08 13:48:51 +01:00
Bram Moolenaar
304563c0b3
patch 7.4.1510
...
Problem: Channel test fails on AppVeyor.
Solution: Wait longer than 10 msec if needed.
2016-03-07 22:26:28 +01:00
Bram Moolenaar
151f656e17
patch 7.4.1509
...
Problem: Keeping both a variable for a job and the channel it refers to is
a hassle.
Solution: Allow passing the job where a channel is expected. (Damien)
2016-03-07 21:19:38 +01:00
Bram Moolenaar
b69fccf377
patch 7.4.1506
...
Problem: Job cannot read from a file.
Solution: Implement reading from a file for Unix.
2016-03-06 23:06:25 +01:00
Bram Moolenaar
3f39f64866
patch 7.4.1504
...
Problem: No test for reading last-but-one line.
Solution: Add a test.
2016-03-06 21:35:57 +01:00
Bram Moolenaar
839fd11d7e
patch 7.4.1503
...
Problem: Crash when using ch_getjob(). (Damien)
Solution: Check for a NULL job.
2016-03-06 21:34:03 +01:00
Bram Moolenaar
38fd4bb284
patch 7.4.1501
...
Problem: Garbage collection with an option channel is not tested.
Solution: Call garbagecollect() in the test.
2016-03-06 16:38:28 +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
c25558bff4
patch 7.4.1484
...
Problem: Channel "err-io" value "out" is not supported.
Solution: Connect stderr to stdout if wanted.
2016-03-03 21:02:23 +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
da94fdf258
patch 7.4.1482
...
Problem: "timeout" option not supported on ch_send*() and ch_eval*().
Solution: Get and use the timeout option from the argument.
2016-03-03 18:09:10 +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
9730f74a0b
patch 7.4.1454
...
Problem: The exit callback test is flaky.
Solution: Loop to wait for a short time up to a second.
2016-02-28 19:50:51 +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
8b1862a316
patch 7.4.1435
...
Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a
response.
Solution: Add ch_evalexpr() and ch_evalraw().
2016-02-27 19:21:24 +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
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
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
65edff8f51
patch 7.4.1378
...
Problem: Can't change job settings after it started.
Solution: Add job_setoptions() with the "stoponexit" flag.
2016-02-21 16:40:11 +01:00
Bram Moolenaar
08298fa1d3
patch 7.4.1377
...
Problem: Test_connect_waittime() is flaky.
Solution: Ignore the "Connection reset by peer" error.
2016-02-21 13:01:53 +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
af7559f666
patch 7.4.1374
...
Problem: Channel test hangs on MS-Windows.
Solution: Disable the ch_read() that is supposed to time out.
2016-02-20 21:48:25 +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
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
1f6ef66254
patch 7.4.1359
...
Problem: Channel test ch_sendexpr() times out.
Solution: Increase the timeout
2016-02-19 22:59:44 +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
922d25f99c
patch 7.4.1353
...
Problem: Test_connect_waittime is skipped for MS-Windows.
Solution: Add the test back, it works now.
2016-02-18 22:58:26 +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
f8df7addc5
patch 7.4.1333
...
Problem: Channel test fails on non-darwin builds.
Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
2016-02-16 14:07:40 +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