| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Appending to a long quickfix list is slow.
Solution: Add qf_last.
|
|
|
|
|
| |
Problem: MS-Windows console build defaults to not having +channel.
Solution: Include the channel feature if building with huge features.
|
|
|
|
|
| |
Problem: Channel test is flaky.
Solution: Wait for close_cb to be invoked.
|
|
|
|
|
|
|
| |
Problem: Whether a job has exited isn't detected until a character is
typed. After calling exit_cb the cursor is in the wrong place.
Solution: Don't wait forever for a character to be typed when there is a
pending job. Update the screen if neede after calling exit_cb.
|
|
|
|
|
| |
Problem: No test for invoking "close_cb" when writing to a buffer.
Solution: Add using close_cb to a test case.
|
|
|
|
|
|
| |
Problem: Typing "k" at the hit-enter prompt has no effect.
Solution: Don't assume recursive use of the prompt if a character was typed.
(Hirohito Higashi)
|
|
|
|
|
|
| |
Problem: Comparing functions and partials doesn't work well.
Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the
partial. (closes #813)
|
|
|
|
|
| |
Problem: Unused variable in Win32 code.
Solution: Remove it. (Mike Williams)
|
|
|
|
|
|
| |
Problem: When a callback adds a timer the GUI doesn't use it until later.
(Ramel Eshed)
Solution: Return early if a callback adds a timer.
|
|
|
|
|
| |
Problem: Still build problem with old version of Perl.
Solution: Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)
|
|
|
|
|
|
|
| |
Problem: Appending to the quickfix list while the quickfix window is open
is very slow.
Solution: Do not delete all the lines, only append the new ones. Avoid
using a window while updating the list. (closes #841)
|
|
|
|
|
| |
Problem: One more Win64 compiler warning.
Solution: Change declared argument type. (Ken Takata)
|
|
|
|
|
| |
Problem: Can't build with old version of Perl.
Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen)
|
|
|
|
|
| |
Problem: Setting really_exiting causes memory leaks to be reported.
Solution: Add the in_free_all_mem flag.
|
|
|
|
|
| |
Problem: Memory leak in test_matchstrpos.
Solution: Free the string before overwriting. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: Invalid memory access when exiting with EXITFREE defined.
(Dominique Pelle)
Solution: Set "really_exiting" and skip error messages.
|
|
|
|
|
| |
Problem: Memory leaks in tet49. (Dominique Pelle)
Solution: Use NULL instead of an empty string.
|
|
|
|
|
| |
Problem: Python: encoding error with Python 2.
Solution: Use "getcwdu" instead of "getcwd". (Ken Takata)
|
|
|
|
|
| |
Problem: Compiler warnings on Win64.
Solution: Adjust types, add type casts. (Ken Takata)
|
|
|
|
|
|
|
| |
Problem: string() with repeated argument does not give a result usable by
eval().
Solution: Refactor echo_striong and tv2string(), moving the common part to
echo_string_core(). (Ken Takata)
|
|
|
|
|
| |
Problem: Compiler warnings with 64 bit compiler.
Solution: Change int to size_t. (Mike William)
|
|
|
|
|
| |
Problem: Using a partial for timer_start() may cause a crash.
Solution: Set the copyID in timer objects. (Ozaki Kiichi)
|
|
|
|
|
| |
Problem: Cannot use a function reference for "exit_cb".
Solution: Use get_callback(). (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: When a channel writes to a buffer it doesn't find a buffer by the
short name but re-uses it anyway.
Solution: Find buffer also by the short name.
|
|
|
|
|
|
|
| |
Problem: When a channel appends to a buffer that is 'nomodifiable' there is
an error but appending is done anyway.
Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable'
when the value is 1.
|
|
|
|
|
| |
Problem: failing job test fails on MS-Windows.
Solution: Expect "fail" status instead of "dead".
|
|
|
|
|
| |
Problem: Valgrind reports memory leak for job that is not freed.
Solution: Free all jobs on exit. Add test for failing job.
|
|
|
|
|
|
|
| |
Problem: When setting 'termguicolors' the Ignore highlighting doesn't work.
(Charles Campbell)
Solution: Handle the color names "fg" and "bg" when the GUI isn't running
and no colors are speficied, fall back to black and white.
|
|
|
|
|
|
| |
Problem: Crash when job and channel are in the same dict while using
partials. (Luc Hermitte)
Solution: Do not decrement the channel reference count too early.
|
|
|
|
|
| |
Problem: Unix: Cannot run all tests with the GUI.
Solution: Add the "testgui" target.
|
|
|
|
|
| |
Problem: test_syn_attr failes when using the GUI. (Dominique Pelle)
Solution: Escape the font name properly.
|
|
|
|
|
| |
Problem: GUI freezes when using a job. (Shougo)
Solution: Unregister the channel when there is an input error.
|
|
|
|
|
|
| |
Problem: Still trying to read from channel that is going to be closed.
(Ramel Eshed)
Solution: Check if ch_to_be_closed is set.
|
|
|
|
|
| |
Problem: Can't build with Strawberry Perl 5.24.
Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata)
|
|
|
|
|
|
|
| |
Problem: Getting an item from a NULL dict crashes. Setting a register to a
NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL
dict with a NULL dict fails.
Solution: Properly check for NULL.
|
|
|
|
|
| |
Problem: Ubsan detects a multiplication overflow.
Solution: Don't use orig_mouse_time when it's zero. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Mentioning NetBeans when reading from channel. (Ramel Eshed)
Solution: Make the text more generic.
|
|
|
|
|
|
|
|
| |
Problem: Using old function name in comment. More functions should start
with test_.
Solution: Rename function in comment. (Higashi Higashi) Rename
disable_char_avail_for_testing() to test_disable_char_avail().
And alloc_fail() to test_alloc_fail().
|
|
|
|
|
| |
Problem: Tests involving Python are flaky.
Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov)
|
|
|
|
|
| |
Problem: get() works for Partial but not for Funcref.
Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
|
| |
|
|
|
|
|
| |
Problem: The code to reallocate the buffer used for quickfix is repeated.
Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831)
|
|
|
|
|
|
| |
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
|
|
|
|
|
| |
Problem: Cannot get the items stored in a partial.
Solution: Support using get() on a partial.
|
|
|
|
|
|
| |
Problem: Functions specifically for testing do not sort together.
Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now().
Add test_null_list(), test_null_dict(), etc.
|
|
|
|
|
|
| |
Problem: The BufUnload event is triggered twice, when :bunload is used with
set to or .
Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)
|
|
|
|
|
|
|
| |
Problem: When using a partial on a dictionary it always gets bound to that
dictionary.
Solution: Make a difference between binding a function to a dictionary
explicitly or automatically.
|
|
|
|
|
| |
Problem: When splitting and closing a window the status height changes.
Solution: Compute the frame height correctly. (Hirohito Higashi)
|
|
|
|
|
| |
Problem: Possible crash when conceal is active.
Solution: Check for the screen to be valid when redrawing a line.
|
|
|
|
|
| |
Problem: Cannot use an Ex command for 'keywordprg'.
Solution: Accept an Ex command. (Nelo-Thara Wallus)
|