| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
|
| |
Problem: Insert mode completion does not respect "start" in 'backspace'.
Solution: Check whether backspace can go before where insert started.
(Hirohito Higashi)
https://github.com/vim/vim/commit/190b04cdd936f4696c22466b7f077f9371d96580
|
| |
|
|
|
|
| |
Problem: No testing for Farsi code.
Solution: Add a minimal test. Clean up Farsi code.
https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
|
| |
|
|
|
|
|
|
| |
Problem: An address relative to the current line, ":.,+3y", does not work
properly on a closed fold. (Efraim Yawitz)
Solution: Correct for including the closed fold. (Christian Brabandt)
https://github.com/vim/vim/commit/ded2782783f352201ac0b05c6dbe4831adb4a58b
|
| |
|
|
|
|
|
| |
Problem: Text object tests are old style.
Solution: Turn them into new style tests. (James McCoy, closes vim/vim#941)
https://github.com/vim/vim/commit/00b24be454800f544676aa8850fb4378a568901e
|
| |\
| |
| | |
vim-patch:7.4.1991,7.4.1992,7.4.1993,7.4.1994
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: True-false test fails.
Solution: Filter the dict to only keep the value that matters.
https://github.com/vim/vim/commit/05e418d436410cd8bbf5a29ff81e8ad68408b1e8
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Not all TRUE and FALSE arguments are tested.
Solution: Add a few more tests.
https://github.com/vim/vim/commit/6bb450145e96d7b182769fd9502a267da72667ec
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Values for true and false can be confusing.
Solution: Update the documentation. Add a test. Make v:true evaluate to
TRUE for a non-zero-arg.
https://github.com/vim/vim/commit/e381d3d5e098546854b008e01ca1d28ba1a4a057
|
| |\ \
| | |
| | |
| | | |
vim-patch:7.4.2046
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: qf_init_ext() is too big.
Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e87e6dddc2b2a99572ec0db0833c052214c4fbd3
|
| | |/
|/|
| |
| |
| |
| |
| |
| | |
Problem: Cannot get all information about a quickfix list.
Solution: Add an optional argument to get/set loc/qf list(). (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/d823fa910cca43fec3c31c030ee908a14c272640
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: There is no equivalent of 'smartcase' for a tag search.
Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian
Brabandt, closes vim/vim#712) Turn tagcase test into new style.
https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
|
| |\ \
| | |
| | | |
Lambda Support
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: submatch() does not check for a valid argument.
Solution: Give an error if the argument is out of range. (Dominique Pelle)
https://github.com/vim/vim/commit/989f592f7ffcbafdc4ec35cee4dc65bd053e2077
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
Solution: Check for NULL translated name.
https://github.com/vim/vim/commit/843b884461de1c79a1d2748549776fb13fc94360
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Closure function fails.
Solution: Don't reset uf_scoped when it points to another funccal.
https://github.com/vim/vim/commit/580164481924ed8611eb79f0247a0eb1ca0b3b9a
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No error for using function() badly.
Solution: Check for passing wrong function name. (Ken Takata)
https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: User defined functions can't be a closure.
Solution: Add the "closure" argument. Allow using :unlet on a bound
variable. (Yasuhiro Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/10ce39a0d52272a3dfff2feb8c631529f29e6740
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Lambda functions show up with completion.
Solution: Don't show lambda functions. (Ken Takata)
https://github.com/vim/vim/commit/b49edc11a1872fa99befa9a4a8ea6c8537868038
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Syntax error when dict has '>' key.
Solution: Check for endchar. (Ken Takata)
https://github.com/vim/vim/commit/4f0383bc3fe5af0229fb66b53fe94329af783eff
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: Crash when passing number to filter() or map().
Solution: Convert to a string. (Ozaki Kiichi)
https://github.com/vim/vim/commit/a06ec8f345eabb66e5b7d7c0192cfebdde63115d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot detect a crash in tests when caused by garbagecollect().
Solution: Add garbagecollect_for_testing(). Do not free a job if is still
useful.
https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e
|
| |/
|
|
|
|
|
| |
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.
https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70
|
| |
|
|
|
|
|
|
|
| |
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
)
|
| |\
| |
| | |
vim-patch:7.4.1948,7.4.1954,7.4.1962
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Two test files for increment/decrement.
Solution: Move the old style test into the new style test. (Hirohito
Higashi, closes vim/vim#881)
https://github.com/vim/vim/commit/52df117df724a7ad20affdf15214d2df2e507dcc
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
vim-patch: 7.4.2275,7.4.2279
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: ":diffoff!" does not remove filler lines.
Solution: Force a redraw and invalidate the cursor. (closes vim/vim#1014)
https://github.com/vim/vim/commit/e67d546f3c691139e6d3d33f36724d98aec04c14
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Cscope test fails.
Solution: Avoid checking for specific line and column numbers.
https://github.com/vim/vim/commit/4792255eff03760dca0fd014616532e6d47db364
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient testing of cscope.
Solution: Add more tests. (Dominique Pelle)
https://github.com/vim/vim/commit/812ad4f3a2cb33002a24f6b5862c7b375cd68fe4
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient testing for cscope.
Solution: Add more tests. (Dominique Pelle)
https://github.com/vim/vim/commit/5971dab1126d6279c6e523f4fedc2f1e6fb9b4c9
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Not much testing for cscope.
Solution: Add a test that uses the cscope program. (Christian Brabandt)
https://github.com/vim/vim/commit/edf634e0f1985c5ea1afb5b480b47a44cabbce34
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Keymap test fails with normal features.
Solution: Bail out if the keymap feature is not supported.
https://github.com/vim/vim/commit/f36213597d737ab500771e87edcf121acd55e277
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Digraph code test coverage is still low.
Solution: Add more tests. (Christian Brabandt)
https://github.com/vim/vim/commit/e25bc5abb4621c6263b0248988a207d53b57fc54
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
https://github.com/vim/vim/commit/dfd63e30d13fff5603416b6c7e247cebeb003eb0
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: New digraph test makes testing hang.
Solution: Don't set "nocp".
https://github.com/vim/vim/commit/60084333816c585d5858bc085b2942f813102ae3
|
| |/
|
|
|
|
|
| |
Problem: Not much test coverage for digraphs.
Solution: Add a new style digraph test. (Christian Brabandt)
https://github.com/vim/vim/commit/397eadbe25370394e0dc3cb18766533a15b8d1c0
|