]>
granicus.if.org Git - vim/log
Bram Moolenaar [Wed, 30 Sep 2020 20:59:42 +0000 (22:59 +0200)]
patch 8.2.1777: Vim9: some assignment tests in the wrong file
Problem: Vim9: some assignment tests in the wrong file.
Solution: Move assignment tests to test_vim9_assign.
Bram Moolenaar [Wed, 30 Sep 2020 20:45:39 +0000 (22:45 +0200)]
patch 8.2.1776: filetype.vim may be loaded twice
Problem: Filetype.vim may be loaded twice.
Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
closes #7049)
Bram Moolenaar [Tue, 29 Sep 2020 20:47:03 +0000 (22:47 +0200)]
patch 8.2.1775: MS-Windows: adding a long quickfix list is slow
Problem: MS-Windows: adding a long quickfix list is slow.
Solution: Shorten the buffer name only for the first entry. (Yegappan
Lakshmanan, closes #7039, closes #7033)
Bram Moolenaar [Tue, 29 Sep 2020 20:16:09 +0000 (22:16 +0200)]
patch 8.2.1774: GTK: hang when forced to exit
Problem: GTK: hang when forced to exit.
Solution: Do not clean up "mainwin" when really_exiting is set.
(Zdenek Dohnal, closes #7042)
Bram Moolenaar [Tue, 29 Sep 2020 19:45:41 +0000 (21:45 +0200)]
patch 8.2.1773: crash when calling mapset() with a list as first argument
Problem: Crash when calling mapset() with a list as first argument.
Solution: Check for NULL. (closes #7040)
Bram Moolenaar [Tue, 29 Sep 2020 19:23:25 +0000 (21:23 +0200)]
patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window
Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
Bram Moolenaar [Tue, 29 Sep 2020 18:59:17 +0000 (20:59 +0200)]
patch 8.2.1771: synIDattr() cannot get the value of ctermul
Problem: synIDattr() cannot get the value of ctermul.
Solution: Add the "ul" value for "what". (closes #7037)
Bram Moolenaar [Mon, 28 Sep 2020 21:13:15 +0000 (23:13 +0200)]
patch 8.2.1770: invalid memory use when using SpellFileMissing autocmd
Problem: Invalid memory use when using SpellFileMissing autocmd.
Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
that was closed.
Bram Moolenaar [Mon, 28 Sep 2020 20:29:58 +0000 (22:29 +0200)]
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
Bram Moolenaar [Mon, 28 Sep 2020 19:48:16 +0000 (21:48 +0200)]
Update runtime files.
Bram Moolenaar [Mon, 28 Sep 2020 19:41:49 +0000 (21:41 +0200)]
patch 8.2.1768: cannot use the help menu from a terminal window
Problem: Cannot use the help menu from a terminal window.
Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
Bram Moolenaar [Sun, 27 Sep 2020 21:33:59 +0000 (23:33 +0200)]
patch 8.2.1767: Vim9: test fails with python support
Problem: Vim9: test fails with python support.
Solution: Use "let" in legacy function.
Bram Moolenaar [Sun, 27 Sep 2020 20:47:05 +0000 (22:47 +0200)]
patch 8.2.1766: Vim9: Some tests are still using :let
Problem: Vim9: Some tests are still using :let.
Solution: Change the last few declarations to use :var.
Bram Moolenaar [Sun, 27 Sep 2020 19:58:45 +0000 (21:58 +0200)]
patch 8.2.1765: Vim9: some tests use "var var"
Problem: Vim9: some tests use "var var".
Solution: Use "var name". (closes #7032)
Bram Moolenaar [Sun, 27 Sep 2020 19:27:40 +0000 (21:27 +0200)]
patch 8.2.1764: Vim9: no error when assigning to script var with wrong type
Problem: Vim9: no error when assigning to script var with wrong type.
Solution: Fix off-by-one error. (closes #7028)
Bram Moolenaar [Sun, 27 Sep 2020 19:16:45 +0000 (21:16 +0200)]
patch 8.2.1763: Vim9: cannot use "true" for popup window scrollbar option
Problem: Vim9: cannot use "true" for popup window scrollbar option.
Solution: use dict_get_bool(). (closes #7029)
Bram Moolenaar [Sun, 27 Sep 2020 18:13:03 +0000 (20:13 +0200)]
patch 8.2.1762: when a timer uses :stopinsert completion isn't stopped
Problem: When a timer uses :stopinsert Insert mode completion isn't
stopped. (Stanley Chan)
Solution: Call ins_compl_prep(ESC).
Bram Moolenaar [Sun, 27 Sep 2020 17:05:33 +0000 (19:05 +0200)]
patch 8.2.1761: Vim9: Some tests are still using :let
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
Bram Moolenaar [Sun, 27 Sep 2020 16:24:03 +0000 (18:24 +0200)]
patch 8.2.1760: Vim9: crash when end marker is missing
Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
Solution: Check for end of function lines. (closes #7031)
Bram Moolenaar [Sun, 27 Sep 2020 15:57:43 +0000 (17:57 +0200)]
patch 8.2.1759: Vim9: Some tests are still using :let
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
Bram Moolenaar [Sun, 27 Sep 2020 15:45:03 +0000 (17:45 +0200)]
patch 8.2.1758: Vim9: type of unmaterialized list is wrong
Problem: Vim9: type of unmaterialized list is wrong.
Solution: Use list<number>.
Bram Moolenaar [Sun, 27 Sep 2020 14:03:15 +0000 (16:03 +0200)]
patch 8.2.1757: Mac: default locale is lacking the encoding
Problem: Mac: default locale is lacking the encoding.
Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
Bram Moolenaar [Sun, 27 Sep 2020 13:19:27 +0000 (15:19 +0200)]
patch 8.2.1756: Vim9: :let will soon be disallowed
Problem: Vim9: :let will soon be disallowed.
Solution: Add v:disallow_let temporarily. Fix tests.
Bram Moolenaar [Sun, 27 Sep 2020 12:22:48 +0000 (14:22 +0200)]
patch 8.2.1755: Vim9: crash when using invalid heredoc marker
Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
Solution: Check for NULL list. (closes #7027) Fix comment character.
Bram Moolenaar [Sun, 27 Sep 2020 11:58:38 +0000 (13:58 +0200)]
patch 8.2.1754: completion with spell checking not tested
Problem: Completion with spell checking not tested.
Solution: Add a test case. (Dominique Pellé, closes #7024)
Bram Moolenaar [Sun, 27 Sep 2020 11:51:14 +0000 (13:51 +0200)]
patch 8.2.1753: Vim9: crash when using import at script level
Problem: Vim9: crash when using import at script level.
Solution: Give a "not implemented yet" error. (closes #7026)
Bram Moolenaar [Sun, 27 Sep 2020 11:16:46 +0000 (13:16 +0200)]
patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>
Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
Solution: Adjust the characters for which the shift modifier is removed.
(closes #7016) Make Motif and Win32 use the same function as GTK.
Bram Moolenaar [Sat, 26 Sep 2020 20:39:24 +0000 (22:39 +0200)]
patch 8.2.1751: using 2 where bool is expected may throw an error
Problem: Using 2 where bool is expected may throw an error.
Solution: Make this backwards compatible.
Bram Moolenaar [Sat, 26 Sep 2020 20:03:00 +0000 (22:03 +0200)]
patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline set
Problem: Setting firstline with popup_setoptions() fails if cursorline is
set.
Solution: Use apply_options(). Update the popup before applying "zz".
(closes #7010)
Bram Moolenaar [Sat, 26 Sep 2020 17:59:38 +0000 (19:59 +0200)]
patch 8.2.1749: Vim9: crash when closure fails in nested function
Problem: Vim9: crash when closure fails in nested function.
Solution: Handle function returns before dereferencing remaining closures.
(closes #7008)
Bram Moolenaar [Sat, 26 Sep 2020 17:11:39 +0000 (19:11 +0200)]
patch 8.2.1748: closing split window in other tab may cause a crash
Problem: Closing split window in other tab may cause a crash.
Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
Bram Moolenaar [Sat, 26 Sep 2020 16:47:11 +0000 (18:47 +0200)]
patch 8.2.1747: result of expand() unexpectedly depends on 'completeslash'
Problem: Result of expand() unexpectedly depends on 'completeslash'.
Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
closes #7021)
Bram Moolenaar [Sat, 26 Sep 2020 15:20:53 +0000 (17:20 +0200)]
patch 8.2.1746: Vim9: cannot use "fina" for "finally"
Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
Solution: Specifically check for "fina". (closes #7020)
Bram Moolenaar [Sat, 26 Sep 2020 13:20:42 +0000 (15:20 +0200)]
patch 8.2.1745: tiny version doesn't build
Problem: Tiny version doesn't build.
Solution: Add dummy ex_var() function.
Bram Moolenaar [Sat, 26 Sep 2020 13:09:30 +0000 (15:09 +0200)]
patch 8.2.1744: Vim9: using ":const!" is weird
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
Bram Moolenaar [Fri, 25 Sep 2020 21:49:01 +0000 (23:49 +0200)]
patch 8.2.1743: cannot build without the eval feature
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
Bram Moolenaar [Fri, 25 Sep 2020 21:12:51 +0000 (23:12 +0200)]
patch 8.2.1742: test still fails without the terminal feature
Problem: Test still fails without the terminal feature.
Solution: Put check for terminal feature in separate function.
Bram Moolenaar [Fri, 25 Sep 2020 20:42:48 +0000 (22:42 +0200)]
patch 8.2.1741: pathshorten() only supports using one character
Problem: pathshorten() only supports using one character.
Solution: Add an argument to control the length. (closes #7006)
Bram Moolenaar [Fri, 25 Sep 2020 20:13:05 +0000 (22:13 +0200)]
patch 8.2.1740: test fails without the terminal feature
Problem: Test fails without the terminal feature.
Solution: Skip test if the terminal feature is not available.
Bram Moolenaar [Fri, 25 Sep 2020 19:47:28 +0000 (21:47 +0200)]
patch 8.2.1739: Vim9: crash when compiling a manually defined function
Problem: Vim9: crash when compiling a manually defined function. (Antony
Scriven)
Solution: Check that the script ID is positive. (closes #7012)
Bram Moolenaar [Thu, 24 Sep 2020 21:08:19 +0000 (23:08 +0200)]
patch 8.2.1738: Mac: str2float() recognizes comma instead of decimal point
Problem: Mac: str2float() recognizes comma instead of decimal point.
Solution: Set LC_NUMERIC to "C". (closes #7003)
Bram Moolenaar [Thu, 24 Sep 2020 20:57:31 +0000 (22:57 +0200)]
patch 8.2.1737: cursor line highlight in popup window is not always updated
Problem: Cursor line highlight in popup window is not always updated.
Solution: Check if the cursor has moved. (closes #7010)
Bram Moolenaar [Wed, 23 Sep 2020 20:38:05 +0000 (22:38 +0200)]
patch 8.2.1736: failure to compile a pattern not tested much
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004)
Bram Moolenaar [Wed, 23 Sep 2020 20:27:22 +0000 (22:27 +0200)]
patch 8.2.1735: Github actions appear to timeout too soon
Problem: Github actions appear to timeout too soon.
Solution: use "timeout" instead of "ping".
Bram Moolenaar [Wed, 23 Sep 2020 19:57:23 +0000 (21:57 +0200)]
patch 8.2.1734: Vim9: cannot use a funcref for a closure twice
Problem: Vim9: cannot use a funcref for a closure twice.
Solution: Instead of putting the funcref on the stack use a growarray on the
execution context.
Bram Moolenaar [Wed, 23 Sep 2020 16:51:11 +0000 (18:51 +0200)]
patch 8.2.1733: Vim9: memory leaks when using nested function
Problem: Vim9: memory leaks when using nested function.
Solution: Free function when compilation fails.
Bram Moolenaar [Wed, 23 Sep 2020 15:41:26 +0000 (17:41 +0200)]
patch 8.2.1732: stuck when win_execute() for a popup causes an error
Problem: Stuck when win_execute() for a popup causes an error.
Solution: Disable the filter callback on error. (issue #6999)
Bram Moolenaar [Wed, 23 Sep 2020 13:56:50 +0000 (15:56 +0200)]
patch 8.2.1731: Vim9: cannot use += to append to empty NULL list
Problem: Vim9: cannot use += to append to empty NULL list.
Solution: Copy the list instead of extending it. (closes #6998)
Bram Moolenaar [Wed, 23 Sep 2020 11:25:32 +0000 (13:25 +0200)]
patch 8.2.1730: Vim9: cannot use member of unknown type
Problem: Vim9: cannot use member of unknown type.
Solution: When type is unknown us "any". (closes #6997)
Bram Moolenaar [Wed, 23 Sep 2020 10:29:11 +0000 (12:29 +0200)]
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
Bram Moolenaar [Tue, 22 Sep 2020 20:08:32 +0000 (22:08 +0200)]
patch 8.2.1728: compiler warning for using uninitialized variable
Problem: Compiler warning for using uninitialized variable. (John Marriott)
Solution: Initialize "neighbor".
Bram Moolenaar [Tue, 22 Sep 2020 19:55:41 +0000 (21:55 +0200)]
patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000) Add the "winid" argument to
getcurpos().
Bram Moolenaar [Tue, 22 Sep 2020 18:33:50 +0000 (20:33 +0200)]
patch 8.2.1726: fuzzy matching only works on strings
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947)
Bram Moolenaar [Tue, 22 Sep 2020 17:15:31 +0000 (19:15 +0200)]
patch 8.2.1725: not all Pascal files are recognized
Problem: Not all Pascal files are recognized.
Solution: Add filetype patterns. (Doug Kearns)
Bram Moolenaar [Mon, 21 Sep 2020 20:21:42 +0000 (22:21 +0200)]
patch 8.2.1724: Vim9: assignment tests spread out
Problem: Vim9: assignment tests spread out.
Solution: Create new test file for assignment tests.
Bram Moolenaar [Mon, 21 Sep 2020 20:02:49 +0000 (22:02 +0200)]
patch 8.2.1723: Vim9: Variable argument name cannot start with underscore
Problem: Vim9: Variable argument name cannot start with underscore.
Solution: Use eval_isnamec1(). (closes #6988)
Bram Moolenaar [Mon, 21 Sep 2020 19:48:21 +0000 (21:48 +0200)]
patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function
Problem: Vim9: cannot assign a lambda to a variable of type function.
Solution: Allow for assigning a partial to a variable of type function.
(Naruhiko Nishino, closes #6996)
Bram Moolenaar [Mon, 21 Sep 2020 19:29:57 +0000 (21:29 +0200)]
patch 8.2.1721: MS-Windows installer doesn't work
Problem: MS-Windows installer doesn't work.
Solution: Write "Russian" in ASCII. (closes #6995, see #).
Bram Moolenaar [Mon, 21 Sep 2020 18:35:55 +0000 (20:35 +0200)]
patch 8.2.1720: Vim9: memory leak with heredoc that isn't executed
Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
Pellé)
Solution: Don't clear the list items. (closes #6991)
Bram Moolenaar [Sun, 20 Sep 2020 20:43:52 +0000 (22:43 +0200)]
patch 8.2.1719: Vim9: no error if comma is missing in between arguments
Problem: Vim9: no error if comma is missing in between arguments.
Solution: Give an error message.
Bram Moolenaar [Sun, 20 Sep 2020 20:04:00 +0000 (22:04 +0200)]
patch 8.2.1718: Vim9: :def function disallows "firstline" for no good reason
Problem: Vim9: :def function disallows "firstline" and "lastline" argument
names for no good reason.
Solution: Don't check the arguments for a :def function. (closes #6986)
Bram Moolenaar [Sun, 20 Sep 2020 19:43:03 +0000 (21:43 +0200)]
patch 8.2.1717
Problem: MS-Windows installer doesn't have Russian translations.
Solution: Add Russian translations. (closes #6985)
Bram Moolenaar [Sun, 20 Sep 2020 19:32:03 +0000 (21:32 +0200)]
patch 8.2.1716: options window has duplicate translations
Problem: Options window has duplicate translations.
Solution: Make one entry for "global or local to buffer". Fix wrong text.
(closes #6983)
Bram Moolenaar [Sun, 20 Sep 2020 19:13:27 +0000 (21:13 +0200)]
patch 8.2.1715: Motif GUI: commented out code missed {}
Problem: Motif GUI: commented out code missed {}.
Solution: Add {} and reenable the code. (similar to #6989)
Bram Moolenaar [Sun, 20 Sep 2020 19:04:35 +0000 (21:04 +0200)]
patch 8.2.1714: text properties corrupted with substitute command
Problem: Text properties corrupted with substitute command. (Filipe
Brandenburger)
Solution: Get the changed line again after using u_savesub(). (closes #6984)
Bram Moolenaar [Sun, 20 Sep 2020 17:57:15 +0000 (19:57 +0200)]
patch 8.2.1713: Motif GUI: crash when setting menu colors
Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
Solution: Add {} to make "n" incremented correctly. (closes #6989,
closes #5948)
Bram Moolenaar [Sat, 19 Sep 2020 16:50:13 +0000 (18:50 +0200)]
Update runtime files.
Bram Moolenaar [Sat, 19 Sep 2020 16:19:19 +0000 (18:19 +0200)]
patch 8.2.1712: Vim9: leaking memory when calling a lambda
Problem: Vim9: leaking memory when calling a lambda.
Solution: Decrement function reference from ISN_DCALL.
Bram Moolenaar [Sat, 19 Sep 2020 13:16:50 +0000 (15:16 +0200)]
patch 8.2.1711: Vim9: leaking memory when using partial
Problem: Vim9: leaking memory when using partial.
Solution: Do delete the function even when it was compiled.
Bram Moolenaar [Sat, 19 Sep 2020 12:12:34 +0000 (14:12 +0200)]
patch 8.2.1710: Vim9: list of list type can be wrong
Problem: Vim9: list of list type can be wrong.
Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
looking for a common type. (closes #6979)
Bram Moolenaar [Fri, 18 Sep 2020 21:11:10 +0000 (23:11 +0200)]
patch 8.2.1709: Vim9: memory leak when using multiple closures
Problem: Vim9: memory leak when using multiple closures.
Solution: Free the partial.
Bram Moolenaar [Fri, 18 Sep 2020 20:42:00 +0000 (22:42 +0200)]
patch 8.2.1708: Vim9: error message for function has unpritable characters
Problem: Vim9: error message for function has unpritable characters.
Solution: use printable_func_name(). (closes #6965)
Bram Moolenaar [Fri, 18 Sep 2020 19:55:26 +0000 (21:55 +0200)]
patch 8.2.1707: small inconsitency in highlight test
Problem: Small inconsitency in highlight test.
Solution: Use one argument for :execute. (Antony Scriven, #6975)
Bram Moolenaar [Fri, 18 Sep 2020 19:25:32 +0000 (21:25 +0200)]
patch 8.2.1706: Vim9: crash after running into the "Multiple closures" error
Problem: Vim9: crash after running into the "Multiple closures" error.
Solution: When a function fails still update any closures. (closes #6973)
Bram Moolenaar [Fri, 18 Sep 2020 17:40:45 +0000 (19:40 +0200)]
patch 8.2.1705: "verbose hi Name" reports incorrect info after ":hi clear"
Problem: "verbose hi Name" reports incorrect info after ":hi clear".
Solution: Store the script context. (Antony Scriven, closes #6975)
Bram Moolenaar [Thu, 17 Sep 2020 19:29:03 +0000 (21:29 +0200)]
patch 8.2.1704: Vim9: crash in for loop when autoload script has an error
Problem: Vim9: crash in for loop when autoload script has an error.
Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
Bram Moolenaar [Thu, 17 Sep 2020 17:59:26 +0000 (19:59 +0200)]
patch 8.2.1703: ":highlight clear" does not restore default link
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970, closes #4405)
Bram Moolenaar [Thu, 17 Sep 2020 17:36:04 +0000 (19:36 +0200)]
patch 8.2.1702: crash when using undo after deleting folded lines
Problem: Crash when using undo after deleting folded lines.
Solution: Check for NULL pointer. (closes #6968)
Bram Moolenaar [Wed, 16 Sep 2020 21:23:36 +0000 (23:23 +0200)]
patch 8.2.1701: Vim9: sort("i") does not work
Problem: Vim9: sort("i") does not work.
Solution: Don't try getting a number for a string argument. (closes #6958)
Bram Moolenaar [Wed, 16 Sep 2020 20:29:52 +0000 (22:29 +0200)]
patch 8.2.1700: Vim9: try/catch causes wrong value to be returned
Problem: Vim9: try/catch causes wrong value to be returned.
Solution: Reset tcd_return. (closes #6964)
Bram Moolenaar [Wed, 16 Sep 2020 19:41:53 +0000 (21:41 +0200)]
patch 8.2.1699: build failure due to missing error message
Problem: Build failure due to missing error message.
Solution: Add error message.
Bram Moolenaar [Wed, 16 Sep 2020 19:08:28 +0000 (21:08 +0200)]
patch 8.2.1698: cannot lock a variable in legacy Vim script like in Vim9
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
Bram Moolenaar [Wed, 16 Sep 2020 15:55:40 +0000 (17:55 +0200)]
patch 8.2.1697: inconsistent capitalization of error messages
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
Bram Moolenaar [Wed, 16 Sep 2020 15:30:27 +0000 (17:30 +0200)]
patch 8.2.1696: unused (duplicate) macros
Problem: Unused (duplicate) macros.
Solution: Remove the macros.
Bram Moolenaar [Wed, 16 Sep 2020 15:22:59 +0000 (17:22 +0200)]
patch 8.2.1695: Vim9: crash when using varargs type "any"
Problem: Vim9: crash when using varargs type "any".
Solution: Check if uf_va_type is &t_any. (closes #6957)
Bram Moolenaar [Wed, 16 Sep 2020 13:46:08 +0000 (15:46 +0200)]
patch 8.2.1694: compiler warning for loss if data
Problem: Compiler warning for loss if data.
Solution: Add typecast.
Bram Moolenaar [Wed, 16 Sep 2020 13:43:21 +0000 (15:43 +0200)]
patch 8.2.1693: "hi def" does not work for cleared highlight
Problem: "hi def" does not work for cleared highlight.
Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
closes #4405)
Bram Moolenaar [Wed, 16 Sep 2020 13:41:09 +0000 (15:41 +0200)]
patch 8.2.1692: build fails because TTFLAG_STATIC is missing
Problem: Build fails because TTFLAG_STATIC is missing.
Solution: Include missing change.
Bram Moolenaar [Wed, 16 Sep 2020 13:22:00 +0000 (15:22 +0200)]
patch 8.2.1691: Vim9: list<any> is not accepted where list<number> is expected
Problem: Vim9: list<any> is not accepted where list<number> is expected.
Solution: Add functions to allocate and free a type_T, use it in
ISN_CHECKTYPE. (closes #6959)
Bram Moolenaar [Tue, 15 Sep 2020 19:34:18 +0000 (21:34 +0200)]
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().
Bram Moolenaar [Tue, 15 Sep 2020 18:52:26 +0000 (20:52 +0200)]
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)
Bram Moolenaar [Tue, 15 Sep 2020 18:34:10 +0000 (20:34 +0200)]
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)
Bram Moolenaar [Mon, 14 Sep 2020 20:39:11 +0000 (22:39 +0200)]
patch 8.2.1687: Vim9: out of bounds error
Problem: Vim9: out of bounds error.
Solution: Check that cmdidx is not negative.
Bram Moolenaar [Mon, 14 Sep 2020 20:28:30 +0000 (22:28 +0200)]
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.
Bram Moolenaar [Mon, 14 Sep 2020 19:39:44 +0000 (21:39 +0200)]
patch 8.2.1685: Vim9: cannot declare a constant value
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
Bram Moolenaar [Mon, 14 Sep 2020 17:11:45 +0000 (19:11 +0200)]
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)
Bram Moolenaar [Mon, 14 Sep 2020 16:35:18 +0000 (18:35 +0200)]
patch 8.2.1683: Vim9: assignment test fails
Problem: Vim9: assignment test fails.
Solution: Include changes to find Ex command.
Bram Moolenaar [Mon, 14 Sep 2020 16:15:09 +0000 (18:15 +0200)]
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.
Bram Moolenaar [Mon, 14 Sep 2020 15:04:31 +0000 (17:04 +0200)]
patch 8.2.1681: Vim9: unnessary :call commands in tests
Problem: Vim9: unnessary :call commands in tests.
Solution: Remove the commands. (issue #6936)
Bram Moolenaar [Mon, 14 Sep 2020 14:50:05 +0000 (16:50 +0200)]
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)