| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fixes #1240
|
|\
| |
| | |
Remove FOR_ALL_WINDOWS and replace with FOR_ALL_WINDOWS_IN_TAB(curtab)
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix coverity defect(Resource leak) and add some specs which expose the bug to valgrind
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The os_system function uses a write callback to close the input stream when the
write completes, but this causes a memory error because the callback is invoked
right before the stream is freed by the caller.
This fixes the problem by removing the callback set by os_system. Instead, it
calls job_close_in immediately after writing(the stream will only close after
the write completes). The 'pending' parameter was also removed from the
'write_cb' as it should be hidden by the wstream module.
While the `wstream_set_write_cb` and `job_write_cb` are no longer used, they
will remain in the codebase for future use.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Always check the logs in case of test failures(which would happen when ASAN
finds an error since it will abort Nvim).
Also run the 'oldtest' target from the gcc-32.sh script
|
| | |
| | |
| | |
| | | |
These new specs replace src/nvim/testdir/test_system
|
| | |
| | |
| | |
| | |
| | | |
The eval helper transforms vimL expressions into lua tables, it's useful for
verifying function output.
|
|/ /
| |
| |
| |
| |
| | |
Busted can only discover tests from a single directory. In order to allow tests
under 'legacy' to run as a functional test, it needed to be moved to
'test/functional'.
|
|\ \ |
|
|/ /
| |
| |
| | |
possibility of future clashes
|
|\ \
| | |
| | | |
vim-patch:7.4.247 + vim-patch:7.4.248 + vim-patch:7.4.256 + f_system() bug fix
|
| | | |
|
| | |
| | |
| | |
| | | |
Replace NULs with SOH to restore the old behaviour of get_cmd_output().
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using systemlist() may cause a crash and does not handle NUL
characters properly.
Solution: Increase the reference count, allocate memory by length. (Yasuhiro
Matsumoto)
https://code.google.com/p/vim/source/detail?r=v7-4-256
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot distinguish between NL and NUL in output of system().
Solution: Add systemlist(). (ZyX)
https://code.google.com/p/vim/source/detail?r=v7-4-248
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When passing input to system() there is no way to keep NUL and
NL characters separate.
Solution: Optionally use a list for the system() input. (ZyX)
https://code.google.com/p/vim/source/detail?r=v7-4-247
Implement write_list_to_string() as well since write_list() only works
on files.
|
| | | |
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Put all logic into the `check_logs` function and use the `find` command to avoid
having to deal with empty directory errors when globbing files.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 'lupa' python package provides a simple way to seamless integrate lua and
python code.
This commit replaces vroom by a python script that exposes the 'neovim' package
to a lua state, and invokes busted to run functional tests. This is a temporary
solution that will enable writing functional tests using lua/bused while a lua
client library is not available.
The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style
syntax while also providing the customization power of a full programming
language. Another reason is to use a single framework for unit/functional tests.
Two other changes were performed in this commit:
- Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now
identified by "gcc/gcc-32". They will run unit/functional tests for both 64
and 32 bits.
- Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
|
|\ \
| | |
| | | |
vim-patch:7.4.454
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using a Visual selection of multiple words and doing
CTRL-W_] it jumps to the tag matching the word under the
cursor, not the selected text. (Patrick hemmer)
Solution: Do not reset Visual mode. (idea by Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=0cdff7c268559f8f34eae073a013ece71b62b9e3
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.320
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Possible crash when an BufLeave autocommand deletes the buffer.
Solution: Check for the window pointer being valid. Postpone freeing the
window until autocommands are done. (Yasuhiro Matsumoto)
https://code.google.com/p/vim/source/detail?r=v7-4-320
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:7.4.411
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: "foo bar" sorts before "foo" with sort(). (John Little)
Solution: Avoid putting quotes around strings before comparing them.
https://code.google.com/p/vim/source/detail?r=v7-4-411
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vim-patch:7.4.386
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: When splitting a window the changelist position is wrong.
Solution: Copy the changelist position. (Jacob Niehus)
https://code.google.com/p/vim/source/detail?r=v7-4-386
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vim-patch:7.4.391
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: No 'cursorline' highlighting when the cursor is on a line with
diff highlighting. (Benjamin Fritz)
Solution: Combine the highlight attributes. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-391
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
clang: Division by zero
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
vim-patch:7.4.405
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Screen updating is slow when using matches.
Solution: Do not use the ">=" as in patch 7.4.362, check the lnum.
https://code.google.com/p/vim/source/detail?r=v7-4-405
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.407
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Inserting text for Visual block mode, with cursor movement,
repeats the wrong text. (Aleksandar Ivanov)
Solution: Reset the update_Insstart_orig flag. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-407
|
|\ \ \ \
| |_|/ /
|/| | | |
vim-patch:7.4.360
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: In a regexp pattern a "$" followed by \v or \V is not seen as the
end-of-line.
Solution: Handle the situation. (Ozaki Kiichi)
https://code.google.com/p/vim/source/detail?r=v7-4-360
|
|\ \ \
| | | |
| | | | |
FOR_ALL_TAB_WINDOWS cleanup. Add FOR_ALL_TABS and FOR_ALL_WINDOWS_IN_TAB.
|
| | | | |
|
| | | | |
|