]> granicus.if.org Git - vim/log
vim
23 months agopatch 9.0.1191: some Bazel files are not recognized v9.0.1191
Keith Smiley [Fri, 13 Jan 2023 15:35:17 +0000 (15:35 +0000)]
patch 9.0.1191: some Bazel files are not recognized

Problem:    Some Bazel files are not recognized.
Solution:   Add an extra Bazel pattern. (Keith Smily, closes #11807)

23 months agopatch 9.0.1190: AppVeyor runs much slower with MSVC 2022 v9.0.1190
Christopher Plewright [Fri, 13 Jan 2023 15:28:14 +0000 (15:28 +0000)]
patch 9.0.1190: AppVeyor runs much slower with MSVC 2022

Problem:    AppVeyor runs much slower with MSVC 2022.
Solution:   Go back to MSVC 2015. (Christopher Plewright, closes #11810)

23 months agopatch 9.0.1189: invalid memory access with folding and using "L" v9.0.1189
Bram Moolenaar [Fri, 13 Jan 2023 14:17:58 +0000 (14:17 +0000)]
patch 9.0.1189: invalid memory access with folding and using "L"

Problem:    Invalid memory access with folding and using "L".
Solution:   Prevent the cursor from moving to line zero.

23 months agopatch 9.0.1188: return value of type() for class and object unclear v9.0.1188
Bram Moolenaar [Thu, 12 Jan 2023 21:08:53 +0000 (21:08 +0000)]
patch 9.0.1188: return value of type() for class and object unclear

Problem:    Return value of type() for class and object unclear.
Solution:   Add v:t_object and v:t_class.

23 months agopatch 9.0.1187: test for using imported class fails v9.0.1187
Bram Moolenaar [Thu, 12 Jan 2023 20:39:09 +0000 (20:39 +0000)]
patch 9.0.1187: test for using imported class fails

Problem:    Test for using imported class fails.
Solution:   Skip over rest of type.

23 months agopatch 9.0.1186: imported class does not work when used twice in a line v9.0.1186
Bram Moolenaar [Thu, 12 Jan 2023 20:04:51 +0000 (20:04 +0000)]
patch 9.0.1186: imported class does not work when used twice in a line

Problem:    Imported class does not work when used twice in a line.
Solution:   Fix the type parsing.

23 months agopatch 9.0.1185: using class from imported script not tested v9.0.1185
Bram Moolenaar [Thu, 12 Jan 2023 17:06:27 +0000 (17:06 +0000)]
patch 9.0.1185: using class from imported script not tested

Problem:    Using class from imported script not tested.
Solution:   Add tests.  Implement what is missing.

23 months agopatch 9.0.1184: interface of an object is not recognized when checking type v9.0.1184
Bram Moolenaar [Thu, 12 Jan 2023 15:01:32 +0000 (15:01 +0000)]
patch 9.0.1184: interface of an object is not recognized when checking type

Problem:    Interface of an object is not recognized when checking type.
Solution:   Use the interface implemented by an object.

23 months agopatch 9.0.1183: code is indented more than necessary v9.0.1183
Yegappan Lakshmanan [Thu, 12 Jan 2023 12:33:30 +0000 (12:33 +0000)]
patch 9.0.1183: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11805)

23 months agopatch 9.0.1182: go checksum files are not recognized v9.0.1182
Amaan Q [Wed, 11 Jan 2023 21:24:26 +0000 (21:24 +0000)]
patch 9.0.1182: go checksum files are not recognized

Problem:    go checksum files are not recognized.
Solution:   Add the name of go checksum files. (Amaan Qureshi, closes #11803)

23 months agopatch 9.0.1181: class inheritance and typing insufficiently tested v9.0.1181
Bram Moolenaar [Wed, 11 Jan 2023 21:14:17 +0000 (21:14 +0000)]
patch 9.0.1181: class inheritance and typing insufficiently tested

Problem:    Class inheritance and typing insufficiently tested.
Solution:   Add more tests.  Implement missing behavior.

23 months agopatch 9.0.1180: compiler warnings without the +job feature v9.0.1180
Bram Moolenaar [Wed, 11 Jan 2023 19:11:15 +0000 (19:11 +0000)]
patch 9.0.1180: compiler warnings without the +job feature

Problem:    Compiler warnings without the +job feature.
Solution:   Adjust #ifdefs. (John Marriott)

23 months agopatch 9.0.1179: not all errors around inheritance are tested v9.0.1179
Bram Moolenaar [Wed, 11 Jan 2023 17:59:38 +0000 (17:59 +0000)]
patch 9.0.1179: not all errors around inheritance are tested

Problem:    Not all errors around inheritance are tested.
Solution:   Add more tests.  Fix uncovered problems.

23 months agopatch 9.0.1178: a child class cannot override functions from a base class v9.0.1178
Bram Moolenaar [Wed, 11 Jan 2023 15:59:05 +0000 (15:59 +0000)]
patch 9.0.1178: a child class cannot override functions from a base class

Problem:    A child class cannot override functions from a base class.
Solution:   Allow overriding and implement "super".

23 months agopatch 9.0.1177: AppVeyor uses some older tools v9.0.1177
Christopher Plewright [Wed, 11 Jan 2023 12:49:22 +0000 (12:49 +0000)]
patch 9.0.1177: AppVeyor uses some older tools

Problem:    AppVeyor uses some older tools.
Solution:   Switch to Visual Studio 2022 and Python 3.11. (Christopher
            Plewright, closes #11793)

23 months agopatch 9.0.1176: smithy files are not recognized v9.0.1176
Chris Kipp [Wed, 11 Jan 2023 12:20:10 +0000 (12:20 +0000)]
patch 9.0.1176: smithy files are not recognized

Problem:    smithy files are not recognized.
Solution:   Add a pattern for Smithy files. (Chris Kipp, closes #11804)

23 months agopatch 9.0.1175: the set_ref_in_item() function is too long v9.0.1175
Yegappan Lakshmanan [Wed, 11 Jan 2023 11:46:17 +0000 (11:46 +0000)]
patch 9.0.1175: the set_ref_in_item() function is too long

Problem:    The set_ref_in_item() function is too long.
Solution:   Use a separate function for more complicated types. (Yegappan
            Lakshmanan, closes #11802)

23 months agopatch 9.0.1174: smali files are not recognized v9.0.1174
Amaan Q [Tue, 10 Jan 2023 19:58:35 +0000 (19:58 +0000)]
patch 9.0.1174: smali files are not recognized

Problem:    Smali files are not recognized.
Solution:   Add a pattern for Smali files. (Amaan Qureshi, closes #11801)

23 months agopatch 9.0.1173: compiler warning for unused variable on non-Unix systems v9.0.1173
Bram Moolenaar [Tue, 10 Jan 2023 19:17:11 +0000 (19:17 +0000)]
patch 9.0.1173: compiler warning for unused variable on non-Unix systems

Problem:    Compiler warning for unused variable on non-Unix systems.
Solution:   Move #ifdef. (John Marriott)

23 months agopatch 9.0.1172: when 'selection' is "exclusive" then "1v" is one char short v9.0.1172
Bram Moolenaar [Tue, 10 Jan 2023 17:29:29 +0000 (17:29 +0000)]
patch 9.0.1172: when 'selection' is "exclusive" then "1v" is one char short

Problem:    When 'selection' is "exclusive" then "1v" is one char short.
Solution:   Add one character when 'selection' is "exclusive. (closes #11791)

23 months agopatch 9.0.1171: screen is not redrawn after using setcellwidths() v9.0.1171
Yasuhiro Matsumoto [Tue, 10 Jan 2023 16:03:08 +0000 (16:03 +0000)]
patch 9.0.1171: screen is not redrawn after using setcellwidths()

Problem:    Screen is not redrawn after using setcellwidths().
Solution:   Redraw the screen when the cell widths have changed. (Yasuhiro
            Matsumoto, closes #11800)

23 months agopatch 9.0.1170: LGTM badge no longer works v9.0.1170
mert [Tue, 10 Jan 2023 14:06:06 +0000 (14:06 +0000)]
patch 9.0.1170: LGTM badge no longer works

Problem:    LGTM badge no longer works.
Solution:   Remove the LGTM badge. (closes #11799)

23 months agopatch 9.0.1169: some key+modifier tests fail on some AppVeyor images v9.0.1169
Christopher Plewright [Tue, 10 Jan 2023 13:43:04 +0000 (13:43 +0000)]
patch 9.0.1169: some key+modifier tests fail on some AppVeyor images

Problem:    Some key+modifier tests fail on some AppVeyor images.
Solution:   Adjust the tests for key movements and fix the revealed bugs.
            (Christopher Plewright, closes #11798)

23 months agopatch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap v9.0.1168
Bram Moolenaar [Tue, 10 Jan 2023 12:37:38 +0000 (12:37 +0000)]
patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap

Problem:    Code to enable/disable mouse is not from terminfo/termcap.
Solution:   Request the "XM" entry and use it to set 'ttymouse' if possible.

23 months agoUpdate runtime files
Bram Moolenaar [Mon, 9 Jan 2023 20:12:45 +0000 (20:12 +0000)]
Update runtime files

23 months agopatch 9.0.1167: EditorConfig files do not have their own filetype v9.0.1167
Gregory Anders [Mon, 9 Jan 2023 20:08:00 +0000 (20:08 +0000)]
patch 9.0.1167: EditorConfig files do not have their own filetype

Problem:    EditorConfig files do not have their own filetype.
Solution:   Add the "editorconfig" filetype. (Gregory Anders, closes #11779)

23 months agopatch 9.0.1166: code is indented more than necessary v9.0.1166
Yegappan Lakshmanan [Mon, 9 Jan 2023 19:04:23 +0000 (19:04 +0000)]
patch 9.0.1166: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11792)

23 months agopatch 9.0.1165: tests using IPv6 sometimes fail v9.0.1165
James McCoy [Mon, 9 Jan 2023 16:25:59 +0000 (16:25 +0000)]
patch 9.0.1165: tests using IPv6 sometimes fail

Problem:    Tests using IPv6 sometimes fail.
Solution:   Use getaddrinfo() and use try/catch. (James McCoy,
            closes #11783)

23 months agopatch 9.0.1164: evaluating string expression advances function line v9.0.1164
h-east [Mon, 9 Jan 2023 15:10:40 +0000 (15:10 +0000)]
patch 9.0.1164: evaluating string expression advances function line

Problem:    Evaluating string expression advances function line.
Solution:   Disable function lines while parsing a string expression.
            (Hirohito Higashi, closes #11796)

23 months agopatch 9.0.1163: compiler warning for implicit size_t/int conversion v9.0.1163
Mike Williams [Mon, 9 Jan 2023 14:18:13 +0000 (14:18 +0000)]
patch 9.0.1163: compiler warning for implicit size_t/int conversion

Problem:    Compiler warning for implicit size_t/int conversion.
Solution:   Add a type cast. (Mike Williams, closes #11795)

23 months agopatch 9.0.1162: configure does not handle all FORTIFY_SOURCE variants v9.0.1162
Zdenek Dohnal [Mon, 9 Jan 2023 13:18:08 +0000 (13:18 +0000)]
patch 9.0.1162: configure does not handle all FORTIFY_SOURCE variants

Problem:    Configure does not handle all FORTIFY_SOURCE variants.
Solution:   Also handle Fedora's default FORTIFY_SOURCE flags. (Zdenek Dohnal,
            closes #11794)

23 months agopatch 9.0.1161: Coverity warns for using strcpy() v9.0.1161
Bram Moolenaar [Mon, 9 Jan 2023 11:35:47 +0000 (11:35 +0000)]
patch 9.0.1161: Coverity warns for using strcpy()

Problem:    Coverity warns for using strcpy().
Solution:   Call a function to set the function name.

23 months agopatch 9.0.1160: ASAN error for ufunc_T allocated with wrong size v9.0.1160
Bram Moolenaar [Sun, 8 Jan 2023 20:31:18 +0000 (20:31 +0000)]
patch 9.0.1160: ASAN error for ufunc_T allocated with wrong size

Problem:    ASAN error for ufunc_T allocated with wrong size.
Solution:   Make sure the size can always fit the struct.

23 months agopatch 9.0.1159: extends argument for class not implemented yet v9.0.1159
Bram Moolenaar [Sun, 8 Jan 2023 19:54:10 +0000 (19:54 +0000)]
patch 9.0.1159: extends argument for class not implemented yet

Problem:    Extends argument for class not implemented yet.
Solution:   Basic implementation of "extends".

23 months agopatch 9.0.1158: code is indented more than necessary v9.0.1158
Yegappan Lakshmanan [Sun, 8 Jan 2023 13:44:24 +0000 (13:44 +0000)]
patch 9.0.1158: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11787)

23 months agopatch 9.0.1157: "implements" only handles one interface name v9.0.1157
Bram Moolenaar [Sat, 7 Jan 2023 14:51:03 +0000 (14:51 +0000)]
patch 9.0.1157: "implements" only handles one interface name

Problem:    "implements" only handles one interface name.
Solution:   Handle a comma separated list of names.  Check for duplicate
            names.

23 months agopatch 9.0.1156: tests fail because of a different error message v9.0.1156
Bram Moolenaar [Sat, 7 Jan 2023 13:07:11 +0000 (13:07 +0000)]
patch 9.0.1156: tests fail because of a different error message

Problem:    Tests fail because of a different error message.
Solution:   Don't give an error if a type name can't be found.

23 months agopatch 9.0.1155: cannot use a class as a type v9.0.1155
Bram Moolenaar [Sat, 7 Jan 2023 12:08:41 +0000 (12:08 +0000)]
patch 9.0.1155: cannot use a class as a type

Problem:    Cannot use a class as a type.
Solution:   Accept a class and interface name as a type.

23 months agopatch 9.0.1154: Coverity warns for dead code v9.0.1154
Bram Moolenaar [Sat, 7 Jan 2023 10:51:30 +0000 (10:51 +0000)]
patch 9.0.1154: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove condition that is always true.

23 months agopatch 9.0.1153: build error with some compilers v9.0.1153
Bram Moolenaar [Fri, 6 Jan 2023 18:59:08 +0000 (18:59 +0000)]
patch 9.0.1153: build error with some compilers

Problem:    Build error with some compilers.
Solution:   Clear pointer the right way.

23 months agopatch 9.0.1152: class "implements" argument not implemented v9.0.1152
Bram Moolenaar [Fri, 6 Jan 2023 18:42:20 +0000 (18:42 +0000)]
patch 9.0.1152: class "implements" argument not implemented

Problem:    Class "implements" argument not implemented.
Solution:   Implement "implements" argument.  Add basic checks for when a
            class implements an interface.

23 months agopatch 9.0.1151: build failure v9.0.1151
Bram Moolenaar [Thu, 5 Jan 2023 20:14:43 +0000 (20:14 +0000)]
patch 9.0.1151: build failure

Problem:    Build failure.
Solution:   Add missing part of :interface change.

23 months agopatch 9.0.1150: :interface is not implemented yet v9.0.1150
Bram Moolenaar [Thu, 5 Jan 2023 19:59:18 +0000 (19:59 +0000)]
patch 9.0.1150: :interface is not implemented yet

Problem:    :interface is not implemented yet.
Solution:   Implement the basics of :interface.

23 months agopatch 9.0.1149: class members may be garbage collected v9.0.1149
Bram Moolenaar [Thu, 5 Jan 2023 13:16:04 +0000 (13:16 +0000)]
patch 9.0.1149: class members may be garbage collected

Problem:    Class members may be garbage collected.
Solution:   Mark class members as being in use.

23 months agopatch 9.0.1148: cmdline test fails in the GUI v9.0.1148
Bram Moolenaar [Wed, 4 Jan 2023 18:59:57 +0000 (18:59 +0000)]
patch 9.0.1148: cmdline test fails in the GUI

Problem:    Cmdline test fails in the GUI.
Solution:   Skip the test when running in the GUI.

23 months agopatch 9.0.1147: cannot access a class member in a compiled function v9.0.1147
Bram Moolenaar [Wed, 4 Jan 2023 18:54:09 +0000 (18:54 +0000)]
patch 9.0.1147: cannot access a class member in a compiled function

Problem:    Cannot access a class member in a compiled function.
Solution:   Implement looking up a class member.

23 months agopatch 9.0.1146: MS-Windows: various special keys/modifiers are not mappable v9.0.1146
Christopher Plewright [Wed, 4 Jan 2023 18:06:00 +0000 (18:06 +0000)]
patch 9.0.1146: MS-Windows: various special keys/modifiers are not mappable

Problem:    MS-Windows: various special keys and modifiers are not mappable.
Solution:   Adjust the handling of keys with modifiers. (Christian Plewright,
            closes #11768)

23 months agopatch 9.0.1145: invalid memory access with recursive substitute expression v9.0.1145
Bram Moolenaar [Wed, 4 Jan 2023 17:17:54 +0000 (17:17 +0000)]
patch 9.0.1145: invalid memory access with recursive substitute expression

Problem:    Invalid memory access with recursive substitute expression.
Solution:   Check the return value of vim_regsub().

23 months agopatch 9.0.1144: reading beyond text v9.0.1144
Bram Moolenaar [Wed, 4 Jan 2023 15:56:51 +0000 (15:56 +0000)]
patch 9.0.1144: reading beyond text

Problem:    Reading beyond text.
Solution:   Add strlen_maxlen() and use it.

23 months agopatch 9.0.1143: invalid memory access with bad 'statusline' value v9.0.1143
Bram Moolenaar [Wed, 4 Jan 2023 14:31:49 +0000 (14:31 +0000)]
patch 9.0.1143: invalid memory access with bad 'statusline' value

Problem:    Invalid memory access with bad 'statusline' value.
Solution:   Avoid going over the NUL at the end.

23 months agopatch 9.0.1142: crash and/or memory leak when redefining function v9.0.1142
Bram Moolenaar [Wed, 4 Jan 2023 13:16:20 +0000 (13:16 +0000)]
patch 9.0.1142: crash and/or memory leak when redefining function

Problem:    Crash and/or memory leak when redefining function after error.
Solution:   Clear pointer after making a copy.  Clear arrays on failure.
            (closes #11774)

23 months agopatch 9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealing v9.0.1141
Alexey Radkov [Wed, 4 Jan 2023 11:15:30 +0000 (11:15 +0000)]
patch 9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealing

Problem:    'cursorcolumn' and 'colorcolumn' wrong after concealing and
            wrapping line.
Solution:   Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
            closes #11777)

23 months agopatch 9.0.1140: cannot call an object method in a compiled function v9.0.1140
Bram Moolenaar [Tue, 3 Jan 2023 19:08:50 +0000 (19:08 +0000)]
patch 9.0.1140: cannot call an object method in a compiled function

Problem:    Cannot call an object method in a compiled function.
Solution:   Compile the instructins to invoke an object method.

23 months agopatch 9.0.1139: cannot create a new object in a compiled function v9.0.1139
Bram Moolenaar [Tue, 3 Jan 2023 14:01:21 +0000 (14:01 +0000)]
patch 9.0.1139: cannot create a new object in a compiled function

Problem:    Cannot create a new object in a compiled function.
Solution:   Compile the instructins to create a new object.

23 months agopatch 9.0.1138: crash when expecting varargs but it is something else v9.0.1138
Bram Moolenaar [Tue, 3 Jan 2023 12:33:26 +0000 (12:33 +0000)]
patch 9.0.1138: crash when expecting varargs but it is something else

Problem:    Crash when expecting varargs but it is something else.
Solution:   Only use the member when the type is a list. (closes #11774)

23 months agopatch 9.0.1137: some conditions are always false v9.0.1137
zeertzjq [Tue, 3 Jan 2023 10:54:09 +0000 (10:54 +0000)]
patch 9.0.1137: some conditions are always false

Problem:    Some conditions are always false.
Solution:   Remove the useless conditions. (closes #11776)

23 months agopatch 9.0.1136: memory leak when getting class member type from expr v9.0.1136
Bram Moolenaar [Mon, 2 Jan 2023 21:04:04 +0000 (21:04 +0000)]
patch 9.0.1136: memory leak when getting class member type from expr

Problem:    Memory leak when getting class member type from expr.
Solution:   Clear the expression result.

23 months agopatch 9.0.1135: missing function argument v9.0.1135
Bram Moolenaar [Mon, 2 Jan 2023 20:38:01 +0000 (20:38 +0000)]
patch 9.0.1135: missing function argument

Problem:    Missing function argument.
Solution:   Add ignore case flag.

23 months agopatch 9.0.1134: comparing objects uses identity instead of equality v9.0.1134
Bram Moolenaar [Mon, 2 Jan 2023 20:32:24 +0000 (20:32 +0000)]
patch 9.0.1134: comparing objects uses identity instead of equality

Problem:    Comparing objects uses identity instead of equality.
Solution:   Compare the object values.

23 months agopatch 9.0.1133: error message names do not match the items v9.0.1133
Bram Moolenaar [Mon, 2 Jan 2023 18:10:04 +0000 (18:10 +0000)]
patch 9.0.1133: error message names do not match the items

Problem:    Error message names do not match the items.
Solution:   Add "_str" when the text contains "%s".

23 months agopatch 9.0.1132: code is indented more than needed v9.0.1132
Yegappan Lakshmanan [Mon, 2 Jan 2023 16:54:53 +0000 (16:54 +0000)]
patch 9.0.1132: code is indented more than needed

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

23 months agopatch 9.0.1131: build failure without the +eval feature v9.0.1131
Bram Moolenaar [Mon, 2 Jan 2023 13:41:49 +0000 (13:41 +0000)]
patch 9.0.1131: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Move code inside #ifdef.

23 months agopatch 9.0.1130: unexpected output when autoloading a script v9.0.1130
Bram Moolenaar [Mon, 2 Jan 2023 13:08:01 +0000 (13:08 +0000)]
patch 9.0.1130: unexpected output when autoloading a script

Problem:    Unexpected output when autoloading a script for an interactive
            operation.
Solution:   Reset "KeyTyped" while loading a script and when handling a nested
            function. (closes #11773)

23 months agopatch 9.0.1129: sporadic Test_range() failure v9.0.1129
Bram Moolenaar [Mon, 2 Jan 2023 11:59:26 +0000 (11:59 +0000)]
patch 9.0.1129: sporadic Test_range() failure

Problem:    Sporadic Test_range() failure.
Solution:   Clear typeahead.  Move to a separate function. (issue #22771)

23 months agopatch 9.0.1128: build failure v9.0.1128
Bram Moolenaar [Sun, 1 Jan 2023 20:31:30 +0000 (20:31 +0000)]
patch 9.0.1128: build failure

Problem:    Build failure.
Solution:   Add type cast.  Add missing error messages.

23 months agopatch 9.0.1127: no error if function argument shadows class member v9.0.1127
Bram Moolenaar [Sun, 1 Jan 2023 19:53:30 +0000 (19:53 +0000)]
patch 9.0.1127: no error if function argument shadows class member

Problem:    No error if function argument shadows class member.
Solution:   Give an error for shadowing a class member.

23 months agopatch 9.0.1126: bracketed paste can be enabled when it is not recognized v9.0.1126
Bram Moolenaar [Sun, 1 Jan 2023 18:04:33 +0000 (18:04 +0000)]
patch 9.0.1126: bracketed paste can be enabled when it is not recognized

Problem:    Bracketed paste can be enabled when pasted text is not recognized.
Solution:   Output t_BE only when t_PS and t_PE are set.

23 months agopatch 9.0.1125: memory leak when using class functions v9.0.1125
Bram Moolenaar [Sun, 1 Jan 2023 14:11:27 +0000 (14:11 +0000)]
patch 9.0.1125: memory leak when using class functions

Problem:    Memory leak when using class functions.
Solution:   Clear and free the array with class functions.

23 months agopatch 9.0.1124: virtual text at a column position is truncated v9.0.1124
Bram Moolenaar [Sun, 1 Jan 2023 14:04:51 +0000 (14:04 +0000)]
patch 9.0.1124: virtual text at a column position is truncated

Problem:    Virtual text at a column position is truncated at the window edge.
            (Yegappan Lakshmanan)
Solution:   Do not truncated virtual text that is placed at a column.

23 months agopatch 9.0.1123: class function not implemented yet v9.0.1123
Bram Moolenaar [Sun, 1 Jan 2023 12:58:33 +0000 (12:58 +0000)]
patch 9.0.1123: class function not implemented yet

Problem:    Class function not implemented yet.
Solution:   Implement defining and calling a class function.

23 months agopatch 9.0.1122: class member access is not fully tested yet v9.0.1122
Bram Moolenaar [Sat, 31 Dec 2022 19:01:02 +0000 (19:01 +0000)]
patch 9.0.1122: class member access is not fully tested yet

Problem:    Class member access is not fully tested yet.
Solution:   Add more tests.

23 months agoUpdate runtime files
Bram Moolenaar [Sat, 31 Dec 2022 15:30:45 +0000 (15:30 +0000)]
Update runtime files

23 months agopatch 9.0.1121: cursor positioning and display problems with 'smoothscroll' v9.0.1121
Bram Moolenaar [Sat, 31 Dec 2022 15:13:22 +0000 (15:13 +0000)]
patch 9.0.1121: cursor positioning and display problems with 'smoothscroll'

Problem:    Cursor positioning and display problems with 'smoothscroll' and
            using "zt", "zb" or "zz".
Solution:   Adjust computations and conditions. (Yee Cheng Chin,
            closes #11764)

23 months agopatch 9.0.1120: tex filetype detection not sufficiently tested v9.0.1120
smjonas [Sat, 31 Dec 2022 14:46:53 +0000 (14:46 +0000)]
patch 9.0.1120: tex filetype detection not sufficiently tested

Problem:    Tex filetype detection not sufficiently tested.
Solution:   Add more test cases for "tex" detection. (Jonas Strittmatter,
            closes #11765)

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)

23 months 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.

23 months 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.

23 months 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.

23 months 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.