| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: "timeout" option not supported on ch_send*() and ch_eval*().
Solution: Get and use the timeout option from the argument.
|
|
|
|
|
| |
Problem: Can't build with small features.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
|
|
|
|
|
| |
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
|
|
|
|
|
| |
Problem: ":loadplugin" doesn't take care of ftdetect files.
Solution: Also load ftdetect scripts when appropriate.
|
|
|
|
|
| |
Problem: Test_reltime is flaky, it depends on timing.
Solution: When it fails run it a second time.
|
|
|
|
|
| |
Problem: Function arguments marked as unused while they are not.
Solution: Remove UNUSED. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: When using hangulinput with utf-8 a CSI character is
misintepreted.
Solution: Convert CSI to K_CSI. (SungHyun Nam)
|
|
|
|
|
| |
Problem: Compiler warnings without the float feature.
Solution: Move #ifdefs. (John Marriott)
|
|
|
|
|
| |
Problem: Can't build without the autocommand feature.
Solution: Add #ifdefs. (Yegappan Lakshmanan)
|
|
|
|
|
| |
Problem: Coverity warning for not using return value.
Solution: Add "(void)".
|
|
|
|
|
| |
Problem: Missing out-of-memory check. And Coverity warning.
Solution: Bail out when msg is NULL.
|
|
|
|
|
| |
Problem: Coverity reports missing restore.
Solution: Move json_encode() call up.
|
|
|
|
|
|
|
| |
Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu
Kuriyama)
Solution: Change the && into ||, call getsockopt() in more situations.
(Ozaki Kiichi)
|
|
|
|
|
| |
Problem: Sort test doesn't test with "1" argument.
Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Can't build without the float feature.
Solution: Add #ifdefs. (Nick Owens, closes #667)
|
|
|
|
|
| |
Problem: Coverity reports dead code.
Solution: Remove the two lines.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Configure doesn't find isinf() and isnan() on some systems.
Solution: Use a configure check that includes math.h.
|
|
|
|
|
| |
Problem: Two more rarily used functions with errors.
Solution: Add proper argument types. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: When starting job on MS-Windows all parts of the command are put
in quotes.
Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
|
|
|
|
|
| |
Problem: Syntax error in rarily used code.
Solution: Fix the mch_rename() declaration. (Ken Takata)
|
|
|
|
|
| |
Problem: MS-Windows doesn't know socklen_t.
Solution: Use previous method for WIN32.
|
|
|
|
|
| |
Problem: When a JSON channel has a callback it may never be cleared.
Solution: Do not write "DETACH" into a JS or JSON channel.
|
|
|
|
|
|
| |
Problem: Opening a channel with select() is not done properly.
Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki
Kiichi)
|
|
|
|
|
| |
Problem: Test 87 fails with Python 3.5.
Solution: Work around difference. (Taro Muraoka)
|
|
|
|
|
| |
Problem: JSON decoding test for surrogate pairs is in the wrong place.
Solution: Move the test lines. (Ken Takata)
|
|
|
|
|
| |
Problem: The exit callback test is flaky.
Solution: Loop to wait for a short time up to a second.
|
|
|
|
|
| |
Problem: Missing --not-a-term.
Solution: Add the argument.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Build fails with job feature but without channel feature.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: JSON tests fail if 'encoding' is not utf-8.
Solution: Force encoding to utf-8.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Crash when using json_decode().
Solution: Terminate string with a NUL byte.
|
|
|
|
|
| |
Problem: Memory corruption when 'encoding' is not utf-8.
Solution: Convert decoded string later.
|
|
|
|
|
| |
Problem: Can't build with JSON but without multi-byte.
Solution: Fix pointer name.
|
| |
|
|
|
|
|
| |
Problem: Can't build GTK3 with small features.
Solution: Use gtk_widget_get_window(). Fix typos. (Dominique Pelle)
|
|
|
|
|
| |
Problem: MS-Windows: more compilation warnings for destructor.
Solution: Add "virtual". (Ken Takata)
|
|
|
|
|
| |
Problem: Using empty name instead of no name for channel buffer.
Solution: Remove the empty name.
|
|
|
|
|
| |
Problem: Can't build on Windows.
Solution: Change #ifdefs. Only define isnan when used.
|
|
|
|
|
| |
Problem: Using uninitialzed variable.
Solution: Initialize vc_type.
|
|
|
|
|
| |
Problem: Can't get buffer number of a channel.
Solution: Add ch_getbufnr().
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Sniff files still referenced in distribution.
Solution: Remove sniff files from distribution.
|
|
|
|
|
|
| |
Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a
response.
Solution: Add ch_evalexpr() and ch_evalraw().
|
|
|
|
|
| |
Problem: JSON encoding doesn't hanel surrogate pair.
Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto)
|