Bram Moolenaar
8b51b7f0f1
patch 8.2.1690: text properties not adjusted for "I" in Visual block mode
...
Problem: Text properties not adjusted for "I" in Visual block mode.
Solution: Call inserted_bytes().
2020-09-15 21:34:18 +02:00
Bram Moolenaar
ad5e5631c5
patch 8.2.1689: 'colorcolumn' doesn't show in indent
...
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes #6948 , closes #6619 )
2020-09-15 20:52:26 +02:00
Bram Moolenaar
c8f12c9856
patch 8.2.1688: increment/decrement removes text property
...
Problem: Increment/decrement removes text property.
Solution: Insert the new number before deleting the old one. (closes #6962 )
2020-09-15 20:34:10 +02:00
Bram Moolenaar
9b123d8590
patch 8.2.1687: Vim9: out of bounds error
...
Problem: Vim9: out of bounds error.
Solution: Check that cmdidx is not negative.
2020-09-14 22:39:11 +02:00
Bram Moolenaar
71abe48289
patch 8.2.1686: Vim9: "const!" not sufficiently tested
...
Problem: Vim9: "const!" not sufficiently tested.
Solution: Add a few more test cases. Fix type checking.
2020-09-14 22:28:30 +02:00
Bram Moolenaar
0b4c66c67a
patch 8.2.1685: Vim9: cannot declare a constant value
...
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
2020-09-14 21:39:44 +02:00
Bram Moolenaar
efd5d8a967
patch 8.2.1684: "gF" does not use line number after file in Visual mode
...
Problem: "gF" does not use line number after file in Visual mode.
Solution: Look for ":123" after the Visual area. (closes #6952 )
2020-09-14 19:11:45 +02:00
Bram Moolenaar
2b22b113c6
patch 8.2.1683: Vim9: assignment test fails
...
Problem: Vim9: assignment test fails.
Solution: Include changes to find Ex command.
2020-09-14 18:35:18 +02:00
Bram Moolenaar
dbeecb2b6b
patch 8.2.1682: Vim9: const works in an unexpected way
...
Problem: Vim9: const works in an unexpected way.
Solution: ":const" only disallows changing the variable, not the value.
Make "list[0] = 9" work at the script level.
2020-09-14 18:15:09 +02:00
Bram Moolenaar
08052228a7
patch 8.2.1681: Vim9: unnessary :call commands in tests
...
Problem: Vim9: unnessary :call commands in tests.
Solution: Remove the commands. (issue #6936 )
2020-09-14 17:04:31 +02:00
Bram Moolenaar
eb26f4331f
patch 8.2.1680: Vim9: line number for compare error is wrong
...
Problem: Vim9: line number for compare error is wrong.
Solution: Set SOURCING_LNUM. (closes #6936 )
2020-09-14 16:50:05 +02:00
Bram Moolenaar
3bd8de40b4
patch 8.2.1679: Vim9: ":*" is not recognized as a range
...
Problem: Vim9: ":*" is not recognized as a range.
Solution: Move recognizing "*" into skip_range(). (closes #6838 )
2020-09-14 16:37:34 +02:00
Bram Moolenaar
d1f76afaf9
patch 8.2.1678: crash when using ":set" after ":ownsyntax"
...
Problem: Crash when using ":set" after ":ownsyntax".
Solution: Make sure 'spelloptions' is not NULL. (closes #6950 )
2020-09-13 22:37:34 +02:00
Bram Moolenaar
4d170af0a9
patch 8.2.1677: memory access errors when calling setloclist() in autocommand
...
Problem: Memory access errors when calling setloclist() in an autocommand.
Solution: Give an error if the list was changed unexpectedly. (closes #6946 )
2020-09-13 22:21:22 +02:00
Bram Moolenaar
a4224860a4
patch 8.2.1676: compiler warnings for function typecast
...
Problem: Compiler warnings for function typecast.
Solution: Add an intermediate cast to "void *".
2020-09-13 22:00:12 +02:00
Bram Moolenaar
05c1acd5e1
patch 8.2.1675: MinGW: testdir makefile deletes non-existing file
...
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
2020-09-13 21:01:22 +02:00
Bram Moolenaar
f0afd9e182
patch 8.2.1674: Vim9: internal error when using variable that was not set
...
Problem: Vim9: internal error when using variable that was not set.
Solution: Give a meaningful error. (closes #6937 )
2020-09-13 18:57:47 +02:00
Bram Moolenaar
b806aa5bd9
patch 8.2.1673: complete_info() selected index has an invalid value
...
Problem: complete_info() selected index has an invalid value. (Ben Jackson)
Solution: Set the index when there is only one match. (closes #6945 )
Add test for complete_info().
2020-09-12 22:52:57 +02:00
Bram Moolenaar
4a091b9978
patch 8.2.1672: v_lock is used when it is not initialized
...
Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
Solution: Initialize the typval in eval1().
2020-09-12 22:10:00 +02:00
Bram Moolenaar
c6e57b74fa
patch 8.2.1671: Vim9: stray error for missing white space
...
Problem: Vim9: stray error for missing white space.
Solution: Do not skip over white space after member. (closes #6817 )
2020-09-12 21:27:03 +02:00
Bram Moolenaar
8f13d82fa6
patch 8.2.1670: a couple of gcc compiler warnings
...
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944 )
2020-09-12 21:04:23 +02:00
Bram Moolenaar
b0fa5e17c5
patch 8.2.1669: Vim9: memory leak when storing a value fails
...
Problem: Vim9: memory leak when storing a value fails.
Solution: Free the value when not storing it.
2020-09-12 19:51:42 +02:00
Bram Moolenaar
dadaddd59f
patch 8.2.1668: Vim9: not accepting 0 or 1 as bool when type is any
...
Problem: Vim9: not accepting 0 or 1 as bool when type is any.
Solution: Convert the type with the CHECKTYPE instruction. (closes #6913 )
2020-09-12 19:11:23 +02:00
Bram Moolenaar
0f769815c8
patch 8.2.1667: local function name cannot shadow a global function name
...
Problem: Local function name cannot shadow a global function name.
Solution: Ignore global functions when checking a script-local or scoped
function name. (closes #6926 )
2020-09-12 18:32:34 +02:00
Bram Moolenaar
b00ef0508b
patch 8.2.1666: the initial value of 'backupskip' can have duplicate items
...
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes #6940 )
2020-09-12 14:53:53 +02:00
Bram Moolenaar
635414dd2f
patch 8.2.1665: cannot do fuzzy string matching
...
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932 )
2020-09-11 22:25:15 +02:00
Bram Moolenaar
c2c8205634
patch 8.2.1664: memory leak when using :mkview with a terminal buffer
...
Problem: Memory leak when using :mkview with a terminal buffer.
Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935 )
2020-09-11 22:10:22 +02:00
Bram Moolenaar
14944c04bd
patch 8.2.1663: options window entries cannot be translated
...
Problem: Options window entries cannot be translated.
Solution: Use AddOption() for all explanations. (closes #6800 )
2020-09-11 20:51:26 +02:00
Bram Moolenaar
0e655111e9
patch 8.2.1662: :mksession does not restore shared terminal buffer properly
...
Problem: :mksession does not restore shared terminal buffer properly.
Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930 )
2020-09-11 20:36:36 +02:00
Bram Moolenaar
c6a67c92bc
patch 8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addresses
...
Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
closes #6931 )
2020-09-11 19:28:19 +02:00
Bram Moolenaar
c0c71e9d98
patch 8.2.1660: assert functions require passing expected as first argument
...
Problem: Assert functions require passing expected result as the first
argument, which isn't obvious.
Solution: Use a method, as in "runtest()->assert_equal(expected)".
2020-09-11 19:09:48 +02:00
Bram Moolenaar
96fdf4348a
patch 8.2.1659: spellfile code not completely tested
...
Problem: Spellfile code not completely tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929 )
2020-09-11 18:11:50 +02:00
Bram Moolenaar
a810db3f17
patch 8.2.1658: expand('<stack>') has trailing ".."
...
Problem: Expand('<stack>') has trailing "..".
Solution: Remove the "..". (closes #6927 )
2020-09-11 17:59:23 +02:00
Bram Moolenaar
8b848cafb0
patch 8.2.1657: Vim9: no proper error for nested ":def!"
...
Problem: Vim9: no proper error for nested ":def!".
Solution: Check for "!". (closes #6920 )
2020-09-10 22:28:01 +02:00
Bram Moolenaar
dfa3d5524e
patch 8.2.1656: Vim9: callstack wrong if :def function calls :def function
...
Problem: Vim9: callstack wrong if :def function calls :def function.
Solution: Set the line number before calling. (closes #6914 )
2020-09-10 22:05:08 +02:00
Bram Moolenaar
895a7a472d
patch 8.2.1655: cannot build with Strawberry Perl 5.32.0
...
Problem: Cannot build with Strawberry Perl 5.32.0.
Solution: Use Perl_sv_2pvbyte_flags. (closes #6921 )
2020-09-10 21:36:11 +02:00
Bram Moolenaar
ad9ec5e799
patch 8.2.1654: when job writes to hidden buffer current window is wrong
...
Problem: When job writes to hidden buffer current window has display
errors. (Johnny McArthur)
Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
(closes #6925 )
2020-09-10 21:25:45 +02:00
Bram Moolenaar
4f25b1aba0
patch 8.2.1653: expand('<stack>') does not include the final line number
...
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes #6927 )
2020-09-10 19:25:05 +02:00
Bram Moolenaar
a953b5cf4f
patch 8.2.1652: cannot translate lines in the options window
...
Problem: Cannot translate lines in the options window.
Solution: Use the AddOption() function to split descriptions where indicated
by a line break. (issue #6800 )
2020-09-10 14:25:25 +02:00
Bram Moolenaar
64e2db6dc6
patch 8.2.1651: spellfile code not completely tested
...
Problem: Spellfile code not completely tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918 )
2020-09-09 22:43:19 +02:00
Bram Moolenaar
c1ec0422e4
patch 8.2.1650: Vim9: result of && and || expression is not bool in script
...
Problem: Vim9: result of && and || expression cannot be assigned to a bool
at the script level.
Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
2020-09-09 22:27:58 +02:00
Bram Moolenaar
3e4cc9671c
patch 8.2.1649: GTK3: using old file chooser
...
Problem: GTK3: using old file chooser.
Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
Velingker, closes #6909 )
2020-09-09 20:58:55 +02:00
Bram Moolenaar
a62372be1f
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
...
Problem: Amiga: no common build file for Amiga (-like) systems.
Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805 )
2020-09-09 20:41:40 +02:00
Bram Moolenaar
4ed124cc6c
patch 8.2.1647: Vim9: result of expression with && and || is not a bool
...
Problem: Vim9: result of expression with && and || cannot be assigned to a
bool variable.
Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
2020-09-09 20:03:46 +02:00
Bram Moolenaar
33e3346322
patch 8.2.1646: Amiga: Unnecessary #include
...
Problem: Amiga: Unnecessary #include.
Solution: Remove the #include. (Ola Söder, closes #6908 )
2020-09-09 19:25:09 +02:00
Bram Moolenaar
81a4cf469a
patch 8.2.1645: GTK3: icons become broken images when resized
...
Problem: GTK3: icons become broken images when resized.
Solution: Use gtk_image_new_from_icon_name(). (closes #6916 )
Fix compiler warnings.
2020-09-09 19:05:13 +02:00
Bram Moolenaar
ba7c0d7b4c
patch 8.2.1644: Vim9: cannot assign 1 and 0 to bool at script level
...
Problem: Vim9: cannot assign 1 and 0 to bool at script level.
Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
function.
2020-09-09 18:54:42 +02:00
Bram Moolenaar
96f8f499ce
patch 8.2.1643: Vim9: :defcompile compiles dead functions
...
Problem: Vim9: :defcompile compiles dead functions.
Solution: Skip over dead functions.
2020-09-09 17:08:51 +02:00
Bram Moolenaar
4507f6ada5
patch 8.2.1642: otions test fails
...
Problem: Otions test fails.
Solution: Correct call to OptionG().
2020-09-09 15:10:52 +02:00
Bram Moolenaar
29a86ffee7
patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expected
...
Problem: Vim9: cannot use 0 or 1 where a bool is expected.
Solution: Allow using 0 and 1 for a bool type. (closes #6903 )
2020-09-09 14:55:31 +02:00