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.
Bram Moolenaar [Sun, 7 Feb 2016 14:57:00 +0000 (15:57 +0100)]
patch 7.4.1277
Problem: Compiler can complain about missing enum value in switch with some
combination of features.
Solution: Remove #ifdefs around case statements.
Bram Moolenaar [Thu, 4 Feb 2016 21:49:49 +0000 (22:49 +0100)]
patch 7.4.1261
Problem: Pending channel messages are garbage collected. Leaking memory in
ch_sendexpr(). Leaking memory for a decoded JSON string.
Solution: Mark the message list as used. Free the encoded JSON. Don't save
the JSON string.
Bram Moolenaar [Wed, 3 Feb 2016 21:39:51 +0000 (22:39 +0100)]
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".
Bram Moolenaar [Wed, 3 Feb 2016 20:32:46 +0000 (21:32 +0100)]
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().
Bram Moolenaar [Wed, 3 Feb 2016 19:22:32 +0000 (20:22 +0100)]
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.
Bram Moolenaar [Tue, 2 Feb 2016 17:20:08 +0000 (18:20 +0100)]
patch 7.4.1238
Problem: Can't handle two messages right after each other.
Solution: Find the end of the JSON. Read more when incomplete. Add a C
test for the JSON decoding.
Bram Moolenaar [Mon, 1 Feb 2016 21:54:46 +0000 (22:54 +0100)]
patch 7.4.1236
Problem: When "syntax manual" was used switching between buffers removes
the highlighting.
Solution: Set the syntax option without changing the value. (Anton
Lindqvist)