Bram Moolenaar
a416861c64
patch 8.2.3781: the option window script is outdated
...
Problem: The option window script is outdated.
Solution: Add several changes.
v8.2.3781
2021-12-11 12:33:52 +00:00
Bakudankun
29f3a45915
patch 8.2.3780: ":cd" works differently on MS-Windows
...
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes #9324 )
v8.2.3780
2021-12-11 12:28:08 +00:00
Bram Moolenaar
205f29c3e9
patch 8.2.3779: using freed memory when defining a user command recursively
...
Problem: Using freed memory when defining a user command from a user
command.
Solution: Do not use the command pointer after executing the command.
(closes #9318 )
v8.2.3779
2021-12-10 21:46:09 +00:00
Bram Moolenaar
9537e37b11
patch 8.2.3778: lambda debug test fails in some configurations
...
Problem: Lambda debug test fails in some configurations.
Solution: Check feature in a legacy function.
v8.2.3778
2021-12-10 21:05:53 +00:00
=?UTF-8?q?Bj=C3=B6rn=20Linse?=
1daedc8381
patch 8.2.3777: spell file write error not checked
...
Problem: Spell file write error not checked.
Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323 )
v8.2.3777
2021-12-10 20:39:17 +00:00
Bram Moolenaar
f8e9eb8e17
patch 8.2.3776: when a tags file line is long a tag may not be found
...
Problem: When a tags file line is long a tag may not be found.
Solution: When increasing the buffer size read the same line again.
v8.2.3776
2021-12-10 20:15:15 +00:00
Bram Moolenaar
9fffef9f35
patch 8.2.3775: Vim9: lambda compiled without outer context when debugging
...
Problem: Vim9: lambda compiled without outer context when debugging.
Solution: When compiling a lambda for debugging also compile it without.
(closes #9302 )
v8.2.3775
2021-12-10 16:55:58 +00:00
Bram Moolenaar
b711814cb6
patch 8.2.3774: test for command line height fails
...
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
v8.2.3774
2021-12-10 13:40:08 +00:00
Bram Moolenaar
8a7374f8c4
patch 8.2.3773: wrong window size when a modeline changes 'columns'
...
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes #9315 )
v8.2.3773
2021-12-10 12:11:09 +00:00
Bram Moolenaar
ff39a650b2
patch 8.2.3772: timer info test fails on slow machine
...
Problem: Timer info test fails on slow machine.
Solution: Use WaitForAssert().
v8.2.3772
2021-12-10 10:57:08 +00:00
Bram Moolenaar
dd297bc11d
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.
v8.2.3771
2021-12-10 10:37:38 +00:00
ichizok
dee78e1ce8
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 )
v8.2.3770
2021-12-09 21:08:01 +00:00
Gregory Anders
4c8c634365
patch 8.2.3769: zig files are not recognized
...
Problem: Zig files are not recognized.
Solution: Add *.zig. (Gregory Anders, closes #9313 )
v8.2.3769
2021-12-09 20:54:21 +00:00
Bram Moolenaar
95b2dd0c00
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 )
v8.2.3768
2021-12-09 18:42:57 +00:00
Bram Moolenaar
e8a92b6166
patch 8.2.3767: crash when using NULL partial
...
Problem: Crash when using NULL partial.
Solution: Check for NULL.
v8.2.3767
2021-12-09 17:44:01 +00:00
Bram Moolenaar
c4ec338fb8
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.
v8.2.3766
2021-12-09 16:40:18 +00:00
Bram Moolenaar
dcb53be441
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.
v8.2.3765
2021-12-09 14:23:43 +00:00
Bram Moolenaar
d0fb907253
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 )
v8.2.3764
2021-12-09 11:57:22 +00:00
Bram Moolenaar
e50507126f
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 )
v8.2.3763
2021-12-09 10:51:05 +00:00
Yegappan Lakshmanan
56150da687
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 )
v8.2.3762
2021-12-09 09:27:06 +00:00
Bram Moolenaar
a48d4e44a2
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.
v8.2.3761
2021-12-08 22:13:38 +00:00
Bram Moolenaar
48873aebc0
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 )
v8.2.3760
2021-12-08 21:00:24 +00:00
Yegappan Lakshmanan
78a61068cf
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 )
v8.2.3759
2021-12-08 20:03:31 +00:00
Yegappan Lakshmanan
2172bff364
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 )
v8.2.3758
2021-12-08 10:46:21 +00:00
erw7
f7f7aaf8aa
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 )
v8.2.3757
2021-12-07 21:29:20 +00:00
Yegappan Lakshmanan
4dc24eb5ad
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 )
v8.2.3756
2021-12-07 12:23:57 +00:00
Bram Moolenaar
92c33eb273
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.
v8.2.3755
2021-12-07 11:03:39 +00:00
Bram Moolenaar
ecabb51107
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.
v8.2.3754
2021-12-06 19:51:01 +00:00
Bram Moolenaar
3e55a973b5
Add Huntr badge.
2021-12-06 15:13:31 +00:00
Bram Moolenaar
2336c376d5
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.
v8.2.3753
2021-12-06 15:06:54 +00:00
h-east
8603be338a
patch 8.2.3752: build error when using Photon GUI
...
Problem: Build error when using Photon GUI.
Solution: Adjust #ifdef. (closes #9288 )
v8.2.3752
2021-12-06 11:24:09 +00:00
Yegappan Lakshmanan
6409553b6e
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 )
v8.2.3751
2021-12-06 11:03:55 +00:00
Bram Moolenaar
40bcec1bac
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.
v8.2.3750
2021-12-05 22:19:27 +00:00
Bram Moolenaar
4700398e38
Update runtime files
2021-12-05 21:54:04 +00:00
Bram Moolenaar
12f3c1b77f
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.
v8.2.3749
2021-12-05 21:46:34 +00:00
Bram Moolenaar
e5710a02cb
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.
v8.2.3748
2021-12-05 19:10:04 +00:00
Bram Moolenaar
0bac5fc5e1
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.
v8.2.3747
2021-12-05 17:45:49 +00:00
Bram Moolenaar
c7d5fc8622
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 )
v8.2.3746
2021-12-05 17:20:24 +00:00
Dominique Pelle
f661cee847
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 )
v8.2.3745
2021-12-05 13:40:01 +00:00
Dominique Pelle
f645ee47c8
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 )
v8.2.3744
2021-12-05 13:21:18 +00:00
Bram Moolenaar
5e18ccc60b
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 )
v8.2.3743
2021-12-05 13:02:50 +00:00
Dominique Pelle
f589fd3e10
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 )
v8.2.3742
2021-12-05 12:39:21 +00:00
Bram Moolenaar
e031fe90cf
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.
v8.2.3741
2021-12-05 12:06:24 +00:00
Bram Moolenaar
c7269f8627
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().
v8.2.3740
2021-12-05 11:36:23 +00:00
Bram Moolenaar
dea4a61637
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 )
v8.2.3739
2021-12-04 22:03:34 +00:00
Bram Moolenaar
23bdef2571
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 )
v8.2.3738
2021-12-04 17:20:27 +00:00
Dominique Pelle
8dea145e39
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 )
v8.2.3737
2021-12-04 15:12:40 +00:00
Bram Moolenaar
853a7692d1
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 )
v8.2.3736
2021-12-04 15:00:23 +00:00
Yegappan Lakshmanan
7645da568c
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 )
v8.2.3735
2021-12-04 14:02:30 +00:00
Bram Moolenaar
01a4dcbcee
patch 8.2.3734: Vim9: crash when no pattern match found
...
Problem: Vim9: crash when no pattern match found.
Solution: Check for error.
v8.2.3734
2021-12-04 13:15:10 +00:00