Bram Moolenaar
54e5fed6d2
patch 9.0.0035: spell dump may go beyond end of an array
...
Problem: Spell dump may go beyond end of an array.
Solution: Limit the word length.
2022-07-04 13:37:07 +01:00
zeertzjq
288ed23e39
patch 9.0.0034: spell tests do not always clear the word list
...
Problem: Spell tests do not always clear the word list.
Solution: Clear the word list in TearDown(). (closes #10659 )
2022-07-04 11:03:07 +01:00
Bram Moolenaar
7fe956d176
patch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine
...
Problem: In the quickfix window 'cursorline' overrules QuickFixLine
highlighting.
Solution: Combine the attributes. Add a test. (closes #10654 )
2022-07-03 14:21:09 +01:00
zeertzjq
9359e8a6d9
patch 9.0.0031: <cmod> of user command does not have correct verbose value
...
Problem: <cmod> of user command does not have correct verbose value.
Solution: Use the value from the command modifier. (closes #10651 )
2022-07-03 13:16:09 +01:00
Bram Moolenaar
22e7e867e2
patch 9.0.0030: matchfuzzy test depends on path of current directory
...
Problem: Matchfuzzy test depends on path of current directory.
Solution: Use fnamemodify() to remove the path. (Robin Becker,
closes #10650 )
2022-07-02 20:48:01 +01:00
Bram Moolenaar
2d29501982
patch 9.0.0027: the command line test is getting quite big
...
Problem: The command line test is getting quite big.
Solution: Move command line window tests to a separate file.
2022-07-02 16:29:34 +01:00
Bram Moolenaar
c6fdb15d42
patch 9.0.0025: accessing beyond allocated memory with the cmdline window
...
Problem: Accessing beyond allocated memory when using the cmdline window in
Ex mode.
Solution: Use "*" instead of "'<,'>" for Visual mode.
2022-07-02 13:43:21 +01:00
Bram Moolenaar
95afae6d17
patch 9.0.0022: spell test fails
...
Problem: Spell test fails.
Solution: Expect new error is given.
2022-07-01 22:44:19 +01:00
Bram Moolenaar
5e59ea54c0
patch 9.0.0021: invalid memory access when adding word to spell word list
...
Problem: Invalid memory access when adding word with a control character to
the internal spell word list.
Solution: Disallow adding a word with control characters or a trailing
slash.
2022-07-01 22:26:20 +01:00
Bram Moolenaar
f12129f171
patch 9.0.0020: with some completion reading past end of string
...
Problem: With some completion reading past end of string.
Solution: Check the length of the string.
2022-07-01 19:58:30 +01:00
zeertzjq
eb273cd7b0
patch 9.0.0019: timers test not run where possible
...
Problem: Timers test not run where possible.
Solution: Adjust platform checks. (closes #10645 )
2022-07-01 19:11:23 +01:00
Bram Moolenaar
27efc62f5d
patch 9.0.0018: going over the end of the typahead
...
Problem: Going over the end of the typahead.
Solution: Put a NUL after the typeahead.
2022-07-01 16:35:45 +01:00
Bram Moolenaar
3d51ce18ab
patch 9.0.0017: accessing memory beyond the end of the line
...
Problem: Accessing memory beyond the end of the line.
Solution: Stop Visual mode when closing a window.
2022-07-01 15:26:15 +01:00
Bram Moolenaar
c2a79b87fc
patch 9.0.0016: comparing line pointer for 'breakindent' is not reliable
...
Problem: Comparing line pointer for 'breakindent' is not reliable.
Solution: Make a copy of the line.
2022-07-01 13:15:35 +01:00
Bram Moolenaar
fa4873ccfc
patch 9.0.0013: reproducing memory access errors can be difficult
...
Problem: Reproducing memory access errors can be difficult.
Solution: When testing, copy each line to allocated memory, so that valgrind
can detect accessing memory before and/or after it. Fix uncovered
problems.
2022-06-30 22:13:59 +01:00
Bram Moolenaar
cdbfc6dbab
patch 9.0.0012: signature files not detected properly
...
Problem: Signature files not detected properly.
Solution: Add a function to better detect signature files. (Doug Kearns)
2022-06-30 16:25:21 +01:00
Bram Moolenaar
d25f003342
patch 9.0.0011: reading beyond the end of the line with put command
...
Problem: Reading beyond the end of the line with put command.
Solution: Adjust the end mark position.
2022-06-30 12:30:19 +01:00
Bram Moolenaar
b0375d466e
patch 9.0.0010: returning 0 for has('patch-9.0.0') is inconsistent
...
Problem: Returning 0 for has('patch-9.0.0') is inconsistent.
Solution: Make it return 1. (closes #10640 )
2022-06-30 11:03:39 +01:00
Bram Moolenaar
083692d598
patch 9.0.0009: going past the end of a menu item with only modifier
...
Problem: Going past the end of a menu item with only modifier.
Solution: Check for NUL.
2022-06-29 21:16:58 +01:00
David Gow
83e11800cc
patch 9.0.0008: cannot specify the variable name for "xxd -i"
...
Problem: Cannot specify the variable name for "xxd -i".
Solution: Add the "-name" argument. (David Gow, closes #10599 )
2022-06-29 20:24:49 +01:00
Bram Moolenaar
84f5463630
patch 9.0.0007: no support for double, dotted and dashed underlines
...
Problem: No support for double, dotted and dashed underlines.
Solution: Add the termcap entries and highlight modes. (closes #9553 )
2022-06-29 18:39:11 +01:00
Bram Moolenaar
8b5901e2f9
patch 9.0.0006: not all Visual Basic files are recognized
...
Problem: Not all Visual Basic files are recognized.
Solution: Change detection of *.cls files. (Doug Kearns)
2022-06-29 14:39:12 +01:00
Hugo Osvaldo Barrera
040674129f
patch 9.0.0005: hare files are not recognized
...
Problem: Hare files are not recognized.
Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630 )
2022-06-29 13:48:49 +01:00
Yegappan Lakshmanan
ee47eaceaa
patch 9.0.0003: functions are global while they could be local
...
Problem: Functions are global while they could be local.
Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
closes #10612 )
2022-06-29 12:55:36 +01:00
Bram Moolenaar
79481367a4
patch 8.2.5169: nested :source may use NULL pointer
...
Problem: Nested :source may use NULL pointer.
Solution: Do not use the NULL pointer.
2022-06-27 20:15:10 +01:00
Bram Moolenaar
1ae8c262df
patch 8.2.5167: get(Fn, 'name') on funcref returns special byte code
...
Problem: get(Fn, 'name') on funcref returns special byte code.
Solution: Use the printable name.
2022-06-27 11:45:52 +01:00
Bram Moolenaar
f65cc665fa
patch 8.2.5166: test for DiffUpdated fails
...
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
2022-06-26 18:17:50 +01:00
Bram Moolenaar
507618702e
patch 8.2.5165: import test fails because 'diffexpr' isn't reset
...
Problem: Import test fails because 'diffexpr' isn't reset.
Solution: Reset 'diffexpr'.
2022-06-26 18:01:00 +01:00
Bram Moolenaar
c101abff4c
patch 8.2.5164: invalid memory access after diff buffer manipulations
...
Problem: Invalid memory access after diff buffer manipulations.
Solution: Use zero offset when change removes all lines in a diff block.
2022-06-26 16:53:34 +01:00
Bram Moolenaar
cd38bb4d83
patch 8.2.5163: crash when deleting buffers in diff mode
...
Problem: Crash when deleting buffers in diff mode.
Solution: Recompute diffs later. Skip window without a valid buffer.
2022-06-26 14:04:07 +01:00
Bram Moolenaar
61e3784819
patch 8.2.5158: TSTP and INT signal tests are not run with valgrind
...
Problem: TSTP and INT signal tests are not run with valgrind.
Solution: Sleep a bit longer. (closes #10614 )
2022-06-25 12:13:28 +01:00
Bram Moolenaar
e9b74c0361
patch 8.2.5156: search timeout test often fails with FreeBSD
...
Problem: Search timeout test often fails with FreeBSD.
Solution: Double the maximum time.
2022-06-24 20:11:59 +01:00
Bram Moolenaar
a315ce1f32
patch 8.2.5155: in diff mode windows may get out of sync
...
Problem: In diff mode windows may get out of sync. (Gary Johnson)
Solution: Avoid that the other window scrolls for 'cursorbind'.
2022-06-24 12:38:57 +01:00
Bram Moolenaar
abd56da30b
patch 8.2.5154: still mentioning version8, some cosmetic issues
...
Problem: Still mentioning version8, some cosmetic issues.
Solution: Prefer mentioning version9, cosmetic improvements.
2022-06-23 20:46:27 +01:00
zeertzjq
180246cfd1
patch 8.2.5152: search() gets stuck with "c" and skip evaluates to true
...
Problem: search() gets stuck with "c" and skip evaluates to true.
Solution: Reset the SEARCH_START option. (closes #10608 )
2022-06-23 12:04:46 +01:00
Bram Moolenaar
8eba2bd291
patch 8.2.5151: reading beyond the end of the line with lisp indenting
...
Problem: Reading beyond the end of the line with lisp indenting.
Solution: Avoid going over the NUL at the end of the line.
2022-06-22 19:59:28 +01:00
Bram Moolenaar
f7c7c3fad6
patch 8.2.5150: read past the end of the first line with ":0;'{"
...
Problem: Read past the end of the first line with ":0;'{".
Solution: When on line zero check the column is valid for line one.
2022-06-22 19:08:38 +01:00
Bram Moolenaar
6046aded8d
patch 8.2.5148: invalid memory access when using expression on command line
...
Problem: Invalid memory access when using an expression on the command line.
Solution: Make sure the position does not go negative.
2022-06-22 13:51:54 +01:00
Bram Moolenaar
12a49408b3
patch 8.2.5147: flaky test always fails on retry
...
Problem: Flaky test always fails on retry.
Solution: Delete the created function.
2022-06-21 22:35:40 +01:00
Bram Moolenaar
44ddf19ec0
patch 8.2.5146: memory leak when substitute expression nests
...
Problem: Memory leak when substitute expression nests.
Solution: Use an array of expression results.
2022-06-21 22:15:25 +01:00
Bram Moolenaar
cf801d4b95
patch 8.2.5145: exit test causes spurious valgrind reports
...
Problem: Exit test causes spurious valgrind reports.
Solution: Skip test. Add CheckNotValgrind.
2022-06-21 18:34:42 +01:00
Bram Moolenaar
37bb3b111d
patch 8.2.5143: some tests fail when using valgrind
...
Problem: Some tests fail when using valgrind. Spurious leak reports.
Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a
job is killed when running valgrind.
2022-06-21 17:40:47 +01:00
Bram Moolenaar
fa04eae5a5
patch 8.2.5142: startup test fails if there is a status bar
...
Problem: Startup test fails if there is a status bar at the top of the
screen. (Ernie Rael)
Solution: Use a larger vertical offset in the test.
2022-06-21 14:38:40 +01:00
Bram Moolenaar
73171ba434
patch 8.2.5140: seachpair timeout test is flaky
...
Problem: Seachpair timeout test is flaky.
Solution: Mark the test as flaky so it is retried.
2022-06-20 12:39:39 +01:00
Bram Moolenaar
e366ed4f2c
patch 8.2.5136: debugger test fails when run with valgrind
...
Problem: Debugger test fails when run with valgrind.
Solution: Wait longer when using valgrind.
2022-06-19 20:13:56 +01:00
James McCoy
c829faa821
patch 8.2.5132: :mkview test doesn't test much
...
Problem: :mkview test doesn't test much.
Solution: Save the view with the folds closed. (James McCoy, closes #10596 )
2022-06-19 17:16:18 +01:00
Bram Moolenaar
e530395c2c
patch 8.2.5131: timeout implementation is not optimal
...
Problem: Timeout implementation is not optimal.
Solution: Further improvements for timeouts. Add a test for searchpair()
timeout. (partly by Paul Ollis)
2022-06-19 17:05:47 +01:00
Bram Moolenaar
c5382b667a
patch 8.2.5130: edit test for mode message fails when using valgrind
...
Problem: Edit test for mode message fails when using valgrind.
Solution: Use WaitForAssert(). Run beep test later.
2022-06-19 15:22:36 +01:00
zeertzjq
cdc6a43559
patch 8.2.5127: using assert_true() does not show value on failure
...
Problem: Using assert_true() does not show value on failure.
Solution: Use assert_inrange(). (closes #10593 )
2022-06-19 11:45:46 +01:00
Bram Moolenaar
d6211a52ab
patch 8.2.5126: substitute may overrun destination buffer
...
Problem: Substitute may overrun destination buffer.
Solution: Disallow switching buffers in a substitute expression.
2022-06-18 19:48:14 +01:00