]> granicus.if.org Git - vim/log
vim
23 months agopatch 9.0.1119: type of arguments not checked when calling a partial v9.0.1119
Bram Moolenaar [Sat, 31 Dec 2022 14:01:24 +0000 (14:01 +0000)]
patch 9.0.1119: type of arguments not checked when calling a partial

Problem:    Type of arguments not checked when calling a partial.
Solution:   Give an error for a wrong argument type. (closes #11753)

23 months agopatch 9.0.1118: sporadic test failures when using a terminal window v9.0.1118
James McCoy [Sat, 31 Dec 2022 11:44:57 +0000 (11:44 +0000)]
patch 9.0.1118: sporadic test failures when using a terminal window

Problem:    Sporadic test failures when using a terminal window.
Solution:   Adjust waiting times. (James McCoy, closes #11763)

23 months agopatch 9.0.1117: terminfo entries for bracketed paste are not used v9.0.1117
Bram Moolenaar [Fri, 30 Dec 2022 21:10:25 +0000 (21:10 +0000)]
patch 9.0.1117: terminfo entries for bracketed paste are not used

Problem:    Terminfo entries for bracketed paste are not used.
Solution:   Use the newly added terminfo entries for bracketed paste.
            Correct mixup of output strings and key codes.

23 months agopatch 9.0.1116: compiler may complain about an unused function v9.0.1116
Bram Moolenaar [Fri, 30 Dec 2022 19:54:53 +0000 (19:54 +0000)]
patch 9.0.1116: compiler may complain about an unused function

Problem:    Compiler may complain about an unused function.
Solution:   Add #ifdef. (John Marriott)

23 months agopatch 9.0.1115: code is indented more than needed v9.0.1115
Yegappan Lakshmanan [Fri, 30 Dec 2022 18:07:46 +0000 (18:07 +0000)]
patch 9.0.1115: code is indented more than needed

Problem:    Code is indented more than needed.
Solution:   Use an early return to reduce indenting. (Yegappan Lakshmanan,
            closes #11758)

23 months agopatch 9.0.1114: CI does not use the latest Python version v9.0.1114
Philip H [Fri, 30 Dec 2022 17:41:17 +0000 (17:41 +0000)]
patch 9.0.1114: CI does not use the latest Python version

Problem:    CI does not use the latest Python version.
Solution:   Switch from Python 3.10 to 3.11. (closes #11761)

23 months agopatch 9.0.1113: users cannot easily try out a PR v9.0.1113
Christian Brabandt [Fri, 30 Dec 2022 17:28:12 +0000 (17:28 +0000)]
patch 9.0.1113: users cannot easily try out a PR

Problem:    Users cannot easily try out a PR.
Solution:   Add an "artifacts" section to the AppVeyor CI config. (Christian
            Brabandt, closes #11762)

23 months agopatch 9.0.1112: test_mswin_event() can hang v9.0.1112
Christopher Plewright [Fri, 30 Dec 2022 16:54:58 +0000 (16:54 +0000)]
patch 9.0.1112: test_mswin_event() can hang

Problem:    test_mswin_event() can hang.
Solution:   Add the "execute" argument to process events right away.
            (Christopher Plewright, closes #11760)

23 months agopatch 9.0.1111: termcap entries for RGB colors are not set automatically v9.0.1111
Bram Moolenaar [Fri, 30 Dec 2022 11:16:00 +0000 (11:16 +0000)]
patch 9.0.1111: termcap entries for RGB colors are not set automatically

Problem:    Termcap entries for RGB colors are not set automatically.
Solution:   Always set the termcap entries when +termguicolors is enabled.

23 months agopatch 9.0.1110: build fails on Mac OS X 10.4/10.5 v9.0.1110
Evan Miller [Fri, 30 Dec 2022 10:42:23 +0000 (10:42 +0000)]
patch 9.0.1110: build fails on Mac OS X 10.4/10.5

Problem:    Build fails on Mac OS X 10.4/10.5 .
Solution:   Check if the dispatch/dispatch.h header exists. (Evan Miller,
            closes #11746)

23 months agopatch 9.0.1109: leaking allocated type v9.0.1109
Bram Moolenaar [Fri, 30 Dec 2022 10:36:34 +0000 (10:36 +0000)]
patch 9.0.1109: leaking allocated type

Problem:    Leaking allocated type.
Solution:   Reset the "static" flag in the allocated type copy.

23 months agopatch 9.0.1108: type error when using "any" type and adding to float v9.0.1108
Bram Moolenaar [Thu, 29 Dec 2022 20:56:24 +0000 (20:56 +0000)]
patch 9.0.1108: type error when using "any" type and adding to float

Problem:    Type error when using "any" type and adding a number to a float.
Solution:   Accept both a number and a float. (closes #11753)

23 months agopatch 9.0.1107: float constant not recognized as float v9.0.1107
Bram Moolenaar [Tue, 27 Dec 2022 20:54:41 +0000 (20:54 +0000)]
patch 9.0.1107: float constant not recognized as float

Problem:    Float constant not recognized as float.
Solution:   Check the vartype instead of comparing with t_float.
            (closes #11754)

23 months agopatch 9.0.1106: not all postfix files are recognized v9.0.1106
KodeToad [Tue, 27 Dec 2022 20:17:19 +0000 (20:17 +0000)]
patch 9.0.1106: not all postfix files are recognized

Problem:    Not all postfix files are recognized.
Solution:   Recognize main.cf.proto files. (closes #11732)

23 months agopatch 9.0.1105: code is indented too much v9.0.1105
Yegappan Lakshmanan [Tue, 27 Dec 2022 19:54:52 +0000 (19:54 +0000)]
patch 9.0.1105: code is indented too much

Problem:    Code is indented too much.
Solution:   Use an early return. (Yegappan Lakshmanan, closes #11756)

23 months agopatch 9.0.1104: invalid memory access when checking function argument types v9.0.1104
Bram Moolenaar [Tue, 27 Dec 2022 17:25:05 +0000 (17:25 +0000)]
patch 9.0.1104: invalid memory access when checking function argument types

Problem:    Invalid memory access when checking function argument types.
Solution:   Do not check beyond the number of arguments. (closes #11755)

23 months agopatch 9.0.1103: jq files are not recognized v9.0.1103
David McDonald [Mon, 26 Dec 2022 15:35:18 +0000 (15:35 +0000)]
patch 9.0.1103: jq files are not recognized

Problem:    jq files are not recognized.
Solution:   Add detection of Jq files. (David McDonald, closes #11743)

23 months agopatch 9.0.1102: complicated use of #ifdef v9.0.1102
K.Takata [Mon, 26 Dec 2022 14:46:51 +0000 (14:46 +0000)]
patch 9.0.1102: complicated use of #ifdef

Problem:    Complicated use of #ifdef.
Solution:   Simplify #ifdef use. (Ken Takata, closes #11745)

23 months agopatch 9.0.1101: unused global variable v9.0.1101
Bram Moolenaar [Mon, 26 Dec 2022 14:37:44 +0000 (14:37 +0000)]
patch 9.0.1101: unused global variable

Problem:    Unused global variable.
Solution:   Remove the variable. (closes #11752)

23 months agopatch 9.0.1100: a hashtab with many removed items is not cleaned up v9.0.1100
Bram Moolenaar [Mon, 26 Dec 2022 13:51:26 +0000 (13:51 +0000)]
patch 9.0.1100: a hashtab with many removed items is not cleaned up

Problem:    A hashtab with many removed items is not cleaned up.
Solution:   Re-hash a hashtab even when the size didn't change if too many
            items were removed.

23 months agopatch 9.0.1099: trying to resize a hashtab may cause a problem v9.0.1099
Bram Moolenaar [Mon, 26 Dec 2022 13:08:06 +0000 (13:08 +0000)]
patch 9.0.1099: trying to resize a hashtab may cause a problem

Problem:    Trying to resize a hashtab may cause a problem.
Solution:   Do not try to resize a hashtab before adding an item.

23 months agopatch 9.0.1098: code uses too much indent v9.0.1098
Yegappan Lakshmanan [Mon, 26 Dec 2022 12:50:04 +0000 (12:50 +0000)]
patch 9.0.1098: code uses too much indent

Problem:    Code uses too much indent.
Solution:   Use an early return. (Yegappan Lakshmanan, closes #11747)

2 years agopatch 9.0.1097: tests are failing v9.0.1097
Bram Moolenaar [Sun, 25 Dec 2022 21:32:09 +0000 (21:32 +0000)]
patch 9.0.1097: tests are failing

Problem:    Tests are failing.
Solution:   Do clean up a hashtab when at the initial size.

2 years agopatch 9.0.1096: reallocating hashtab when the size didn't change v9.0.1096
Bram Moolenaar [Sun, 25 Dec 2022 20:46:13 +0000 (20:46 +0000)]
patch 9.0.1096: reallocating hashtab when the size didn't change

Problem:    Reallocating hashtab when the size didn't change.
Solution:   Bail out when the hashtab is already the desired size.

2 years agopatch 9.0.1095: using freed memory when declaration fails v9.0.1095
Bram Moolenaar [Sun, 25 Dec 2022 19:31:36 +0000 (19:31 +0000)]
patch 9.0.1095: using freed memory when declaration fails

Problem:    Using freed memory when declaration fails. (Yegappan Lakshmanan)
Solution:   After unreferencing an object set the reference to NULL.

2 years agopatch 9.0.1094: compiler warning when HAS_MESSAGE_WINDOW is not defined v9.0.1094
Bram Moolenaar [Sun, 25 Dec 2022 15:59:25 +0000 (15:59 +0000)]
patch 9.0.1094: compiler warning when HAS_MESSAGE_WINDOW is not defined

Problem:    Compiler warning when HAS_MESSAGE_WINDOW is not defined.
Solution:   Add UNUSED.

2 years agopatch 9.0.1093: using freed memory of object member v9.0.1093
Bram Moolenaar [Sat, 24 Dec 2022 21:24:06 +0000 (21:24 +0000)]
patch 9.0.1093: using freed memory of object member

Problem:    Using freed memory of object member. (Yegappan Lakshmanan)
Solution:   Make a copy of the object member when getting it.

2 years agopatch 9.0.1092: search error message doesn't show used pattern v9.0.1092
Rob Pilling [Fri, 23 Dec 2022 19:06:04 +0000 (19:06 +0000)]
patch 9.0.1092: search error message doesn't show used pattern

Problem:    Search error message doesn't show used pattern.
Solution:   Pass the actually used pattern to where the error message is
            given. (Rob Pilling, closes #11742)

2 years agopatch 9.0.1091: assignment to non-existing member causes a crash v9.0.1091
Bram Moolenaar [Fri, 23 Dec 2022 17:56:27 +0000 (17:56 +0000)]
patch 9.0.1091: assignment to non-existing member causes a crash

Problem:    Assignment to non-existing member causes a crash. (Yegappan
            Lakshmanan)
Solution:   Give an error message and bail out when a member cannot be found.

2 years agopatch 9.0.1090: FHIR Shorthand files are not recognized v9.0.1090
mgramigna [Fri, 23 Dec 2022 13:18:44 +0000 (13:18 +0000)]
patch 9.0.1090: FHIR Shorthand files are not recognized

Problem:    FHIR Shorthand files are not recognized.
Solution:   Add a pattern to detect FSH files. (Matthew Gramigna,
            closes #11738)

2 years agopatch 9.0.1089: unnessary assignment v9.0.1089
Luuk van Baal [Fri, 23 Dec 2022 12:17:33 +0000 (12:17 +0000)]
patch 9.0.1089: unnessary assignment

Problem:    unnessary assignment
Solution:   Remove the assignment. (Luuk van Baal, closes #1136)

2 years agopatch 9.0.1088: clang warns for unused variable v9.0.1088
Bram Moolenaar [Thu, 22 Dec 2022 21:06:41 +0000 (21:06 +0000)]
patch 9.0.1088: clang warns for unused variable

Problem:    Clang warns for unused variable.
Solution:   Adjust #ifdef. (John Marriott)

2 years agopatch 9.0.1087: autocommand test sometimes fails v9.0.1087
James McCoy [Thu, 22 Dec 2022 18:30:24 +0000 (18:30 +0000)]
patch 9.0.1087: autocommand test sometimes fails

Problem:    Autocommand test sometimes fails.
Solution:   Add a short delay. (James McCoy, closes #11737)

2 years agopatch 9.0.1086: display wrong in Windows terminal after exiting Vim v9.0.1086
Christopher Plewright [Thu, 22 Dec 2022 13:45:23 +0000 (13:45 +0000)]
patch 9.0.1086: display wrong in Windows terminal after exiting Vim

Problem:    Display wrong in Windows terminal after exiting Vim.
Solution:   Apply screen restore fix for Windows 11 also to Windows 10 builds.
            (Christopher Plewright, closes #11713, closes #11706)

2 years agopatch 9.0.1085: compiler warns for uninitialized variable v9.0.1085
Bram Moolenaar [Tue, 20 Dec 2022 20:47:28 +0000 (20:47 +0000)]
patch 9.0.1085: compiler warns for uninitialized variable

Problem:    Compiler warns for uninitialized variable.
Solution:   Initialize the variable.  Remove unused function. (John Marriott)

2 years agopatch 9.0.1084: code handling low level MS-Windows events cannot be tested v9.0.1084
Christopher Plewright [Tue, 20 Dec 2022 20:01:58 +0000 (20:01 +0000)]
patch 9.0.1084: code handling low level MS-Windows events cannot be tested

Problem:    Code handling low level MS-Windows events cannot be tested.
Solution:   Add test_mswin_event() and tests using it. (Christopher Plewright,
            closes #11622)

2 years agopatch 9.0.1083: empty and comment lines in a class cause an error v9.0.1083
Bram Moolenaar [Tue, 20 Dec 2022 13:38:22 +0000 (13:38 +0000)]
patch 9.0.1083: empty and comment lines in a class cause an error

Problem:    Empty and comment lines in a class cause an error.
Solution:   Skip empty and comment lines. (closes #11734)

2 years agopatch 9.0.1082: some jsonc files are not recognized v9.0.1082
kylo252 [Mon, 19 Dec 2022 20:42:49 +0000 (20:42 +0000)]
patch 9.0.1082: some jsonc files are not recognized

Problem:    Some jsonc files are not recognized.
Solution:   Add patterns for jsonc and move some from json to jsonc.
            (closes #11711)

2 years agopatch 9.0.1081: using "->" with split lines does not always work v9.0.1081
Bram Moolenaar [Mon, 19 Dec 2022 20:28:38 +0000 (20:28 +0000)]
patch 9.0.1081: using "->" with split lines does not always work

Problem:    Using "->" with split lines does not always work.
Solution:   Avoid trying to get another line. (closes #11723)

2 years agopatch 9.0.1080: the "kitty" terminfo entry is not widespread v9.0.1080
Bram Moolenaar [Mon, 19 Dec 2022 18:56:48 +0000 (18:56 +0000)]
patch 9.0.1080: the "kitty" terminfo entry is not widespread

Problem:    The "kitty" terminfo entry is not widespread, resulting in the
            kitty terminal not working properly.
Solution:   Go back to using "xterm-kitty" and avoid the problems it causes in
            another way.

2 years agopatch 9.0.1079: leaking memory when defining a user command fails v9.0.1079
zeertzjq [Mon, 19 Dec 2022 16:49:27 +0000 (16:49 +0000)]
patch 9.0.1079: leaking memory when defining a user command fails

Problem:    Leaking memory when defining a user command fails.
Solution:   Free "compl_arg" when needed. (closes #11726)

2 years agopatch 9.0.1078: with the +vartabs feature indent folding may use wrong 'ts' v9.0.1078
zeertzjq [Mon, 19 Dec 2022 15:51:44 +0000 (15:51 +0000)]
patch 9.0.1078: with the +vartabs feature indent folding may use wrong 'ts'

Problem:    With the +vartabs feature indent folding may use wrong 'tabstop'.
Solution:   Use the "buf" argument instead of "curbuf".

2 years agopatch 9.0.1077: can add text property with negative ID before virtual text v9.0.1077
Bram Moolenaar [Mon, 19 Dec 2022 13:31:06 +0000 (13:31 +0000)]
patch 9.0.1077: can add text property with negative ID before virtual text

Problem:    Can add text property with negative ID before virtual text
            property.
Solution:   Remember that a text property with a negative ID was used and give
            an appropriate error message. (closes #11725)
            Fix index computation.

2 years agopatch 9.0.1076: ASAN complains about NULL argument v9.0.1076
Bram Moolenaar [Mon, 19 Dec 2022 12:18:09 +0000 (12:18 +0000)]
patch 9.0.1076: ASAN complains about NULL argument

Problem:    ASAN complains about NULL argument.
Solution:   Skip memmove() when there is nothing to move.

2 years agopatch 9.0.1075: build fails if compiler doesn't allow declaration after case v9.0.1075
Bram Moolenaar [Sun, 18 Dec 2022 22:01:42 +0000 (22:01 +0000)]
patch 9.0.1075: build fails if compiler doesn't allow declaration after case

Problem:    build fails if the compiler doesn't allow for a declaration right
            after "case".
Solution:   Add a block.

2 years agopatch 9.0.1074: class members are not supported yet v9.0.1074
Bram Moolenaar [Sun, 18 Dec 2022 21:42:55 +0000 (21:42 +0000)]
patch 9.0.1074: class members are not supported yet

Problem:    Class members are not supported yet.
Solution:   Add initial support for class members.

2 years agopatch 9.0.1073: using "xterm-kitty" for 'term' causes problems v9.0.1073
Bram Moolenaar [Sun, 18 Dec 2022 17:47:18 +0000 (17:47 +0000)]
patch 9.0.1073: using "xterm-kitty" for 'term' causes problems

Problem:    Using "xterm-kitty" for 'term' causes problems.
Solution:   Remove the "xterm-" part when 'term' is set from $TERM.  Detect a
            few kitty-specific properties based on the version response
            instead of the terminal name.

2 years agopatch 9.0.1072: screenpos() column result in fold may be too small v9.0.1072
zeertzjq [Sun, 18 Dec 2022 12:28:59 +0000 (12:28 +0000)]
patch 9.0.1072: screenpos() column result in fold may be too small

Problem:    screenpos() column result in fold may be too small.
Solution:   Add space of 'number', sign column, etc. (closes #11715)

2 years agopatch 9.0.1071: Codecov action version is too specific v9.0.1071
dundargoc [Sat, 17 Dec 2022 15:47:45 +0000 (15:47 +0000)]
patch 9.0.1071: Codecov action version is too specific

Problem:    Codecov action version is too specific.
Solution:   Only use "v3" to automatically use the latest stable version.
            (closes #11720)

2 years agopatch 9.0.1070: reading beyond array size v9.0.1070
Bram Moolenaar [Sat, 17 Dec 2022 15:35:43 +0000 (15:35 +0000)]
patch 9.0.1070: reading beyond array size

Problem:    Reading beyond array size.
Solution:   Only use name[0] and name[1], do not use "name" as a string.

2 years agopatch 9.0.1069: diff mode highlight fails for special characters v9.0.1069
Bram Moolenaar [Sat, 17 Dec 2022 15:03:02 +0000 (15:03 +0000)]
patch 9.0.1069: diff mode highlight fails for special characters

Problem:    Diff mode highlight fails for special characters.
Solution:   Adjust condition for setting "diff_hlf".

2 years agopatch 9.0.1068: no information about whether request term codes has an effect v9.0.1068
Bram Moolenaar [Sat, 17 Dec 2022 13:49:16 +0000 (13:49 +0000)]
patch 9.0.1068: no information about whether request term codes has an effect

Problem:    No information about whether requesting term codes has an effect.
Solution:   Add ch_log() calls to report the effect of term code responses.
            Avoid deleting an entry and then adding back the same one.

2 years agopatch 9.0.1067: in diff mode virtual text is highlighted incorrectly v9.0.1067
Bram Moolenaar [Sat, 17 Dec 2022 11:33:00 +0000 (11:33 +0000)]
patch 9.0.1067: in diff mode virtual text is highlighted incorrectly

Problem:    In diff mode virtual text is highlighted incorrectly. (Rick Howe)
Solution:   Do not use diff attributes for virtual text. (closes #11714)

2 years agopatch 9.0.1066: test function name is wrong v9.0.1066
zeertzjq [Sat, 17 Dec 2022 10:40:15 +0000 (10:40 +0000)]
patch 9.0.1066: test function name is wrong

Problem:    Test function name is wrong.
Solution:   Rename to what is actually being tested. (closes #11712)

2 years agopatch 9.0.1065: a shell command switching screens may still have a problem v9.0.1065
Bram Moolenaar [Fri, 16 Dec 2022 18:33:20 +0000 (18:33 +0000)]
patch 9.0.1065: a shell command switching screens may still have a problem

Problem:    A shell command switching screens may still have a problem with
            the kitty keyboard protocol.
Solution:   Disable the kitty keyboard protocol both in the current and the
            alternate screen, if there are indications it might be needed.
            (issue #11705)  Also fix naming.

2 years agopatch 9.0.1064: code for making 'shortmess' temporarily empty is repeated v9.0.1064
Christian Brabandt [Fri, 16 Dec 2022 16:41:23 +0000 (16:41 +0000)]
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeated

Problem:    Code for making 'shortmess' temporarily empty is repeated.
Solution:   Add functions for making 'shortmess' empty and restoring it.
            (Christian Brabandt, closes #11709)

2 years agopatch 9.0.1063: when using Kitty a shell command may mess up the key state v9.0.1063
Bram Moolenaar [Fri, 16 Dec 2022 13:08:36 +0000 (13:08 +0000)]
patch 9.0.1063: when using Kitty a shell command may mess up the key state

Problem:    When using Kitty a shell command may mess up the key protocol
            state.
Solution:   Output t_te before t_TE.  If t_te switches between the main and
            the alternate screen then deactivating the key protocol by t_TE
            should happen after switching screen. (issue #11705)

2 years agopatch 9.0.1062: some test function names do not match what they are doing v9.0.1062
zeertzjq [Thu, 15 Dec 2022 13:48:30 +0000 (13:48 +0000)]
patch 9.0.1062: some test function names do not match what they are doing

Problem:    Some test function names do not match what they are doing.
Solution:   Leave out user data for the test that is called "NoUserData".
            (closes #11703)

2 years agopatch 9.0.1061: cannot display 'showcmd' somewhere else v9.0.1061
Luuk van Baal [Thu, 15 Dec 2022 13:15:39 +0000 (13:15 +0000)]
patch 9.0.1061: cannot display 'showcmd' somewhere else

Problem:    Cannot display 'showcmd' somewhere else.
Solution:   Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)

2 years agopatch 9.0.1060: private and public object members are not implemented yet v9.0.1060
Bram Moolenaar [Wed, 14 Dec 2022 20:59:32 +0000 (20:59 +0000)]
patch 9.0.1060: private and public object members are not implemented yet

problem:    Private and public object members are not implemented yet.
Solution:   Implement private and public object members.

2 years agopatch 9.0.1059: build failure with some compilers v9.0.1059
Bram Moolenaar [Wed, 14 Dec 2022 17:50:00 +0000 (17:50 +0000)]
patch 9.0.1059: build failure with some compilers

Problem:    Build failure with some compilers that can't handle a
            declaration directly after a "case" statement.
Solution:   Add a block to put the declarations in.

2 years agopatch 9.0.1058: string value of class and object do not have information v9.0.1058
Bram Moolenaar [Wed, 14 Dec 2022 17:30:37 +0000 (17:30 +0000)]
patch 9.0.1058: string value of class and object do not have information

Problem:    String value of class and object do not have useful information.
Solution:   Add the class name and for the object the member values.

2 years agopatch 9.0.1057: conflict between supercollider and scala filetype detection v9.0.1057
Chris Kipp [Wed, 14 Dec 2022 16:42:15 +0000 (16:42 +0000)]
patch 9.0.1057: conflict between supercollider and scala filetype detection

Problem:    Conflict between supercollider and scala filetype detection.
Solution:   Do not check for "Class : Method", it can appear in both
            filetypes. (Chris Kipp, closes #11699)

2 years agopatch 9.0.1056: leaking memory when disassembling an object method v9.0.1056
Bram Moolenaar [Wed, 14 Dec 2022 15:06:11 +0000 (15:06 +0000)]
patch 9.0.1056: leaking memory when disassembling an object method

Problem:    Leaking memory when disassembling an object method.
Solution:   Free the typval of the class.

2 years agopatch 9.0.1055: Coverity warns for using uninitialized memory v9.0.1055
Bram Moolenaar [Wed, 14 Dec 2022 13:50:02 +0000 (13:50 +0000)]
patch 9.0.1055: Coverity warns for using uninitialized memory

Problem:    Coverity warns for using uninitialized memory.
Solution:   Clear the "lhs" field earlier.

2 years agopatch 9.0.1054: object member can't get type from initializer v9.0.1054
Bram Moolenaar [Tue, 13 Dec 2022 21:14:28 +0000 (21:14 +0000)]
patch 9.0.1054: object member can't get type from initializer

Problem:    Object member can't get type from initializer.
Solution:   If there is no type specified try to use the type of the
            initializer.  Check for a valid type.

2 years agopatch 9.0.1053: default constructor arguments are not optional v9.0.1053
Bram Moolenaar [Tue, 13 Dec 2022 18:43:22 +0000 (18:43 +0000)]
patch 9.0.1053: default constructor arguments are not optional

Problem:    Default constructor arguments are not optional.
Solution:   Use "= v:none" to make constructor arguments optional.

2 years agopatch 9.0.1052: using freed memory on exit when EXITFREE is defined v9.0.1052
Bram Moolenaar [Tue, 13 Dec 2022 13:42:37 +0000 (13:42 +0000)]
patch 9.0.1052: using freed memory on exit when EXITFREE is defined

Problem:    Using freed memory on exit when EXITFREE is defined.
Solution:   Make a deep copy of the type.  Make sure TTFLAG_STATIC is not set
            in the copy.

2 years agopatch 9.0.1051: after a failed CTRL-W ] next command splits window v9.0.1051
Rob Pilling [Tue, 13 Dec 2022 12:26:09 +0000 (12:26 +0000)]
patch 9.0.1051: after a failed CTRL-W ] next command splits window

Problem:    After a failed CTRL-W ] next command splits window.
Solution:   Reset postponed_split. (Rob Pilling, closes #11698)

2 years agopatch 9.0.1050: using freed memory when assigning to variable twice v9.0.1050
Bram Moolenaar [Mon, 12 Dec 2022 18:56:32 +0000 (18:56 +0000)]
patch 9.0.1050: using freed memory when assigning to variable twice

Problem:    Using freed memory when assigning to variable twice.
Solution:   Make copy of the list type. (closes #11691)

2 years agopatch 9.0.1049: crash when opening a very small terminal window v9.0.1049
Bram Moolenaar [Mon, 12 Dec 2022 13:47:44 +0000 (13:47 +0000)]
patch 9.0.1049: crash when opening a very small terminal window

Problem:    Crash when opening a very small terminal window.
Solution:   Instead of crashing fix the cursor position. (closes #11697)

2 years agopatch 9.0.1048: with "screenline" in 'culopt' cursorline highlight is wrong v9.0.1048
zeertzjq [Mon, 12 Dec 2022 13:20:43 +0000 (13:20 +0000)]
patch 9.0.1048: with "screenline" in 'culopt' cursorline highlight is wrong

Problem:    With "screenline" in 'culopt' cursorline highlight is wrong.
Solution:   Apply the priority logic also when "screenline is in 'culopt'.
            (closes #11696)

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 11 Dec 2022 15:53:04 +0000 (15:53 +0000)]
Update runtime files

2 years agopatch 9.0.1047: matchparen is slow v9.0.1047
Bram Moolenaar [Sun, 11 Dec 2022 14:18:31 +0000 (14:18 +0000)]
patch 9.0.1047: matchparen is slow

Problem:    Matchparen is slow.
Solution:   Actually use the position where the match started, not the
            position where the search started. (closes #11644)

2 years agopatch 9.0.1046: class method disassemble test fails on MS-Windows v9.0.1046
Bram Moolenaar [Sat, 10 Dec 2022 19:03:51 +0000 (19:03 +0000)]
patch 9.0.1046: class method disassemble test fails on MS-Windows

Problem:    Class method disassemble test fails on MS-Windows.
Solution:   Do not match with a specific size.

2 years agopatch 9.0.1045: in a class object members cannot be initialized v9.0.1045
Bram Moolenaar [Sat, 10 Dec 2022 18:42:12 +0000 (18:42 +0000)]
patch 9.0.1045: in a class object members cannot be initialized

Problem:    In a class object members cannot be initialized.
Solution:   Support initializing object members. Make "dissassemble" work on
            an object method.

2 years agopatch 9.0.1044: setting window height using Python may cause errors v9.0.1044
Bram Moolenaar [Sat, 10 Dec 2022 11:17:11 +0000 (11:17 +0000)]
patch 9.0.1044: setting window height using Python may cause errors

Problem:    Setting window height using Python may cause errors.
Solution:   When setting "curwin" also set "curbuf". (closes #11687)

2 years agopatch 9.0.1043: macro has confusing name and is duplicated v9.0.1043
zeertzjq [Sat, 10 Dec 2022 10:22:29 +0000 (10:22 +0000)]
patch 9.0.1043: macro has confusing name and is duplicated

Problem:    Macro has confusing name and is duplicated.
Solution:   Use one macro with an understandable name. (closes #11686)

2 years agopatch 9.0.1042: ASAN gives false alarm about array access. v9.0.1042
Bram Moolenaar [Fri, 9 Dec 2022 22:49:23 +0000 (22:49 +0000)]
patch 9.0.1042: ASAN gives false alarm about array access.

Problem:    ASAN gives false alarm about array access.
Solution:   Use an intermediate pointer.

2 years agopatch 9.0.1041: cannot define a method in a class v9.0.1041
Bram Moolenaar [Fri, 9 Dec 2022 21:41:48 +0000 (21:41 +0000)]
patch 9.0.1041: cannot define a method in a class

Problem:    Cannot define a method in a class.
Solution:   Implement defining an object method.  Make calling an object
            method work.

2 years agopatch 9.0.1040: test for <Cmd> mapping with CmdlineChanged fails v9.0.1040
Bram Moolenaar [Fri, 9 Dec 2022 12:41:32 +0000 (12:41 +0000)]
patch 9.0.1040: test for <Cmd> mapping with CmdlineChanged fails

Problem:    Test for <Cmd> mapping with CmdlineChanged fails.
Solution:   Put back the check for the cmdline length not changing.

2 years agopatch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice v9.0.1039
Bram Moolenaar [Fri, 9 Dec 2022 12:21:50 +0000 (12:21 +0000)]
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice

Problem:    Using a <Cmd> mapping CmdlineChanged may be triggered twice.
Solution:   Count the number of times CmdlineChanged is triggered and avoid
            doing it twice. (closes #116820

2 years agopatch 9.0.1038: function name does not match what it is used for v9.0.1038
zeertzjq [Fri, 9 Dec 2022 11:36:36 +0000 (11:36 +0000)]
patch 9.0.1038: function name does not match what it is used for

Problem:    Function name does not match what it is used for.
Solution:   Include the modifier in the name. (closes #11679)

2 years agopatch 9.0.1037: lalloc(0) error for a class without members v9.0.1037
Bram Moolenaar [Thu, 8 Dec 2022 22:09:14 +0000 (22:09 +0000)]
patch 9.0.1037: lalloc(0) error for a class without members

Problem:    lalloc(0) error for a class without members.
Solution:   Don't allocate room for members if there aren't any.
            Don't create the class if there was an error.

2 years agopatch 9.0.1036: undo misbehaves when writing from an insert mode mapping v9.0.1036
Bram Moolenaar [Thu, 8 Dec 2022 21:49:35 +0000 (21:49 +0000)]
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping

Problem:    Undo misbehaves when writing from an insert mode mapping.
Solution:   Sync undo when writing. (closes #11674)

2 years agopatch 9.0.1035: object members are not being marked as used v9.0.1035
Bram Moolenaar [Thu, 8 Dec 2022 20:42:00 +0000 (20:42 +0000)]
patch 9.0.1035: object members are not being marked as used

Problem:    Object members are not being marked as used, garbage collection
            may free them.
Solution:   Mark object members as used.  Fix reference counting.

2 years agopatch 9.0.1034: reporting swap file when windows are split v9.0.1034
Bram Moolenaar [Thu, 8 Dec 2022 16:30:16 +0000 (16:30 +0000)]
patch 9.0.1034: reporting swap file when windows are split

Problem:    Reporting swap file when windows are split.
Solution:   Close extra windows after running a test.

2 years agopatch 9.0.1033: tiny build fails because of conflicting typedef v9.0.1033
Bram Moolenaar [Thu, 8 Dec 2022 16:10:01 +0000 (16:10 +0000)]
patch 9.0.1033: tiny build fails because of conflicting typedef

Problem:    Tiny build fails because of conflicting typedef.
Solution:   Remove one typedef.

2 years agopatch 9.0.1032: test fails when terminal feature is missing v9.0.1032
Bram Moolenaar [Thu, 8 Dec 2022 15:44:22 +0000 (15:44 +0000)]
patch 9.0.1032: test fails when terminal feature is missing

Problem:    Test fails when terminal feature is missing.
Solution:   Use CheckRunVimInTerminal.

2 years agopatch 9.0.1031: Vim9 class is not implemented yet v9.0.1031
Bram Moolenaar [Thu, 8 Dec 2022 15:32:33 +0000 (15:32 +0000)]
patch 9.0.1031: Vim9 class is not implemented yet

Problem:    Vim9 class is not implemented yet.
Solution:   Add very basic class support.

2 years agopatch 9.0.1030: using freed memory with the cmdline popup menu v9.0.1030
Bram Moolenaar [Thu, 8 Dec 2022 12:00:50 +0000 (12:00 +0000)]
patch 9.0.1030: using freed memory with the cmdline popup menu

Problem:    Using freed memory with the cmdline popup menu.
Solution:   Clear the popup menu when clearing the matches. (closes #11677)

2 years agopatch 9.0.1029: autoload directory missing from distribution v9.0.1029
Bram Moolenaar [Thu, 8 Dec 2022 10:03:48 +0000 (10:03 +0000)]
patch 9.0.1029: autoload directory missing from distribution

Problem:    Autoload directory missing from distribution.
Solution:   Add the autoload/zig directory to the list of distributed files.

2 years agopatch 9.0.1028: mouse shape test is flaky, especially on Mac OS v9.0.1028
Yee Cheng Chin [Thu, 8 Dec 2022 09:41:24 +0000 (09:41 +0000)]
patch 9.0.1028: mouse shape test is flaky, especially on Mac OS

Problem:    Mouse shape test is flaky, especially on Mac OS.
Solution:   Instead of starting all timers at the same time, start the next
            one in the callback of the previous one. (Yee Cheng Chin,
            closes #11673)  Also use "bwipe!" instead of "close!" to avoid
            swap files remaining.

2 years agopatch 9.0.1027: LGTM is soon shutting down v9.0.1027
Philip H [Wed, 7 Dec 2022 23:00:26 +0000 (23:00 +0000)]
patch 9.0.1027: LGTM is soon shutting down

Problem:    LGTM is soon shutting down.
Solution:   Remove LGTM from CI. (closes #11671)

2 years agopatch 9.0.1026: type of w_last_topfill is wrong v9.0.1026
Bram Moolenaar [Wed, 7 Dec 2022 22:30:18 +0000 (22:30 +0000)]
patch 9.0.1026: type of w_last_topfill is wrong

Problem:    type of w_last_topfill is wrong.
Solution:   Use "int" instead of "linenr_T". (closes #11670)

2 years agopatch 9.0.1025: WinScrolled is not triggered when filler lines change v9.0.1025
zeertzjq [Wed, 7 Dec 2022 09:17:59 +0000 (09:17 +0000)]
patch 9.0.1025: WinScrolled is not triggered when filler lines change

Problem:    WinScrolled is not triggered when filler lines change.
Solution:   Add "topfill" to the values that WinScrolled triggers on.
            (closes #11668)

2 years agoUpdate runtime files
Bram Moolenaar [Tue, 6 Dec 2022 18:20:10 +0000 (18:20 +0000)]
Update runtime files

2 years agopatch 9.0.1024: CI doesn't use the latest FreeBSD version v9.0.1024
Philip H [Tue, 6 Dec 2022 16:56:44 +0000 (16:56 +0000)]
patch 9.0.1024: CI doesn't use the latest FreeBSD version

Problem:    CI doesn't use the latest FreeBSD version.
Solution:   Go from 12.3 to 12.4. (closes #11423)

2 years agopatch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't work v9.0.1023
K.Takata [Tue, 6 Dec 2022 16:17:01 +0000 (16:17 +0000)]
patch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't work

Problem:    MS-Windows: dynamic loading of libsodium doesn't work.
Solution:   Add "randombytes_random". (Ken Takata, closes #11667)

2 years agopatch 9.0.1022: suspend test fails on Mac OS when suspending Vim v9.0.1022
Bram Moolenaar [Tue, 6 Dec 2022 16:09:52 +0000 (16:09 +0000)]
patch 9.0.1022: suspend test fails on Mac OS when suspending Vim

Problem:    Suspend test fails on Mac OS when suspending Vim.
Solution:   Make 'keyprotocol' empty.