Bram Moolenaar
a4208966fb
patch 8.1.1921: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-24 20:50:19 +02:00
Bram Moolenaar
1a3a89168d
patch 8.1.1915: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-23 22:31:37 +02:00
Bram Moolenaar
64b4d73524
patch 8.1.1911: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
2019-08-22 22:18:17 +02:00
Bram Moolenaar
073e4b92e6
patch 8.1.1888: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-18 23:01:56 +02:00
Bram Moolenaar
8c5a278fc5
patch 8.1.1826: tests use hand coded feature and option checks
...
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
2019-08-07 23:07:07 +02:00
Bram Moolenaar
d08b8c4c04
patch 8.1.1740: exepath() doesn't work for "bin/cat"
...
Problem: Exepath() doesn't work for "bin/cat".
Solution: Check for any path separator. (Daniel Hahler, closes #4724 ,
closes #4710 )
2019-07-24 14:59:45 +02:00
Bram Moolenaar
3940ec6d41
patch 8.1.1638: running tests leaves some files behind
...
Problem: Running tests leaves some files behind.
Solution: Delete the files. (Ozaki Kiichi, closes #4617 )
2019-07-05 21:53:24 +02:00
Bram Moolenaar
892ae723ab
patch 8.1.1611: bufadd() reuses existing buffer without a name
...
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
2019-06-30 20:33:01 +02:00
Bram Moolenaar
15e248e37f
patch 8.1.1610: there is no way to add or load a buffer without side effects
...
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
2019-06-30 20:21:37 +02:00
Bram Moolenaar
e7eb92708e
patch 8.1.1585: :let-heredoc does not trim enough
...
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
2019-06-24 00:58:07 +02:00
Bram Moolenaar
87652a7e3b
patch 8.1.1568: strftime() test fails on MS-Windows
...
Problem: Strftime() test fails on MS-Windows.
Solution: Skip the check for using the $TZ environment variable.
2019-06-18 23:07:37 +02:00
Bram Moolenaar
db51730df1
patch 8.1.1567: localtime_r() does not respond to $TZ changes
...
Problem: Localtime_r() does not respond to $TZ changes.
Solution: If $TZ changes then call tzset(). (Tom Ryder)
2019-06-18 22:53:24 +02:00
Bram Moolenaar
4a792c87b9
patch 8.1.1473: new resolve() implementation causes problem for plugins
...
Problem: New resolve() implementation causes problem for plugins.
Solution: Only resolve a resparse point after checking it is needed. (Ken
Takata, closes #4492 )
2019-06-06 12:22:41 +02:00
Bram Moolenaar
1bbebab525
patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path
...
Problem: MS-Windows: resolve() does not resolve all components of the path.
(David Briscoe)
Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto,
closes #4211 , closes #4447 )
2019-05-29 20:36:54 +02:00
Bram Moolenaar
701ff0a3e5
patch 8.1.1378: delete() can not handle a file name that looks like a pattern
...
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes #4424 , closes #696 )
2019-05-24 14:14:14 +02:00
Bram Moolenaar
17aca707f9
patch 8.1.1336: some eval functionality is not covered by tests
...
Problem: Some eval functionality is not covered by tests.
Solution: Add a few more test cases. (Masato Nishihata, closes #4374 )
2019-05-16 22:24:55 +02:00
Bram Moolenaar
543c9b1921
patch 8.1.1120: cannot easily get directory entry matches
...
Problem: Cannot easily get directory entry matches.
Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes #2439 )
2019-04-05 22:50:40 +02:00
Bram Moolenaar
8662189736
patch 8.1.1095: MS-Windows: executable() fails on very long filename
...
Problem: MS-Windows: executable() fails on very long filename.
Solution: (Ken Takata, closes #4015 )
2019-03-30 21:51:28 +01:00
Bram Moolenaar
9a2c091a74
patch 8.1.1077: reg_executing() is reset by calling input()
...
Problem: reg_executing() is reset by calling input().
Solution: Implement a more generic way to save and restore reg_executing.
(Ozaki Kiichi, closes #4192 )
2019-03-30 14:26:18 +01:00
Bram Moolenaar
f0fab3046c
patch 8.1.0995: a getchar() call resets the reg_executing() result
...
Problem: A getchar() call while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #406
2019-03-05 12:24:10 +01:00
Bram Moolenaar
cce713ddcc
patch 8.1.0992: a :normal command resets the reg_executing() result
...
Problem: A :normal command while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #4066 )
2019-03-04 11:40:12 +01:00
Bram Moolenaar
dce1e89be4
patch 8.1.0894: MS-Windows: resolve() does not return a reparse point
...
Problem: MS-Windows: resolve() does not return a reparse point.
Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896 )
2019-02-10 23:18:53 +01:00
Bram Moolenaar
af630d4f7f
patch 8.1.0884: double check for bsd systems
...
Problem: Double check for bsd systems.
Solution: Delete the old line.
2019-02-08 23:09:48 +01:00
Bram Moolenaar
a02e3f65c5
patch 8.1.0878: test for has('bsd') fails on some BSD systems
...
Problem: Test for has('bsd') fails on some BSD systems.
Solution: Adjust the uname match. (James McCoy, closes #3909 )
2019-02-07 21:27:14 +01:00
Bram Moolenaar
39536dd557
patch 8.1.0846: not easy to recognize the system Vim runs on
...
Problem: Not easy to recognize the system Vim runs on.
Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855 )
2019-01-29 22:58:21 +01:00
Bram Moolenaar
2e05009218
patch 8.1.0832: confirm() is not tested
...
Problem: confirm() is not tested.
Solution: Add a test. (Dominique Pelle, closes #3868 )
2019-01-27 15:00:36 +01:00
Bram Moolenaar
30276f2beb
patch 8.1.0811: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
2019-01-24 17:59:39 +01:00
Bram Moolenaar
ded5f1bed7
patch 8.1.0515: reloading a script gives errors for existing functions
...
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
2018-11-10 17:33:29 +01:00
Bram Moolenaar
9e353b5265
patch 8.1.0511: ml_get error when calling a function with a range
...
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
2018-11-04 23:39:38 +01:00
Bram Moolenaar
a05a0d325c
patch 8.1.0459: Test_executable fails when there is a dog in the system
...
Problem: Test_executable fails when there is a dog in the system.
Solution: Rename the dog. (Hirohito Higashi)
2018-10-07 18:43:05 +02:00
Bram Moolenaar
2610990709
patch 8.1.0454: resolve() was not tested with a symlink cycle
...
Problem: resolve() was not tested with a symlink cycle.
Solution: Add a test. (Dominique Pelle, closes #3513 )
2018-10-06 15:43:17 +02:00
Bram Moolenaar
8295666dc2
patch 8.1.0453: MS-Windows: executable() is not reliable
...
Problem: MS-Windows: executable() is not reliable.
Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3412 )
2018-10-06 15:18:45 +02:00
Bram Moolenaar
f1c118be93
patch 8.1.0347: some tests fail on Solaris
...
Problem: Some tests fail on Solaris.
Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish
case change. (Libor Bukata, Bjorn Linse, closes #3403 )
2018-09-03 22:08:10 +02:00
Bram Moolenaar
c26f7c6053
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
...
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes #3351 )
2018-08-20 22:53:04 +02:00
Bram Moolenaar
bfde0b482d
patch 8.1.0257: no test for pathshorten()
...
Problem: No test for pathshorten().
Solution: Add a test. (Dominique Pelle, closes #3295 )
2018-08-08 22:27:31 +02:00
Bram Moolenaar
612cc3888b
patch 8.1.0225: mode() does not indicate using CTRL-O from Insert mode
...
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes #3000 )
2018-07-29 15:34:26 +02:00
Bram Moolenaar
947b39e761
patch 8.1.0204: inputlist() is not tested
...
Problem: inputlist() is not tested.
Solution: Add a test. (Dominique Pelle, closes #3240 )
2018-07-22 19:36:37 +02:00
Bram Moolenaar
d90a144eda
patch 8.1.0189: function defined in sandbox not tested
...
Problem: Function defined in sandbox not tested.
Solution: Add a text.
2018-07-15 20:24:31 +02:00
Bram Moolenaar
1ceebb4efc
patch 8.1.0086: no tests for libcall() and libcallnr()
...
Problem: No tests for libcall() and libcallnr().
Solution: Add tests. (Dominique Pelle, closes #2982 )
2018-06-19 19:46:06 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
42ab17b8e3
patch 8.1.0008: no test for strwidth()
...
Problem: No test for strwidth().
Solution: Add a test. (Dominique Pelle, closes #2931 )
2018-05-20 14:11:10 +02:00
Bram Moolenaar
295ac5ab5e
patch 8.0.1630: trimming white space is not that easy
...
Problem: Trimming white space is not that easy.
Solution: Add the trim() function. (Bukn, closes #1280 )
2018-03-22 23:04:02 +01:00
Bram Moolenaar
e6640ad44e
patch 8.0.1421: accessing invalid memory with overlong byte sequence
...
Problem: Accessing invalid memory with overlong byte sequence.
Solution: Check for NUL character. (test by Dominique Pelle, closes #2485 )
2017-12-22 21:06:56 +01:00
Bram Moolenaar
338e47fdfd
patch 8.0.1410: hang when using count() with an empty string
...
Problem: Hang when using count() with an empty string.
Solution: Return zero for an empty string. (Dominique Pelle, closes #2465 )
2017-12-19 11:55:26 +01:00
Bram Moolenaar
c7d16dce2f
patch 8.0.1311: no test for strpart()
...
Problem: No test for strpart().
Solution: Add a test. (Dominique Pelle, closes #2347 )
2017-11-18 20:32:03 +01:00
Bram Moolenaar
1190cf68e2
patch 8.0.1105: match() and matchend() are not tested
...
Problem: match() and matchend() are not tested.
Solution: Add tests. (Ozaki Kiichi, closes #2088 )
2017-09-14 14:31:18 +02:00
Bram Moolenaar
9966b21a57
patch 8.0.0794: checking translations fails with multiple NL
...
Problem: The script to check translations fails if there is more than one
NL in one line.
Solution: Count the number of NL characters. Make count() accept a string.
2017-07-28 16:46:57 +02:00
Bram Moolenaar
206155280d
patch 8.0.0625: shellescape() always escapes a newline
...
Problem: shellescape() always escapes a newline, which does not work with
some shells. (Harm te Hennepe)
Solution: Only escape a newline when the "special" argument is non-zero.
(Christian Brabandt, closes #1590 )
2017-06-05 18:46:26 +02:00
Bram Moolenaar
d4863aa99e
patch 8.0.0548: saving the redo buffer only works one time
...
Problem: Saving the redo buffer only works one time, resulting in the "."
command not working well for a function call inside another
function call. (Ingo Karkat)
Solution: Save the redo buffer at every user function call. (closes #1619 )
2017-04-07 19:50:12 +02:00
Bram Moolenaar
4520d440c5
patch 8.0.0485: not all windows commands are tested
...
Problem: Not all windows commands are tested.
Solution: Add more tests for windows commands. (Dominique Pelle,
closes #1575 ) Run test_autocmd separately, it interferes with
other tests. Fix tests that depended on side effects.
2017-03-19 16:09:46 +01:00