Bram Moolenaar
6a78f32844
patch 8.2.2176: crash with a sequence of fold commands
...
Problem: Crash with a sequence of fold commands.
Solution: Bail out when there are no folds at all. Add a test (Dominique
Pellé) (closes #7515 )
v8.2.2176
2020-12-21 14:01:41 +01:00
Bram Moolenaar
9aff970204
patch 8.2.2175: github actions: clang-11 handling suboptimal
...
Problem: Github actions: clang-11 handling suboptimal.
Solution: Separate step of installing clang-11. Get ubuntu release name
dynamically. (Ozaki Kiichi, closes #7514 )
v8.2.2175
2020-12-21 13:37:28 +01:00
Bram Moolenaar
8c9d98a8af
patch 8.2.2174: Mac version doesn't specify the CPU architecture
...
Problem: Mac version doesn't specify the CPU architecture.
Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519 )
v8.2.2174
2020-12-21 13:05:57 +01:00
Bram Moolenaar
52c124d330
patch 8.2.2173: Vim9: get internal error when assigning to undefined variable
...
Problem: Vim9: get internal error when assigning to undefined variable.
Solution: Add error message. (closes #7475 )
v8.2.2173
2020-12-20 21:43:35 +01:00
Bram Moolenaar
5082471f91
patch 8.2.2172: Vim9: number of arguments is not always checked
...
Problem: Vim9: number of arguments is not always checked. (Yegappan
Lakshmanan)
Solution: Check number of arguments when calling function by name.
v8.2.2172
2020-12-20 21:10:17 +01:00
Bram Moolenaar
61e07b2394
patch 8.2.2171: valgrind warning for using uninitialized value
...
Problem: Valgrind warning for using uninitialized value.
Solution: Do not use "startp" or "endp" unless there is a match.
v8.2.2171
2020-12-20 17:59:53 +01:00
Bram Moolenaar
f112f30a82
patch 8.2.2170: Vim9: a global function defined in a :def function fails
...
Problem: Vim9: a global function defined in a :def function fails if it
uses the context.
Solution: Create a partial to store the closure context. (see #7410 )
v8.2.2170
2020-12-20 17:47:52 +01:00
Bram Moolenaar
090728ad4d
patch 8.2.2169: Vim9: test leaves file behind
...
Problem: Vim9: test leaves file behind.
Solution: Rename script files. (Dominique Pellé, closes #7511 )
Use try/finally.
v8.2.2169
2020-12-20 15:43:31 +01:00
Bram Moolenaar
d24602f43c
patch 8.2.2168: Vim9: error for assigning to dict of dict
...
Problem: Vim9: error for assigning to dict of dict.
Solution: Remember the destination type. (closes #7506 )
v8.2.2168
2020-12-20 15:20:56 +01:00
Bram Moolenaar
d88dc4d4e9
patch 8.2.2167: Vim9: assign test fails
...
Problem: Vim9: assign test fails. (Elimar Riesebieter)
Solution: Adjust the test for dict assignment.
v8.2.2167
2020-12-20 14:49:42 +01:00
Bram Moolenaar
d0a1dee3f1
patch 8.2.2166: auto format doesn't work when deleting text
...
Problem: Auto format doesn't work when deleting text.
Solution: Make "x" trigger auto format. (closes #7504 )
v8.2.2166
2020-12-20 13:07:48 +01:00
Bram Moolenaar
8f22f5c3aa
patch 8.2.2165: Vim9: assignment to dict member does not work
...
Problem: Vim9: assignment to dict member does not work.
Solution: Fix recognizing dict member. (closes #7484 )
v8.2.2165
2020-12-19 22:10:13 +01:00
Bram Moolenaar
17f700ac8b
patch 8.2.2164: Vim9: autoload function doesn't work in uppercased script
...
Problem: Vim9: autoload function doesn't work in script that starts with
an upper case letter.
Solution: Check for the autoload character. (closes #7502 )
v8.2.2164
2020-12-19 21:23:42 +01:00
Bram Moolenaar
13656f02e4
patch 8.2.2163: crash when discarded exception is the current exception
...
Problem: Crash when discarded exception is the current exception.
Solution: Compare the execption with current_exception. (closes #7499 )
v8.2.2163
2020-12-19 17:55:54 +01:00
Bram Moolenaar
03290b8444
patch 8.2.2162: Vim9: Cannot load or store autoload variables
...
Problem: Vim9: Cannot load or store autoload variables.
Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485 )
v8.2.2162
2020-12-19 16:30:44 +01:00
Bram Moolenaar
1f33e0a7c4
patch 8.2.2161: arguments -T and -x not tested yet
...
Problem: Arguments -T and -x not tested yet.
Solution: Add a test. (Dominique Pellé, closes #7490
v8.2.2161
2020-12-19 13:32:07 +01:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
v8.2.2160
2020-12-18 19:49:56 +01:00
Bram Moolenaar
3beaf9cd8e
patch 8.2.2159: Vim9: when declaring a list it is not allocated yet
...
Problem: Vim9: when declaring a list it is not allocated yet, causing a
following extend() to fail.
Solution: When fetching a variable value for a list or dict that is null
allocate the list or dict, so it can be used. (closes #7491 )
v8.2.2159
2020-12-18 17:23:14 +01:00
Bram Moolenaar
6e562fcc07
patch 8.2.2158: CI on cirrus times out, coveralls doesn't always run
...
Problem: CI on cirrus times out, coveralls doesn't always run.
Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493 )
v8.2.2158
2020-12-18 16:29:25 +01:00
Bram Moolenaar
9aed729fe9
patch 8.2.2157: Vim9: can delete a Vim9 script variable from a function
...
Problem: Vim9: can delete a Vim9 script variable from a function.
Solution: Check the variable is defined in Vim9 script. (closes #7483 )
v8.2.2157
2020-12-18 15:38:00 +01:00
Bram Moolenaar
b5b77378bc
patch 8.2.2156: Github actions run on pusing a tag
...
Problem: Github actions run on pusing a tag.
Solution: Don't run CI on tag push. Omit coveralls on pull-request.
(Ozaki Kiichi, closes #7489 )
v8.2.2156
2020-12-18 13:31:31 +01:00
Bram Moolenaar
18f69229c5
patch 8.2.2155: warning from Github actions for code analysis
...
Problem: Warning from Github actions for code analysis.
Solution: Remove the "git checkout HEAD^2" block.
v8.2.2155
2020-12-18 13:15:20 +01:00
Bram Moolenaar
0353f56ddb
patch 8.2.2154: popupwin test for terminal buffer fails sometimes
...
Problem: Popupwin test for terminal buffer fails sometimes.
Solution: Wait for the prompt to appear.
v8.2.2154
2020-12-17 22:27:38 +01:00
Bram Moolenaar
b125b535bb
patch 8.2.2153: popupwin test for latin1 still fails sometimes
...
Problem: Popupwin test for latin1 still fails sometimes.
Solution: Wait for the "cat" command to finish.
v8.2.2153
2020-12-17 21:56:09 +01:00
Bram Moolenaar
8dd46e72cf
patch 8.2.2152: screenpos() does not include the WinBar offset
...
Problem: screenpos() does not include the WinBar offset.
Solution: Use W_WINROW() instead of directly using w_window. (closes #7487 )
v8.2.2152
2020-12-17 21:35:29 +01:00
Bram Moolenaar
a79a8944da
patch 8.2.2151: $dir not expanded when configure checks for moonjit
...
Problem: $dir not expanded when configure checks for moonjit.
Solution: Use double quotes instead of single quotes. (closes #7478 )
v8.2.2151
2020-12-17 20:50:25 +01:00
Bram Moolenaar
8ea05de6aa
patch 8.2.2150: Github actions CI isn't used for all available platforms
...
Problem: Github actions CI isn't used for all available platforms.
Solution: Update the github workflows. (Ozaki Kiichi, closes #7433 )
v8.2.2150
2020-12-17 20:27:26 +01:00
Bram Moolenaar
4c5bdb99ad
patch 8.2.2149: popupwin test for latin1 sometimes fails
...
Problem: Popupwin test for latin1 sometimes fails.
Solution: Wait for the script to finish.
v8.2.2149
2020-12-17 17:45:59 +01:00
Bram Moolenaar
1c0aa97827
patch 8.2.2148: Vim9: crash when user command doesn't match
...
Problem: Vim9: crash when user command doesn't match.
Solution: Adjust command index. (closes #7479 )
v8.2.2148
2020-12-16 21:43:54 +01:00
Bram Moolenaar
530bed993e
patch 8.2.2147: quickfix window title not updated in all tab pages
...
Problem: Quickfix window title not updated in all tab pages.
Solution: Update the quickfix window title in all tab pages. (Yegappan
Lakshmanan, closes #7481 , closes #7466 )
v8.2.2147
2020-12-16 21:02:56 +01:00
Bram Moolenaar
9987fb0b4b
patch 8.2.2146: Vim9: automatic conversion of number to string for dict key
...
Problem: Vim9: automatic conversion of number to string for dict key.
Solution: Do not convert number to string. (closes #7474 )
v8.2.2146
2020-12-15 21:41:56 +01:00
Bram Moolenaar
399ea8108c
patch 8.2.2145: Vim9: concatenating lists does not adjust type of result
...
Problem: Vim9: concatenating lists does not adjust type of result.
Solution: When list member types differ use "any" member type.
(closes #7473 )
v8.2.2145
2020-12-15 21:28:57 +01:00
Bram Moolenaar
025cb1ca86
patch 8.2.2144: Vim9: some corner cases not tested
...
Problem: Vim9: some corner cases not tested.
Solution: Add a few tests.
v8.2.2144
2020-12-14 18:31:27 +01:00
Bram Moolenaar
ec792290eb
patch 8.2.2143: Vim9: dead code in compiling :unlet
...
Problem: Vim9: dead code in compiling :unlet.
Solution: Don't check for "!" a second time.
v8.2.2143
2020-12-13 21:26:56 +01:00
Bram Moolenaar
fffdf4754f
patch 8.2.2142: memory leak when heredoc is not terminated
...
Problem: Memory leak when heredoc is not terminated.
Solution: Free heredoc_trimmed.
v8.2.2142
2020-12-13 21:16:55 +01:00
Bram Moolenaar
8143a53c53
patch 8.2.2141: a user command with try/catch may not catch an expression error
...
Problem: A user command with try/catch may not catch an expression error.
Solution: When an expression fails check for following "|". (closes #7469 )
v8.2.2141
2020-12-13 20:26:29 +01:00
Bram Moolenaar
2a3cd3af45
patch 8.2.2140: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef.
v8.2.2140
2020-12-13 19:22:27 +01:00
Bram Moolenaar
acbae18df5
patch 8.2.2139: Vim9: unreachable code in assignment
...
Problem: Vim9: unreachable code in assignment.
Solution: Don't check "new_local" when "has_index" is set. Add test for
wrong type of list index.
v8.2.2139
2020-12-13 18:44:43 +01:00
Bram Moolenaar
b5b9480ee9
patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
...
Problem: Vim9: "exit_cb" causes Vim to exit.
Solution: Require white space after a command in Vim9 script. (closes #7467 )
Also fix that Vim9 style heredoc was not always recognized.
v8.2.2138
2020-12-13 17:50:20 +01:00
Bram Moolenaar
e498429087
patch 8.2.2137: Vim9: :echo and :execute give error for empty argument
...
Problem: Vim9: :echo and :execute give error for empty argument.
Solution: Ignore an empty argument. (closes #7468 )
v8.2.2137
2020-12-13 14:19:25 +01:00
Bram Moolenaar
c530852315
patch 8.2.2136: Vim9: Using uninitialized variable
...
Problem: Vim9: Using uninitialized variable.
Solution: Initialize "len" to zero. Clean up fnamemodify().
v8.2.2136
2020-12-13 12:25:35 +01:00
Bram Moolenaar
93f82cbee5
patch 8.2.2135: Vim9: #{ still seen as start of dict in some places
...
Problem: Vim9: #{ still seen as start of dict in some places.
Solution: Remove check for { after #. (closes #7456 )
v8.2.2135
2020-12-12 21:25:56 +01:00
Bram Moolenaar
57f799e6a4
patch 8.2.2134: Vim9: get E1099 when autocmd triggered in builtin function
...
Problem: Vim9: get E1099 when autocmd triggered in builtin function.
Solution: Check that did_emsg increased instead of checking that it changed.
(closes #7448 )
v8.2.2134
2020-12-12 20:42:19 +01:00
Bram Moolenaar
2a9d5d386b
patch 8.2.2133: Vim9: checking for a non-empty string is too strict
...
Problem: Vim9: checking for a non-empty string is too strict.
Solution: Check for any string. (closes #7447 )
v8.2.2133
2020-12-12 18:58:40 +01:00
Bram Moolenaar
3ae50c775c
patch 8.2.2132: padding not drawn properly for popup window with title
...
Problem: Padding not drawn properly for popup window with title.
Solution: Draw the padding below the title. (closes #7460 )
v8.2.2132
2020-12-12 18:18:06 +01:00
Bram Moolenaar
709664cca0
patch 8.2.2131: Vim9: crash when lambda uses same var as assignment
...
Problem: Vim9: crash when lambda uses same var as assignment.
Solution: Do not let lookup_local change lv_from_outer, make a copy.
(closes #7461 )
v8.2.2131
2020-12-12 14:33:41 +01:00
Bram Moolenaar
cc2335896b
patch 8.2.2130: Insert mode completion messages end up in message history
...
Problem: Insert mode completion messages end up in message history.
Solution: Set msg_hist_off. (closes #7452
v8.2.2130
2020-12-12 13:32:07 +01:00
Bram Moolenaar
0ea7421ae6
patch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow
...
Problem: MS-Windows: Checking if a file name is absolute is slow.
Solution: Do not use mch_FullName(). (closes #7033 )
v8.2.2129
2020-12-11 20:10:50 +01:00
Bram Moolenaar
100118c73a
patch 8.2.2128: there is no way to do something on CTRL-Z
...
Problem: There is no way to do something on CTRL-Z.
Solution: Add VimSuspend and VimResume autocommand events. (closes #7450 )
v8.2.2128
2020-12-11 19:30:34 +01:00
Bram Moolenaar
1b884a0053
Update runtime files.
2020-12-10 21:11:27 +01:00