| Commit message (Collapse) | Author | Age |
| ... | |
| | |
|
| |
|
|
|
|
|
|
| |
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
|
| |
|
|
|
|
|
|
| |
Problem: filter() and map() only accept a string argument.
Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
Takata)
https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
|
| |
|
|
|
|
|
|
|
| |
We must invoke src/nvim/testdir/Makefile directly.
Explained in 3d1084f264ed08ed75d038510e2e53359d8544eb:
> Running tests from the top-level Makefile will use the third-party
> dependencies from .deps instead of the ones from the Travis cache.
If we could run `oldtest` with CMake, we would not need to do this. Need
USES_TERMINAL feature (CMake 3.2+) for that.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add support for TEST_FILE to the `oldtest` target, for consistency
with the busted/lua tests.
Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas
for `oldtest` it must be "test_foo.res".
- Add support for NVIM_PRG, again so that all test-related targets are
consistent.
- Use consistent name for NVIM_PRG. But still need to support NVIM_PROG
for QuickBuild CI.
Note: The `oldtest` target is driven by the top-level Makefile, because
it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to
add_custom_target(). But we support CMake 2.8...
add_custom_target(oldtest
COMMAND make clean
COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES}
DEPENDS nvim
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir"
USES_TERMINAL true
)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: No test for what 7.4.1948 fixes.
Solution: Add a test. (Hirohito Higashi, closes vim/vim#880)
https://github.com/vim/vim/commit/d388d2ac8bf8c770bf97dc406e99a20ba5104855
Some adjustments had to be made from upstream since nvim always uses
utf-8 internally.
* Removed the 'set encoding=cp932' line from the test
* Adjusted the expected values for getpos(), since the number of bytes
is different in utf-8
|
| |
|
|
|
|
|
| |
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
https://github.com/vim/vim/commit/dfd63e30d13fff5603416b6c7e247cebeb003eb0
|
| |
|
|
|
| |
The test produces some "hit enter" prompts and error messages that had to be
dealt with by `feed`ing CTRL-L to nvim.
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: "cgn" and "dgn" do not work correctly with a single character
match and the replacement includes the searched pattern. (John
Beckett)
Solution: If the match is found in the wrong column try in the next column.
Turn the test into new style. (Christian Brabandt)
https://github.com/vim/vim/commit/6835dc61aebca2b602d85a9d63c449ace58683b4
Closes #5796
|
| | |
| |
| |
| |
| |
| |
| | |
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c4347997954 / vim-patch:7.4.2015.
|
| | |
| |
| |
| |
| |
| | |
Updated runtime files.
https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: It is not easy to get information about buffers, windows and
tabpages.
Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Sign tests are old style.
Solution: Turn them into new style tests. (Dominique Pelle)
https://github.com/vim/vim/commit/09de17536dd84e43aed7a575183e320e8d980b68
|
| | |
| |
| |
| |
| | |
Massaging the upstream patches for this test into the lua tests are too
cumbersome and slow down patching.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: No new style test for diff mode.
Solution: Add a test. Check that folds are in sync.
https://github.com/vim/vim/commit/42093c0ec52e6ff29e80aae65ac6a744c7de79bb
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: match() and related functions tested with old style test.
Solution: Convert to new style test. (Hirohito Higashi)
https://github.com/vim/vim/commit/d76a0c15f8bdbc901015879177fd5076d34c7a06
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Command line editing is not tested much.
Solution: Add tests for expanding the file name and 'wildmenu'.
https://github.com/vim/vim/commit/ae3150ec8d9da4a244acffebea55416946ca23d3
The test_cmdline.vim tests were ported in 23f591dba078fee16a and thus
should have marked 1923 as applied. The test_cmdline.vim invocation
has been moved from test_alot.vim to src/nvim/testdir/Makefile to
better accord with the upstream code.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: clr_history() does not work properly.
Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0
Note: Only added a test. The change to `histptr` had already been made.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: syn-cchar defined with matchadd() does not appear if there are no
other syntax definitions which matches buffer text.
Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757)
https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
|
| | | |
|
| |\ \
| | |
| | | |
vim-patch:7.4.{1952, 1990, 2033, 2284}
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: 'cscopequickfix' option does not accept new value "a".
Solution: Adjust list of command characters. (Ken Takata)
https://github.com/vim/vim/commit/6d20e1754461b0f8d395f2e3464f0dc1060497f7
All changes applied manually. Definition of `CSQF_CMDS` was moved to
`option_defs.h` in nvim.
|
| |/ /
| |
| |
| |
| |
| |
| | |
Problem: User commands don't support modifiers.
Solution: Add the <mods> item. (Yegappan Lakshmanan, closes vim/vim#829)
https://github.com/vim/vim/commit/63a60ded3fd584847a05dccf058026e682abad90
|
| | |
| |
| |
| |
| |
| | |
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
https://github.com/vim/vim/commit/86edef664efccbfe685906c854b9cdd04e56f2d5
|
| |\ \ |
|
| | |/
| |
| |
| |
| | |
The original test did also create additional auxiliary files which where never
used. They are not created any longer.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Visual-block shift breaks multi-byte characters.
Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test.
https://github.com/vim/vim/commit/20b4f463f4ab50fa9bcc9838aa94101fa5698125
|
| | |
| |
| |
| | |
These tests should be here, not in the Makefile.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Sticky type checking is more annoying than useful.
Solution: Remove the error for changing a variable type.
https://github.com/vim/vim/commit/f6f32c38bf3319144a84a01a154c8c91939e7acf
Note: There are a bunch of other changes to eval.txt that I believe are
N/A and not related to this patch.
|
| |\ \
| | |
| | | |
vim-patch:7.4.{1090,1094}
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No tests for :hardcopy and related options.
Solution: Add test_hardcopy.
https://github.com/vim/vim/commit/b5690794cf081773628fa0f1f2b948fd129d5b39
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Segfault when unletting "count".
Solution: Check for readonly and locked first. (Dominique Pelle)
Add a test.
https://github.com/vim/vim/commit/af8af8bfac5792fa64efbc524032d568cc7754f7
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
vim-patch:7.4.{1150,1151}
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: 'langmap' applies to the first character typed in Select mode.
(David Watson)
Solution: Check for SELECTMODE. (Christian Brabandt, closes #572)
Add the 'x' flag to feedkeys().
https://github.com/vim/vim/commit/25281634cda03ce302aaf9f906a9520b5f81f91e
|
| |\ \ \ \
| | | | |
| | | | | |
tests: Migrate legacy test 55
|
| | | |_|/
| |/| | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
tests: migrate legacy test 10
|
| | |/ / |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot define keyword characters for a syntax file.
Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
https://github.com/vim/vim/commit/b8060fe862f684b591f9ac679eac5b2594d6c5a0
|
| |\ \ \
| | | |
| | | | |
tests: Migrate legacy test listlbr.
|
| | |/ / |
|
| |/ /
| |
| |
| |
| | |
For the moment, timers are triggered during sleep,
but not in wait-for-input modes, like press-RETURN or f_getchar()
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Vim creates these scripts in test1 depending on what build features
are enabled so that tests that use these features are skiped if
necessary. Because Neovim only has one type of build (and the features
+eval, +windows, and +multi-byte are enabled in this build) they are
not necessary.
|
| |/ |
|