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)
Bram Moolenaar [Mon, 22 Feb 2016 22:13:33 +0000 (23:13 +0100)]
patch 7.4.1395
Problem: Using DETACH in quotes is not compatible with the Netbeans
interface. (Xavier de Gaye)
Solution: Remove the quotes, only use them for JSON and JS mode.
Bram Moolenaar [Mon, 22 Feb 2016 21:19:22 +0000 (22:19 +0100)]
patch 7.4.1393
Problem: Starting a job hangs in the GUI. (Takuya Fujiwara)
Solution: Don't check if ch_job is NULL when checking for an error.
(Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 22 Feb 2016 20:07:06 +0000 (21:07 +0100)]
patch 7.4.1390
Problem: When building with GTK and glib-compile-resources cannot be found
building Vim fails. (Michael Gehring)
Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no".
(nuko8, closes #655)
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.