Bram Moolenaar
bed72df3e6
patch 8.2.2416: may get stuck in command line window state
...
Problem: May get stuck in command line window state.
Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
pass on MS-Windows.
2021-01-27 20:34:29 +01:00
Bram Moolenaar
21829c5f2c
patch 8.2.2415: no way to check for the cmdwin feature
...
Problem: No way to check for the cmdwin feature, cmdline_hist is now always
enabled.
Solution: Add has('cmdwin') support. Skip arglist test on Windows
temporarily.
2021-01-26 22:42:21 +01:00
Bram Moolenaar
b7e2670b6a
patch 8.2.2414: using freed memory when closing the cmdline window
...
Problem: Using freed memory when closing the cmdline window.
Solution: Check the window is still valid.
2021-01-26 22:00:52 +01:00
Bram Moolenaar
bb4b93ed85
patch 8.2.2413: crash when using :all while using a cmdline window
...
Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
Solution: Disallow :all from the cmdline window.
2021-01-26 21:35:08 +01:00
Bram Moolenaar
ce0370d9e6
patch 8.2.2412: not all fields in "cstack" are initialized
...
Problem: Not all fields in "cstack" are initialized which might cause a
crash.
Solution: Use CLEAR_FIELD().
2021-01-26 19:32:53 +01:00
Bram Moolenaar
98989a0014
patch 8.2.2411: profile test fails on MS-Windows
...
Problem: Profile test fails on MS-Windows.
Solution: Do the profiling in a separate Vim command.
2021-01-26 12:06:30 +01:00
Bram Moolenaar
ff0e57fe77
patch 8.2.2410: build failure without the +profiling feature
...
Problem: Build failure without the +profiling feature.
Solution: Add dummy argument to macro.
2021-01-25 23:02:38 +01:00
Bram Moolenaar
e5ea346a07
patch 8.2.2409: Vim9: profiling only works for one function
...
Problem: Vim9: profiling only works for one function.
Solution: Select the right instructions when calling and returning.
(closes #7743 )
2021-01-25 21:01:48 +01:00
Bram Moolenaar
5c829bf229
patch 8.2.2408: MinGW: "--preprocessor" flag no longer supported
...
Problem: MinGW: "--preprocessor" flag no longer supported.
Solution: Remove the flag, use the defaults. (Christopher Wellons,
closes #7741 )
2021-01-25 19:18:02 +01:00
Bram Moolenaar
ab55f11d9b
patch 8.2.2407: old jumplist code is never used
...
Problem: Old jumplist code is never used.
Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740 )
2021-01-25 18:44:57 +01:00
Bram Moolenaar
c05fe07529
patch 8.2.2406: Vim9: profiled :def function leaks memory
...
Problem: Vim9: profiled :def function leaks memory.
Solution: Delete the profiled instructions.
2021-01-24 21:30:48 +01:00
Bram Moolenaar
4efd994829
patch 8.2.2405: Vim9: no need to allow white space before "(" for :def
...
Problem: Vim9: no need to allow white space before "(" for :def.
Solution: Give an error for stray white space. (issue #7734 )
2021-01-24 21:14:20 +01:00
Bram Moolenaar
107e9cecf7
patch 8.2.2404: Vim9: profiling try/catch not correct
...
Problem: Vim9: profiling try/catch not correct.
Solution: Add profile instructions. Fix that "entry" did not rethrow an
excpetion.
2021-01-24 20:52:00 +01:00
Bram Moolenaar
ced68a0070
patch 8.2.2403: Vim9: profiling if/elseif/endif not correct
...
Problem: Vim9: profiling if/elseif/endif not correct.
Solution: Add profile instructions. Fix that "elseif" was wrong.
2021-01-24 17:53:47 +01:00
Bram Moolenaar
8323cab31c
patch 8.2.2402: some filetypes not detected
...
Problem: Some filetypes not detected.
Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
2021-01-24 15:25:56 +01:00
Bram Moolenaar
f002a41d12
patch 8.2.2401: build fails without +profiling feature
...
Problem: Build fails without +profiling feature.
Solution: Add #ifdefs.
2021-01-24 13:34:18 +01:00
Bram Moolenaar
b204990346
patch 8.2.2400: Vim9: compiled functions are not profiled
...
Problem: Vim9: compiled functions are not profiled.
Solution: Add initial changes to profile compiled functions. Fix that a
script-local function was hard to debug.
2021-01-24 12:53:53 +01:00
Bram Moolenaar
7cf0c114d6
patch 8.2.2399: fold test fails in wide terminal
...
Problem: Fold test fails in wide terminal.
Solution: Adjust the test. (Dominique Pelle, closes #7731 , closes #7739 )
2021-01-24 12:00:01 +01:00
Bram Moolenaar
40be52ba71
patch 8.2.2398: method test fails
...
Problem: Method test fails.
Solution: Adjust test for allowed white space.
2021-01-23 15:27:09 +01:00
Bram Moolenaar
dfbc5fd879
patch 8.2.2397: Vim9: "%%" not seen as alternate file name for ":bdel"
...
Problem: Vim9: "%%" not seen as alternate file name for commands with a
buffer name argument.
Solution: Recognize "%%" like "#". (closes #7732 )
2021-01-23 15:15:01 +01:00
Bram Moolenaar
7cebe8ba7d
patch 8.2.2396: Vim9: no white space allowed before "->"
...
Problem: Vim9: no white space allowed before "->".
Solution: Allow for white space. (closes #7725 )
2021-01-23 14:22:16 +01:00
Bram Moolenaar
9a562c184d
patch 8.2.2395: Vim9: error for wrong type may report wrong line number
...
Problem: Vim9: error for wrong type may report wrong line number.
Solution: Save and restore the line number when evaluating the expression.
(closes #7727 )
2021-01-23 13:39:14 +01:00
Bram Moolenaar
9ae3705b6e
patch 8.2.2394: Vim9: min() and max() return type is "any"
...
Problem: Vim9: min() and max() return type is "any".
Solution: Use return type "number". (closes #7728 )
2021-01-22 22:31:10 +01:00
Bram Moolenaar
4bce26bb70
patch 8.2.2393: Vim9: error message when script line starts with "[{"
...
Problem: Vim9: error message when script line starts with "[{".
Solution: Do not give an error for checking for end of list.
2021-01-22 22:06:56 +01:00
Bram Moolenaar
402115f1c2
patch 8.2.2392: fennel filetype not recognized
...
Problem: Fennel filetype not recognized.
Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729 )
2021-01-22 20:55:04 +01:00
Bram Moolenaar
0d3de8cb59
patch 8.2.2391: memory leak when creating a global function with closure
...
Problem: Memory leak when creating a global function with closure.
Solution: Create a separate partial for every instantiated function.
2021-01-22 20:46:27 +01:00
Bram Moolenaar
b3005ce191
patch 8.2.2390: Vim9: using positive offset is unexpected
...
Problem: Vim9: using positive offset is unexpected.
Solution: Use int8_T instead of char. (James McCoy)
2021-01-22 17:51:06 +01:00
Bram Moolenaar
9b6344613e
patch 8.2.2389: test failure on a few systems
...
Problem: Test failure on a few systems.
Solution: Avoid that "char" value is negative.
2021-01-21 22:53:38 +01:00
Bram Moolenaar
57d5a01cb4
patch 8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
2021-01-21 21:42:31 +01:00
Bram Moolenaar
e32e516dfa
patch 8.2.2387: runtime type check does not mention argument index
...
Problem: Runtime type check does not mention argument index.
Solution: Add ct_arg_idx. (closes #7720 )
2021-01-21 20:21:29 +01:00
Bram Moolenaar
f904133e1a
patch 8.2.2386: Vim9: crash when using ":silent! put"
...
Problem: Vim9: crash when using ":silent! put".
Solution: When ignoring an error for ":silent!" rewind the stack and skip
ahead to restoring the cmdmod. (closes #7717 )
2021-01-21 19:41:16 +01:00
Bram Moolenaar
e71996bd08
patch 8.2.2385: "gj" and "gk" do not work correctly when inside a fold
...
Problem: "gj" and "gk" do not work correctly when inside a fold.
Solution: Move check for folding. (closes #7724 , closes #4095 )
2021-01-21 17:03:07 +01:00
Bram Moolenaar
5e6a7aa2b2
patch 8.2.2384: turtle filetype not recognized
...
Problem: Turtle filetype not recognized.
Solution: Add a rule to detect turtle files. (closes #7722 )
2021-01-21 14:45:13 +01:00
Bram Moolenaar
ccb47a2899
patch 8.2.2383: focus escape sequences are not named
...
Problem: Focus escape sequences are not named in ":set termcap" output.
Solution: Add the names to the list. (closes #7718 )
2021-01-21 13:36:43 +01:00
Bram Moolenaar
b1f2857096
patch 8.2.2382: build failure
...
Problem: Build failure.
Solution: Add missing changes.
2021-01-21 13:03:20 +01:00
Bram Moolenaar
c5f59fab23
patch 8.2.2381: Vim9: divide by zero does not abort expression execution
...
Problem: Vim9: divide by zero does not abort expression execution.
Solution: Use a "failed" flag. (issue #7704 )
2021-01-21 12:34:14 +01:00
Bram Moolenaar
a0f7f73ebb
patch 8.2.2380: Vim9: occasional crash when using try/catch and a timer
...
Problem: Vim9: occasional crash when using try/catch and a timer.
Solution: Save and restore "need_rethrow" when invoking a timer callback.
(closes #7708 )
2021-01-20 22:22:49 +01:00
Bram Moolenaar
77a849c4b3
patch 8.2.2379: do spell suggestions twice if 'spellsuggest' contains number
...
Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
Solution: Only do internal suggestions once. (closes #7713 )
2021-01-20 21:42:33 +01:00
Bram Moolenaar
99880f96cf
patch 8.2.2378: Vim9: no error message for dividing by zero
...
Problem: Vim9: no error message for dividing by zero.
Solution: Give an error message. (issue #7704 )
2021-01-20 21:23:14 +01:00
Bram Moolenaar
a28639e711
patch 8.2.2377: Vim9: crash when using a range after another expression
...
Problem: Vim9: crash when using a range after another expression.
Solution: Set the variable type to number. Fix using :put with a range and
the "=" register. (closes #7706 )
2021-01-19 22:48:09 +01:00
Bram Moolenaar
e64f83cc6a
patch 8.2.2376: Vim9: crash when dividing by zero in compiled code
...
Problem: Vim9: crash when dividing by zero in compiled code using
constants.
Solution: Call num_divide() and num_modulus(). (closes #7704 )
2021-01-19 22:16:41 +01:00
Bram Moolenaar
09fbedc8dc
patch 8.2.2375: test for RGB color skipped in the terminal
...
Problem: Test for RGB color skipped in the terminal.
Solution: Run the GUI if possible.
2021-01-19 17:22:58 +01:00
Bram Moolenaar
82aa6e09e0
patch 8.2.2374: accessing uninitialized memory in test_undo
...
Problem: Accessing uninitialized memory in test_undo.
Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
closes #7697 )
2021-01-17 22:04:02 +01:00
Bram Moolenaar
f30a14db3b
patch 8.2.2373: Vim9: list assignment only accepts a number index
...
Problem: Vim9: list assignment only accepts a number index.
Solution: Accept "any" and do a runtime type check. (closes #7694 )
2021-01-17 21:51:24 +01:00
Bram Moolenaar
585587dadb
patch 8.2.2372: confusing error message for wrong :let command
...
Problem: Confusing error message for wrong :let command.
Solution: Only check for type in Vim9 script.
2021-01-17 20:52:13 +01:00
Bram Moolenaar
036d07144e
patch 8.2.2371: Vim9: crash when using types in :for with unpack
...
Problem: Vim9: crash when using types in :for with unpack.
Solution: Check for skip_var_list() failing. Pass include_type to
skip_var_one(). Skip type when compiling. (closes #7694 )
2021-01-17 20:23:38 +01:00
Bram Moolenaar
1430ceeb2d
patch 8.2.2370: Vim9: command fails in catch block
...
Problem: Vim9: command fails in catch block.
Solution: Reset force_abort and need_rethrow. (closes #7692 )
2021-01-17 19:20:32 +01:00
Bram Moolenaar
3af15ab788
patch 8.2.2369: Vim9: functions return true/false but can't be used as bool
...
Problem: Vim9: functions return true/false but can't be used as bool.
Solution: Add ret_number_bool(). (closes #7693 )
2021-01-17 16:16:23 +01:00
Bram Moolenaar
85773bf32b
patch 8.2.2368: insufficient tests for setting options
...
Problem: Insufficient tests for setting options.
Solution: Add a few tests. (Dominique Pellé, closes #7695 )
2021-01-17 13:48:03 +01:00
Bram Moolenaar
239f8d9326
patch 8.2.2367: test failures on some less often used systems
...
Problem: Test failures on some less often used systems.
Solution: Adjust printf formats and types. (James McCoy, closes #7691 )
2021-01-17 13:21:20 +01:00