Bram Moolenaar
35efa22ff2
patch 8.2.1946: sort() with NULL string not tested
...
Problem: sort() with NULL string not tested.
Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247 )
2020-11-03 18:51:54 +01:00
Bram Moolenaar
0d90e728fe
patch 8.2.1945: crash when passing NULL function to reduce()
...
Problem: Crash when passing NULL function to reduce().
Solution: Check for NULL pointer and give an error. (Dominique Pellé,
closes #7243 )
2020-11-03 18:20:19 +01:00
Bram Moolenaar
6fd3a4ba23
patch 8.2.1944: Netbeans test is flaky
...
Problem: Netbeans test is flaky.
Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246 )
2020-11-03 11:53:29 +01:00
Bram Moolenaar
36113e46b4
patch 8.2.1943: Vim9: wrong error message when colon is missing
...
Problem: Vim9: wrong error message when colon is missing.
Solution: Check for a missing colon. (issue #7239 )
2020-11-02 21:08:47 +01:00
Bram Moolenaar
dbfa795d8b
patch 8.2.1942: insufficient test coverage for the Netbeans interface
...
Problem: Insufficient test coverage for the Netbeans interface.
Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
closes #7240 )
2020-11-02 20:04:22 +01:00
Bram Moolenaar
399db046ed
patch 8.2.1941: Ex mode test fails on MS-Windows with GUI
...
Problem: Ex mode test fails on MS-Windows with GUI.
Solution: Skip the test when using gvim.
2020-11-01 22:31:08 +01:00
Bram Moolenaar
97a19005e1
patch 8.2.1940: Vim9: browse modifier test fails on Mac
...
Problem: Vim9: browse modifier test fails on Mac.
Solution: Only test when the +browse feature is available.
2020-11-01 22:15:44 +01:00
Bram Moolenaar
3b6d57f2ce
patch 8.2.1939: invalid memory access in Ex mode with global command
...
Problem: Invalid memory access in Ex mode with global command.
Solution: Make sure the cursor is on a valid line. (closes #7238 )
2020-11-01 21:56:40 +01:00
Bram Moolenaar
a46765a797
patch 8.2.1938: wiping out a terminal buffer makes some tests fail
...
Problem: Wiping out a terminal buffer makes some tests fail.
Solution: Do not wipe out the terminal buffer unless wanted.
2020-11-01 20:58:26 +01:00
Bram Moolenaar
645cd3eb1f
patch 8.2.1937: Vim9: test for confirm modifier fails in some situations
...
Problem: Vim9: test for confirm modifier fails in some situations.
Solution: Add a short wait. Handle failure better.
2020-11-01 20:04:57 +01:00
Bram Moolenaar
388908352f
patch 8.2.1936: session sets the local 'scrolloff' value to the global value
...
Problem: Session sets the local 'scrolloff' value to the global value.
Solution: Do not let restoring the global option value change the local
value.
2020-11-01 17:40:54 +01:00
Bram Moolenaar
578f4cc7d0
patch 8.2.1935: sort test fails on Mac
...
Problem: Sort test fails on Mac.
Solution: Disable the sort test with locale on Mac.
2020-11-01 17:19:07 +01:00
Bram Moolenaar
e88c8e802c
patch 8.2.1934: Vim9: command modifiers in :def function not tested
...
Problem: Vim9: command modifiers in :def function not tested.
Solution: Add tests. Fix using modifier before filter command.
2020-11-01 17:03:37 +01:00
Bram Moolenaar
55e29611d2
patch 8.2.1933: cannot sort using locale ordering
...
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes #7237 )
2020-11-01 13:57:44 +01:00
Bram Moolenaar
963734e316
patch 8.2.1932: compiler warnings when building with Athena GUI
...
Problem: Compiler warnings when building with Athena GUI.
Solution: Fix function signatures.
2020-11-01 13:33:49 +01:00
Bram Moolenaar
fbcbffe1ad
patch 8.2.1931: Vim9: arguments of extend() not checked at compile time
...
Problem: Vim9: arguments of extend() not checked at compile time.
Solution: Add argument type checking for extend().
2020-10-31 19:33:38 +01:00
Bram Moolenaar
749bc9521d
patch 8.2.1930: wrong input if removing shift results in special key code
...
Problem: Wrong input if removing shift results in special key code.
Solution: Handle special key codes. (closes #7189 )
2020-10-31 16:33:47 +01:00
Bram Moolenaar
0289065e41
patch 8.2.1929: MS-Windows: problem loading Perl 5.32
...
Problem: MS-Windows: problem loading Perl 5.32.
Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234 )
2020-10-31 13:05:11 +01:00
Bram Moolenaar
cd030c4b60
patch 8.2.1928: Vim9: "silent!" not effective when list index is wrong
...
Problem: Vim9: "silent!" not effective when list index is wrong.
Solution: Ignore list indes failure when emsg_silent is set. (closes #7232 )
2020-10-30 21:49:40 +01:00
Bram Moolenaar
d66960bf57
patch 8.2.1927: Vim9: get unknown error with an error in a timer function
...
Problem: Vim9: get unknown error with an error in a timer function.
Solution: Use did_emsg instead of called_emsg. (closes #7231 )
2020-10-30 20:46:26 +01:00
Bram Moolenaar
b2620202c7
patch 8.2.1926: cannot use a space in 'spellfile'
...
Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
Solution: Permit using a space. (closes #7230 )
2020-10-30 19:25:09 +01:00
Bram Moolenaar
6d967125ad
patch 8.2.1925: list/dict test fails
...
Problem: List/dict test fails.
Solution: Correct expected exception.
2020-10-30 19:06:18 +01:00
Bram Moolenaar
086fc9a585
patch 8.2.1924: Vim9: crash when indexing dict with NULL key
...
Problem: Vim9: crash when indexing dict with NULL key.
Solution: Use empty string instead of NULL. (closes #7229 ) Make error
message more useful for empty string.
2020-10-30 18:33:02 +01:00
Bram Moolenaar
4f6b6ed208
patch 8.2.1923: Vim9: "filter" command modifier doesn't work
...
Problem: Vim9: "filter" command modifier doesn't work.
Solution: Check for space on char before argument. (closes #7216 ,
closes #7222 )
2020-10-29 20:24:34 +01:00
Bram Moolenaar
185577e47e
patch 8.2.1922: Win32: scrolling problems when part of window is off-screen
...
Problem: Win32: scrolling doesn't work properly when part of window is
off-screen.
Solution: Fall back to GDI scrolling if part of the window is off-screen.
Handle multi-monitor setup better. (Ken Takata, closes #7219 )
2020-10-29 20:08:21 +01:00
Bram Moolenaar
dcdd42a8cc
patch 8.2.1921: fuzzy matching does not recognize path separators
...
Problem: Fuzzy matching does not recognize path separators.
Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
closes #7225 )
2020-10-29 18:58:01 +01:00
Bram Moolenaar
cf4d454df0
patch 8.2.1920: listlbr test fails when run after another test
...
Problem: Listlbr test fails when run after another test.
Solution: Add test separately to list of test targets.
2020-10-28 22:46:42 +01:00
Bram Moolenaar
28ee892ac4
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
...
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
2020-10-28 20:20:00 +01:00
Bram Moolenaar
3e2534ed1a
patch 8.2.1918: Vim9: E1100 mentions :let
...
Problem: Vim9: E1100 mentions :let.
Solution: Mention "var". (closes #7207 )
2020-10-28 17:55:31 +01:00
Bram Moolenaar
159563b439
patch 8.2.1917: no test for improved Man command
...
Problem: No test for improved Man command.
Solution: Test that shell arguments are properly escaped.
2020-10-28 17:21:26 +01:00
Bram Moolenaar
171fb923b8
patch 8.2.1916: Vim9: function call is aborted even when "silent!" is used
...
Problem: Vim9: function call is aborted even when "silent!" is used.
Solution: Use did_emsg instead of called_emsg. (closes #7213 )
2020-10-28 16:54:47 +01:00
Bram Moolenaar
6cf7e3b026
patch 8.2.1915: Vim9: error for wrong number of arguments is not useful
...
Problem: Vim9: error for wrong number of arguments is not useful.
Solution: Mention whatever we have for the name. (closes #7208 )
2020-10-28 14:31:16 +01:00
Bram Moolenaar
b4bcea474d
patch 8.2.1914: Vim9: cannot put line break in expression for '=' register
...
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209 )
2020-10-28 13:53:50 +01:00
Bram Moolenaar
70cf45810c
patch 8.2.1913: GTK GUI: rounding for the cell height is too strict
...
Problem: GTK GUI: rounding for the cell height is too strict.
Solution: Round up above 15/16 of a pixel. (closes #7203 )
2020-10-27 20:43:26 +01:00
Bram Moolenaar
68a48ee55e
patch 8.2.1912: with Python 3.9 some tests fail
...
Problem: With Python 3.9 some tests fail.
Solution: Take into account the different error message. (James McCoy,
closes #7210 )
2020-10-27 19:59:10 +01:00
Bram Moolenaar
977fd0b327
patch 8.2.1911: tiny build fails
...
Problem: Tiny build fails.
Solution: Add #ifdef.
2020-10-27 09:12:45 +01:00
Bram Moolenaar
caf73dcfad
patch 8.2.1910: reading past the end of the command line
...
Problem: Reading past the end of the command line.
Solution: Check for NUL. (closes #7204 )
2020-10-26 21:39:13 +01:00
Bram Moolenaar
cb80aa2d53
Update runtime files.
2020-10-26 21:12:46 +01:00
Bram Moolenaar
8133cc6bf4
patch 8.2.1909: number of status line items is limited to 80
...
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181 )
2020-10-26 21:05:27 +01:00
Bram Moolenaar
c8970b9464
patch 8.2.1908: Lua is initialized even when not used
...
Problem: Lua is initialized even when not used.
Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
closes #7191 ). Avoid compiler warnings.
2020-10-26 20:18:08 +01:00
Bram Moolenaar
f9d51354de
patch 8.2.1907: complete_info().selected may be wrong
...
Problem: Complete_info().selected may be wrong.
Solution: Update cp_number if it was never set. (issue #6945 )
2020-10-26 19:22:42 +01:00
Bram Moolenaar
a360dbe3b6
patch 8.2.1906: warning for signed/unsigned
...
Problem: Warning for signed/unsigned.
Solution: Use size_t instead of int. (Mike Williams)
2020-10-26 18:46:53 +01:00
Bram Moolenaar
4882d98339
patch 8.2.1905: the wininfo list may contain stale entries
...
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
2020-10-25 17:55:09 +01:00
Bram Moolenaar
89b693e562
patch 8.2.1904: still using default option values after using ":badd +1"
...
Problem: Still using default option values after using ":badd +1".
Solution: Find a window where options were set. Don't set the window when
using ":badd".
2020-10-25 17:09:50 +01:00
Bram Moolenaar
37e4e03c67
patch 8.2.1903: buffer test fails with normal features
...
Problem: Buffer test fails with normal features.
Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
2020-10-25 16:18:26 +01:00
Bram Moolenaar
e974fa7b2b
patch 8.2.1902: default option values changed with :badd for existing buffer
...
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes #7195 )
2020-10-25 15:02:51 +01:00
Bram Moolenaar
4ff2f2fb6b
patch 8.2.1901: variable completion does not work in command line window
...
Problem: Variable completion does not work in command line window.
Solution: Use the "prevwin". (closes #7198 )
2020-10-25 13:22:42 +01:00
Bram Moolenaar
02194d2bd5
patch 8.2.1900: Vim9: command modifiers do not work
...
Problem: Vim9: command modifiers do not work.
Solution: Make most command modifiers work.
2020-10-24 23:08:38 +02:00
Bram Moolenaar
67def64a4e
patch 8.2.1899: crash in out-of-memory situation
...
Problem: Crash in out-of-memory situation.
Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196 )
2020-10-24 20:58:06 +02:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00