Bram Moolenaar [Sun, 21 Feb 2016 16:20:55 +0000 (17:20 +0100)]
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)
Bram Moolenaar [Sat, 20 Feb 2016 20:39:05 +0000 (21:39 +0100)]
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.
Bram Moolenaar [Fri, 19 Feb 2016 18:43:49 +0000 (19:43 +0100)]
patch 7.4.1354
Problem: MS-Windows: Mismatch between default compile options and what the
code expects.
Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata)
Bram Moolenaar [Thu, 18 Feb 2016 21:23:34 +0000 (22:23 +0100)]
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().
Bram Moolenaar [Thu, 18 Feb 2016 19:31:34 +0000 (20:31 +0100)]
patch 7.4.1347
Problem: When there is any error Vim will use a non-zero exit code.
Solution: When using ":silent!" do not set the exit code. (Yasuhiro
Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 21:01:30 +0000 (22:01 +0100)]
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.
Bram Moolenaar [Tue, 16 Feb 2016 12:33:52 +0000 (13:33 +0100)]
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.
Bram Moolenaar [Mon, 15 Feb 2016 21:45:12 +0000 (22:45 +0100)]
patch 7.4.1326
Problem: Build rules are bit too complicated.
Solution: Remove -lwsock32 from Netbeans, it's already added for the channel
feature that it depends on. (Tony Mechelynck)
Bram Moolenaar [Mon, 15 Feb 2016 21:37:37 +0000 (22:37 +0100)]
patch 7.4.1325
Problem: Channel test fails on difference between Unix and DOS line endings.
Solution: Strip off CR. Make assert show difference better.
Bram Moolenaar [Mon, 15 Feb 2016 19:39:46 +0000 (20:39 +0100)]
patch 7.4.1322
Problem: Crash when unletting the variable that holds the channel in a
callback function. (Christian Robinson)
Solution: Increase the reference count while invoking the callback.
Bram Moolenaar [Sat, 13 Feb 2016 17:40:30 +0000 (18:40 +0100)]
patch 7.4.1313
Problem: MS-Windows: Using socket after it was closed causes an exception.
Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests
for MS-Windows.
Bram Moolenaar [Fri, 12 Feb 2016 18:30:26 +0000 (19:30 +0100)]
patch 7.4.1306
Problem: Job control doesn't work well on MS-Windows.
Solution: Various fixes. (Ken Takata, Ozaki Kiichi , Yukihiro Nakadaira,
Yasuhiro Matsumoto)
Bram Moolenaar [Thu, 11 Feb 2016 20:08:32 +0000 (21:08 +0100)]
patch 7.4.1304
Problem: Function names are difficult to read.
Solution: Rename jsonencode to json_encode, jsondecode to json_decode,
jsencode to js_encode and jsdecode to js_decode.
Bram Moolenaar [Wed, 10 Feb 2016 20:07:14 +0000 (21:07 +0100)]
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.
Bram Moolenaar [Tue, 9 Feb 2016 20:24:46 +0000 (21:24 +0100)]
patch 7.4.1296
Problem: Cursor changes column with up motion when the matchparen plugin
saves and restores the cursor position. (Martin Kunev)
Solution: Make sure curswant is updated before invoking the autocommand.
Bram Moolenaar [Mon, 8 Feb 2016 22:23:42 +0000 (23:23 +0100)]
patch 7.4.1293
Problem: Sometimes a channel may hang waiting for a message that was
already discarded. (Ken Takata)
Solution: Store the ID of the message blocking on in the channel.
Bram Moolenaar [Mon, 8 Feb 2016 21:57:24 +0000 (22:57 +0100)]
patch 7.4.1292
Problem: Some compilers complain about uninitialzed variable, even though
all possible cases are handled. (Dominique Pelle)
Solution: Add a default initialization.
Bram Moolenaar [Sun, 7 Feb 2016 20:59:26 +0000 (21:59 +0100)]
patch 7.4.1288
Problem: ch_sendexpr() does not use JS encoding.
Solution: Use the encoding that fits the channel mode. Refuse using
ch_sendexpr() on a raw channel.
Bram Moolenaar [Sun, 7 Feb 2016 20:29:00 +0000 (21:29 +0100)]
patch 7.4.1286
Problem: ch_open() with a timeout doesn't work correctly.
Solution: Change how select() is used. Don't give an error on timeout.
Add a test for ch_open() failing.