]> granicus.if.org Git - vim/log
vim
15 months agopatch 9.0.1284: compiler warnings for uninitialized variables v9.0.1284
Bram Moolenaar [Sun, 5 Feb 2023 17:04:50 +0000 (17:04 +0000)]
patch 9.0.1284: compiler warnings for uninitialized variables

Problem:    Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution:   Add variable initializations.

15 months agopatch 9.0.1283: the code for setting options is too complicated v9.0.1283
Yegappan Lakshmanan [Sun, 5 Feb 2023 16:02:35 +0000 (16:02 +0000)]
patch 9.0.1283: the code for setting options is too complicated

Problem:    The code for setting options is too complicated.
Solution:   Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
            Russell, closes #11945)

15 months agopatch 9.0.1282: Ron files are not recognized v9.0.1282
Amaan Qureshi [Sun, 5 Feb 2023 14:47:46 +0000 (14:47 +0000)]
patch 9.0.1282: Ron files are not recognized

Problem:    Ron files are not recognized.
Solution:   Recognize Ron files. (Amaan Qureshi, closes #11948)

15 months agopatch 9.0.1281: Cadence files are not recognized v9.0.1281
Janez Podhostnik [Sun, 5 Feb 2023 13:01:40 +0000 (13:01 +0000)]
patch 9.0.1281: Cadence files are not recognized

Problem:    Cadence files are not recognized.
Solution:   Recognize Cadence files. (Janez Podhostnik, closes #11951)

15 months agopatch 9.0.1280: inssufficient testing for what 9.0.1265 fixes v9.0.1280
Bram Moolenaar [Sat, 4 Feb 2023 15:45:27 +0000 (15:45 +0000)]
patch 9.0.1280: inssufficient testing for what 9.0.1265 fixes

Problem:    Inssufficient testing for what 9.0.1265 fixes.
Solution:   Add a couple of test cases. (issue #11885)

15 months agopatch 9.0.1279: display shows lines scrolled down erroneously v9.0.1279
Bram Moolenaar [Sat, 4 Feb 2023 13:57:55 +0000 (13:57 +0000)]
patch 9.0.1279: display shows lines scrolled down erroneously

Problem:    Display shows lines scrolled down erroneously. (Yishai Lerner)
Solution:   Do not change "wl_lnum" at index zero. (closes #11938)

15 months agopatch 9.0.1278: go.work.sum files are not recognized v9.0.1278
Amaan Qureshi [Sat, 4 Feb 2023 12:12:36 +0000 (12:12 +0000)]
patch 9.0.1278: go.work.sum files are not recognized

Problem:    go.work.sum files are not recognized.
Solution:   Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi,
            closes #11940)

15 months agopatch 9.0.1277: cursor may move with autocmd in Visual mode v9.0.1277
zeertzjq [Sat, 4 Feb 2023 10:58:34 +0000 (10:58 +0000)]
patch 9.0.1277: cursor may move with autocmd in Visual mode

Problem:    Cursor may move with autocmd in Visual mode.
Solution:   Restore "VIsual_active" before calling check_cursor().
            (closes #11939)

15 months agopatch 9.0.1276: some mappings with Meta and Shift do not work v9.0.1276
Bram Moolenaar [Fri, 3 Feb 2023 12:28:07 +0000 (12:28 +0000)]
patch 9.0.1276: some mappings with Meta and Shift do not work

Problem:    Some mappings with Meta and Shift do not work.
Solution:   Apply the Shift modifier to the key. (issue #11913)

15 months agopatch 9.0.1275: the code for setting options is too complicated v9.0.1275
Yegappan Lakshmanan [Thu, 2 Feb 2023 16:34:11 +0000 (16:34 +0000)]
patch 9.0.1275: the code for setting options is too complicated

Problem:    The code for setting options is too complicated.
Solution:   Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
            Russell, closes #11932)

15 months agoUpdate runtime files.
Bram Moolenaar [Thu, 2 Feb 2023 13:59:48 +0000 (13:59 +0000)]
Update runtime files.

15 months agopatch 9.0.1274: FIRRTL files are not recognized v9.0.1274
Amaan Qureshi [Thu, 2 Feb 2023 13:30:13 +0000 (13:30 +0000)]
patch 9.0.1274: FIRRTL files are not recognized

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

16 months agopatch 9.0.1273: "1v" may select block with wrong size v9.0.1273
Bram Moolenaar [Wed, 1 Feb 2023 17:33:18 +0000 (17:33 +0000)]
patch 9.0.1273: "1v" may select block with wrong size

Problem:    "1v" may select block with wrong size. (Evgeni Chasnovski)
Solution:   Compute "curswant" in the right line. (closes #11925)

16 months agopatch 9.0.1272: typo in pattern for filetype detection v9.0.1272
zeertzjq [Wed, 1 Feb 2023 15:31:23 +0000 (15:31 +0000)]
patch 9.0.1272: typo in pattern for filetype detection

Problem:    Typo in pattern for filetype detection.
Solution:   Fix the typo. (closes #11924)

16 months agopatch 9.0.1271: using sizeof() and subtract array size is tricky v9.0.1271
zeertzjq [Wed, 1 Feb 2023 13:11:15 +0000 (13:11 +0000)]
patch 9.0.1271: using sizeof() and subtract array size is tricky

Problem:    Using sizeof() and subtract array size is tricky.
Solution:   Use offsetof() instead. (closes #11926)

16 months agopatch 9.0.1270: crash when using search stat in narrow screen v9.0.1270
zeertzjq [Tue, 31 Jan 2023 21:13:38 +0000 (21:13 +0000)]
patch 9.0.1270: crash when using search stat in narrow screen

Problem:    Crash when using search stat in narrow screen.
Solution:   Check length of message. (closes #11921)

16 months agopatch 9.0.1269: channel test often fails on Mac OS v9.0.1269
Bram Moolenaar [Tue, 31 Jan 2023 21:01:08 +0000 (21:01 +0000)]
patch 9.0.1269: channel test often fails on Mac OS

Problem:    Channel test often fails on Mac OS.
Solution:   Increase the wait time from one to 15 milliseconds. (D. Ben
            Knoble, closes #11894)

16 months agopatch 9.0.1268: .clangd and .stylelintrc files don't get a filetype v9.0.1268
Mark Skelton [Tue, 31 Jan 2023 18:57:17 +0000 (18:57 +0000)]
patch 9.0.1268: .clangd and .stylelintrc files don't get a filetype

Problem:    .clangd and .stylelintrc files don't get a filetype.
Solution:   Use yaml for .clangd and json for .stylelintrc files. (Mark
            Skelton, closes #11916)

16 months agopatch 9.0.1267: the did_set_string_option function is too long v9.0.1267
Yegappan Lakshmanan [Tue, 31 Jan 2023 13:25:58 +0000 (13:25 +0000)]
patch 9.0.1267: the did_set_string_option function is too long

Problem:    The did_set_string_option function is too long.
Solution:   Further cleanup of handling string options.  (Yegappan Lakshmanan,
            Lewis Russell, closes #11920)

16 months agopatch 9.0.1266: error for space before ": type" is inconsistent v9.0.1266
Bram Moolenaar [Mon, 30 Jan 2023 21:12:34 +0000 (21:12 +0000)]
patch 9.0.1266: error for space before ": type" is inconsistent

Problem:    Error for space before ": type" is inconsistent.
Solution:   Give E1059 in more places. (closes #11868)

16 months agopatch 9.0.1265: using an interface method may give a compilation error v9.0.1265
Bram Moolenaar [Mon, 30 Jan 2023 20:24:23 +0000 (20:24 +0000)]
patch 9.0.1265: using an interface method may give a compilation error

Problem:    Using an interface method may give a compilation error.
Solution:   Do not try to compile the body of a method of an interface.
            (closes #11885)

16 months agopatch 9.0.1264: Motif: compiler warning for unused argument v9.0.1264
Bram Moolenaar [Mon, 30 Jan 2023 19:26:24 +0000 (19:26 +0000)]
patch 9.0.1264: Motif: compiler warning for unused argument

Problem:    Motif: compiler warning for unused argument.
Solution:   Add "UNUSED".

16 months agopatch 9.0.1263: KDL files are not recognized v9.0.1263
Amaan Qureshi [Mon, 30 Jan 2023 15:19:57 +0000 (15:19 +0000)]
patch 9.0.1263: KDL files are not recognized

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

16 months agopatch 9.0.1262: the did_set_string_option function is too long v9.0.1262
Yegappan Lakshmanan [Mon, 30 Jan 2023 13:04:42 +0000 (13:04 +0000)]
patch 9.0.1262: the did_set_string_option function is too long

Problem:    The did_set_string_option function is too long.
Solution:   Split off functionality to individual functions.  (Yegappan
            Lakshmanan, Lewis Russell, closes #11904)

16 months agopatch 9.0.1261: Elsa files are not recognized v9.0.1261
Amaan Qureshi [Sun, 29 Jan 2023 17:50:14 +0000 (17:50 +0000)]
patch 9.0.1261: Elsa files are not recognized

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

16 months agopatch 9.0.1260: Coverity warns for possible NULL pointer usage v9.0.1260
Bram Moolenaar [Sun, 29 Jan 2023 14:11:24 +0000 (14:11 +0000)]
patch 9.0.1260: Coverity warns for possible NULL pointer usage

Problem:    Coverity warns for possible NULL pointer usage.
Solution:   Change the condition.

16 months agopatch 9.0.1259: diffmode test fails v9.0.1259
Bram Moolenaar [Sat, 28 Jan 2023 20:57:59 +0000 (20:57 +0000)]
patch 9.0.1259: diffmode test fails

Problem:    Diffmode test fails.
Solution:   Adjust expected result for adjusted indenting.

16 months agopatch 9.0.1258: code style test fails v9.0.1258
Bram Moolenaar [Sat, 28 Jan 2023 19:38:49 +0000 (19:38 +0000)]
patch 9.0.1258: code style test fails

Problem:    Code style test fails.
Solution:   Adjust test files.

16 months agopatch 9.0.1257: code style is not check in test scripts v9.0.1257
Bram Moolenaar [Sat, 28 Jan 2023 19:19:03 +0000 (19:19 +0000)]
patch 9.0.1257: code style is not check in test scripts

Problem:    Code style is not check in test scripts.
Solution:   Add basic code style check for test files.

16 months agopatch 9.0.1256: NetworkManager connection files are not recognized v9.0.1256
ObserverOfTime [Sat, 28 Jan 2023 18:05:40 +0000 (18:05 +0000)]
patch 9.0.1256: NetworkManager connection files are not recognized

Problem:    NetworkManager connection files are not recognized.
Solution:   Add a pattern for NetworkManager connection files. (closes #11893)

16 months agopatch 9.0.1255: changing 'virtualedit' does not have immediate effect v9.0.1255
Bram Moolenaar [Sat, 28 Jan 2023 16:37:37 +0000 (16:37 +0000)]
patch 9.0.1255: changing 'virtualedit' does not have immediate effect

Problem:    Changing 'virtualedit' does not have immediate effect.
Solution:   Correct how is checked for a changed value. (closes #11878)

16 months agopatch 9.0.1254: calling a method on an interface does not work v9.0.1254
Bram Moolenaar [Sat, 28 Jan 2023 15:19:40 +0000 (15:19 +0000)]
patch 9.0.1254: calling a method on an interface does not work

Problem:    Calling a method on an interface does not work.
Solution:   At runtime figure out what method to call. (closes #11901)

16 months agopatch 9.0.1253: CI adds repository unnecessarily v9.0.1253
Philip H [Sat, 28 Jan 2023 10:43:50 +0000 (10:43 +0000)]
patch 9.0.1253: CI adds repository unnecessarily

Problem:    CI adds repository unnecessarily.
Solution:   Remove the line from the workflow. (closes #11900)

16 months agopatch 9.0.1252: MS-Windows: scrollback cropped off on Vim exit v9.0.1252
Christopher Plewright [Sat, 28 Jan 2023 10:28:09 +0000 (10:28 +0000)]
patch 9.0.1252: MS-Windows: scrollback cropped off on Vim exit

Problem:    MS-Windows: scrollback cropped off on Vim exit.
Solution:   Don't call SetConsoleScreenBufferInfoEx when using the alternate
            screen buffer. (Christopher Plewright, closes #11882)

16 months agopatch 9.0.1251: checking returned value of ga_grow() is inconsistent v9.0.1251
Yegappan Lakshmanan [Fri, 27 Jan 2023 21:03:12 +0000 (21:03 +0000)]
patch 9.0.1251: checking returned value of ga_grow() is inconsistent

Problem:    Checking returned value of ga_grow() is inconsistent.
Solution:   Check for FAIL instaed of "not OK". (Yegappan Lakshmanan,
            closes #11897)

16 months agopatch 9.0.1250: cannot use an object method with :defer v9.0.1250
Bram Moolenaar [Fri, 27 Jan 2023 20:14:02 +0000 (20:14 +0000)]
patch 9.0.1250: cannot use an object method with :defer

Problem:    Cannot use an object method with :defer. (Ernie Rael)
Solution:   Find the object method and generate code to call it.
            (closes #11886)

16 months agopatch 9.0.1249: cannot export an abstract class v9.0.1249
Bram Moolenaar [Fri, 27 Jan 2023 13:16:19 +0000 (13:16 +0000)]
patch 9.0.1249: cannot export an abstract class

Problem:    Cannot export an abstract class. (Ernie Rael)
Solution:   Add the EX_EXPORT flag to :abstract. (closes #11884)

16 months agopatch 9.0.1248: cannot export an interface v9.0.1248
Bram Moolenaar [Thu, 26 Jan 2023 20:36:56 +0000 (20:36 +0000)]
patch 9.0.1248: cannot export an interface

Problem:    Cannot export an interface. (Ernie Rael)
Solution:   Add the EX_EXPORT flag to :interface. (closes #11884)

16 months agopatch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window v9.0.1247
Bram Moolenaar [Thu, 26 Jan 2023 14:14:43 +0000 (14:14 +0000)]
patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window

Problem:    Divide by zero with 'smoothscroll' set and a narrow window.
Solution:   Bail out when the window is too narrow.

16 months agopatch 9.0.1246: code is indented more than necessary v9.0.1246
Yegappan Lakshmanan [Thu, 26 Jan 2023 12:00:00 +0000 (12:00 +0000)]
patch 9.0.1246: 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 #11887)

16 months agopatch 9.0.1245: code is indented more than necessary v9.0.1245
Yegappan Lakshmanan [Wed, 25 Jan 2023 21:05:38 +0000 (21:05 +0000)]
patch 9.0.1245: 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 #11879)

16 months agopatch 9.0.1244: cursor displayed in wrong position when leaving Insert mode v9.0.1244
Bram Moolenaar [Wed, 25 Jan 2023 17:34:41 +0000 (17:34 +0000)]
patch 9.0.1244: cursor displayed in wrong position when leaving Insert mode

Problem:    Cursor briefly displayed in a wrong position when pressing Esc in
            Insert mode after autoindent was used.
Solution:   Do not adjust the cursor position for assumed deleted white space
            if text is following.  (closes #11877)

16 months agopatch 9.0.1243: :setglobal cannot use script-local function for "expr" option v9.0.1243
zeertzjq [Wed, 25 Jan 2023 15:31:28 +0000 (15:31 +0000)]
patch 9.0.1243: :setglobal cannot use script-local function for "expr" option

Problem:    :setglobal cannot use script-local function for "expr" option.
Solution:   Use the pointer to the option value properly. (closes #11883)

16 months agopatch 9.0.1242: code for :runtime completion is not consistent v9.0.1242
zeertzjq [Wed, 25 Jan 2023 15:04:22 +0000 (15:04 +0000)]
patch 9.0.1242: code for :runtime completion is not consistent

Problem:    Code for :runtime completion is not consistent.
Solution:   Make code for cmdline expansion more consistent. (closes #11875)

16 months agopatch 9.0.1241: Coverity warns for not checking function return value v9.0.1241
Bram Moolenaar [Wed, 25 Jan 2023 12:27:13 +0000 (12:27 +0000)]
patch 9.0.1241: Coverity warns for not checking function return value

Problem:    Coverity warns for not checking function return value.
Solution:   Explicitly ignore the return value.

16 months agopatch 9.0.1240: cannot access a private object member in a lambda v9.0.1240
Bram Moolenaar [Tue, 24 Jan 2023 15:07:04 +0000 (15:07 +0000)]
patch 9.0.1240: cannot access a private object member in a lambda

Problem:    Cannot access a private object member in a lambda defined inside
            the class.
Solution:   Go up the context stack to find the class. (closes #11866)

16 months agopatch 9.0.1239: cannot have a line break before an object member access v9.0.1239
Bram Moolenaar [Tue, 24 Jan 2023 13:03:37 +0000 (13:03 +0000)]
patch 9.0.1239: cannot have a line break before an object member access

Problem:    Cannot have a line break before an object member access.
Solution:   Check for "." in next line. (closes #11864)

16 months agopatch 9.0.1238: :runtime completion can be further improved v9.0.1238
zeertzjq [Tue, 24 Jan 2023 12:34:03 +0000 (12:34 +0000)]
patch 9.0.1238: :runtime completion can be further improved

Problem:    :runtime completion can be further improved.
Solution:   Also complete the {where} argument values and adjust the
            completion for that. (closes #11874)

16 months agopatch 9.0.1237: code is indented more than necessary v9.0.1237
Yegappan Lakshmanan [Mon, 23 Jan 2023 20:46:21 +0000 (20:46 +0000)]
patch 9.0.1237: 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 #11858)

16 months agopatch 9.0.1236: code in same_leader() can be simplified v9.0.1236
zeertzjq [Mon, 23 Jan 2023 16:57:08 +0000 (16:57 +0000)]
patch 9.0.1236: code in same_leader() can be simplified

Problem:    Code in same_leader() can be simplified.
Solution:   Simplify code that is executed only once. (closes #11867)

16 months agopatch 9.0.1235: MS-Windows console: not flushing termguicolors v9.0.1235
Christopher Plewright [Mon, 23 Jan 2023 12:33:23 +0000 (12:33 +0000)]
patch 9.0.1235: MS-Windows console: not flushing termguicolors

Problem:    MS-Windows console: not flushing termguicolors.
Solution:   Flush termguicolors. (Christopher Plewright, closes #11871)

16 months agopatch 9.0.1234: the code style has to be checked manually v9.0.1234
Bram Moolenaar [Sun, 22 Jan 2023 21:14:53 +0000 (21:14 +0000)]
patch 9.0.1234: the code style has to be checked manually

Problem:    The code style has to be checked manually.
Solution:   Add basic code style checks in a test.  Fix or avoid uncovered
            problems.

16 months agopatch 9.0.1233: search() loops forever if "skip" is TRUE for all matches v9.0.1233
Bram Moolenaar [Sun, 22 Jan 2023 20:14:26 +0000 (20:14 +0000)]
patch 9.0.1233: search() loops forever if "skip" is TRUE for all matches

Problem:    search() loops forever if "skip" is TRUE for all matches.
Solution:   Keep the position of the first match.

16 months agopatch 9.0.1232: ColorTable saving and restoring does not work properly v9.0.1232
Christopher Plewright [Sun, 22 Jan 2023 18:58:30 +0000 (18:58 +0000)]
patch 9.0.1232: ColorTable saving and restoring does not work properly

Problem:    ColorTable saving and restoring does not work properly.
Solution:   Restore ColorTable[16] usage. (Christopher Plewright,
            closes #11836)

16 months agopatch 9.0.1231: completion of :runtime does not handle {where} argument v9.0.1231
zeertzjq [Sun, 22 Jan 2023 18:38:51 +0000 (18:38 +0000)]
patch 9.0.1231: completion of :runtime does not handle {where} argument

Problem:    Completion of :runtime does not handle {where} argument.
Solution:   Parse the {where} argument. (closes #11863)

16 months agopatch 9.0.1230: Apache thrift files are not recognized v9.0.1230
Amaan Qureshi [Sun, 22 Jan 2023 18:16:44 +0000 (18:16 +0000)]
patch 9.0.1230: Apache thrift files are not recognized

Problem:    Apache thrift files are not recognized.
Solution:   Add a pattern for thrift files. (Amaan Qureshi, closes #11859)

16 months agopatch 9.0.1229: Cap'n Proto files are not recognized v9.0.1229
Amaan Qureshi [Sun, 22 Jan 2023 13:10:39 +0000 (13:10 +0000)]
patch 9.0.1229: Cap'n Proto files are not recognized

Problem:    Cap'n Proto files are not recognized.
Solution:   Add a pattern and the "capnp" filetype. (Amaan Qureshi,
            closes #11862)

16 months agopatch 9.0.1228: fuzzy menu completion is only tested in the GUI v9.0.1228
zeertzjq [Sun, 22 Jan 2023 12:41:55 +0000 (12:41 +0000)]
patch 9.0.1228: fuzzy menu completion is only tested in the GUI

Problem:    Fuzzy menu completion is only tested in the GUI.
Solution:   Make fuzzy menu completion test work without GUI.
            (closes #11861)

16 months agopatch 9.0.1227: no cmdline completion for :runtime v9.0.1227
root [Sat, 21 Jan 2023 21:56:06 +0000 (21:56 +0000)]
patch 9.0.1227: no cmdline completion for :runtime

Problem:    No cmdline completion for :runtime.
Solution:   Add completion for :runtime. (closes #11853, closes #11447)
            Improve the resulting matches.

16 months agopatch 9.0.1226: spurious empty line when using text properties v9.0.1226
Bram Moolenaar [Sat, 21 Jan 2023 15:54:59 +0000 (15:54 +0000)]
patch 9.0.1226: spurious empty line when using text properties

Problem:    Spurious empty line when using text propertie and virtual text.
Solution:   Do not set "text_prop_follows" when the other text property is not
            virtual text. (closes #11846)

16 months agopatch 9.0.1225: reading past the end of a line when formatting text v9.0.1225
Bram Moolenaar [Sat, 21 Jan 2023 13:09:19 +0000 (13:09 +0000)]
patch 9.0.1225: reading past the end of a line when formatting text

Problem:    Reading past the end of a line when formatting text.
Solution:   Check for not going over the end of the line.

16 months agopatch 9.0.1224: cannot call a :def function with a number for float argument v9.0.1224
Bram Moolenaar [Fri, 20 Jan 2023 18:49:46 +0000 (18:49 +0000)]
patch 9.0.1224: cannot call a :def function with a number for float argument

Problem:    Cannot call a :def function with a number for a float argument.
Solution:   Accept a number as well, convert it to a float.

16 months agopatch 9.0.1223: cannot use setcellwidths() below 0x100 v9.0.1223
K.Takata [Fri, 20 Jan 2023 16:00:55 +0000 (16:00 +0000)]
patch 9.0.1223: cannot use setcellwidths() below 0x100

Problem:    Cannot use setcellwidths() below 0x100.
Solution:   Also accept characters between 0x80 and 0x100. (Ken Takata,
            closes #11834)

16 months agopatch 9.0.1222: terminal tests are flaky on MacOS v9.0.1222
Yegappan Lakshmanan [Thu, 19 Jan 2023 17:49:58 +0000 (17:49 +0000)]
patch 9.0.1222: terminal tests are flaky on MacOS

Problem:    Terminal tests are flaky on MacOS.
Solution:   Add TermWait() calls. (Yegappan Lakshmanan, closes #11852)

16 months agopatch 9.0.1221: code is indented more than necessary v9.0.1221
Yegappan Lakshmanan [Wed, 18 Jan 2023 18:17:48 +0000 (18:17 +0000)]
patch 9.0.1221: 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 #11833)

16 months agopatch 9.0.1220: termcap/terminfo entries do not indicate possible modifiers v9.0.1220
Bram Moolenaar [Wed, 18 Jan 2023 17:20:25 +0000 (17:20 +0000)]
patch 9.0.1220: termcap/terminfo entries do not indicate possible modifiers

Problem:    Termcap/terminfo entries do not indicate where modifiers might
            appear.
Solution:   Add ";*" for function keys where modifiers are likely to be used.

16 months agopatch 9.0.1219: handling of FORTIFY_SOURCE flags doesn't match Fedora usage v9.0.1219
Zdenek Dohnal [Wed, 18 Jan 2023 16:09:51 +0000 (16:09 +0000)]
patch 9.0.1219: handling of FORTIFY_SOURCE flags doesn't match Fedora usage

Problem:    Handling of FORTIFY_SOURCE flags doesn't match Fedora usage.
Solution:   Adjust the "sed" patterns. (Zdenek Dohnal, closes #11847)

16 months agopatch 9.0.1218: completion includes functions that don't work v9.0.1218
Kota Kato [Wed, 18 Jan 2023 15:27:38 +0000 (15:27 +0000)]
patch 9.0.1218: completion includes functions that don't work

Problem:    Completion includes functions that don't work.
Solution:   Skip functions that are not implemented. (Kota Kato,
            closes #11845)

16 months agopatch 9.0.1217: using an object member in a closure doesn't work v9.0.1217
Bram Moolenaar [Wed, 18 Jan 2023 14:51:07 +0000 (14:51 +0000)]
patch 9.0.1217: using an object member in a closure doesn't work

Problem:    Using an object member in a closure doesn't work.
Solution:   Initialize lv_loop_depth. (closes #11840)

16 months agopatch 9.0.1216: Coverity warns for ignoring return value v9.0.1216
Bram Moolenaar [Wed, 18 Jan 2023 12:45:30 +0000 (12:45 +0000)]
patch 9.0.1216: Coverity warns for ignoring return value

Problem:    Coverity warns for ignoring return value.
Solution:   Break out of loop if function fails.

16 months agopatch 9.0.1215: using isalpha() adds dependency on current locale v9.0.1215
zeertzjq [Tue, 17 Jan 2023 21:38:25 +0000 (21:38 +0000)]
patch 9.0.1215: using isalpha() adds dependency on current locale

Problem:    Using isalpha() adds dependency on current locale.
Solution:   Do not use isalpha() for recognizing a URL or the end of an Ex
            command. (closes #11835)

16 months agopatch 9.0.1214: file left behind after running tests v9.0.1214
Dominique Pelle [Tue, 17 Jan 2023 21:20:44 +0000 (21:20 +0000)]
patch 9.0.1214: file left behind after running tests

Problem:    File left behind after running tests.
Solution:   Delete the file. (Dominique PellĂ©, closes #11839)

16 months agopatch 9.0.1213: adding a line below the last one does not expand fold v9.0.1213
Brandon Simmons [Tue, 17 Jan 2023 19:48:07 +0000 (19:48 +0000)]
patch 9.0.1213: adding a line below the last one does not expand fold

Problem:    Adding a line below the last one does not expand fold.
Solution:   Do not skip mark_adjust() when adding lines below the last one.
            (Brandon Simmons, closes #11832, closes #10698)

16 months agopatch 9.0.1212: cannot read back what setcellwidths() has done v9.0.1212
Kota Kato [Tue, 17 Jan 2023 18:31:56 +0000 (18:31 +0000)]
patch 9.0.1212: cannot read back what setcellwidths() has done

Problem:    Cannot read back what setcellwidths() has done.
Solution:   Add getcellwidths(). (Kota Kato, closes #11837)

16 months agopatch 9.0.1211: storing value in interface member does not always work v9.0.1211
Bram Moolenaar [Mon, 16 Jan 2023 20:47:57 +0000 (20:47 +0000)]
patch 9.0.1211: storing value in interface member does not always work

Problem:    Storing value in interface member does not always work.
Solution:   Convert the index on the interface to the index on the object.

16 months agopatch 9.0.1210: compiler complains about declaration after label v9.0.1210
Bram Moolenaar [Mon, 16 Jan 2023 19:51:03 +0000 (19:51 +0000)]
patch 9.0.1210: compiler complains about declaration after label

Problem:    Compiler complains about declaration after label.
Solution:   Move declaration to beginning of block (John Marriott)

16 months agopatch 9.0.1209: getting interface member does not always work v9.0.1209
Bram Moolenaar [Mon, 16 Jan 2023 19:43:47 +0000 (19:43 +0000)]
patch 9.0.1209: getting interface member does not always work

Problem:    Getting interface member does not always work.
Solution:   Convert the index on the interface to the index on the object.
            (closes #11825)

16 months agopatch 9.0.1208: code is indented more than necessary v9.0.1208
Yegappan Lakshmanan [Mon, 16 Jan 2023 18:19:05 +0000 (18:19 +0000)]
patch 9.0.1208: 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 #11819)

16 months agopatch 9.0.1207: error when object type is expected but getting "any" v9.0.1207
Bram Moolenaar [Mon, 16 Jan 2023 16:39:37 +0000 (16:39 +0000)]
patch 9.0.1207: error when object type is expected but getting "any"

Problem:    Error when object type is expected but getting "any".
Solution:   When actual type is "any" use a runtime type check.
            (closes #11826)

16 months agopatch 9.0.1206: testing with Python on AppVeyor does not work properly v9.0.1206
Christopher Plewright [Mon, 16 Jan 2023 13:01:28 +0000 (13:01 +0000)]
patch 9.0.1206: testing with Python on AppVeyor does not work properly

Problem:    Testing with Python on AppVeyor does not work properly.
Solution:   Fix typo.  Move most lines to the .bat file. (Christopher
            Plewright, closes #11828)

16 months agopatch 9.0.1205: crash when handling class that extends another class v9.0.1205
Bram Moolenaar [Sun, 15 Jan 2023 20:49:00 +0000 (20:49 +0000)]
patch 9.0.1205: crash when handling class that extends another class

Problem:    Crash when handling class that extends another class with more
            than one object members.
Solution:   Correct pointer computations. (closes #11824)

16 months agopatch 9.0.1204: expression compiled the wrong way after using an object v9.0.1204
Bram Moolenaar [Sun, 15 Jan 2023 20:18:55 +0000 (20:18 +0000)]
patch 9.0.1204: expression compiled the wrong way after using an object

Problem:    Expression compiled the wrong way after using an object.
Solution:   Generate constants before getting the type.

16 months agopatch 9.0.1203: return type of values() is always list<any> v9.0.1203
Bram Moolenaar [Sun, 15 Jan 2023 18:17:12 +0000 (18:17 +0000)]
patch 9.0.1203: return type of values() is always list<any>

Problem:    Return type of values() is always list<any>.
Solution:   Use the member type if possible. (issue #11822)

16 months agopatch 9.0.1202: crash when iterating over list of objects v9.0.1202
Bram Moolenaar [Sun, 15 Jan 2023 16:54:57 +0000 (16:54 +0000)]
patch 9.0.1202: crash when iterating over list of objects

Problem:    Crash when iterating over list of objects.
Solution:   Do not make a copy of tt_member for object or class.
            (closes #11823)

16 months agopatch 9.0.1201: assignment with operator doesn't work in object method v9.0.1201
Bram Moolenaar [Sun, 15 Jan 2023 15:51:48 +0000 (15:51 +0000)]
patch 9.0.1201: assignment with operator doesn't work in object method

Problem:    Assignment with operator doesn't work in object method.
Solution:   Handle loading the object member. (closes #11820)  Add a few more
            tests.

16 months agopatch 9.0.1200: AppVeyor builds with an old Python version v9.0.1200
Christopher Plewright [Sun, 15 Jan 2023 13:23:20 +0000 (13:23 +0000)]
patch 9.0.1200: AppVeyor builds with an old Python version

Problem:    AppVeyor builds with an old Python version.
Solution:   Switch from Python 3.8 to 3.11. (Christopher Plewright,
            closes #11814)

16 months agopatch 9.0.1199: crash when using kitty and using a mapping with <Esc> v9.0.1199
Bram Moolenaar [Sat, 14 Jan 2023 21:07:07 +0000 (21:07 +0000)]
patch 9.0.1199: crash when using kitty and using a mapping with <Esc>

Problem:    Crash when using kitty and using a mapping with <Esc>.
Solution:   Do not try setting did_simplify when it is NULL. (closes #11817)

16 months agopatch 9.0.1198: abstract class not supported yet v9.0.1198
Bram Moolenaar [Sat, 14 Jan 2023 13:12:06 +0000 (13:12 +0000)]
patch 9.0.1198: abstract class not supported yet

Problem:    Abstract class not supported yet.
Solution:   Implement abstract class and add tests.

16 months agopatch 9.0.1197: dump file missing from patch v9.0.1197
zeertzjq [Sat, 14 Jan 2023 12:41:17 +0000 (12:41 +0000)]
patch 9.0.1197: dump file missing from patch

Problem:    Dump file missing from patch.
Solution:   Add missing dump file.

16 months agopatch 9.0.1196: code is indented more than necessary v9.0.1196
Yegappan Lakshmanan [Sat, 14 Jan 2023 12:32:28 +0000 (12:32 +0000)]
patch 9.0.1196: 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 #11813)

16 months agopatch 9.0.1195: restoring KeyTyped when building statusline not tested v9.0.1195
zeertzjq [Sat, 14 Jan 2023 11:46:49 +0000 (11:46 +0000)]
patch 9.0.1195: restoring KeyTyped when building statusline not tested

Problem:    Restoring KeyTyped when building statusline not tested.
Solution:   Add a test.  Clean up and fix other tests. (closes #11815)

16 months agopatch 9.0.1194: compiler warning for comparing pointer with int v9.0.1194
Bram Moolenaar [Fri, 13 Jan 2023 19:18:38 +0000 (19:18 +0000)]
patch 9.0.1194: compiler warning for comparing pointer with int

Problem:    Compiler warning for comparing pointer with int.
Solution:   Change NULL to zero.

16 months agopatch 9.0.1193: cannot map <Esc> when using the Kitty key protocol v9.0.1193
Bram Moolenaar [Fri, 13 Jan 2023 18:46:57 +0000 (18:46 +0000)]
patch 9.0.1193: cannot map <Esc> when using the Kitty key protocol

Problem:    Cannot map <Esc> when using the Kitty key protocol.
Solution:   Add a non-simplified mapping for K_ESC. (closes #11811)

16 months agopatch 9.0.1192: no error when class function argument shadows a member v9.0.1192
Bram Moolenaar [Fri, 13 Jan 2023 17:36:49 +0000 (17:36 +0000)]
patch 9.0.1192: no error when class function argument shadows a member

Problem:    No error when class function argument shadows a member.
Solution:   Check for shadowing.

16 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)

16 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)

16 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.

16 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.

16 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.

16 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.