Bram Moolenaar
e5730bdcea
patch 8.2.2220: Vim9: memory leak when parsing nested parenthesis
...
Problem: Vim9: memory leak when parsing nested parenthesis.
Solution: Clear newargs.
v8.2.2220
2020-12-25 22:30:16 +01:00
Bram Moolenaar
7e3682068b
patch 8.2.2219: Vim9: method call with expression not supported
...
Problem: Vim9: method call with expression not supported.
Solution: Implement expr->(expr)().
v8.2.2219
2020-12-25 21:56:57 +01:00
Bram Moolenaar
fc0e8f5c3e
patch 8.2.2218: Vim9: failure if passing more args to lambda than expected
...
Problem: Vim9: failure if passing more arguments to a lambda than expected.
Solution: Only put expected arguments on the stack. (closes #7548 )
v8.2.2218
2020-12-25 20:24:51 +01:00
Bram Moolenaar
20a762987e
patch 8.2.2217: Vim9: command modifiers not restored in catch block
...
Problem: Vim9: command modifiers not restored in catch block.
Solution: Restore command modifiers. (closes #7542 )
v8.2.2217
2020-12-25 19:47:24 +01:00
Bram Moolenaar
6e2c2c50ba
patch 8.2.2216: Vim9: range with missing colon can be hard to spot
...
Problem: Vim9: range with missing colon can be hard to spot.
Solution: Include the start of the range in the error. (closes #7543 )
v8.2.2216
2020-12-25 19:25:45 +01:00
Bram Moolenaar
56ce9ea3ea
patch 8.2.2215: Vim9: not recognized in global command
...
Problem: Vim9: not recognized in global command.
Solution: Skip over pattern. (issue #7541 )
v8.2.2215
2020-12-25 18:35:29 +01:00
Bram Moolenaar
f8103f274e
patch 8.2.2214: ":e#" does not give a warning for missing white space
...
Problem: ":e#" does not give a warning for missing white space.
Solution: Adjust the check for white space. (closes #7545 )
v8.2.2214
2020-12-25 17:36:27 +01:00
Bram Moolenaar
7cfcd0c99c
patch 8.2.2213: checking white space around -> is not backwards compatible
...
Problem: Checking white space around -> is not backwards compatible.
Solution: Only check white space around =>.
v8.2.2213
2020-12-25 16:11:53 +01:00
Bram Moolenaar
c754b4cc98
patch 8.2.2212: Vim9: lambda with => does not work at the script level
...
Problem: Vim9: lambda with => does not work at the script level.
Solution: Make it work.
v8.2.2212
2020-12-25 15:24:23 +01:00
Bram Moolenaar
b2f9e0e2c5
patch 8.2.2211: MS-Windows: can't load Python dll if not in the path
...
Problem: MS-Windows: can't load Python dll if not in the path.
Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540 )
v8.2.2211
2020-12-25 13:52:37 +01:00
Bram Moolenaar
3868f59466
patch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OK
...
Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
Solution: Add t_number_bool.
v8.2.2210
2020-12-25 13:20:41 +01:00
Bram Moolenaar
9e68c32563
patch 8.2.2209: Vim9: return type of => lambda not parsed
...
Problem: Vim9: return type of => lambda not parsed.
Solution: Parse and use the return type.
v8.2.2209
2020-12-25 12:38:04 +01:00
Bram Moolenaar
4aab88d919
patch 8.2.2208: Vim9: after reloading a script variable index may be invalid
...
Problem: Vim9: after reloading a script variable index may be invalid.
Solution: When the sequence number doesn't match give an error for using a
script-local variable from a compiled function. (closes #7547 )
v8.2.2208
2020-12-24 21:56:41 +01:00
Bram Moolenaar
38455a9213
patch 8.2.2207: illegal memory access if popup menu items are changed
...
Problem: Illegal memory access if popup menu items are changed while the
menu is visible. (Tomáš Janoušek)
Solution: Make a copy of the text. (closes #7537 )
v8.2.2207
2020-12-24 18:39:02 +01:00
Bram Moolenaar
0261a1aeeb
Tweak the style a bit.
2020-12-24 17:41:12 +01:00
Bram Moolenaar
c139aa8a2b
Remove table, it doesn't work
2020-12-24 17:35:41 +01:00
Bram Moolenaar
b04ddb5b04
Attempt to fix markdown in table cell.
2020-12-24 17:25:06 +01:00
Bram Moolenaar
b54f1202b3
Attempt to align the logo without a markdown table.
2020-12-24 17:20:24 +01:00
Bram Moolenaar
4941b5effd
patch 8.2.2206: :exe command line completion only works for first argument
...
Problem: :exe command line completion only works for first argument.
Solution: Skip over text if more is following. (closes #7546 )
v8.2.2206
2020-12-24 17:15:53 +01:00
Bram Moolenaar
6dd41b1d57
patch 8.2.2205: Vim9: memory leak when parsing lambda fails
...
Problem: Vim9: memory leak when parsing lambda fails.
Solution: Clear growarrays.
v8.2.2205
2020-12-24 16:06:00 +01:00
Bram Moolenaar
65c4415276
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
...
Problem: Vim9: using -> both for method and lambda is confusing.
Solution: Use => for lambda in :def function.
v8.2.2204
2020-12-24 15:14:01 +01:00
Bram Moolenaar
b34f337472
patch 8.2.2203: Moodle gift files are not recognized
...
Problem: Moodle gift files are not recognized.
Solution: Add a filetype pattern. (Delim Temizer)
v8.2.2203
2020-12-24 13:33:46 +01:00
Bram Moolenaar
16204962c7
patch 8.2.2202: write file test still fails on MS-Windows
...
Problem: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
v8.2.2202
2020-12-23 22:40:11 +01:00
Bram Moolenaar
bd318559cf
patch 8.2.2201: write file test fails on MS-Windows
...
Problem: Write file test fails on MS-Windows.
Solution: Force edit after setting 'fileformat'.
v8.2.2201
2020-12-23 20:55:15 +01:00
Bram Moolenaar
27bf7af9d0
patch 8.2.2200: Vim9: lambda without white space around -> is confusing
...
Problem: Vim9: lambda without white space around -> is confusing.
Solution: Require white space in a :def funtion. (issue #7503 )
v8.2.2200
2020-12-23 20:27:31 +01:00
Bram Moolenaar
b3c8b1d254
patch 8.2.2199: first write after setting 'eol' does not have NL added
...
Problem: First write after setting 'eol' does not have NL added. (Tomáš
Janoušek)
Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535 )
v8.2.2199
2020-12-23 18:54:57 +01:00
Bram Moolenaar
23999d799c
patch 8.2.2198: ml_get error when resizing window and using text property
...
Problem: ml_get error when resizing window and using text property.
Solution: Validate botline of the right window. (closes #7528 )
v8.2.2198
2020-12-23 14:36:00 +01:00
Bram Moolenaar
4072ba571b
Update runtime files.
2020-12-23 13:56:35 +01:00
Bram Moolenaar
9f63a65f22
patch 8.2.2197: assert arguments order reversed
...
Problem: Assert arguments order reversed.
Solution: Swap the arguments. (Christian Brabandt, closes #7531 )
v8.2.2197
2020-12-23 12:50:20 +01:00
Bram Moolenaar
abcbb0e9ad
patch 8.2.2196: :version output has extra spaces in compile and link command
...
Problem: :version output has extra spaces in compile and link command.
Solution: Adjust QUOTESED. (closes #7505 )
v8.2.2196
2020-12-23 12:33:42 +01:00
Bram Moolenaar
1dcf55d4f1
patch 8.2.2195: failing tests for :const
...
Problem: Failing tests for :const.
Solution: Add missing check for ASSIGN_FINAL.
v8.2.2195
2020-12-22 22:07:30 +01:00
Bram Moolenaar
89b474dd4f
patch 8.2.2194: Vim9: cannot use :const or :final at the script level
...
Problem: Vim9: cannot use :const or :final at the script level.
Solution: Support using :const and :final. (closes #7526 )
v8.2.2194
2020-12-22 21:19:39 +01:00
Bram Moolenaar
3bdc90b7df
patch 8.2.2193: Vim9: can change constant in :def function
...
Problem: Vim9: can change constant in :def function.
Solution: Check if a variable is locked. (issue #7526 )
v8.2.2193
2020-12-22 20:35:40 +01:00
Bram Moolenaar
e5492609b3
patch 8.2.2192: Codecov on github actions fails
...
Problem: Codecov on github actions fails.
Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529 )
v8.2.2192
2020-12-22 19:05:33 +01:00
Bram Moolenaar
58a52f215a
patch 8.2.2191: Vim9: using wrong name with lambda in nested function
...
Problem: Vim9: using wrong name with lambda in nested function.
Solution: Copy the lambda name earlier. (closes #7525 )
v8.2.2191
2020-12-22 18:56:55 +01:00
Bram Moolenaar
077a42318c
patch 8.2.2190: Vim9: crash when compiled with EXITFREE
...
Problem: Vim9: crash when compiled with EXITFREE.
Solution: Check that df_ufunc is not NULL.
v8.2.2190
2020-12-22 18:33:27 +01:00
Bram Moolenaar
032a2d050b
patch 8.2.2189: cannot repeat a command that uses the small delete register
...
Problem: Cannot repeat a command that uses the small delete register.
Solution: Store the register name instead of the contents. (Christian
Brabandt, closes #7527 )
v8.2.2189
2020-12-22 17:59:35 +01:00
Bram Moolenaar
cd45ed03bf
patch 8.2.2188: Vim9: crash when calling global function from :def function
...
Problem: Vim9: crash when calling global function from :def function.
Solution: Set the outer context. Define the partial for the context on the
original function. Use a refcount to keep track of which ufunc is
using a dfunc. (closes #7525 )
v8.2.2188
2020-12-22 17:35:54 +01:00
Bram Moolenaar
07761a3b96
patch 8.2.2187: Python 3 test fails sometimes
...
Problem: Python 3 test fails sometimes. (Christian Brabandt)
Solution: Accept two SystemError messages.
v8.2.2187
2020-12-22 12:50:10 +01:00
Bram Moolenaar
5b3d1bb0f5
patch 8.2.2186: Vim9: error when using 'opfunc'
...
Problem: Vim9: error when using 'opfunc'.
Solution: Do not expect a return value from 'opfunc'. (closes #7510 )
v8.2.2186
2020-12-22 12:20:08 +01:00
Bram Moolenaar
c882e4d169
Add missing change to version.c
2020-12-22 12:18:11 +01:00
Bram Moolenaar
1cfb9bb5c0
patch 8.2.2185: BufUnload is not triggered for the quickfix dummy buffer
...
Problem: BufUnload is not triggered for the quickfix dummy buffer.
Solution: Do trigger BufUnload. (Pontus Leitzler,closes #7518 , closes #7517 )
Fix white space around "=".
v8.2.2185
2020-12-22 11:40:45 +01:00
Bram Moolenaar
9a963377b4
patch 8.2.2184: Vim9: no error when using "2" for a line number
...
Problem: Vim9: no error when using "2" for a line number.
Solution: Give an error message if the line number is invalid. (closes #7492 )
v8.2.2184
2020-12-21 21:58:46 +01:00
Bram Moolenaar
60f63100b9
patch 8.2.2183: Vim9: value of 'edcompatible' and 'gdefault' are used
...
Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
Solution: Ignore these deprecated options in Vim9 script. (closes #7508 )
v8.2.2183
2020-12-21 20:32:43 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
v8.2.2182
2020-12-21 19:59:08 +01:00
Bram Moolenaar
a3d10a508c
patch 8.2.2181: valgrind warnings for using uninitialized value
...
Problem: Valgrind warnings for using uninitialized value.
Solution: Do not use "start" or "end" unless there is a match.
v8.2.2181
2020-12-21 18:24:00 +01:00
Bram Moolenaar
6f17a3f023
patch 8.2.2180: Vim9: test for error after error is flaky
...
Problem: Vim9: test for error after error is flaky.
Solution: Wait for job to finish instead of a fixed delay.
v8.2.2180
2020-12-21 18:11:24 +01:00
Bram Moolenaar
4f5e397756
patch 8.2.2179: Vim9: crash when indexing a dict with a number
...
Problem: Vim9: crash when indexing a dict with a number.
Solution: Add ISN_STOREINDEX. (closes #7513 )
v8.2.2179
2020-12-21 17:30:50 +01:00
Bram Moolenaar
2e2f52a4a0
patch 8.2.2178: Python 3: non-utf8 character cannot be handled
...
Problem: Python 3: non-utf8 character cannot be handled.
Solution: Change the string decode. (Björn Linse, closes #1053 )
v8.2.2178
2020-12-21 16:03:02 +01:00
Bram Moolenaar
ef2dff52de
patch 8.2.2177: pattern "^" does not match if first character is combining
...
Problem: Pattern "^" does not match if the first character in the line is
combining. (Rene Kita)
Solution: Do accept a match at the start of the line. (closes #6963 )
v8.2.2177
2020-12-21 14:54:32 +01:00