]>
granicus.if.org Git - vim/log
Bram Moolenaar [Fri, 10 Dec 2021 10:37:38 +0000 (10:37 +0000)]
patch 8.2.3771: Vim9: accessing freed memory when checking type
Problem: Vim9: accessing freed memory when checking type.
Solution: Make a copy of a function type.
ichizok [Thu, 9 Dec 2021 21:08:01 +0000 (21:08 +0000)]
patch 8.2.3770: new compiler warnings from clang-12 and clang-13
Problem: New compiler warnings from clang-12 and clang-13.
Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
Gregory Anders [Thu, 9 Dec 2021 20:54:21 +0000 (20:54 +0000)]
patch 8.2.3769: zig files are not recognized
Problem: Zig files are not recognized.
Solution: Add *.zig. (Gregory Anders, closes #9313)
Bram Moolenaar [Thu, 9 Dec 2021 18:42:57 +0000 (18:42 +0000)]
patch 8.2.3768: timer_info() has the wrong repeat value in a timer callback
Problem: timer_info() has the wrong repeat value in a timer callback.
Solution: Do not add one to the repeat value when in the callback.
(closes #9294)
Bram Moolenaar [Thu, 9 Dec 2021 17:44:01 +0000 (17:44 +0000)]
patch 8.2.3767: crash when using NULL partial
Problem: Crash when using NULL partial.
Solution: Check for NULL.
Bram Moolenaar [Thu, 9 Dec 2021 16:40:18 +0000 (16:40 +0000)]
patch 8.2.3766: converting a funcref to a string leaves out "g:"
Problem: Converting a funcref to a string leaves out "g:", causing the
meaning of the name depending on the context.
Solution: Prepend "g:" for a global function.
Bram Moolenaar [Thu, 9 Dec 2021 14:23:43 +0000 (14:23 +0000)]
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others
Problem: Vim9: cannot use a lambda for 'opfunc' and others.
Solution: Convert the lambda to a string.
Bram Moolenaar [Thu, 9 Dec 2021 11:57:22 +0000 (11:57 +0000)]
patch 8.2.3764: cannot see any text when window was made zero lines
Problem: Cannot see any text when window was made zero lines or zero
columns.
Solution: Ensure there is at least one line and column. (fixes #9307)
Bram Moolenaar [Thu, 9 Dec 2021 10:51:05 +0000 (10:51 +0000)]
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295)
Yegappan Lakshmanan [Thu, 9 Dec 2021 09:27:06 +0000 (09:27 +0000)]
patch 8.2.3762: if quickfix buffer is wiped out getqflist() still returns it
Problem: If the quickfix buffer is wiped out getqflist() still returns its
number.
Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
closes #9306)
Bram Moolenaar [Wed, 8 Dec 2021 22:13:38 +0000 (22:13 +0000)]
patch 8.2.3761: focus change is not passed on to a terminal window
Problem: Focus change is not passed on to a terminal window.
Solution: If the current window is a terminal and focus events are enabled
send a focus event escape sequence to the terminal.
Bram Moolenaar [Wed, 8 Dec 2021 21:00:24 +0000 (21:00 +0000)]
patch 8.2.3760: not automatically handling gnome terminal mouse like xterm
Problem: Not automatically handling gnome terminal mouse like xterm.
Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
(issue #9296)
Yegappan Lakshmanan [Wed, 8 Dec 2021 20:03:31 +0000 (20:03 +0000)]
patch 8.2.3759: quickfix buffer becomes hidden while still in a window
Problem: Quickfix buffer becomes hidden while still in a window.
Solution: Check if the closed window is the last window showing the quickfix
buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
Yegappan Lakshmanan [Wed, 8 Dec 2021 10:46:21 +0000 (10:46 +0000)]
patch 8.2.3758: options that take a function insufficiently tested
Problem: Options that take a function insufficiently tested.
Solution: Add additional tests and enhance existing tests. (Yegappan
Lakshmanan, closes #9298)
erw7 [Tue, 7 Dec 2021 21:29:20 +0000 (21:29 +0000)]
patch 8.2.3757: an overlong highlight group name is silently truncated
Problem: An overlong highlight group name is silently truncated.
Solution: Give an error if the name is too long. (closes #9289)
Yegappan Lakshmanan [Tue, 7 Dec 2021 12:23:57 +0000 (12:23 +0000)]
patch 8.2.3756: might crash when callback is not valid
Problem: might crash when callback is not valid.
Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
Bram Moolenaar [Tue, 7 Dec 2021 11:03:39 +0000 (11:03 +0000)]
patch 8.2.3755: Coverity warns for using a buffer in another scope
Problem: Coverity warns for using a buffer in another scope.
Solution: Declare the buffer in a common scope.
Bram Moolenaar [Mon, 6 Dec 2021 19:51:01 +0000 (19:51 +0000)]
patch 8.2.3754: undesired changing of the indent of the first formatted line
Problem: Undesired changing of the indent of the first formatted line.
Solution: Do not indent the first formatted line.
Bram Moolenaar [Mon, 6 Dec 2021 15:13:31 +0000 (15:13 +0000)]
Add Huntr badge.
Bram Moolenaar [Mon, 6 Dec 2021 15:06:54 +0000 (15:06 +0000)]
patch 8.2.3753: Vim9: function unreferenced while called is never deleted
Problem: Vim9: function unreferenced while called is never deleted.
Solution: Delete a function when no longer referenced.
h-east [Mon, 6 Dec 2021 11:24:09 +0000 (11:24 +0000)]
patch 8.2.3752: build error when using Photon GUI
Problem: Build error when using Photon GUI.
Solution: Adjust #ifdef. (closes #9288)
Yegappan Lakshmanan [Mon, 6 Dec 2021 11:03:55 +0000 (11:03 +0000)]
patch 8.2.3751: cannot assign a lambda to an option that takes a function
Problem: Cannot assign a lambda to an option that takes a function.
Solution: Automatically convert the lambda to a string. (Yegappan
Lakshmanan, closes #9286)
Bram Moolenaar [Sun, 5 Dec 2021 22:19:27 +0000 (22:19 +0000)]
patch 8.2.3750: error messages are everywhere
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
Bram Moolenaar [Sun, 5 Dec 2021 21:54:04 +0000 (21:54 +0000)]
Update runtime files
Bram Moolenaar [Sun, 5 Dec 2021 21:46:34 +0000 (21:46 +0000)]
patch 8.2.3749: error messages are everywhere
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
Bram Moolenaar [Sun, 5 Dec 2021 19:10:04 +0000 (19:10 +0000)]
patch 8.2.3748: giving an error for an empty sign argument breaks a plugin
Problem: Giving an error for an empty sign argument breaks a plugin.
Solution: Do not give an error.
Bram Moolenaar [Sun, 5 Dec 2021 17:45:49 +0000 (17:45 +0000)]
patch 8.2.3747: cannot remove highlight from an existing sign
Problem: Cannot remove highlight from an existing sign. (James McCoy)
Solution: Only reject empty argument for a new sign.
Bram Moolenaar [Sun, 5 Dec 2021 17:20:24 +0000 (17:20 +0000)]
patch 8.2.3746: cannot disassemble function starting with "debug" or "profile"
Problem: Cannot disassemble function starting with "debug" or "profile".
Solution: Check for white space following. (closes #9273)
Dominique Pelle [Sun, 5 Dec 2021 13:40:01 +0000 (13:40 +0000)]
patch 8.2.3745: autochdir test fails without the +channel feature
Problem: Autochdir test fails without the +channel feature.
Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
Dominique Pelle [Sun, 5 Dec 2021 13:21:18 +0000 (13:21 +0000)]
patch 8.2.3744: E854 is not tested; some spelling suggestions are not tested
Problem: E854 is not tested; some spelling suggestions are not tested.
Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
Bram Moolenaar [Sun, 5 Dec 2021 13:02:50 +0000 (13:02 +0000)]
patch 8.2.3743: ":sign" can add a highlight group without a name
Problem: ":sign" can add a highlight group without a name.
Solution: Give an error if the group name is missing. (closes #9280)
Dominique Pelle [Sun, 5 Dec 2021 12:39:21 +0000 (12:39 +0000)]
patch 8.2.3742: dec mouse test fails without gnome terminfo entry
Problem: Dec mouse test fails without gnome terminfo entry.
Solution: Check if there is a gnome entry. Also fix 'acd' test on
MS-Windows. (Dominique Pellé, closes #9282)
Bram Moolenaar [Sun, 5 Dec 2021 12:06:24 +0000 (12:06 +0000)]
patch 8.2.3741: using freed memory in open command
Problem: Using freed memory in open command.
Solution: Make a copy of the current line.
Bram Moolenaar [Sun, 5 Dec 2021 11:36:23 +0000 (11:36 +0000)]
patch 8.2.3740: memory left allocated on exit when using Tcl
Problem: Memory left allocated on exit when using Tcl.
Solution: Call Tcl_Finalize().
Bram Moolenaar [Sat, 4 Dec 2021 22:03:34 +0000 (22:03 +0000)]
patch 8.2.3739: in wrong directory when using win_execute() with 'acd' set
Problem: In wrong directory when using win_execute() with 'acd' set.
Solution: Restore the directory when returning to the window. (closes #9276)
Bram Moolenaar [Sat, 4 Dec 2021 17:20:27 +0000 (17:20 +0000)]
patch 8.2.3738: screen is cleared when a FocusLost autocommand triggers
Problem: Screen is cleared when a FocusLost autocommand triggers.
Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
Dominique Pelle [Sat, 4 Dec 2021 15:12:40 +0000 (15:12 +0000)]
patch 8.2.3737: test fails without the 'autochdir' option
Problem: Test fails without the 'autochdir' option.
Solution: Check that the option is available. (Dominique Pellé, closes #9272)
Bram Moolenaar [Sat, 4 Dec 2021 15:00:23 +0000 (15:00 +0000)]
patch 8.2.3736: test fails without the channel feature
Problem: Test fails without the channel feature. (Dominique Pellé)
Solution: Source the check.vim script. (closes #9277)
Yegappan Lakshmanan [Sat, 4 Dec 2021 14:02:30 +0000 (14:02 +0000)]
patch 8.2.3735: cannot use a lambda for 'imactivatefunc'
Problem: Cannot use a lambda for 'imactivatefunc'.
Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
(Yegappan Lakshmanan, closes #9275)
Bram Moolenaar [Sat, 4 Dec 2021 13:15:10 +0000 (13:15 +0000)]
patch 8.2.3734: Vim9: crash when no pattern match found
Problem: Vim9: crash when no pattern match found.
Solution: Check for error.
Bram Moolenaar [Sat, 4 Dec 2021 11:57:00 +0000 (11:57 +0000)]
patch 8.2.3733: Vim9: using "legacy" before range does not work
Problem: Vim9: using "legacy" before range does not work.
Solution: Skip over range before parsing command. (closes #9270)
Bram Moolenaar [Fri, 3 Dec 2021 21:18:14 +0000 (21:18 +0000)]
patch 8.2.3732: "set! termcap" test fails
Problem: "set! termcap" test fails.
Solution: Account for keys without a t_xx entry.
Bram Moolenaar [Fri, 3 Dec 2021 20:43:24 +0000 (20:43 +0000)]
patch 8.2.3731: "set! termcap" shows codes in one column, but not keys
Problem: "set! termcap" shows codes in one column, but not keys.
Solution: Also use one column for keys. (closes #9258)
Bram Moolenaar [Fri, 3 Dec 2021 19:24:41 +0000 (19:24 +0000)]
patch 8.2.3730: "/etc/Muttrc.d/README" gets filetype muttrc
Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
Matt Dunford [Fri, 3 Dec 2021 17:44:26 +0000 (17:44 +0000)]
patch 8.2.3729: no support for squirrels
Problem: No support for squirrels. (closes #9259)
Solution: Recognize nuts.
kuuote [Fri, 3 Dec 2021 13:57:00 +0000 (13:57 +0000)]
patch 8.2.3728: internal error when passing range() to list2blob()
Problem: Internal error when passing range() to list2blob().
Solution: Materialize the list first. (closes #9262)
Bram Moolenaar [Fri, 3 Dec 2021 13:20:29 +0000 (13:20 +0000)]
patch 8.2.3727: in a gnome terminal keys are recognized as mouse events
Problem: In a gnome terminal keys are recognized as mouse events.
Solution: Only recognize DEC mouse events when four numbers are following.
(closes #9256)
Bram Moolenaar [Fri, 3 Dec 2021 11:44:03 +0000 (11:44 +0000)]
patch 8.2.3726: README file in a config directory gets wrong filetype
Problem: README file in a config directory gets wrong filetype.
Solution: Match README before patterns that match everything in a directory.
Yegappan Lakshmanan [Fri, 3 Dec 2021 11:09:29 +0000 (11:09 +0000)]
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
Bram Moolenaar [Thu, 2 Dec 2021 20:44:42 +0000 (20:44 +0000)]
patch 8.2.3724: build error for missing error message in small build
Problem: Build error for missing error message in small build.
Solution: Correct #ifdef.
Bram Moolenaar [Thu, 2 Dec 2021 19:46:57 +0000 (19:46 +0000)]
patch 8.2.3723: when using 'linebreak' a text property starts too early
Problem: When using 'linebreak' a text property starts too early.
Solution: Decrement "bcol" when looking for property start. (closes #9242)
Bram Moolenaar [Thu, 2 Dec 2021 18:55:16 +0000 (18:55 +0000)]
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text
Problem: Amiga: superfluous messages for freeing lots of yanked text.
Solution: Assume that the machine isn't that slow these days.
Bram Moolenaar [Thu, 2 Dec 2021 18:42:33 +0000 (18:42 +0000)]
patch 8.2.3721: using memory freed by losing the clipboard selection
Problem: Using memory freed by losing the clipboard selection. (Dominique
Pellé)
Solution: Check y_array is still valid after calling changed_lines().
(closes #9253)
Bram Moolenaar [Thu, 2 Dec 2021 16:38:52 +0000 (16:38 +0000)]
patch 8.2.3720: Vim9: Internal error when invoking closure in legacy context
Problem: Vim9: Internal error when invoking closure in legacy context.
Solution: Give a more appropriate error message. (closes #9251)
Bram Moolenaar [Thu, 2 Dec 2021 12:30:22 +0000 (12:30 +0000)]
patch 8.2.3719: MS-Windows: test sometimes runs into existing swap file
Problem: MS-Windows: test sometimes runs into existing swap file.
Solution: Use a different file name.
Bram Moolenaar [Thu, 2 Dec 2021 11:34:21 +0000 (11:34 +0000)]
patch 8.2.3718: compiler warns for unused variable without +textprop
Problem: Compiler warns for unused variable without the +textprop feature.
(John Marriott)
Solution: Adjust #ifdefs.
Bram Moolenaar [Wed, 1 Dec 2021 17:38:01 +0000 (17:38 +0000)]
patch 8.2.3717: Vim9: error for constant list size is only given at runtime
Problem: Vim9: error for constant list size is only given at runtime.
Solution: Give the error at compile time if possible.
Bram Moolenaar [Wed, 1 Dec 2021 15:22:56 +0000 (15:22 +0000)]
patch 8.2.3716: Vim9: range without a command is not compiled
Problem: Vim9: range without a command is not compiled.
Solution: Add the ISN_EXECRANGE byte code.
Bram Moolenaar [Wed, 1 Dec 2021 12:41:31 +0000 (12:41 +0000)]
patch 8.2.3715: Vim9: valgrind reports spurious problems for a test
Problem: Vim9: valgrind reports spurious problems for a test.
Solution: Move the test to the set that is known to fail.
DungSaga [Wed, 1 Dec 2021 11:24:52 +0000 (11:24 +0000)]
patch 8.2.3714: some unused assignments and ugly code in xxd
Problem: Some unused assignments and ugly code in xxd.
Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
Christian Brabandt [Wed, 1 Dec 2021 10:54:24 +0000 (10:54 +0000)]
patch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching
Problem: MS-Windows: No error message if vimgrep pattern is not matching.
Solution: Give an error message. (Christian Brabandt, closes #9245,
closes #8762)
Yegappan Lakshmanan [Wed, 1 Dec 2021 10:30:07 +0000 (10:30 +0000)]
patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'
Problem: Cannot use Vim9 lambda for 'tagfunc'.
Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
Bram Moolenaar [Wed, 1 Dec 2021 10:10:22 +0000 (10:10 +0000)]
patch 8.2.3711: Vim9: memory leak when compiling :elseif fails
Problem: Vim9: memory leak when compiling :elseif fails.
Solution: Cleanup ppconst.
Bram Moolenaar [Wed, 1 Dec 2021 09:27:20 +0000 (09:27 +0000)]
patch 8.2.3710: Vim9: backtick expression expanded for :global
Problem: Vim9: backtick expression expanded for :global.
Solution: Check the following command.
Bram Moolenaar [Tue, 30 Nov 2021 21:58:19 +0000 (21:58 +0000)]
patch 8.2.3709: Vim9: backtick expression expanded when not desired
Problem: Vim9: backtick expression expanded when not desired.
Solution: Only expand a backtick expression for commands that expand their
argument. Remove a few outdated TODO comments.
Bram Moolenaar [Tue, 30 Nov 2021 21:39:39 +0000 (21:39 +0000)]
patch 8.2.3708: Vim9: test fails with different error
Problem: Vim9: test fails with different error.
Solution: Correct the error number.
Bram Moolenaar [Tue, 30 Nov 2021 20:57:38 +0000 (20:57 +0000)]
patch 8.2.3707: Vim9: constant expression of elseif not recognized
Problem: Vim9: constant expression of elseif not recognized.
Solution: Set instruction count before generating the expression.
Bram Moolenaar [Tue, 30 Nov 2021 20:22:49 +0000 (20:22 +0000)]
patch 8.2.3706: text property highlighting is used on Tab
Problem: Text property highlighting is used on Tab.
Solution: Only set in_linebreak when not on a Tab. (closes #9242)
Bram Moolenaar [Tue, 30 Nov 2021 18:25:08 +0000 (18:25 +0000)]
patch 8.2.3705: cannot pass a lambda name to function() or funcref()
Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
Lakshmanan)
Solution: Handle a lambda name differently.
Bram Moolenaar [Tue, 30 Nov 2021 16:14:49 +0000 (16:14 +0000)]
patch 8.2.3704: Vim9: cannot use a list declaration in a :def function
Problem: Vim9: cannot use a list declaration in a :def function.
Solution: Make it work.
Bram Moolenaar [Tue, 30 Nov 2021 13:02:58 +0000 (13:02 +0000)]
patch 8.2.3703: most people call F# "fsharp" and not "fs"
Problem: Most people call F# "fsharp" and not "fs".
Solution: Rename filetype "fs" to "fsharp".
Bram Moolenaar [Tue, 30 Nov 2021 11:56:22 +0000 (11:56 +0000)]
patch 8.2.3702: first key in dict is seen as curly expression and fails
Problem: First key in dict is seen as curly expression and fails.
Solution: Ignore failure of curly expression. (closes #9247)
Bram Moolenaar [Mon, 29 Nov 2021 22:02:12 +0000 (22:02 +0000)]
patch 8.2.3701: Vim9: invalid LHS is not possible
Problem: Vim9: invalid LHS is not possible.
Solution: Remove unreachable error message.
Bram Moolenaar [Mon, 29 Nov 2021 21:12:35 +0000 (21:12 +0000)]
patch 8.2.3700: text property highlighting continues over breakindent
Problem: Text property highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242)
Bram Moolenaar [Mon, 29 Nov 2021 20:39:38 +0000 (20:39 +0000)]
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
Bram Moolenaar [Mon, 29 Nov 2021 19:18:57 +0000 (19:18 +0000)]
patch 8.2.3698: match highlighting continues over breakindent
Problem: Match highlighting continues over breakindent.
Solution: Stop before the end column. (closes #9242)
Bram Moolenaar [Mon, 29 Nov 2021 17:38:02 +0000 (17:38 +0000)]
patch 8.2.3697: cannot drag a popup without a border
Problem: Cannot drag a popup without a border.
Solution: Add the "dragall" option. (closes #9218)
Bram Moolenaar [Mon, 29 Nov 2021 16:01:49 +0000 (16:01 +0000)]
patch 8.2.3696: Vim9: error for invalid assignment when skipping
Problem: Vim9: error for invalid assignment when skipping.
Solution: Do not check white space when skipping. (closes #9243)
Bram Moolenaar [Mon, 29 Nov 2021 13:44:55 +0000 (13:44 +0000)]
patch 8.2.3695: confusing error for missing key
Problem: Confusing error for missing key.
Solution: Use the actualy key for the error. (closes #9241)
Bram Moolenaar [Mon, 29 Nov 2021 12:12:43 +0000 (12:12 +0000)]
patch 8.2.3694: cannot use quotes in the count of an Ex command
Problem: Cannot use quotes in the count of an Ex command.
Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
a range. (closes #9240)
Bram Moolenaar [Mon, 29 Nov 2021 10:36:19 +0000 (10:36 +0000)]
patch 8.2.3693: Coverity warns for possibly using a NULL pointer
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Check for NULL and give an error.
Bram Moolenaar [Sun, 28 Nov 2021 22:00:12 +0000 (22:00 +0000)]
patch 8.2.3692: Vim9: cannot use :func inside a :def function
Problem: Vim9: cannot use :func inside a :def function.
Solution: Make it work.
Bram Moolenaar [Sun, 28 Nov 2021 21:33:36 +0000 (21:33 +0000)]
patch 8.2.3691: build failure with small features
Problem: Build failure with small features.
Solution: Add #ifdef. (Dominique Pellé)
Bram Moolenaar [Sun, 28 Nov 2021 20:24:17 +0000 (20:24 +0000)]
patch 8.2.3690: Vim9: "filter #pat# cmd" does not work
Problem: Vim9: "filter #pat# cmd" does not work.
Solution: Do not see #pat# as a comment.
Bram Moolenaar [Sun, 28 Nov 2021 19:53:42 +0000 (19:53 +0000)]
patch 8.2.3689: ex_let_one() is too long
Problem: ex_let_one() is too long.
Solution: Split into multiple functions.
Christian Brabandt [Sun, 28 Nov 2021 18:41:05 +0000 (18:41 +0000)]
patch 8.2.3688: the window title is not updated when dragging the scrollbar
Problem: The window title is not updated when dragging the scrollbar.
Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
Bram Moolenaar [Sat, 27 Nov 2021 22:47:43 +0000 (22:47 +0000)]
patch 8.2.3687: blockwise insert does not handle autoindent properly
Problem: Blockwise insert does not handle autoindent properly when tab is
inserted.
Solution: Adjust text column for indent before computing column.
(closes #9229)
Bram Moolenaar [Sat, 27 Nov 2021 17:22:07 +0000 (17:22 +0000)]
patch 8.2.3686: filetype detection often mixes up Forth and F#
Problem: Filetype detection often mixes up Forth and F#.
Solution: Add a function to inspect the file contents. (Doug Kearns)
Bram Moolenaar [Sat, 27 Nov 2021 14:31:47 +0000 (14:31 +0000)]
patch 8.2.3685: Visual studio project files are not recognized
Problem: Visual studio project files are not recognized.
Solution: Use the xml file type. (Doug Kearns)
Bram Moolenaar [Sat, 27 Nov 2021 13:28:24 +0000 (13:28 +0000)]
patch 8.2.3684: blockwise insert does not handle autoindent properly
Problem: Blockwise insert does not handle autoindent properly.
Solution: Adjust text column for indent. (closes #9229)
Bram Moolenaar [Sat, 27 Nov 2021 11:42:50 +0000 (11:42 +0000)]
patch 8.2.3683: Vim9: cannot use in :...do commands
Problem: Vim9: cannot use in :...do commands.
Solution: Add EX_EXPAND to the commands. (closes #9232)
Bram Moolenaar [Sat, 27 Nov 2021 10:57:26 +0000 (10:57 +0000)]
Update runtime files.
Bram Moolenaar [Fri, 26 Nov 2021 17:36:51 +0000 (17:36 +0000)]
patch 8.2.3682: Vim9: assigning to a script variable drops the type
Problem: Vim9: assigning to a script variable drops the required type.
Solution: Lookup the type of the variable and use it. (closes #9219)
Bram Moolenaar [Fri, 26 Nov 2021 15:57:40 +0000 (15:57 +0000)]
patch 8.2.3681: cannot drag popup window after click on a status line
Problem: Cannot drag popup window after click on a status line. (Sergey
Vlasov)
Solution: Reset on_status_line. (closes #9221)
DungSaga [Fri, 26 Nov 2021 13:59:27 +0000 (13:59 +0000)]
patch 8.2.3680: repeated code in xxd
Problem: Repeated code in xxd.
Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
Doug Kearns [Fri, 26 Nov 2021 13:01:41 +0000 (13:01 +0000)]
patch 8.2.3679: objc file detected as Octave
Problem: objc file detected as Octave. (Antony Lee)
Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
closes #9220)
Bram Moolenaar [Thu, 25 Nov 2021 20:40:11 +0000 (20:40 +0000)]
patch 8.2.3678: illegal memory access
Problem: Illegal memory access.
Solution: Ignore changed indent when computing byte offset.
Bram Moolenaar [Thu, 25 Nov 2021 19:31:15 +0000 (19:31 +0000)]
patch 8.2.3677: after a put the '] mark is on the last byte
Problem: After a put the '] mark is on the last byte of a multi-byte
character.
Solution: Move it to the first byte. (closes #9047)
Bram Moolenaar [Thu, 25 Nov 2021 15:11:03 +0000 (15:11 +0000)]
patch 8.2.3676: unused runtime file
Problem: Unused runtime file.
Solution: Remove rgb.txt.
Bram Moolenaar [Thu, 25 Nov 2021 14:43:18 +0000 (14:43 +0000)]
patch 8.2.3675: using freed memory when vim_strsave() fails
Problem: Using freed memory when vim_strsave() fails.
Solution: Clear "last_sourcing_name". Check for msg_source() called
recursively. (closes #8217)