Bram Moolenaar
56564964e6
patch 9.0.0719: too many delete() calls in tests
...
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
2022-10-10 22:39:42 +01:00
Dominique Pelle
caa1d19da1
patch 9.0.0613: running source tests leaves file behind
...
Problem: Running source tests leaves file behind.
Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243 )
Also do this for other writefile() calls and drop delete().
2022-09-28 10:45:15 +01:00
Bram Moolenaar
69082916c8
patch 9.0.0552: crash when using NUL in buffer that uses :source
...
Problem: Crash when using NUL in buffer that uses :source.
Solution: Don't get a next line when skipping over NL.
2022-09-22 21:35:19 +01:00
Bram Moolenaar
b18b496997
patch 9.0.0363: common names in test files causes tests to be flaky
...
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
2022-09-02 21:55:50 +01:00
Bram Moolenaar
4748c4bd64
patch 8.2.4974: ":so" command may read after end of buffer
...
Problem: ":so" command may read after end of buffer.
Solution: Compute length of text properly.
2022-05-17 17:47:07 +01:00
Bram Moolenaar
2bdad61267
patch 8.2.4647: "source" can read past end of copied line
...
Problem: "source" can read past end of copied line.
Solution: Add a terminating NUL.
2022-03-29 19:52:12 +01:00
Bram Moolenaar
c75bca3ee9
patch 8.2.4633: Visual range does not work before command modifiers
...
Problem: Visual range does not work before command modifiers.
Solution: Move Visual range to after command modifiers.
2022-03-27 13:36:50 +01:00
Yegappan Lakshmanan
35dc17634d
patch 8.2.4607: sourcing buffer lines may lead to errors for conflicts
...
Problem: Sourcing buffer lines may lead to errors for conflicts.
Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991 )
2022-03-22 12:13:54 +00:00
Yegappan Lakshmanan
85b43c6cb7
patch 8.2.4603: sourcing buffer lines is too complicated
...
Problem: Sourcing buffer lines is too complicated.
Solution: Simplify the code. Make it possible to source Vim9 script lines.
(Yegappan Lakshmanan, closes #9974 )
2022-03-21 19:45:17 +00:00
Yegappan Lakshmanan
36a5b6867b
patch 8.2.4594: need to write script to a file to be able to source them
...
Problem: Need to write script to a file to be able to source them.
Solution: Make ":source" use lines from the current buffer. (Yegappan
Lakshmanan et al., closes #9967 )
2022-03-19 12:56:51 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
5c504f680e
patch 8.2.2684: not enough folding code is tested
...
Problem: Not enough folding code is tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046 )
2021-04-01 13:39:51 +02:00
Bram Moolenaar
476a613135
patch 8.2.0531: various errors not tested
...
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895 )
2020-04-08 19:48:56 +02:00
Bram Moolenaar
bc2b71d44a
patch 8.2.0270: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5649 )
2020-02-17 21:33:30 +01:00
Bram Moolenaar
9f6277bdde
patch 8.2.0243: insufficient code coverage for ex_docmd.c functions
...
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5618 )
2020-02-11 22:04:02 +01:00
Bram Moolenaar
ed5adff1e6
patch 8.2.0136: stray ch_logfile() call
...
Problem: Stray ch_logfile() call.
Solution: Remove it. (closes #5503 )
2020-01-20 21:32:51 +01:00
Bram Moolenaar
ca33eb256e
patch 8.2.0132: script may be re-used when deleting and creating a new one
...
Problem: Script may be re-used when deleting and creating a new one.
Solution: When the inode matches, also check the file name.
2020-01-19 20:18:09 +01:00
Bram Moolenaar
ddd3308782
patch 8.1.1461: tests do not run or are not reliable on some systems
...
Problem: Tests do not run or are not reliable on some systems.
Solution: Use "findstr" instead of "grep" on MS-Windows. Clear
PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
output after executing a debug command. (Yegappan Lakshmanan,
closes #4479 )
2019-06-03 23:07:25 +02:00
Bram Moolenaar
5357552140
patch 8.1.1365: source command doesn't check for the sandbox
...
Problem: Source command doesn't check for the sandbox. (Armin Razmjou)
Solution: Check for the sandbox when sourcing a file.
2019-05-22 22:38:25 +02:00
Bram Moolenaar
2b6185287a
patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePost
...
Problem: There is a SourcePre autocommand event but not a SourcePost.
Solution: Add the SourcePost autocommand event. (closes #3739 )
2019-01-12 13:26:03 +01:00