Bram Moolenaar [Sat, 5 Mar 2016 21:05:27 +0000 (22:05 +0100)]
patch 7.4.1495
Problem: Compiler warnings when building on Unix with the job feature but
without the channel feature.
Solution: Move #ifdefs. (Dominique Pelle)
Bram Moolenaar [Sat, 5 Mar 2016 19:54:36 +0000 (20:54 +0100)]
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.
Bram Moolenaar [Wed, 2 Mar 2016 19:48:47 +0000 (20:48 +0100)]
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)
Bram Moolenaar [Mon, 29 Feb 2016 21:55:56 +0000 (22:55 +0100)]
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.
Bram Moolenaar [Mon, 29 Feb 2016 21:05:26 +0000 (22:05 +0100)]
patch 7.4.1464
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 29 Feb 2016 20:05:48 +0000 (21:05 +0100)]
patch 7.4.1461
Problem: When starting job on MS-Windows all parts of the command are put
in quotes.
Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
Bram Moolenaar [Sun, 28 Feb 2016 19:51:49 +0000 (20:51 +0100)]
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)
Bram Moolenaar [Sun, 28 Feb 2016 18:30:24 +0000 (19:30 +0100)]
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.
Bram Moolenaar [Sun, 28 Feb 2016 18:28:59 +0000 (19:28 +0100)]
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.
Bram Moolenaar [Sun, 28 Feb 2016 17:04:00 +0000 (18:04 +0100)]
patch 7.4.1450
Problem: Json encoding still fails when encoding is not utf-8.
Solution: Set 'encoding' before :scriptencoding. Run the json test
separately to avoid affecting other tests.
Bram Moolenaar [Sun, 28 Feb 2016 14:49:03 +0000 (15:49 +0100)]
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.
Bram Moolenaar [Sat, 27 Feb 2016 19:14:15 +0000 (20:14 +0100)]
patch 7.4.1437
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
configure. Use a replacement when missing. (Kazunobu Kuriyama)
Bram Moolenaar [Sat, 27 Feb 2016 17:13:23 +0000 (18:13 +0100)]
patch 7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been
available for may years.
Solution: Delete the Sniff interface and related code.
Bram Moolenaar [Sat, 27 Feb 2016 15:33:22 +0000 (16:33 +0100)]
patch 7.4.1430
Problem: When encoding JSON, turning NaN and Infinity into null without
giving an error is not useful.
Solution: Pass NaN and Infinity on. If the receiver can't handle them it
will generate the error.
Bram Moolenaar [Sat, 27 Feb 2016 15:04:58 +0000 (16:04 +0100)]
patch 7.4.1429
Problem: On MS-Windows, when not use renderoptions=type:directx, drawing
emoji will be broken.
Solution: Fix usage of unicodepdy. (Yasuhiro Matsumoto)
Bram Moolenaar [Fri, 26 Feb 2016 10:17:46 +0000 (11:17 +0100)]
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.
Bram Moolenaar [Thu, 25 Feb 2016 19:56:01 +0000 (20:56 +0100)]
patch 7.4.1418
Problem: job_stop() on MS-Windows does not really stop the job.
Solution: Make the default to stop the job forcefully. (Ken Takata)
Make MS-Windows and Unix more similar.
Bram Moolenaar [Wed, 24 Feb 2016 19:43:06 +0000 (20:43 +0100)]
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.
Bram Moolenaar [Tue, 23 Feb 2016 20:26:43 +0000 (21:26 +0100)]
patch 7.4.1407
Problem: json_encode() does not handle NaN and inf properly. (David
Barnett)
Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
Add isnan().
Bram Moolenaar [Tue, 23 Feb 2016 15:19:07 +0000 (16:19 +0100)]
patch 7.4.1401
Problem: Having 'autochdir' set during startup and using diff mode doesn't
work. (Axel Bender)
Solution: Don't use 'autochdir' while still starting up. (Christian
Brabandt)