Bram Moolenaar
3fad98e8af
patch 8.0.0122
...
Problem: Channel test is still flaky on OS X.
Solution: Add a short sleep.
2016-12-03 15:23:40 +01:00
Bram Moolenaar
f1f0792e55
patch 7.4.2258
...
Problem: Two JSON messages are sent without a separator.
Solution: Separate messages with a NL. (closes #1001 )
2016-08-26 17:58:53 +02:00
Bram Moolenaar
c4dcd60c76
patch 7.4.1662
...
Problem: No test for an invalid Ex command on a channel.
Solution: Test handling an invalid command gracefully. Avoid getting an
error message, do write it to the channel log.
2016-03-26 22:56:46 +01:00
Bram Moolenaar
fa8b2e173d
patch 7.4.1661
...
Problem: No test for special characters in channel eval command.
Solution: Testing sending and receiving text with special characters.
2016-03-26 22:19:27 +01:00
Bram Moolenaar
a63cdb5ed6
patch 7.4.1621
...
Problem: Channel test doesn't work with Python 2.6.
Solution: Add number in formatting placeholder. (Wiredool)
2016-03-20 18:24:45 +01:00
Bram Moolenaar
ba61ac0d61
patch 7.4.1617
...
Problem: When a JSON message is split it isn't decoded.
Solution: Wait a short time for the rest of the message to arrive.
2016-03-20 16:40:37 +01:00
Bram Moolenaar
ac74d5e86c
patch 7.4.1616
...
Problem: Malformed channel request causes a hang.
Solution: Drop malformed message. (Damien)
2016-03-20 14:31:00 +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
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
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
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
ddbe7d26b1
patch 7.4.1370
...
Problem: The Python test script may keep on running.
Solution: Join the threads. (Yasuhiro Matsumoto)
2016-02-20 18:26:48 +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
7707344dde
patch 7.4.1315
...
Problem: Using a channel handle does not allow for freeing it when unused.
Solution: Add the Channel variable type.
2016-02-13 23:23:53 +01:00
Bram Moolenaar
f6157284de
patch 7.4.1299
...
Problem: When the server sends a message with ID zero the channel handler
is not invoked. (Christian J. Robinson)
Solution: Recognize zero value for the request ID. Add a test for invoking
the channel handler.
2016-02-10 21:07:14 +01:00
Bram Moolenaar
b92abad0c5
patch 7.4.1291
...
Problem: On MS-Windows the channel test server doesn't quit.
Solution: Use return instead of break. (Ken Takata)
2016-02-08 22:37:24 +01:00
Bram Moolenaar
55fab439a6
patch 7.4.1278
...
Problem: When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
2016-02-07 16:53:13 +01:00
Bram Moolenaar
f416086f26
patch 7.4.1265
...
Problem: Not all channel commands are tested.
Solution: Add a test for "normal", "expr" and "redraw".
2016-02-05 23:09:12 +01:00
Bram Moolenaar
6076fe1986
patch 7.4.1264
...
Problem: Crash when receiving an empty array.
Solution: Check for array with wrong number of arguments. (Damien)
2016-02-05 22:49:56 +01:00
Bram Moolenaar
b3e2f00f39
patch 7.4.1256
...
Problem: On Mac sys.exit(0) doesn't kill the test server.
Solution: Use self.server.shutdown(). (Jun Takimoto)
2016-02-04 00:11:37 +01:00
Bram Moolenaar
66624ff0d9
patch 7.4.1255
...
Problem: Crash for channel "eval" command without third argument.
Solution: Check for missing argument.
2016-02-03 23:59:43 +01:00
Bram Moolenaar
3b05b135e3
patch 7.4.1254
...
Problem: Opening a second channel causes a crash. (Ken Takata)
Solution: Don't re-allocate the array with channels.
2016-02-03 23:25:07 +01:00
Bram Moolenaar
608a8919ca
patch 7.4.1253
...
Problem: Python test server not displaying second of two commands.
Solaris doesn't have "pkill --full".
Solution: Also echo the second command. Use "pkill -f".
2016-02-03 22:39:51 +01:00
Bram Moolenaar
e7bed627c8
patch 7.4.1252
...
Problem: The channel test server may receive two messages concatenated.
Solution: Split the messages.
2016-02-03 22:20:29 +01:00
Bram Moolenaar
fcb1e3d168
patch 7.4.1249
...
Problem: Crash when the process a channel is connected to exits.
Solution: Use the file descriptor properly. Add a test. (Damien)
Also add a test for eval().
2016-02-03 21:32:46 +01:00
Bram Moolenaar
f92591f7f9
patch 7.4.1248
...
Problem: Can't reliably stop the channel test server. Can't start the
server if the python file is not executable.
Solution: Use "pkill" instead of "killall". Run the python file as an
argument instead of as an executable.
2016-02-03 20:22:32 +01:00
Bram Moolenaar
a0f9cd148e
patch 7.4.1247
...
Problem: The channel test doesn't run on MS-Windows.
Solution: Make it work on the MS-Windows console. (Ken Takata)
2016-02-03 20:13:24 +01:00
Bram Moolenaar
7c764f7bbf
Make the python script executable.
2016-02-02 23:33:43 +01:00
Bram Moolenaar
d7ece1008e
patch 7.4.1246
...
Problem: The channel functionality isn't tested.
Solution: Add a test using a Python test server.
2016-02-02 23:23:02 +01:00