]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0994: tests for empty prop type name fail v9.0.0994
Bram Moolenaar [Fri, 2 Dec 2022 21:37:45 +0000 (21:37 +0000)]
patch 9.0.0994: tests for empty prop type name fail

Problem:    Tests for empty prop type name fail.
Solution:   Correct the error number.

2 years agopatch 9.0.0993: display errors when adding or removing text property type v9.0.0993
Bram Moolenaar [Fri, 2 Dec 2022 20:46:26 +0000 (20:46 +0000)]
patch 9.0.0993: display errors when adding or removing text property type

Problem:    Display errors when adding or removing text property type.
Solution:   Perform a full redraw.  Only use text properties for which the
            type is defined. (closes #11655)

2 years agopatch 9.0.0992: Vim9 script: get E1096 when comment follows return v9.0.0992
mityu [Fri, 2 Dec 2022 18:12:05 +0000 (18:12 +0000)]
patch 9.0.0992: Vim9 script: get E1096 when comment follows return

Problem:    Vim9 script: get E1096 when comment follows return.
Solution:   Adjust condition for return without expression. (closes #11654)

2 years agopatch 9.0.0991: crash when reading help index with various options set v9.0.0991
Bram Moolenaar [Fri, 2 Dec 2022 16:39:44 +0000 (16:39 +0000)]
patch 9.0.0991: crash when reading help index with various options set

Problem:    Crash when reading help index with various options set. (Marius
            Gedminas)
Solution:   Do not set wlv.c_extra to NUL when wlv.p_extra is NULL.
            (closes #11651)

2 years agopatch 9.0.0990: callback name argument is changed by setqflist() v9.0.0990
Bram Moolenaar [Fri, 2 Dec 2022 15:58:38 +0000 (15:58 +0000)]
patch 9.0.0990: callback name argument is changed by setqflist()

Problem:    Callback name argument is changed by setqflist().
Solution:   Use the expanded function name for the callback, do not store it
            in the argument. (closes #11653)

2 years agopatch 9.0.0989: popupwin test is more flaky on MacOS v9.0.0989
Bram Moolenaar [Fri, 2 Dec 2022 15:06:07 +0000 (15:06 +0000)]
patch 9.0.0989: popupwin test is more flaky on MacOS

Problem:    Popupwin test is more flaky on MacOS.
Solution:   Use a longer wait time.

2 years agopatch 9.0.0988: using feedkeys() does not show up in a channel log v9.0.0988
Bram Moolenaar [Fri, 2 Dec 2022 13:37:36 +0000 (13:37 +0000)]
patch 9.0.0988: using feedkeys() does not show up in a channel log

Problem:    Using feedkeys() does not show up in a channel log.
Solution:   Add ch_log() calls and clean up the code.

2 years agopatch 9.0.0987: file missing from list of distributed files v9.0.0987
Bram Moolenaar [Fri, 2 Dec 2022 13:20:19 +0000 (13:20 +0000)]
patch 9.0.0987: file missing from list of distributed files

Problem:    File missing from list of distributed files.
Solution:   Add logfile.pro to list of distributed files.

2 years agopatch 9.0.0986: build failure with tiny version v9.0.0986
Bram Moolenaar [Fri, 2 Dec 2022 13:10:03 +0000 (13:10 +0000)]
patch 9.0.0986: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.

2 years agopatch 9.0.0985: when using kitty keyboard protocol function keys may not work v9.0.0985
Bram Moolenaar [Fri, 2 Dec 2022 12:28:47 +0000 (12:28 +0000)]
patch 9.0.0985: when using kitty keyboard protocol function keys may not work

Problem:    When using kitty keyboard protocol function keys may not work.
            (Kovid Goyal)
Solution:   Recognize CSI ending in [ABCDEFHPQRS] also when the termcap
            entries are not specified. (closes #11648)

2 years agopatch 9.0.0984: GUI: remote_foreground() does not always work v9.0.0984
Bram Moolenaar [Thu, 1 Dec 2022 19:40:55 +0000 (19:40 +0000)]
patch 9.0.0984: GUI: remote_foreground() does not always work

Problem:    GUI: remote_foreground() does not always work. (Ron Aaron)
Solution:   For GTK use gtk_window_set_keep_above(). (issue #11641)

2 years agopatch 9.0.0983: stray characters displayed when starting the GUI v9.0.0983
Bram Moolenaar [Thu, 1 Dec 2022 19:25:04 +0000 (19:25 +0000)]
patch 9.0.0983: stray characters displayed when starting the GUI

Problem:    Stray characters displayed when starting the GUI.
Solution:   Add t_RK to the list of terminal options.

2 years agopatch 9.0.0982: 'cursorline' not drawn before virtual text below v9.0.0982
Bram Moolenaar [Thu, 1 Dec 2022 18:38:02 +0000 (18:38 +0000)]
patch 9.0.0982: 'cursorline' not drawn before virtual text below

Problem:    'cursorline' not drawn before virtual text below.
Solution:   Add the 'cursorline' attribute to the empty space. (closes #11647)

2 years agopatch 9.0.0981: build error in tiny version v9.0.0981
Bram Moolenaar [Thu, 1 Dec 2022 12:29:43 +0000 (12:29 +0000)]
patch 9.0.0981: build error in tiny version

Problem:    Build error in tiny version.
Solution:   Add #ifdef.

2 years agopatch 9.0.0980: the keyboard state response may end up in a shell command v9.0.0980
Bram Moolenaar [Thu, 1 Dec 2022 12:03:47 +0000 (12:03 +0000)]
patch 9.0.0980: the keyboard state response may end up in a shell command

Problem:    The keyboard state response may end up in a shell command.
Solution:   Only request the keyboard protocol state when the typeahead is
            empty, no more commands are following and not exiting.  Add the
            t_RK termcap entry for this.

2 years agopatch 9.0.0979: ch_log() text can be hard to find in the log file v9.0.0979
Bram Moolenaar [Thu, 1 Dec 2022 11:02:23 +0000 (11:02 +0000)]
patch 9.0.0979: ch_log() text can be hard to find in the log file

Problem:    ch_log() text can be hard to find in the log file.
Solution:   Prepend "ch_log()" to the text.

2 years agopatch 9.0.0978: build errors without the +channel feature v9.0.0978
Bram Moolenaar [Wed, 30 Nov 2022 20:20:56 +0000 (20:20 +0000)]
patch 9.0.0978: build errors without the +channel feature

Problem:    Build errors without the +channel feature. (John Marriott)
Solution:   Adjust #ifdefs.

2 years agopatch 9.0.0977: it is not easy to see what client-server commands are doing v9.0.0977
Bram Moolenaar [Wed, 30 Nov 2022 18:12:19 +0000 (18:12 +0000)]
patch 9.0.0977: it is not easy to see what client-server commands are doing

Problem:    It is not easy to see what client-server commands are doing.
Solution:   Add channel log messages if ch_log() is available.  Move the
            channel logging and make it available with the +eval feature.

2 years agopatch 9.0.0976: enabling the kitty keyboard protocol uses push/pop v9.0.0976
Bram Moolenaar [Wed, 30 Nov 2022 10:23:17 +0000 (10:23 +0000)]
patch 9.0.0976: enabling the kitty keyboard protocol uses push/pop

Problem:    Enabling the kitty keyboard protocol uses push/pop.
Solution:   Use the start/stop codes to avoid unpredictable behavior.

2 years agopatch 9.0.0975: virtual text below empty line misplaced when 'number' set v9.0.0975
Bram Moolenaar [Tue, 29 Nov 2022 21:37:13 +0000 (21:37 +0000)]
patch 9.0.0975: virtual text below empty line misplaced when 'number' set

Problem:    Virtual text below an empty line is misplaced when 'number' is
            set.
Solution:   Adjust the computations. (closes #11629)

2 years agopatch 9.0.0974: even when Esc is encoded a timeout is used v9.0.0974
Bram Moolenaar [Tue, 29 Nov 2022 20:33:20 +0000 (20:33 +0000)]
patch 9.0.0974: even when Esc is encoded a timeout is used

Problem:    Even when Esc is encoded a timeout is used.
Solution:   Use K_ESC when an encoded Esc is found.

2 years agopatch 9.0.0973: Kitty keyboard protocol key with NumLock not decoded v9.0.0973
Bram Moolenaar [Tue, 29 Nov 2022 18:32:32 +0000 (18:32 +0000)]
patch 9.0.0973: Kitty keyboard protocol key with NumLock not decoded

Problem:    Kitty keyboard protocol key not decoded when it has an unsupported
            modifier, such as NumLock.
Solution:   Accept a key with any modifier. (closes #11638)

2 years agopatch 9.0.0972: build failure on some systems v9.0.0972
Bram Moolenaar [Tue, 29 Nov 2022 16:09:18 +0000 (16:09 +0000)]
patch 9.0.0972: build failure on some systems

Problem:    Build failure on some systems.
Solution:   Adjust #ifdefs related to the termresponse feature.

2 years agopatch 9.0.0971: escape sequences not recognized without termresponse feature v9.0.0971
Bram Moolenaar [Tue, 29 Nov 2022 13:59:13 +0000 (13:59 +0000)]
patch 9.0.0971: escape sequences not recognized without termresponse feature

Problem:    Escape sequences not recognized without the termresponse feature.
Solution:   Recognize escape sequences to avoid display mess up.

2 years agopatch 9.0.0970: Coverity warns for uninitialized variable v9.0.0970
Bram Moolenaar [Tue, 29 Nov 2022 13:46:48 +0000 (13:46 +0000)]
patch 9.0.0970: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Initialize "ren_ret".

2 years agopatch 9.0.0969: matchparen highlight is not updated when switching buffers v9.0.0969
Bram Moolenaar [Mon, 28 Nov 2022 22:21:12 +0000 (22:21 +0000)]
patch 9.0.0969: matchparen highlight is not updated when switching buffers

Problem:    Matchparen highlight is not updated when switching buffers.
Solution:   Listen to the BufLeave and the BufWinEnter autocmd events.
            (closes #11626)

2 years agopatch 9.0.0968: GUI mouse event test is a bit flaky v9.0.0968
Bram Moolenaar [Mon, 28 Nov 2022 21:20:48 +0000 (21:20 +0000)]
patch 9.0.0968: GUI mouse event test is a bit flaky

Problem:    GUI mouse event test is a bit flaky.
Solution:   Mark the test case as flaky.  Move test function failure checks to
            a separate test function.

2 years agopatch 9.0.0967: leaking memory from autocmd windows v9.0.0967
Bram Moolenaar [Mon, 28 Nov 2022 20:34:52 +0000 (20:34 +0000)]
patch 9.0.0967: leaking memory from autocmd windows

Problem:    Leaking memory from autocmd windows.
Solution:   Free window when auc_win is not NULL.

2 years agopatch 9.0.0966: some compilers don't allow a declaration after a label v9.0.0966
Bram Moolenaar [Mon, 28 Nov 2022 19:11:02 +0000 (19:11 +0000)]
patch 9.0.0966: some compilers don't allow a declaration after a label

Problem:    Some compilers don't allow a declaration after a label.
Solution:   Move the declaration to the start of the block. (John Marriott)

2 years agopatch 9.0.0965: using one window for executing autocommands is insufficient v9.0.0965
Bram Moolenaar [Mon, 28 Nov 2022 18:51:43 +0000 (18:51 +0000)]
patch 9.0.0965: using one window for executing autocommands is insufficient

Problem:    Using one window for executing autocommands is insufficient.
Solution:   Use up to five windows for executing autocommands.

2 years agopatch 9.0.0964: status line not redrawn when 'splitkeep' is "screen" v9.0.0964
Luuk van Baal [Mon, 28 Nov 2022 16:49:36 +0000 (16:49 +0000)]
patch 9.0.0964: status line not redrawn when 'splitkeep' is "screen"

Problem:    Status line of other window not redrawn when dragging it when
            'splitkeep' is set to "screen".
Solution:   Set w_redr_status earlier. (Luuk van Baal, closes #11635,
            closes #11632)

2 years agopatch 9.0.0963: function name does not match autocmd event name v9.0.0963
zeertzjq [Mon, 28 Nov 2022 11:36:50 +0000 (11:36 +0000)]
patch 9.0.0963: function name does not match autocmd event name

Problem:    Function name does not match autocmd event name.
Solution:   Rename "optionsset" to "optionset". (closes #11630)

2 years agopatch 9.0.0962: virtual text below cannot be placed below empty lines v9.0.0962
porygonisaduck [Sun, 27 Nov 2022 20:55:05 +0000 (20:55 +0000)]
patch 9.0.0962: virtual text below cannot be placed below empty lines

Problem:    Virtual text below cannot be placed below empty lines.
Solution:   Add one character. (James Alvarado, closes #11606, closes #11520)

2 years agopatch 9.0.0961: using deletebufline() may jump to another window v9.0.0961
Bram Moolenaar [Sun, 27 Nov 2022 19:45:49 +0000 (19:45 +0000)]
patch 9.0.0961: using deletebufline() may jump to another window

Problem:    Using deletebufline() may jump to another window.
Solution:   Do not use a window where the buffer was only in the past.
            (closes #11594)

2 years agopatch 9.0.0960: error when using the "Spelling / Find More Languages" menu v9.0.0960
Bram Moolenaar [Sun, 27 Nov 2022 16:18:33 +0000 (16:18 +0000)]
patch 9.0.0960: error when using the "Spelling / Find More Languages" menu

Problem:    Error when using the "Tools / Spelling / Find More Languages"
            menu.
Solution:   Remove "<SID>".  Reset "g:menutrans_set_lang_to" when 'encoding'
            changes. (closes #11625)

2 years agopatch 9.0.0959: error when using the "File Settings / Text Width" menu v9.0.0959
Bram Moolenaar [Sun, 27 Nov 2022 15:51:46 +0000 (15:51 +0000)]
patch 9.0.0959: error when using the "File Settings / Text Width" menu

Problem:    Error when using the "File Settings / Text Width" menu.
Solution:   Use str2nr(). (closes #11624)

2 years agopatch 9.0.0958: messages test is flaky v9.0.0958
Bram Moolenaar [Sun, 27 Nov 2022 14:39:31 +0000 (14:39 +0000)]
patch 9.0.0958: messages test is flaky

Problem:    Messages test is flaky.
Solution:   Add a short delay.

2 years agopatch 9.0.0957: tests fail without the terminal feature v9.0.0957
Bram Moolenaar [Sun, 27 Nov 2022 13:51:22 +0000 (13:51 +0000)]
patch 9.0.0957: tests fail without the terminal feature

Problem:    Tests fail without the terminal feature.
Solution:   Move functions to another utility script.

2 years agopatch 9.0.0956: terminal tests fail when using key with modifier v9.0.0956
Bram Moolenaar [Sun, 27 Nov 2022 12:45:41 +0000 (12:45 +0000)]
patch 9.0.0956: terminal tests fail when using key with modifier

Problem:    Terminal tests fail when using key with modifier.
Solution:   Use the modifyOtherKeys encoding when using RunVimInTerminal().

2 years agopatch 9.0.0955: libvterm does not support the XTQMODKEYS request v9.0.0955
Bram Moolenaar [Sun, 27 Nov 2022 11:31:23 +0000 (11:31 +0000)]
patch 9.0.0955: libvterm does not support the XTQMODKEYS request

Problem:    Libvterm does not support the XTQMODKEYS request.
Solution:   Implement the XTQMODKEYS request and response.  Update the keycode
            check results.

2 years agopatch 9.0.0954: cannot detect whether modifyOtherKeys is enabled v9.0.0954
Bram Moolenaar [Sat, 26 Nov 2022 19:16:48 +0000 (19:16 +0000)]
patch 9.0.0954: cannot detect whether modifyOtherKeys is enabled

Problem:    Cannot detect whether modifyOtherKeys is enabled.
Solution:   Use XTQMODKEYS introduced by xterm version 377 to request the
            modifyOtherKeys level.  Update the keycode check results.

2 years agopatch 9.0.0953: part of making search more efficient is missing v9.0.0953
Bram Moolenaar [Sat, 26 Nov 2022 18:59:19 +0000 (18:59 +0000)]
patch 9.0.0953: part of making search more efficient is missing

Problem:    Part of making search more efficient is missing.
Solution:   Add the change in searchit().

2 years agopatch 9.0.0952: Eclipse preference files are not recognized v9.0.0952
ObserverOfTime [Sat, 26 Nov 2022 13:03:20 +0000 (13:03 +0000)]
patch 9.0.0952: Eclipse preference files are not recognized

Problem:    Eclipse preference files are not recognized.
Solution:   Add a pattern to use "jproperties" for Eclipse preference files.
            (closes #11618)

2 years agopatch 9.0.0951: trying every character position for a match is inefficient v9.0.0951
Bram Moolenaar [Sat, 26 Nov 2022 11:47:10 +0000 (11:47 +0000)]
patch 9.0.0951: trying every character position for a match is inefficient

Problem:    Trying every character position for a match is inefficient.
Solution:   Use the start position of the match ignoring "\zs".

2 years agopatch 9.0.0950: the pattern "\_s\zs" matches at EOL v9.0.0950
Bram Moolenaar [Fri, 25 Nov 2022 21:13:47 +0000 (21:13 +0000)]
patch 9.0.0950: the pattern "\_s\zs" matches at EOL

Problem:    The pattern "\_s\zs" matches at EOL.
Solution:   Make the pattern "\_s\zs" match at the start of the next line.
            (closes #11617)

2 years agopatch 9.0.0949: crash when unletting a variable while listing variables v9.0.0949
Bram Moolenaar [Fri, 25 Nov 2022 16:31:51 +0000 (16:31 +0000)]
patch 9.0.0949: crash when unletting a variable while listing variables

Problem:    Crash when unletting a variable while listing variables.
Solution:   Disallow changing a hashtable while going over the entries.
            (closes #11435)

2 years agopatch 9.0.0948: 'ttyfast' is set for arbitrary terminals v9.0.0948
Bram Moolenaar [Fri, 25 Nov 2022 15:09:35 +0000 (15:09 +0000)]
patch 9.0.0948: 'ttyfast' is set for arbitrary terminals

Problem:    'ttyfast' is set for arbitrary terminals.
Solution:   Always set 'ttyfast'. (closes #11549)

2 years agopatch 9.0.0947: invalid memory access in substitute with function v9.0.0947
Bram Moolenaar [Fri, 25 Nov 2022 13:03:31 +0000 (13:03 +0000)]
patch 9.0.0947: invalid memory access in substitute with function

Problem:    Invalid memory access in substitute with function that goes to
            another file.
Solution:   Check for text locked in CTRL-W gf.

2 years agopatch 9.0.0946: CI: Error in Coverity flow is not reported v9.0.0946
K.Takata [Fri, 25 Nov 2022 00:57:05 +0000 (00:57 +0000)]
patch 9.0.0946: CI: Error in Coverity flow is not reported

Problem:    CI: Error in Coverity flow is not reported.
Solution:   Use another way to avoid errors in a forked repository. (Ken
            Takata, closes #11609)

2 years agopatch 9.0.0945: failures in the cursorline test v9.0.0945
Bram Moolenaar [Thu, 24 Nov 2022 23:04:02 +0000 (23:04 +0000)]
patch 9.0.0945: failures in the cursorline test

Problem:    Failures in the cursorline test.
Solution:   Reset extra_attr only after a text property.

2 years agopatch 9.0.0944: 'cursorline' causes virtual text highlight to continue v9.0.0944
Bram Moolenaar [Thu, 24 Nov 2022 22:42:29 +0000 (22:42 +0000)]
patch 9.0.0944: 'cursorline' causes virtual text highlight to continue

Problem:    'cursorline' causes virtual text highlight to continue.
Solution:   Save and restore line_attr. (closes #11588)

2 years agopatch 9.0.0943: pretending to go out of Insert mode when Esc is received v9.0.0943
Bram Moolenaar [Thu, 24 Nov 2022 20:23:24 +0000 (20:23 +0000)]
patch 9.0.0943: pretending to go out of Insert mode when Esc is received

Problem:    Pretending to go out of Insert mode when Esc is received has side
            effects.
Solution:   When the kitty keyboard protocol is enabled expect Esc to always
            be the start of an escape sequence.

2 years agopatch 9.0.0942: Workflow Description Language files are not recognized v9.0.0942
Matt Dunford [Thu, 24 Nov 2022 20:01:18 +0000 (20:01 +0000)]
patch 9.0.0942: Workflow Description Language files are not recognized

Problem:    Workflow Description Language files are not recognized.
Solution:   Add a pattern for the "wdl" filetype. (Matt Dunford,
            closes #11611)

2 years agopatch 9.0.0941: CI failures in sound dummy v9.0.0941
Philip H [Thu, 24 Nov 2022 15:15:08 +0000 (15:15 +0000)]
patch 9.0.0941: CI failures in sound dummy

Problem:    CI failures in sound dummy.
Solution:   Temporarily disable building sound dummy. (closes #11610)

2 years agopatch 9.0.0940: crash when typing a letter in a terminal window v9.0.0940
Bram Moolenaar [Thu, 24 Nov 2022 14:05:19 +0000 (14:05 +0000)]
patch 9.0.0940: crash when typing a letter in a terminal window

Problem:    Crash when typing a letter in a terminal window. (Shane-XB-Qian)
Solution:   Use the "vterm" variable instead of getting the terminal pointer
            from the current buffer.  (closes #11608)

2 years agopatch 9.0.0939: still using simplified mappings when using kitty protocol v9.0.0939
Bram Moolenaar [Thu, 24 Nov 2022 13:27:36 +0000 (13:27 +0000)]
patch 9.0.0939: still using simplified mappings when using kitty protocol

Problem:    Still using simplified mappings when using the kitty keyboard
            protocol.
Solution:   Use the kitty_protocol_state value to decide whether to use
            simplified mappings.  Improve how seenModifyOtherKeys is set and
            reset.

2 years agopatch 9.0.0938: MS-Windows: debug executable not found when running test v9.0.0938
Christopher Plewright [Thu, 24 Nov 2022 12:19:50 +0000 (12:19 +0000)]
patch 9.0.0938: MS-Windows: debug executable not found when running test

Problem:    MS-Windows: debug executable not found when running test.
Solution:   Look for vimd.exe. (Christopher Plewright, closes #11602)

2 years agopatch 9.0.0937: forked repositories send out useless email v9.0.0937
shane.xb.qian [Thu, 24 Nov 2022 12:01:45 +0000 (12:01 +0000)]
patch 9.0.0937: forked repositories send out useless email

Problem:    Forked repositories send out useless email.
Solution:   When Coverity fails to run just ignore it. (Shane-XB-Qian,
            closes #11604)

2 years agopatch 9.0.0936: wrong type for "isunnamed" returned by getreginfo() v9.0.0936
Bram Moolenaar [Thu, 24 Nov 2022 11:31:29 +0000 (11:31 +0000)]
patch 9.0.0936: wrong type for "isunnamed" returned by getreginfo()

Problem:    Wrong type for "isunnamed" returned by getreginfo().
Solution:   Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598)

2 years agopatch 9.0.0935: when using dash it may not be recognize as filetype "sh" v9.0.0935
Eisuke Kawashima [Thu, 24 Nov 2022 10:58:10 +0000 (10:58 +0000)]
patch 9.0.0935: when using dash it may not be recognize as filetype "sh"

Problem:    When using dash it may not be recognize as filetype "sh".
Solution:   Add checks for "dash". (Eisuke Kawashima,closes #11600)

2 years agopatch 9.0.0934: various code formatting issues v9.0.0934
Bram Moolenaar [Thu, 24 Nov 2022 00:09:02 +0000 (00:09 +0000)]
patch 9.0.0934: various code formatting issues

Problem:    Various code formatting issues.
Solution:   Improve code formatting.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 23 Nov 2022 23:46:31 +0000 (23:46 +0000)]
Update runtime files

2 years agopatch 9.0.0933: Kitty shows "already at oldest change" on startup v9.0.0933
Bram Moolenaar [Wed, 23 Nov 2022 23:30:58 +0000 (23:30 +0000)]
patch 9.0.0933: Kitty shows "already at oldest change" on startup

Problem:    Kitty shows "already at oldest change" on startup.
Solution:   When receiving the keyboard protocol state return the ignore key.
            (closes #11601)

2 years agopatch 9.0.0932: Oblivion files are not recognized v9.0.0932
Bram Moolenaar [Wed, 23 Nov 2022 22:34:23 +0000 (22:34 +0000)]
patch 9.0.0932: Oblivion files are not recognized

Problem:    Oblivion files are not recognized.
Solution:   Recognize Oblivion files and alike as "obse". (closes #11540)

2 years agopatch 9.0.0931: MS-Windows: mouse column limited to 223 v9.0.0931
Christopher Plewright [Wed, 23 Nov 2022 22:28:08 +0000 (22:28 +0000)]
patch 9.0.0931: MS-Windows: mouse column limited to 223

Problem:    MS-Windows: mouse column limited to 223.
Solution:   Use two bytes for each mouse coordinate.  Add the mouse position
            to scroll events. (Christopher Plewright, closes #11597)

2 years agopatch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug v9.0.0930
Bram Moolenaar [Wed, 23 Nov 2022 20:20:18 +0000 (20:20 +0000)]
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug

Problem:    Cannot debug the Kitty keyboard protocol with TermDebug.
Solution:   Add Kitty keyboard protocol support to the libvterm fork.
            Recognize the escape sequences that the protocol generates.  Add
            the 'keyprotocol' option to allow the user to specify for which
            terminal what protocol is to be used, instead of hard-coding this.
            Add recognizing the kitty keyboard protocol status.

2 years agopatch 9.0.0929: build failure with tiny version v9.0.0929
Bram Moolenaar [Wed, 23 Nov 2022 14:33:01 +0000 (14:33 +0000)]
patch 9.0.0929: build failure with tiny version

Problem:    Build failure with tiny version. (Tony Mechelynck)
Solution:   Add #ifdef.

2 years agopatch 9.0.0928: using Ruby LDFLAGS may cause build problems v9.0.0928
Zdenek Dohnal [Wed, 23 Nov 2022 12:06:08 +0000 (12:06 +0000)]
patch 9.0.0928: using Ruby LDFLAGS may cause build problems

Problem:    Using Ruby LDFLAGS may cause build problems.
Solution:   Do not add Ruby LDFLAGS to Vim's LDFLAGS. (Zdenek Dohnal,
            closes #11592)

2 years agopatch 9.0.0927: Coverity warns for using a NULL pointer v9.0.0927
Bram Moolenaar [Wed, 23 Nov 2022 11:36:22 +0000 (11:36 +0000)]
patch 9.0.0927: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Check for memory allocaion failure.

2 years agopatch 9.0.0926: Coverity warns for not using return value of dict_add() v9.0.0926
Bram Moolenaar [Wed, 23 Nov 2022 11:34:01 +0000 (11:34 +0000)]
patch 9.0.0926: Coverity warns for not using return value of dict_add()

Problem:    Coverity warns for not using return value of dict_add().
Solution:   When dict_add() fails then don't call hash_remove().

2 years agopatch 9.0.0925: two conditions are always false v9.0.0925
zeertzjq [Wed, 23 Nov 2022 11:23:17 +0000 (11:23 +0000)]
patch 9.0.0925: two conditions are always false

Problem:    Two conditions are always false.
Solution:   Remove the conditions.  Update return value types to make clear
            what could be returned. (closes #11593)

2 years agopatch 9.0.0924: the first termcap entry of a builtin termcap is not used v9.0.0924
Bram Moolenaar [Tue, 22 Nov 2022 22:03:39 +0000 (22:03 +0000)]
patch 9.0.0924: the first termcap entry of a builtin termcap is not used

Problem:    The first termcap entry of a builtin termcap is not used.
Solution:   Remove increment that was previously skipping the KS_NAME entry.

2 years agopatch 9.0.0923: second SIGWINCH signal may be ignored v9.0.0923
Bram Moolenaar [Tue, 22 Nov 2022 20:41:05 +0000 (20:41 +0000)]
patch 9.0.0923: second SIGWINCH signal may be ignored

Problem:    Second SIGWINCH signal may be ignored.
Solution:   When set_shellsize() is busy when called then run the inner code
            again when it's done.  (issue #424)

2 years agopatch 9.0.0922: Mermaid files are not recognized v9.0.0922
Bram Moolenaar [Tue, 22 Nov 2022 19:16:29 +0000 (19:16 +0000)]
patch 9.0.0922: Mermaid files are not recognized

Problem:    Mermaid files are not recognized.
Solution:   Add patterns for Mermaid. (Crag MacEachern)

2 years agopatch 9.0.0921: missing defined(PROTO) in #ifdef v9.0.0921
Bram Moolenaar [Tue, 22 Nov 2022 18:18:38 +0000 (18:18 +0000)]
patch 9.0.0921: missing defined(PROTO) in #ifdef

Problem:    Missing defined(PROTO) in #ifdef.
Solution:   Adjust #ifdef so that proto works with different features.
            Clean up some preprocessor indenting.

2 years agopatch 9.0.0920: cannot find an import prefixed with "s:" v9.0.0920
Bram Moolenaar [Tue, 22 Nov 2022 18:12:44 +0000 (18:12 +0000)]
patch 9.0.0920: cannot find an import prefixed with "s:"

Problem:    Cannot find an import prefixed with "s:". (Doug Kearns)
Solution:   Skip over the "s:". (closes #11585)

2 years agopatch 9.0.0919: build failure with tiny features v9.0.0919
Bram Moolenaar [Tue, 22 Nov 2022 13:29:20 +0000 (13:29 +0000)]
patch 9.0.0919: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Adjust #ifdef's.

2 years agopatch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event v9.0.0918
Christopher Plewright [Tue, 22 Nov 2022 12:58:27 +0000 (12:58 +0000)]
patch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event

Problem:    MS-Windows: modifier keys do not work with mouse scroll events.
Solution:   Use K_SPECIAL instead of CSI for the modifier keys. (Christopher
            Plewright, closes #11587)

2 years agopatch 9.0.0917: the WinScrolled autocommand event is not enough v9.0.0917
Bram Moolenaar [Tue, 22 Nov 2022 12:40:50 +0000 (12:40 +0000)]
patch 9.0.0917: the WinScrolled autocommand event is not enough

Problem:    The WinScrolled autocommand event is not enough.
Solution:   Add WinResized and provide information about what changed.
            (closes #11576)

2 years agopatch 9.0.0916: getbufline() is inefficient for getting a single line v9.0.0916
Bram Moolenaar [Mon, 21 Nov 2022 19:57:04 +0000 (19:57 +0000)]
patch 9.0.0916: getbufline() is inefficient for getting a single line

Problem:    getbufline() is inefficient for getting a single line.
Solution:   Add getbufoneline().

2 years agopatch 9.0.0915: WinScrolled may trigger immediately when defined v9.0.0915
Bram Moolenaar [Sun, 20 Nov 2022 12:11:45 +0000 (12:11 +0000)]
patch 9.0.0915: WinScrolled may trigger immediately when defined

Problem:    WinScrolled may trigger immediately when defined.
Solution:   Initialize the fields in all windows. (closes #11582)

2 years agopatch 9.0.0914: deletebufline() may move marks in the wrong window v9.0.0914
zeertzjq [Sun, 20 Nov 2022 11:13:17 +0000 (11:13 +0000)]
patch 9.0.0914: deletebufline() may move marks in the wrong window

Problem:    deletebufline() may move marks in the wrong window.
Solution:   Find a window for the buffer being changed. (closes #11583)

2 years agopatch 9.0.0913: only change in current window triggers the WinScrolled event v9.0.0913
Bram Moolenaar [Sat, 19 Nov 2022 21:18:11 +0000 (21:18 +0000)]
patch 9.0.0913: only change in current window triggers the WinScrolled event

Problem:    Only a change in the current window triggers the WinScrolled
            event.
Solution:   Trigger WinScrolled if any window scrolled or changed size.
            (issue #11576)

2 years agopatch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm v9.0.0912
Bram Moolenaar [Sat, 19 Nov 2022 19:02:40 +0000 (19:02 +0000)]
patch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm

Problem:    libvterm with modifyOtherKeys level 2 does not match xterm.
Solution:   Adjust key code escape sequences to be the same as what xterm
            sends in modifyOtherKeys level 2 mode.  Check the value of
            no_reduce_keys before using it.

2 years agopatch 9.0.0911: with 'smoothscroll' set mouse click position may be wrong v9.0.0911
Yee Cheng Chin [Sat, 19 Nov 2022 14:31:08 +0000 (14:31 +0000)]
patch 9.0.0911: with 'smoothscroll' set mouse click position may be wrong

Problem:    With 'smoothscroll' set mouse click position may be wrong.
Solution:   Adjust computations for w_skipcol. (Yee Cheng Chin, closes #11514)

2 years agopatch 9.0.0910: setting lines in another buffer may not work well v9.0.0910
Bram Moolenaar [Sat, 19 Nov 2022 13:59:43 +0000 (13:59 +0000)]
patch 9.0.0910: setting lines in another buffer may not work well

Problem:    Setting lines in another buffer may not work well.
Solution:   Make sure the buffer being changed has a window. (issue #11558)

2 years agopatch 9.0.0909: error message for layout change does not match action v9.0.0909
Bram Moolenaar [Sat, 19 Nov 2022 13:14:10 +0000 (13:14 +0000)]
patch 9.0.0909: error message for layout change does not match action

Problem:    Error message for layout change does not match action.
Solution:   Pass the command to where the error is given. (closes #11573)

2 years agopatch 9.0.0908: with 'smoothscroll' cursor may end up in wrong position v9.0.0908
Yee Cheng Chin [Sat, 19 Nov 2022 12:25:16 +0000 (12:25 +0000)]
patch 9.0.0908: with 'smoothscroll' cursor may end up in wrong position

Problem:    With 'smoothscroll' cursor may end up in wrong position.
Solution:   Correct the computation of screen lines. (Yee Cheng Chin,
            closes #11502)

2 years agopatch 9.0.0907: restoring window after WinScrolled may fail v9.0.0907
Bram Moolenaar [Sat, 19 Nov 2022 11:41:30 +0000 (11:41 +0000)]
patch 9.0.0907: restoring window after WinScrolled may fail

Problem:    Restoring window after WinScrolled may fail.
Solution:   Lock the window layout when triggering WinScrolled.

2 years agopatch 9.0.0906: mouse scroll code is not optimal v9.0.0906
Christopher Plewright [Sat, 19 Nov 2022 10:47:49 +0000 (10:47 +0000)]
patch 9.0.0906: mouse scroll code is not optimal

Problem:    Mouse scroll code is not optimal.
Solution:   Properly organise Normal mode, Insert mode and common code.
            (Christopher Plewright, closes #11572)

2 years agopatch 9.0.0905: virtual text after the line wraps when 'wrap' is off v9.0.0905
Bram Moolenaar [Fri, 18 Nov 2022 23:13:47 +0000 (23:13 +0000)]
patch 9.0.0905: virtual text after the line wraps when 'wrap' is off

Problem:    Virtual text after the line wraps when 'wrap' is off.
Solution:   Only set text_prop_follows when wrapping. (closes #11463)

2 years agopatch 9.0.0904: various comment and indent flaws v9.0.0904
Bram Moolenaar [Fri, 18 Nov 2022 22:14:09 +0000 (22:14 +0000)]
patch 9.0.0904: various comment and indent flaws

Problem:    Various comment and indent flaws.
Solution:   Improve comments and indenting.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 18 Nov 2022 21:49:57 +0000 (21:49 +0000)]
Update runtime files

2 years agopatch 9.0.0903: key code checker doesn't check modifyOtherKeys resource v9.0.0903
Bram Moolenaar [Fri, 18 Nov 2022 21:20:25 +0000 (21:20 +0000)]
patch 9.0.0903: key code checker doesn't check modifyOtherKeys resource

Problem:    Key code checker doesn't check modifyOtherKeys resource.
Solution:   Request the modifyOtherKeys resource value.  Drop resource DCS
            responses.

2 years agopatch 9.0.0902: some mouse scroll code is not in a good place v9.0.0902
Christopher Plewright [Fri, 18 Nov 2022 17:53:34 +0000 (17:53 +0000)]
patch 9.0.0902: some mouse scroll code is not in a good place

Problem:    Some mouse scroll code is not in a good place.
Solution:   Refactor the code. (Christopher Plewright, closes #11561)

2 years agopatch 9.0.0901: setting w_leftcol and handling side effects is confusing v9.0.0901
Bram Moolenaar [Fri, 18 Nov 2022 14:07:20 +0000 (14:07 +0000)]
patch 9.0.0901: setting w_leftcol and handling side effects is confusing

Problem:    Setting w_leftcol and handling side effects is confusing.
Solution:   Use a function to set w_leftcol() and handle side effects.

2 years agopatch 9.0.0900: cursor moves too far with 'smoothscroll' v9.0.0900
Yee Cheng Chin [Fri, 18 Nov 2022 12:52:50 +0000 (12:52 +0000)]
patch 9.0.0900: cursor moves too far with 'smoothscroll'

Problem:    Cursor moves too far with 'smoothscroll'.
Solution:   Only move as far as really needed. (Yee Cheng Chin, closes #11504)

2 years agopatch 9.0.0899: the builtin terminals are in one long list v9.0.0899
Bram Moolenaar [Thu, 17 Nov 2022 22:05:12 +0000 (22:05 +0000)]
patch 9.0.0899: the builtin terminals are in one long list

Problem:    The builtin terminals are in one long list.
Solution:   Refactor into multiple lists and an index of the lists.

2 years agopatch 9.0.0898: with 'smoothscroll' cursor is one screen line too far down v9.0.0898
Bram Moolenaar [Thu, 17 Nov 2022 19:00:14 +0000 (19:00 +0000)]
patch 9.0.0898: with 'smoothscroll' cursor is one screen line too far down

Problem:    With 'smoothscroll' cursor is one screen line too far down. (Ernie
            Rael)
Solution:   Add a test that currently has the wrong result so that a fix can
            be made. (issue #11436)

2 years agopatch 9.0.0897: Clinical Quality Language files are not recognized v9.0.0897
mgramigna [Thu, 17 Nov 2022 18:30:16 +0000 (18:30 +0000)]
patch 9.0.0897: Clinical Quality Language files are not recognized

Problem:    Clinical Quality Language files are not recognized.
Solution:   Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)